Send data from node-red to Z-way
Posted: 10 Sep 2020 16:37
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.
- 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.