In node red i have the awning that is supposed to be an input to a check.
If it rains or if high winds and its down i need to be notified about that, so i can decide if i need to retract it.
(it will retract if the wind gets high enough automatically)
But the enitity in question just says “open” or “closed” with “closed” being all the way down.
And any percentage above that is “open”
The entity has a secondary info that reports back percentage. And that the one i want to use.
But cannot seem to find a way todo it?
What kind of node do you use for reporting the awning state ?
Current state node ?
If yes, your attribute with percentage should be in the message : msg.data.attributes with the default node configuration.
Thanks for that push in the correct direction. I’m coming from Gira Homeserver and its KNX / python system and many things are very different.
With the current state node triggered by the events: state node (events:state alone would give a type error)
Its fed into a function node with the following code: