GivEnergy / giv_tcp

TCP connection (from inverter) and MQTT implementation
30 stars 41 forks source link

Add pause between inverter read cycles #19

Open lockedj opened 2 years ago

lockedj commented 2 years ago

Added logic to pause for a configurable number of seconds between inverter read cycles. Pre this change once one cycle finished there was a 1 second pause before the next cycle started. A read cycle keeps the inverter busy and can cause other API requests including from the Giv Cloud to fail with Inverter busy. Putting a pause between read cycles provides some breathing space for other API requests.