I am having problem configuring my hue motion temperature sensor with conditions.
For example, I want to turn on my hue smart plug (With a fan plugged in) at night when temperature is over 28 degrees, but do nothing during the day.
What I did:
- Configure a “greater than 28 degrees” with a sunset/sunrise condition on the temperature sensor page.
- On the “sunrise” section, I simply don’t add any action since I want nothing to happen.
- On the “sunset” section, I add an action to turn on the smart plug
This setup is working most of the time. The problem is that when the temperature is 28 degrees and over before the sunset happens, the sunset action is never triggered. Same thing if I use an “hourly” condition instead of the “sunrise/sunset”. I checked the rules generated and the problem seems to be caused by the fact that the “sensor state” variable is set to “1” during the “after sunrise” period, even if I configure no action. Since it needs to be to “0” to trigger the action in the sunset period, it is stuck in this state until the temperature drops below 28.
If the temperature is below 28 before sunset, it is working as expected.
Using latest 1.12.5 app version.