Zigbee Node Join proble

56 views
Skip to first unread message

Julli Mullins

unread,
Apr 10, 2017, 2:36:59 PM4/10/17
to zigbee4java
Hi!

Finally had some time to test to set up a zigbee network using zigbee4java. I got the dongle + zigbee4java up and running. Enabled the join process and set a sensor to a join mode. All went well except, all sensors gets kicked out from the zigbee mesh. The log is below:

ZigBee API permit join enable ... [OK]
Node added: 00:18:E5:00:00:00:xx:xx (#21567)
> 21:26:08 269  WARN   Created node object for #21567 (00:18:E5:00:00:00:xx:xx) that was not available on the network
21:26:16 283  WARN   ZDO_NODE_DESC_REQ FAILED on #21567 (00:18:E5:00:00:00:xx:xx)
21:26:24 296  WARN   ZDO_POWER_DESC_REQ FAILED on #21567 (00:18:E5:00:00:00:xx:xx)
21:26:42 331  WARN   ZDO_ACTIVE_EP_REQ FAILED on #21567 (00:18:E5:00:00:00:xx:xx)
21:26:42 331  WARN   Node #21567 (00:18:E5:00:00:00:xx:xx) removed from network because no endpoints have been discovered
Node removed: 00:18:E5:00:00:00:xx:xx (#21567)

I have tried with lot's of different sensor Adhoco motion, swithc, remote etc. Also tried Smartthings Motion sensor (Centralite) but the result was exactly the same. Any idea what to try next. One idea I got was to fake the response (hard code to the java code) from the sensor but I don't know what the sensor should report back to the any of the request the coordinator does. 

All help is more than appreciated.

By the has any one tried to use xiaomi zigbee sensors with zigbee4jave

br.
T

Han Alink

unread,
May 4, 2017, 12:14:46 PM5/4/17
to zigbee4java


Op maandag 10 april 2017 20:36:59 UTC+2 schreef Julli Mullins:
 I am using several end devices in my zigbee network (Netvox and DIY, see: www.zigbeedomotica.nl ) ). Those devices are designed to be low low low power devices, and they are sleeping most of the time. You can activate them short before you start looking for them, and/or you have to wait long enough  to get the replies. NetVox temperature sensors poll only once per 10 seconds.
Regards,
Han

Julli Mullins

unread,
May 27, 2017, 3:10:42 PM5/27/17
to zigbee4java
Fortunately I have a adhoco gateway and now I know how the join process should go. The problem is that after adhoco sensor sends ZCL indentify message the java coordinator should replay with APS ack message. See bellow:
ZigBee Application Support Layer Ack, Dst Endpt: 11, Src Endpt: 11
    Frame Control Field: Ack (0x02)
        .... ..10 = Frame Type: Ack (0x2)
        .... 00.. = Delivery Mode: Unicast (0x0)
        ...0 .... = Acknowledgement Format: False
        ..0. .... = Security: False
        .0.. .... = Acknowledgement Request: False
        0... .... = Extended Header: False
    Destination Endpoint: 11
    Cluster: Identify (0x0003)
    Profile: Unknown ZigBee Standard (0x0f05)
    Source Endpoint: 11
    Counter: 2

Now I need to change the zigbee4java code so, that APS ack message will be sent. Any suggestion what is the best way to this.

br.
T

Julli Mullins

unread,
May 27, 2017, 3:21:30 PM5/27/17
to zigbee4java
Just noticed that java coordinator already send all most the needed message when it replies to adhoco sensors device announcement message. I just need to change the cluster value from Groups to Identify.

Julli Mullins

unread,
May 28, 2017, 9:54:33 AM5/28/17
to zigbee4java
Does anyone know if the cc2531 dongle filters out received packet if those are not zigbee ha profile packets? The adhoco sensors ZCL indenfy message has a unknown profile id, so is it so that zigbee4java code never receives this message?
Reply all
Reply to author
Forward
0 new messages