npeter / ioBroker.apsystems-ecu

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

Peak Power of the Day #4

Closed bu-na closed 2 years ago

bu-na commented 2 years ago

To simplify the visualization (VIS) please provide a continuously updated single value who records the peak power of the current day. At midnight, this value should be set back to zero. Even a additional value for yesterday would be good.

npeter commented 2 years ago

@bu-na what do you think about:

bu-na commented 2 years ago

Sounds good, I'm not sure, how ecu calcutates last_system_power, probabely there is there no difference between this value and ecu.dc_power) how about:

ecu.last_system_power = current power value ecu.peak_power_today= Maximum of ecu.last_system_power (drag indicator) ecu.peak_power_yesterday= ecu.peak_power_today at midnight

npeter commented 2 years ago

Function added V0.2.4