node-red-contrib-presence-faker
node-red-contrib-presence-faker copied to clipboard
Feature Request: New input - force sending ON- or OFF-message (payload/topic)
Hi,
it would be great if we could force the pf-node to send to ON- or OFF-message (with payload and topic).
If I disable the pf-node, I cannot always use the last-block settings. For me it is neccessary to have to choice if I want to keep the lights on or off.
I cannot wire the node before to the nodes after presence-faker, because inside each pf-node I have configured the device (payload and topic).
What do you think? Would that be an interesting feature?
Hi @hvorragend, Thanks for the suggestion. How would you concretely envision this to work?
I'm not really a NodeRed pro and I need your opinion.
How about the following inputs?
- msg.topic = sendOnPayload
- msg.payload = true
~~Or is it easier to allow passing an individual topic through your pf-node?~~
~~So you don't have to do anything a I can put a switch node after your pf-node.~~
I ask about it because I have a lot of of-nodes and then only one service node with variables.