ZigBeeForDomoticZ plugin Wiki

Enrolment : Discovery process

  1. End Device send a Device Announcement by sending 0x004d
  2. When the plugin receive Device Announcement, it will send a 0x0045 Active Endpoint request, this will give information on the number of EndPoints available on the End Device
  3. End Device at reception of 0x0045 will send 0x8045 Active Endpoint request with the list of Endpoints
  4. The Plugin will then
    1. send 0x0043 for each EndPoint
    2. If at that stage the Model Name is unknown it will send a Read Attribute Request on cluster 0x0000
    3. If at that stage the Manufacturer is unknown it will send a 0x0042 to get a Node Descriptor
  5. When the Plugin will receive 0x8043 in response to 0x0043 with the list of Clusters per EndPoint, all necessary informations are available to create the corresponding widgets in Domoticz. In addition we could also get the response to Read Attribute Request to get the Model Name.

Enrolment : Domoticz Widget creation

The Domoticz widgets creation is based on two type of information

  1. If the Model name is known, the plugin will search for the Model name in the DeviceConf.txt database where are listed the certified objects and their definition. The widgets will be created based on that.
  2. If the Model name is not found in deviceConf.txt or if the Model Name is not defined, the widgets will be created based on the Clusters found during the discovery phase.
Cluster Widget
[ 0x0006 switch On/Of
0x0008 Switch Level Control
0x0101 Vibration
0x0300 Switch Color Control
0x0400 Lux
0x0402 Temp
0x0403 Baro
0x0405 Humi
0x0406 Motion
0x0702 Power and Meter
0x0500 Door switch
0x0001 Voltage

Enrolment : dealing with Issues

Nothing happen or it failed

There are quiet a number of reason why the Enrolment would not go through a positive end, but here are few elements:

What to do: