|  Developer
Updated on November 16, 2021


  • Set a specific value for a specified Zigbee pcp (pcp is specified by node_id, endpoint_id, cluster_name and attribute_name).

  • params: node_id (int), endpoint_id (int), cluster_name (string), attribute_name (string), value (attribute value type).
  • return: none.
					require "zigbee"

value = true
zigbee.set_attribute_value( node_id, endpoint_id, cluster_name, attribute_name, value )				
fields type description
node_id int an id of node
endpoint_id int an id of endpoint
cluster_name string cluster name
attribute_name string attribute name
value attribute value type attribute value to set