Hello,
im encountering a very strange behavior when i try to make a ZigBee HA Lamp (Hue) leave my coordinator.
I set up the coordinator as described in the ZNP-Interface Specification and setting the join permit flag for the first time. The Lamp joins the network properly, making a device announce. I can switch the light on and off and do various other things with it. My problem is that i want to make the lamp leave my network. I issue a
ZDO_MGMT_LEAVE_REQ (0x2534)
and getting a correct response from my lamp that it left the network. It also disappears from the list of associated devices which i access through
UTIL_GET_DEVICE_INFO (0x2700)
My problem is now, once i enable the join permit again, the lamp somehow secretly joins my network again. It does not announce itself to the coordinator, nor is it in the list i mentioned before (get_device_info). But i can still switch the lamp on and off like i could do when it joined normally and ask for its IEEE address for instance. But i cannot issue a
ZDO_MGMT_LEAVE_REQ (0x2534)
to this lamp again. this time it sends me
Status: 194 (0xC2)
So my question is how do i remove this lamp completely without this stealth join? It might be ok if it joined again correctly with a device announce and so on, but this sneaky joining of the network isn't normal, isn't it?
thanks!