I’m trying to create a new Device Handler for a Develco Smart Plug Mini that connects via Zigbee.
I’ve read though all the documentation but can’t seem to find a complete list of all the zigbee.[something] commands.
I have created a new Zigbee device handler using the template in the IDE and there are a lot of zigbee.[something] commands that don’t seem to be documented. A few examples are:
The use of ‘raw …’ commands is deprecated. Instead use the documented methods on the ZigBee library. If you need to do something that requires the use of a ‘raw’ command let us know and we will look at adding it to the ZigBee library.
I’m assuming that means don’t use commands like:
zigbee.readAttribute(“0x0002”, “0x0000”)
to pull information from the device. Instead use zigbee.[somecommand] to do it instead.
The zigbee reference is found in the API Documentation section. There is also a link to it from the top of the Zigbee Primer page (the previous page from the one you posted).
Commands like zigbee.readAttribute and zigbee.command are encouraged. What the documentation means is don’t use the legacy "raw ..." command. I’d add other legacy commands like "st rattr ..." and "st wattr" to that list of commands to avoid using.
This should be documented but in the meantime here is the source:
Is there a more complete reference? I’m having a hell of a time dealing with a Zigbee scene controller and would love info on how to go about testing it. I can send it all sorts of commands, but either don’t get responses or get back nothing of value.