Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Zigbee coordinator with Xiaomi devices

Hi all!

I found solution for Xiaomi zigbee smart home sensors (gerkon, water sensor, pir motion, and other...) based on CC2530 zigbee shepherd and Trust Center Link Key from lthis ink.

Heve anybody an idea how to implement nrf52840 zigbee light coordinator code to cominicate with Xiaomi devices?

I tried to use it, but i dont inderstand where i have to paste key in source code, when i try to join to network code return  info with unknown signal parameter....

Parents
  • Hi there!

    I am planning to do something like ZigBee Shepherd for nrf52840 (to make it works with Zigbee2MQTT). Did you find a solution to your question or any improvement?

    thanks

  • Yes, right now you can test those devices with a CLI example, that is included inside SDK for Thread and Zigbee 2.0.0.

    I tested it with Human Body Sensor:
     1. Change "ZIGBEE_CLI_ENDPOINT" value inside sdk_config.h file from 64 to 1
     2. Compile & flash example
     3. Connect via UART (baud rate 115200)
     4. Start Zigbee coordinator on a Nordic device:
         4.1 Select channel, e.g. "bdb channel 15"
         4.2 Select BDB role "bdb role zc"
         4.3  Start the BDB state machine "bdb start"
     5. Enable nRF logs from zigbee reports parsing module: "log enable info zigbee.report"
     6. Reset the sensor (e.g. by a long press)
     7. Observe logs on a terminal. For human body sensor you should see something similar to this:
        <info> zigbee.report: Received value updates from the remote node 0xED3E
        <info> zigbee.report: Profile: 0x0104 Cluster: 0x0406 Attribute: 0x0000 Type: 24 Value: 1

Reply
  • Yes, right now you can test those devices with a CLI example, that is included inside SDK for Thread and Zigbee 2.0.0.

    I tested it with Human Body Sensor:
     1. Change "ZIGBEE_CLI_ENDPOINT" value inside sdk_config.h file from 64 to 1
     2. Compile & flash example
     3. Connect via UART (baud rate 115200)
     4. Start Zigbee coordinator on a Nordic device:
         4.1 Select channel, e.g. "bdb channel 15"
         4.2 Select BDB role "bdb role zc"
         4.3  Start the BDB state machine "bdb start"
     5. Enable nRF logs from zigbee reports parsing module: "log enable info zigbee.report"
     6. Reset the sensor (e.g. by a long press)
     7. Observe logs on a terminal. For human body sensor you should see something similar to this:
        <info> zigbee.report: Received value updates from the remote node 0xED3E
        <info> zigbee.report: Profile: 0x0104 Cluster: 0x0406 Attribute: 0x0000 Type: 24 Value: 1

Children
Related