fboundy / pv_opt

Home Assistant PV Optimisation for Solis Inverters
Other
27 stars 6 forks source link

pv_opt crashing after hours of use #257

Closed punkymuzzle closed 3 months ago

punkymuzzle commented 3 months ago

Describe the bug Everything works fine, then (usually in the morning) pv_opt seems to stop working. AppDaemon reports errors. Inverter settings (usually self use mode with a time of 00:00) seem to stick to a previous time.

Seems to work again after AppDaemon restart

To Reproduce I just leave pv_opt running overnight.

Screenshots AppDaemon Log:

Desktop (please complete the following information): N/A

Smartphone (please complete the following information): N/A

Additional context Logs attached:

pv_opt.log main.log error.log

fboundy commented 3 months ago

Looks like it is because the battery voltage is reading zero. I've added a default of 100 in the latest patch.

punkymuzzle commented 3 months ago

Awesome, thank you