Conversation
The queue management has been improved with OpenDTU v25.2.3.
|
Hi, didn´t work? |
It worked but I was facing several issues. |
|
yep i think so... and i am stuggeling because i think the script needs to receive an error response when there was a problem with setting the limit. if you do not get any response from openDTU/Ahoy the script don´t know that the last command was not successful... |
A code change where the main loop queries the limit_set_status of the inverters with a new helper method DTU::GetLimitStatus can replace DTU::WaitForAck and would improve the speed of your script (and it would run asynchronously). DTU::SetLimit would only fire when limit_set_status is Ok. From the log (modified code to log limit_set_status) |
With the release of OpenDTU v25.2.3, the queue management was improved and set limit / status requests can no longer flood the queue.
The code of OpenDTU::WaitForAck was removed and the method always returns true.
HoymilesZeroExport requires version v25.2.3 of OpenDTU.