Closed Ed2010 closed 6 years ago
Hi @Ed2010,
Can you provide more details about what you are trying to achieve? Like a use case? I will then be able to help you :)
Thanks!
Hi @Nikkow,
thank you for your fast response! my goal is to operate the shutters via a touch screen and a node-red switch. The touch screen (NEXTION) hangs on an ESP8266. MQTT is running on the ESP. In the node red, I would like to control the roller shutter via MQTT or Switch.
Unfortunately, I do not know where to set up the action
Actions Currently, only a few commands are understood by this node. The possible values for the action property are:
Where must i set: open: This will open the device (door, blind...) close: This will close the device
Hi @Ed2010,
The Tahoma node expects to receive an object from the parent node (the one that is connected to the Tahoma node input). This object must be set in the msg.payload
variable by the parent node. For example, if you need to close your blinds, the msg.payload
you must send to the Tahoma node will look like this:
{ "action":"close" }
My setup looks like this:
Let's say I want to close the blinds, here is the chain that is going to be triggered:
0
0
and route it to the "Close" node.msg.payload
to {"action":"close"}
and forward it to the Tahoma nodeI hope this helped :)
Hi @nikkow
great, it works! Thanks a lot!!!
I needed something to implement your solution until I realized "Change" must be from type "json".
Now it works with a switch. The mqtt will i´m testing now.
Hi,
how can i use a switch to open or close the Tahoma?
Can you give me an Example?
Thanks.