Node red: trigger if humidity greater than

I must be doing something terribly wrong. But it seems so simple.
I want to trigger a flow whenever the humidity goes above 80 percent.
But this doesn’t seem to trigger.
Any ideas?

afbeelding

I think you have to select State Type: “Number” to check it with greater than.

If not, it can help to put a Debug node right after the state node to dump the hole message and see what may be wrong.

I always assumed that the state type would be the output of the node.
This whole node red thingy is a blackbox sometimes. I will try your suggestion. Thanks

Yes, it’s kind of try-and-error sometimes. That’s why the debug node is my best friend :wink:

Well it wouldn’t output anything because it wasn’t triggered…
Anyhow, I think it is solved now. The event triggered.