Does anyone have an algorithm that is following the sun, I mean monitoring the PV inverter output power and use this value for the battery charge which something like this with MQTT:
/Hub4/DisableCharge = 0 //charger is enabled during the day from sun /Hub4/Lx/AcPowerSetpoint = “PV inverter output power by ET112 - AC load by house” /Hub4/DisableFeedIn = 0 //feed into grid once battery is full from sun
and once the sun sets, no PV inverter power anymore, then switch to use battery only at night, no import from grid.
/Hub4/DisableCharge = 1 // at night charge can be disabled from grid
/Hub4/DisableFeedIn = 1 //prevent battery to feed into grid
If anyone made such in Home Assistant or python or NodeRed please share, thanks