This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to send notification in zigbee from bulb to switch

Hi,

Iam running the BLE uart and zigbee light multi protocol example. Using the latest thread and zigbee SDK v3.2.0. The example is quite good. That the door(zigbee+BLE) device is controlled by ble device and zigbee device.

But i want to do that i need to send the status of the door light to zigbee and BLE.

For ex: The ble device turn off the door that status need to send to zigbee device saying that the status of the door is close operated by the bluetooth device.

So is there a way to send an event or notification from the (door)zigbee+ble device --> zigbee device(switch) ? If yes point me to the solution so that i can go forward.

Thanks,

venkatesh

Parents
  • Hi Venkatesh,

    If you take a look at the ZCL specification, you will see that the Door Lock cluster has support for setting up Reports, which can be use to inform a subscribed device of changes of state in specific attributes on the lock, for example the 'LockState' attribute, which is reportable.

    You can test this using the CLI example and using the same steps to set up reporting as described in the multisensor example. You will need to bind and subscribe to the Door Lock cluster (0x0101) instead of the temperature (0x0402) and pressure measurement (0x0403) clusters.

    Best regards,

    Marjeris

Reply
  • Hi Venkatesh,

    If you take a look at the ZCL specification, you will see that the Door Lock cluster has support for setting up Reports, which can be use to inform a subscribed device of changes of state in specific attributes on the lock, for example the 'LockState' attribute, which is reportable.

    You can test this using the CLI example and using the same steps to set up reporting as described in the multisensor example. You will need to bind and subscribe to the Door Lock cluster (0x0101) instead of the temperature (0x0402) and pressure measurement (0x0403) clusters.

    Best regards,

    Marjeris

Children
Related