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
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