csuermann / node-red-contrib-presence-faker

Node-RED node that fakes presence in a smart home by switching devices (e.g. lights) on and off at random times.
MIT License
24 stars 2 forks source link

Feature Request: New input - force sending ON- or OFF-message (payload/topic) #45

Open hvorragend opened 2 years ago

hvorragend commented 2 years ago

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).

image

What do you think? Would that be an interesting feature?

csuermann commented 2 years ago

Hi @hvorragend, Thanks for the suggestion. How would you concretely envision this to work?

hvorragend commented 2 years ago

I'm not really a NodeRed pro and I need your opinion.

How about the following inputs?

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.

24CA7E99-3869-4810-AAA7-CD3D76C777F0