|  Developer
Updated on March 28, 2023

set_value()

  • Set a specific 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 (boolean or number).
  • return: none.
Edit
				
					require "zwave"

value = true
zwave.set_value( node_id, class_id, channel_id, value )