|  Developer
Updated on November 16, 2021

configure_attribute_report()

  • Configure Zigbee pcp to report attribute value to Zigbee Addon. (pcp is specified by node_id, endpoint_id, cluster_name and attribute_name).
Edit

  • params: node_id (int), endpoint_id (int), cluster_name (string), attribute_name (string), min_interval(int) (optional), max_interval(int) (optional), reportable_change(attribute value type) (optional).
  • , and parameters should be specified together.
  • return: none.
fields type optional 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
min_interval int true the minimum reporting interval in seconds
max_interval int true the maximum reporting interval in seconds
reportable_change attribute value type true the minimum change to the attribute that will result in a report being issued
Edit
				
					require "zigbee"

zigbee.configure_attribute_report( node_id, endpoint_id, cluster_name, attribute_name )