There are so many web base devices, and some webserver device do not have a valid certification,

While access HTTPS using Webclient, will get a trouble with Certification if there is no valid one.

When I access Envoy Local Servier using HTTPS, I have expericed it.

 

First, create a Validation Server Function as below

 

Public Function ValidateServerCertificate(ByVal sender As Object, ByVal certificate As Object, ByVal chain As Object, ByVal sslPolicyErrors As Net.Security.SslPolicyErrors) As Boolean


        Return True


End Function

 

And, Connect the validate server as

 

Net.ServicePointManager.ServerCertificateValidationCallback = New System.Net.Security.RemoteCertificateValidationCallback(AddressOf ValidateServerCertificate)

 

When call HTTPS using Webclient, Webclient server will call the user defined server code, and can over-ride an error 

 

You can put the code into MAIN() -0r-  Sub New() once

04/30/2023 10:51 (*.17.160.158)
9022

From Evnvoy FW7, Just can login into Enovy using Bearer Token,

 

I have made a simple code using VB.NET to

    (1) Retrieve a Token from Enphase Token Website

    (2) Using the Token, access Enovy's Data

 

Note. Need to add a certification validating code for Envoy, because envoy's certification is not valid.

Note. Ihave added json.vb for JSON file decord and using in the code        

04/03/2023 09:39 (*.17.160.158)
3375

Recently, I have bought Tesla Model 3, and I have decided to expand solar power for this vehicle.

and, Installed 4 used panel which have bought from eBay

 

a.jpg

 

270W panels, 10+ years old, and the actual power is around 240~250W.

Include the wood frame, I have spent $200. Due to the power expansion, I have upgraded my charger also,

 

b.jpg

 

This is a 96V charger, but support 48V battery. and allowed up to 180V input (in H/W, 250V is maximum).

 

I have spent around $400 total, and $280 after tax credit.

 

the estimated energy per year is 900~1000kWh per year, it is $170~$185 value. and I can return my investment atter 1.5years.