PLCHome / node-red-contrib-velux

Provides nodes to talk to Velux® KLF-200 io-homecontrol® Gateway
9 stars 2 forks source link

Example required for stop functionality #10

Closed LilYea closed 3 years ago

LilYea commented 3 years ago

Hi everyone,

I am experimenting with the KLF adapter. There is a really good example from malansk and he did a very good job there, which already helped me. Thanks for the provided information. However I have some issues implementing the stop button for the dashboard. Can someone help me with that? I am using the dashboard button and filling it with payload JSON {"rawValue":"0xD200"}. I am connecting that to a Velux node. In the Velux node I set it to target. I am keeping topic "name" the same (in velux node and button node). However it is not interpreted by Velux. While debugging the node as well as the button it always turns out, that the the button puts out msg.payload : object rawValue : 0xD200.

Thank you

malansk commented 3 years ago

Hello,

I have different settings, try to set the Checkbox „emulate a button click when message arrives“. But this function you probably don’t need so this should not make a difference. Probably the „Topic“ has to be defined not as „msg“.

But I can´t remember how to change that.

@.***D7222B.EF4AE500]

@.***D7222B.EF4AE500]

Mit freundlichem Gruß Martin Lansky

Von: @.> Gesendet: Freitag, 26. März 2021 09:57 An: @.> Cc: @.***> Betreff: Re: [PLCHome/node-red-contrib-velux] Example required for stop functionality (#10)

[Bildschirmfoto 2021-03-26 um 09 53 17]https://user-images.githubusercontent.com/81388687/112607091-1a35eb80-8e19-11eb-89b5-78c40ab872aa.png

[Bildschirmfoto 2021-03-26 um 09 56 32]https://user-images.githubusercontent.com/81388687/112607476-8dd7f880-8e19-11eb-9cb3-30f5064444a6.png ![Uploading Bildschirmfoto 2021-03-26 um 09.57.16.png…]()

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/PLCHome/node-red-contrib-velux/issues/10#issuecomment-808050389, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGCAYFRUJGCYXF7TNU4XLI3TFREAFANCNFSM4Z27GUBA.

LilYea commented 3 years ago

Hi malansk,

thanks for the help. I changed to string in the drop down and now it works. Perfect

Bildschirmfoto 2021-03-26 um 11 16 21