message cleanup #374
Replies: 2 comments
-
Hey,
Maybe this will help you. :-) |
Beta Was this translation helpful? Give feedback.
-
I think I found the solution I will leave you the code if you want to try it, by counting the lights on if less than two it shows no message otherwise it counts the lights on. this is the code: var lux = msg.payload |
Beta Was this translation helpful? Give feedback.
-
hello everyone, I am wondering if it is possible every some time to perform a message cleanup, I made a flow with node red but even if the device is in off state and the entity is below the set threshold, it keeps showing the last state.
example my PV system goes off if the production is below 100w, i would like this flow to be skipped if the threshold is below 100w. otherwise it keeps showing the last status example 101w
i hope i have explained myself well.
Translated with DeepL.com (free version)
this is the flow
end this the flow code
Beta Was this translation helpful? Give feedback.
All reactions