Difference between revisions of "Zigbee Object"

From Hubitat Documentation
Jump to: navigation, search
(Created page with "==Description== The package name of this class is zigbee. So to use in an App or Driver you would reference it with zigbee. == <code>clusterLookup</code> == Return ZHA clust...")
 
(Replaced content with "<big>'''We're moving!''' Please visit http://docs2.hubitat.com for the latest documentation.</big> <big> This document is available at: http://docs2.hubitat.com/en/develo...")
(Tag: Replaced)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Description==
+
<big>'''We're moving!''' Please visit http://docs2.hubitat.com for the latest documentation.</big>
The package name of this class is zigbee. So to use in an App or Driver you would reference it with zigbee.
 
  
== <code>clusterLookup</code> ==
+
<big>
Return ZHA cluster information.
+
This document is available at: http://docs2.hubitat.com/en/developer/zigbee-object
 
+
</big>
'''Signature'''
 
ZigbeeCluster clusterLookup(int value)
 
ZigbeeCluster clusterLookup(String value)
 
 
 
'''Parameters'''
 
 
 
value - the integer value to lookup
 
value - the hex string value to lookup
 
 
 
'''Returns'''
 
 
 
ZigbeeCluster - Cluster entry, null if no matching entry found.
 
 
 
'''Example'''
 
def zbc = zigbee.clusterLookup(0x0006)
 
def zbc = zigbee.clusterLookup("0x0006")
 
def zbc = zigbee.clusterLookup("0006")
 
 
 
zbc == ON_OFF_CLUSTER
 
zbc.clusterEnum == ON_OFF_CLUSTER
 
zbc.clusterLabel == On/Off
 
zbc.clusterInt == 6
 

Latest revision as of 20:31, 25 September 2022

We're moving! Please visit http://docs2.hubitat.com for the latest documentation.

This document is available at: http://docs2.hubitat.com/en/developer/zigbee-object