This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

zigbee End device joins the network but immediately leave the network

Guru 14820 points
Other Parts Discussed in Thread: CC2531, Z-STACK

Hello,

I m trying to integrate 3328-Geu 3 series micro motion sensor (zigbee end device)  by centalite into my system (bbb+cc2531 as network coordinator).

so when i try to add end device in the network by initiating permit join request from co-coordinator, the end device joins the network but leave immediately.

plz find attached sniffer log for details.

centralite sensor pairing.rar

 

Regards

DC

  • Is this micro motion sensor based on Zigbee HA profile? I see coordinator sends transport key packet to this micro motion sensor but it seems just restarts. Usually, this is caused by incompatible security settings of Zigbee protocol.

  • yes, in the datasheet of the product it is mentioned that -

    The 3-Series Micro Motion Sensor is fully ZigBee HA

    1.2 certified and is guaranteed to function with all

    open, ZigBee HA 1.2-certified hubs and devices.

    pfa for datasheet of the product DataSheet-3SeriesMicroMotionSensor.pdf

  • If you use SampleLight as ZC and enable permit join, can this 3-Series Micro Motion Sensor join it?
  • i have not tried this yet ..let me check and will let you know.
  • OK and it supposes to work if this 3-Series Micro Motion Sensor is HA certified product.
  • again same issue with Sample Light ZC ,the 3-Series Micro Motion Sensor leave automatically.

    on smartrf board lcd display it is displaying Match Desc Req=Non Matched.

    pfa for sniffer log-cc2530 as ZC.rar

  • I don't see ZC sends transport key packet to device after it associates to ZC in your sniffer log. Do you use original SampleLight ZC?
  • If you run SampleSwitch to join SampleLight, can you see transport key Packet?
  • when i discussed to centralite about this issue-

    I m trying to integrate 3328-Geu 3 series micro motion sensor (zigbee end device)  by centalite into my system (bbb+cc2531 as network coordinator).

    so when i try to add end device in the network by initiating permit join request from co-coordinator, the end device joins the network but leave immediately.

    they replied me that -

    This usually happens when we do not get a response to the Match Descriptor Request. Does their gateway support IAS (0x0500)?”. 

     

    so does linux HA gateway 1.0.1 support  " IAS (0x0500) " ? 

     

  • I remember Z-Stack Home GW doesn't support IaS zone by default. You have to add it by yourself.
  • what is the procedure to add IAS zone??
  • You can edit gateway_config.tlg to add endpoint to support IAS zone cluster.
  • I have edited the gateway_config.tlg to add endpoint to support IAS Zone cluster but still device is not joining the network . should i need to change any more files?
  • I think you might need to rrspond to match request send by motion sensor.
  • Still have problem?
  • yes ,actually i don't have much experience on linux gateway so m having trouble in adding IAS zone into linux gateway.
  • I have made below modifications in gateway_config.tlg file-

    endpoint { 10, HAIASZoneEpDef, IASZoneAttrList }
    endpoint { 11, HANonIASEpDef, NonIASAttrList }



    endpointdef HAIASZoneEpDef { 0x0104, 0x0402, 0, HAIASZoneInputClusters, HAIASZoneOutputClusters }
    endpointdef HANonIASEpDef { 0xC2DF, 0x000C, 0, HANonIASInputClusters, HANonIASOutputClusters }


    clusterlist HAIASZoneInputClusters { 0x0000, 0x0001, 0x003, 0x0020, 0x0402,0x500,0x0B05 }
    clusterlist HAIASZoneOutputClusters { 0x0000, 0x0001, 0x003, 0x0020, 0x0402,0x500,0x0B05 }
    clusterlist HANonIASInputClusters { 0x0000, 0x0001, 0x0003, 0x000F, 0x0B05 }
    clusterlist HANonIASOutputClusters { 0x0000, 0x0001, 0x0003, 0x000F, 0x0B05 }



    attr IASZoneAttrList_ZoneState { 0x0000, 0, uint8, rdonly }
    attr IASZoneAttrList_ZoneType { 0x0001, 0, uint8, rdonly }
    attr IASZoneAttrList_ZoneStatus { 0x0002, 0, uint16, rdonly }
    attr IASZoneAttrList_IASCIEAddress { 0x0010 , 0, uint64, rdwr }
    attr IASZoneAttrList_ZoneID { 0x0011, 0, uint8 ,rdonly }

    attrlist IASZoneAttrList { IASZoneAttrList_ZoneState, IASZoneAttrList_ZoneType, IASZoneAttrList_ZoneStatus, IASZoneAttrList_IASCIEAddress, IASZoneAttrList_ZoneID}
    attrlist nonIASAttrList { IASZoneAttrList_ZoneState, IASZoneAttrList_ZoneType, IASZoneAttrList_ZoneStatus, IASZoneAttrList_IASCIEAddress, IASZoneAttrList_ZoneID}