I have a problem with sending RGB data to node device Fibaro FGRGBW-442 (class Switch Color). Device data format is RGB(rrr,ggg,bbb). Im testing many combnination of formats:
- strings: "rrr,bbb,ggg", "(rrr,bbb,ggg)", "RGB(rrr,bbb,ggg)" , e.g. "210,100,100" - Error: Element is not a number
- array of strings: "rrr","bbb","ggg", or array of value rrr,bbb,ggg - Not change on device, TypeError: payload.split is not a function
- objects format identical as I get from device: RGB {r: rrr, b: bbb, g: ggg}, color {r: rrr, b: bbb, g: ggg} - Error: Element is not a number
I have no more ideas.
PS. No problem with sending value to other class the same device, e.g Dimmer, Switch and others, but RGB Color not at all.
Send data from node-red to Z-way
Send data from node-red to Z-way
- Attachments
-
- Zrzut ekranu 2020-09-10 o 12.47.43.png (99.89 KiB) Viewed 2864 times