Since the beginning I've never had an issue with my Xiaomi sensors but for no reason one of them started to not update his status.
If I close the door Jeedom still displays the door as opened.
I couldn't find the reason and I discovered that a simple refresh command could reset the status and display the right information.
If you don't want to refresh the status manually, you can do it with a scenario.
First, create a triggered scenario on the Xiaomi sensor for the opening command and give a name to your scenario.
Then in the scenario definition:
- add a Sleep action for 10 seconds
- add a refresh command from your Xiaomi sensor
- add an IF condition and check if the opening command value is equal to 1 (open)
- add a THEN condition to execute your current scenario
If the status changes, the scenario will wait 10 seconds and then execute the sensor refresh command. If the status is still equal to 1 (open), it will execute again the current scenario.
Now if the door is closed and the status is not up to date the scenario will update it after 10 seconds.
comments powered by Disqus