npeter / ioBroker.apsystems-ecu

Integrate APSystems inverters via ECU-R
MIT License
17 stars 4 forks source link

Request: Total_Energy_Yesterday #5

Closed npeter closed 2 years ago

npeter commented 2 years ago

Hätte mit Blick auf die Visualisierung noch folgende Vorschläge:

1 current_day_energy=0 um Mitternacht

2 Bereitstellen singlevalue Total_Energy_Yesterday

Solution: ecu.total_energy_yesterday - ecu.current_day_energy saved at midnight clear ecu.current_energy tbc

Remark:

bu-na commented 2 years ago

Maybe it is easier to create new datapoints and calculate it specifically from midnigth (e.g. ecu.total_energy_today, ecu.total_energy_yesterday). It also may make sense for ecu.last_system_power --> ecu.current_system_power (zero at midnight problem). We also should bear in mind that the inverters also generate energy even after sunset (even at full moon in summer) and be included in the calculations of the ECU.

npeter commented 2 years ago

@bu-na

We also should bear in mind that the inverters also generate energy even after sunset (even at full moon in summer) and be included in the calculations of the ECU.

Configuration: New parameter poll_always added. poll_always = true will disable stop of polling at sunsset.

npeter commented 2 years ago

Function added V0.2.4