- Original code has problems to roubstly have a time_triggered instance of on_time() running. Often there was no instance.
- Works now with hybrid systems like Fenecon Home. System has a battery and a combined power sensor for import/export. Original code rejected working with this.
- Original code did not work with car chargers/wallboxes that do not report power
- Power on dynamic appliances like car chargers works now also if appliance does not immediately change power
- Car Chargers afaik only work with whole numbers for the current value
- Added a toggle on margin setting to avoid on/off sequences
- Added a setting to for inverter limited PV systems
EDITS BY GFKSolar:
- Round excess rather up then down, useful when u have a batterysystem to use up the even the last bit of excess! If you dont have a battery use the old Code with math.floor