nikkow / node-red-contrib-tahoma

Node-RED module to control a Somfy Tahoma box (Roller shutters...). Used for home automation flows.
Apache License 2.0
19 stars 11 forks source link

Example #4

Closed palcooky72 closed 6 years ago

palcooky72 commented 6 years ago

Do you have an example flow for me to play with?

frankis78 commented 6 years ago

I would like the same I can see that it pulls my devices, but i dont see any output? I would love to post it to mqtt. Do you have an example of an input and output node. Thanks.

nikkow commented 6 years ago

Hello,

Sorry for the delay. Below is a simple example for a single shutter controlled by a manual inject node that outputs both to the console and MQTT. This flow's purpose is to show how it works:

tahoma-example tahoma-example-flow.txt

You can of course extend this exemple by controlling the shutters directly from MQTT, or by adding some logic. For example, I have inserted a logic that checks whether the window is open. If the window is indeed open, the shutter doesn't close.