gropi75 / SEM32

SEM32 (Solar Energy Manager 32) based on ESP32 for Soyosource Inverter, Huawei r4850g2 power supply and 48V battery
MIT License
11 stars 3 forks source link

Extent Library secrets.h #11

Open barakuda21 opened 1 year ago

barakuda21 commented 1 year ago

1.) In order to connect to the smart plugs, its needed to add the IPs to the sectet.h file.

2.) The constants lagmorning and lagevening are required to calculate the start and end of PV Production. This values must be added to the sectret.h file. They can also added to the Wifi setup, since they will not change, but are different depending on the location of the PV installation.

This code must be added to the Secret.h file // Uli, These values must be determined once, This data must be added to the wifi setup float lagmorning=1.5; // time in decimal hours between real sunset and start of PV float lagevening=2; // time in decimal hours between end of PV power production and real sunset // IPs for smart plugs. This data must be added to the wifi setup char plug_ip_charger[39] = "192.168.XXX.XX"; // Inverter Smart plug char plug_ip_inverterip[39] = "192.168.XXX.XX"; // charger Smart plug

gropi75 commented 1 year ago

Values shall be stored to memory as well