I am trying to define a rule using the UI that triggers when a zigbee (MQTT) thermometer reaches a temperature.
This is the second rule I define, so I am fairly inexperienced here.
One of the problems that I have is that all options given seem to be somehow applicable: Item, Channel, Thing (my thermometer has all of those), state changes/updates …
the UI seems to focus on ON/OFF OPEN/CLOSED, so I am not sure rules can be triggered by value thresholds.
What is the correct way to define a thermometer UI rule trigger based on temperature?
Some general info on things and items are available here and the difference between update and change in a rule is explained e.g. here
What you most likely want is a rule based on item change. The ON /OFF / Closed /Open values in the UI are just examples to help building a rule, but you enter any other value, as long as the item supports the value.
I think the rule should trigger on the temperature item change, without specifying anything else… because there is another field for the action to execute only if… temperature <= 5.
I don’t think it makes sense for the rule to trigger at a particular temperature… because it is possible that on the way up or down the thermometer skips that particular value.
the thing is that I don’t think the rule is triggering in this form, at all.