|  Developer
Updated on November 15, 2021

set_rgb_value()

  • Set a specific rgb value for a specified ZWave pcp (pcp is specified by node_id, class_id and channel_id).
Edit
  • params: node_id (int), class_id (int), channel_id (int), value (rgb).
  • return: none.
Edit
				
					require "zwave"

value = { red = 0x08, green = 0x11, blue = 0x33 }
zwave.set_rgb_value( node_id, class_id, channel_id, value )				
			
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%