-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTT updates are received but control does not work after 24hours #309
Comments
Is this a recurring issue, i.e. it always does that after 24 hours, or is this a one-off incident? |
I do not want to commit to the 24 hours but it is recurring, reproducible. |
I think I figured out where the issue is. It looks like if there was a disconnect from the MQTT server, the subscribe would not initialize again, which probably caused the subscription to stop working. We can fix this in the firmware. But in the meantime, what MQTT broker are you using? Is it an internal server on your network or is it an external server? Is it fairly reliable or does it get offline / powered off periodically? |
I made a fix which is actually quite simple: The fix is in a new branch (dev/221_1), which can download and compile. Or you can grab the current master repo, add the fix yourself and compile it. Then update the firmware on your controller. |
Working on it. |
It is installed, I started one station. Now we must wait for a day if it is working still. |
I can still turn it on/off via HomeAssistant -> MQTT, all working well. |
And I can still turn it on/off via HomeAssistant -> MQTT, all working well. |
OK, that's good to know. Thanks for reporting. |
Still all fine. Scenario: |
I have configured OpenSprinkler to publish updates and receive control commands. All works fine.
Next day I look, status updates are still received - if I start a station or a program this info gets published to MQTT - but sending commands to manually starting a station via MQTT does no longer work.
I restart OpenSprinkler and then all is back to normal until the next day.
I have no logs from OpenSprinkler and from the MQTT side all looks good.
App Version 2.4.1
Firmware 2.2.1
Hardware Version 3.3 - AC
The text was updated successfully, but these errors were encountered: