home_assistant_solarman icon indicating copy to clipboard operation
home_assistant_solarman copied to clipboard

Reset daily production at midnight

Open elodur opened this issue 1 year ago • 9 comments

Running and monitoring a Deye Sun M80 works fine overall, thanks for your work! Since it disconnects at night, the daily production counter does not reset at midnight and the old value stays in Home Assistant. When the inverter starts the next day, resets the daily production counter, Home Assistant counts a negative solar production by the value of yesterdays production. Is it possible to reset this counter at midnight? I'm afraid I don't know how to do it myself or to contribute to your code.

elodur avatar Jul 17 '23 19:07 elodur