set_setpoint_value()
- Set a setpoint value for a specified ZWave pcp (pcp is specified by node_id, class_id, channel_id, and setpoint_type).
Edit
- params: node_id (int), class_id (int), channel_id (int), setpoint_type (int), value ( table/scalable ). return: none.
Edit
require "zwave"
node_id = 1
class_id = 67
channel_id = 0
setpoint_type = 1
value = {
value = 24.5,
scale = "celsius"
}
zwave.set_setpoint_value( node_id, class_id, channel_id, setpoint_type, value )