PLEASE NOTE: If you had an account with the previous forum, it has been ported to the new Genetry website!
You will need to reset the password to access the new forum. Click Log In → Forgot Password → enter your username or forum email address → click Email Reset Link.

Notifications
Clear all

WiFi board local server + static IP, ideas?

24 Posts
6 Users
0 Likes
476 Views
(@the-blind-wolf)
Prominent Member
Joined: 4 years ago
Posts: 878
 
Posted by: @sid-genetry-solar
Not my immediate plan; the local server idea was solely intended for access via local network, NOT the Internet.

How easy it it for you Sid to imploment a password system?  say I get my inverter, want to remote into it, I would have to go to the inverter it self, go into remoteing, enable, put in a password, then go to my pc and enter in the IP of the gs inverter, a login pops up sort of like connecting to a ftp and type in a user name that maybe given to the user when they purchased, and then the user have to type in the password they put in the gs inveter to be able to remote into it from the pc.

 

Same thing I do with my NAs on my network.


   
ReplyQuote
(@aquaticslive)
Reputable Member
Joined: 4 years ago
Posts: 249
 
Posted by: @sid-genetry-solar
I like how you think 😉. Wouldn't this remove the need for a static IP address?

Yeah really do not need the static IP if you got this route it makes it more optional.

 

Posted by: @sid-genetry-solar
Considering "http://genetry.gs39B3D0FEE2/stats.json"...every time you read it, the WiFi board dynamically generates the JSON file.

Yeah that would work make using it super easy and straight forward.  Even without an interface you can troubleshoot it seeing the pull so building an interface would be much quicker.

Posted by: @sid-genetry-solar
Also could add on "http://genetry.gs39B3D0FEE2/status.htm" for a quick GUI status page--this a static HTML page that would read the above JSON file and give a page that is easy to pull up from a smartphone, etc.

Yes, I don't think there is a need for command access makes it safer and easier to code you just outputting the variables that you already have.  A short easy page on the status.htm and more in depth from the stats.json.  That keeps it rock solid and secure no way to hack (would be family/kids goofing around) in to do something bad if nothing exists that would permit that to happen.


   
ReplyQuote
(@the-blind-wolf)
Prominent Member
Joined: 4 years ago
Posts: 878
 

Status is all good, but for those like my self not able to change settings on the GS inverter is no fun.  Ohy well.


   
ReplyQuote
(@sid-genetry-solar)
Member Admin
Joined: 4 years ago
Posts: 2886
Topic starter  
Posted by: @the-blind-wolf
Status is all good, but for those like my self not able to change settings on the GS inverter is no fun. Ohy well.

Oh I haven't forgotten about you 😉.  Still thinking of making it easy to access a "setup" page by holding ENTER down for 10 seconds when you turn the inverter on--it'll generate a hotspot that you connect to (only 1 device allowed to access the hotspot for security), and an inverter configuration page could be provided there.

But I need to start soldering balancers together, then working on the new code for them...


   
ReplyQuote
(@the-blind-wolf)
Prominent Member
Joined: 4 years ago
Posts: 878
 

Have you got my balancer made and sent to Sean?  I might as well cash app it to you to get it quicker 😛


   
ReplyQuote
(@sid-genetry-solar)
Member Admin
Joined: 4 years ago
Posts: 2886
Topic starter  
3 minutes ago, The Blind Wolf said:

Have you got my balancer made and sent to Sean?  I might as well cash app it to you to get it quicker 😛

I can't do everything instantly.  I still need to update the code to add the serial communication functions...THEN start hand-soldering each balancer together.

Looks like FedEx purgatory on the remaining parts I need to assemble the balancers...ends on Monday (estimated delivery on April 12th).  Then I have to solder up the whole batch of 400 balancers...then program and test each one--and let's not mention that I'm working a full-time job on house construction in the meantime to pay the bills.  And I have personal things that have to be taken care of as well.


   
ReplyQuote
(@the-blind-wolf)
Prominent Member
Joined: 4 years ago
Posts: 878
 
Posted by: @sid-genetry-solar
I can't do everything instantly. I still need to update the code to add the serial communication functions...THEN start hand-soldering each balancer together.

Poor, Poor Sid, Over worked :P.  Sean got another year and half before it will all smooth out lol.


   
ReplyQuote
(@sid-genetry-solar)
Member Admin
Joined: 4 years ago
Posts: 2886
Topic starter  

UPDATE: I put some code together implementing mDNS and a local webserver to host a dynamically generated JSON file, and a simple webpage (to read said file)...and it worked perfectly the first time.

You can change the mDNS name to pretty much anything you want from the WiFi config page.  (This will all be coming out in firmware version 1.1r3.)

 

Only part I haven't fully worked out is how to control the inverter from the local server (on/off/config, etc.)  It is very easy to handle HTTP POST (form submit, etc.) requests, though I'm not sure what's going to be ideal.


   
ReplyQuote
(@waterman)
Reputable Member
Joined: 4 years ago
Posts: 313
 
Posted by: @sid-genetry-solar
UPDATE: I put some code together implementing mDNS and a local webserver to host a dynamically generated JSON file, and a simple webpage (to read said file)...and it worked perfectly the first time.

While you are at it, make it so that it can have its own Starlink account. 😉


   
ReplyQuote
Page 2 / 2