helgeerbe / OpenDTU-OnBattery

Software for ESP32 to talk to Hoymiles Inverters and Victrons MPPT battery chargers (Ve.Direct)
GNU General Public License v2.0
297 stars 62 forks source link

DPL: Automatic inverter restart not working while limit updates succeed #1041

Open schlimmchen opened 3 months ago

schlimmchen commented 3 months ago

What happened?

Investigating the issue in #989 showed that the inverter is not restarted even though it should have been after multiple start commands timed out.

To Reproduce Bug

Get the inverter to ignore start commands. Set a very low limit, which probably will make it oscillate and eventually it will stop producing power and start commands are ignored. However, limit updates succeed.

Expected Behavior

Even if limit updates succeed, failing to start the inverter should eventually trigger sending the restart command, as was intended by this feature.

Install Method

Pre-Compiled binary from GitHub

What git-hash/version of OpenDTU?

2024.06.03

Relevant log/trace output

https://pastebin.com/5wyVgGX9

Anything else?

No response