set_rgb_value_multicast()
- Set a specific rgb value for a specified list of ZWave pcp’s (pcp’s are specified by node_ids, class_id and channel_id).
Edit
- Params:
- node_ids (array of integers)
- class_id (int)
- channel_id (int)
- value (rgb)
- mode (string, optional, default is “chip_singlecasts”)
- Return: None
Edit
require "zwave"
value = { red = 0x08, green = 0x11, blue = 0x33 }
zwave.set_rgb_value_multicast( {node_id_1, node_id_2}, class_id, channel_id, value )
zwave.set_rgb_value_multicast( {node_id_1, node_id_2}, class_id, channel_id, value, "sequent_singlecasts" )
| label | value |
|---|---|
| wwhite | 0x00 – 0xFF: 0 – 100% |
| cwhite | 0x00 – 0xFF: 0 – 100% |
| red | 0x00 – 0xFF: 0 – 100% |
| green | 0x00 – 0xFF: 0 – 100% |
| blue | 0x00 – 0xFF: 0 – 100% |
| amber | 0x00 – 0xFF: 0 – 100% |
| cyan | 0x00 – 0xFF: 0 – 100% |
| purple | 0x00 – 0xFF: 0 – 100% |