ok, Iam quite new to node red so therefore thanks for your reply but I have no idea where to start.
the situation is as following:
within node-red there is a way to control your samsung TV.
I would like to have some virtual buttons which can trigger a node-red flow.
for example. when I press the button, my samsung TV will turn On. and obviously many more triggers will be possible.
unfortunately I have no idea how to start from a virtual switch to triggering a node-red flow.
is this done via a script perhaps?
hope you guys can help me out.
ps. when I enter the following in cmd:
Code: Select all
mosquitto_pub -h vm-domoticz.home.local -t "domoticz/in" -m '{ "idx" : 202, "nvalue" : 0}'
the switch in domoticz turns Off. but this is the other way around. I would like to switch the button and see in the debug mode that de switch is triggerd. hopefully this makes it a bit more clearer.
thanks in advance!