Closed hasspi88 closed 3 years ago
same here, can only turn on the led, can not turn it off.
Example payloads for nodes: status
msg.payload = true
on/off
msg.payload = true
(boolean)msg.payload = false
(boolean)rgb
msg.payload = {"r": 255, "g": 0, "b": 0}
(json)msg.payload = {"r": 100, "g": 100, "b": 100}
(json)cw
msg.payload = {"ww": 255, "cw": 0}
(json)msg.payload = {"ww": 0, "cw": 255}
(json)pattern
msg.payload = true
(boolean)msg.payload = {"type": "fade|jump|strobe", "speed": 100, "custom": [ [r1, g1, b1], [r2, g2, b2], ...]}
(json)If your LED waits 10s for next command, set its timeout to 1 (default is 10000 = 10s). My Aliexpress LED strip correctly responds only for status and on/off, but all commands work just fine.
managed to get it working... for some reason I needed to apply "homemagic the status" after the "on-off".... so I did the following and it is now working fine 👍 thanks for this node !!!! all the best.
LED responds with OK only for status and on/off node: even though, all nodes do what they should... @dmamontov - would be great to have response optional only.... (?)
@我猜测他现在是关灯状态所以它是error
@dmamontov 你可以来这里,有两个都是开发magichome插件的工程师,https://discord.gg/q4M5eAg7