hobbyquaker / node-red-contrib-zigbee

Node-RED Nodes for ZigBee Devices 🐝
MIT License
86 stars 15 forks source link

Can't add device anymore #55

Open LeMyst opened 5 years ago

LeMyst commented 5 years ago

Hello,

I have a CC2531 installed on a RPi 3. I recently discovered your project. I used zigbee-sheperd during month and then I discovered your project. I reinstalled my RPi with node-red and I started using node-red-contrig-zigbee. After some tests, I successfully added my devices (mainly Xiaomi hum/temp sensor, hum/temp/pressure and door sensor) and started to create my flow without issues.

Then... I started to "lost" some devices, I didn't receive any update from then anymore, when I tried to add the device again, the controller don't answer (permitjoin -> Press ~5 seconds then release -> first long flash, then second long flash (instead of the three short flash))

So, I tried some things, everytime without sucess (everytime with 4 different xiaomi devices) :

I don't have any idea to solve this, I don't understand why my controller don't want my devices...

latest log from node-red-log (only zigbee part, no error at all):

7 Oct 21:31:55 - [info] [zigbee-shepherd:zigbee herdsman] Herdsman version: v0.8.1 7 Oct 21:31:55 - [info] [zigbee-shepherd:zigbee herdsman] Converters version: v11.1.19 7 Oct 21:31:55 - [info] [zigbee-shepherd:zigbee herdsman] persistPath /home/pi/.node-red/zigbee/d9674f58.81308 7 Oct 21:31:55 - [info] [zigbee-shepherd:zigbee herdsman] connecting /dev/ttyACM0 undefined 7 Oct 21:32:15 - [info] [zigbee-shepherd:zigbee herdsman] Currently 0 devices are joined: 7 Oct 21:32:15 - [info] [zigbee-shepherd:zigbee herdsman] Zigbee network parameters: {"panID":31471,"extendedPanID":"0xdddddddddddddddd","channel":11} 7 Oct 21:32:15 - [info] [zigbee-shepherd:zigbee herdsman] Coordinator: zStack12 2.6.3 20190608 7 Oct 21:48:20 - [info] [zigbee-shepherd:zigbee herdsman] permitJoin true 7 Oct 21:49:01 - [info] [zigbee-shepherd:zigbee herdsman] permitJoin false

😒

LeMyst commented 5 years ago

I've installed the ZBOSS sniffer firmware (for history: https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html ) and I can see the Beacon Request (x2) when I try to add my device (long press, 3 long flash, etc.) So the CC2531 works correctly (at least the antenna).

On the node-red, I tried to delete the herdsman and add it again. No problem on that part, but I can't add a new device...

Still searching πŸ’” 😿

cougarek commented 5 years ago

Same problem here. Im after upgrade from 0.8 to 0.15. Devices added in 0.8 are still working fine but I cant add new devices. I have same problem with two Raspberrys. Log says nothing besides permitJoin true/false.

Do you have any idea how to troubleshoot this?

cougarek commented 5 years ago

I solved my problem by deleting old and adding new herdsman configuration with different key.

LeMyst commented 4 years ago

Hi, Quick update. My issue is solved (months ago) but I don't know how or why. One day after an another reset/rebuild/reflash/etc. of the node-red/CC2531, my devices can be added again. I've no real answer for this issue, mainly because I didn't try to "break" my config again to reproduce the issue, I'm too afraid of the result... I'll not close the issue myself because I think the issue is real, but maybe it was only in an old versions and have been solved (consciously or not).