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

impossible to check status frequently ? #28

Closed Loganserval closed 4 years ago

Loganserval commented 4 years ago

hello, first, I would like to thanks you for the job already done. The palette work fine for me and I succeed to create all I need in nod red except one function. I would like to check (every minute for the example) the status of the devices (close a 10 %) I need to do this because I have multiple way to activate every device. And I would like to synchronize the device state between nod red and the others. I use the read function but I don’t know how to make it update itself. Thanks in advance for your feedback BR image

nikkow commented 4 years ago

Hello,

Thank you for your support! 😄 NodeRed exposes an Inject node that can be configured to send an output at a given time interval.

image

Loganserval commented 4 years ago

Hi nikkow, thanks for your answer, I badly understand your block description image So the block accept as input the inject block . I update my nod-red and it's work :-) thanks again for the work. I still have one unit that is not visible, it's my garage door (IO engine that working with tahoma otherwise)

nikkow commented 4 years ago

Hi @Loganserval,

Thanks for your feedback. The descripton may indeed be a bit confusing in this case. It does not accept any data as input (meaning you can't compute the device ID on a node, then pass it to the tahoma-read node). However, it is triggered on input, so the inject does the job. :)

Regarding the garage door, I do have the same issue. It seems that garage doors cannot be controlled using the Somfy API.