ned-kelly / docker-voltronic-homeassistant

Programmatically read data from your Voltronic, Axpert, Mppsolar PIP, Voltacon, Effekta etc Inverter and send it to Home Assistant via MQTT - Works with RS232 & USB!
GNU General Public License v3.0
257 stars 140 forks source link

Prevent infinite loop on one time run #106

Open chadek opened 10 months ago

chadek commented 10 months ago

If inverter does not respond, the main loop is never leaved. This should prevent this issue.

I'm no cpp expert at all, so please be free review and clean if necessary.

Changes reported into original project through this pr