I had issue with some of my zigbee sensor. To try to troubleshoot, I deleted one aqara motion sensor. Now the network seems more stable, I can't re-pair this sensor. I've tried to turn ZHA off and install Zigbee2mqtt, the sensor is pairing almost immediatly. I don't want to switch all my devices to zigbee2mqtt because there is a lot of devices (nearly 50). What could I do ?
#Can't re-pair aqara motion sensor.
1 messages · Page 1 of 1 (latest)
I've installed ZHA Toolkit using HACS, but I don't know what service should I use with my case..
What region do you live in?
Battery powered sensors generally don't have any impact on network stability.
Z2M defaults to channel 11 and Aqara motion sensors, like many devices from that era, will just immediately join the first network they see. Your ZHA Zigbee network likely is on a different channel (15, 20, or 25) and the sensor is either joining a different network or hasn't been fully reset.
France
Which adapter are you using?
Texas Instruments CC2652
Do you have access to a CLI environment with Python, like the HA OS Advanced SSH addon?
Not installed right now but it could be quick to install.
Run this CLI tool with your adapter: https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#network-scan, just python -m zigpy_znp.tools.network_scan /dev/serial/by-id/your-adapter
Which networks are in your vicinity?
Sure, they're symlinks. Just make sure ZHA is disabled when you run it.
/usr/bin/python: Error while finding module specification for 'zigpy_znp.tools.network_scan' (ModuleNotFoundError: No module named 'zigpy_znp')```
Do I have to install something ?
pip install zigpy-znp should work
You can also disable protection mode for the Advanced SSH addon and enter the main HA container, where this package is installed: docker exec -it homeassistant /bin/bash
1738017873.72 [EPID: 60:47:76:ed:99:66:82:e4, PID: 0xF5AE, from: 0xE190]: Channel=15 PermitJoins=0 RtrCapacity=1 DevCapacity=1 ProtoVer=2 StackProf=2 Depth= 1 UpdateId= 0 LQI=105
1738017873.72 [EPID: 60:47:76:ed:99:66:82:e4, PID: 0xF5AE, from: 0xC44F]: Channel=15 PermitJoins=0 RtrCapacity=1 DevCapacity=1 ProtoVer=2 StackProf=2 Depth= 1 UpdateId= 0 LQI= 98
1738017873.72 [EPID: 60:47:76:ed:99:66:82:e4, PID: 0xF5AE, from: 0x4593]: Channel=15 PermitJoins=0 RtrCapacity=1 DevCapacity=1 ProtoVer=2 StackProf=2 Depth= 2 UpdateId= 0 LQI= 58
1738017873.72 [EPID: 60:47:76:ed:99:66:82:e4, PID: 0xF5AE, from: 0x2776]: Channel=15 PermitJoins=0 RtrCapacity=1 DevCapacity=1 ProtoVer=2 StackProf=2 Depth= 1 UpdateId= 0 LQI= 91
1738017873.72 [EPID: 60:47:76:ed:99:66:82:e4, PID: 0xF5AE, from: 0x0A4A]: Channel=15 PermitJoins=0 RtrCapacity=1 DevCapacity=1 ProtoVer=2 StackProf=2 Depth= 1 UpdateId= 0 LQI=134
1738017873.72 [EPID: 60:47:76:ed:99:66:82:e4, PID: 0xF5AE, from: 0x72CB]: Channel=15 PermitJoins=0 RtrCapacity=1 DevCapacity=1 ProtoVer=2 StackProf=2 Depth= 1 UpdateId= 0 LQI= 65
1738017873.72 [EPID: 60:47:76:ed:99:66:82:e4, PID: 0xF5AE, from: 0xFEA5]: Channel=15 PermitJoins=0 RtrCapacity=1 DevCapacity=1 ProtoVer=2 StackProf=2 Depth= 1 UpdateId= 0 LQI= 72
1738017873.72 [EPID: 60:47:76:ed:99:66:82:e4, PID: 0xF5AE, from: 0xBE13]: Channel=15 PermitJoins=0 RtrCapacity=1 DevCapacity=1 ProtoVer=2 StackProf=2 Depth= 1 UpdateId= 0 LQI=174
1738017873.72 [EPID: 60:47:76:ed:99:66:82:e4, PID: 0xF5AE, from: 0xE894]: Channel=15 PermitJoins=0 RtrCapacity=1 DevCapacity=1 ProtoVer=2 StackProf=2 Depth= 1 UpdateId= 0 LQI= 98
Looks like just your main Zigbee network?
Don't know if it's safe to post this kind of data ....
You're free to delete it, the EPID is randomly generated
It only have 13 devices, I have nearly 50 ...
How many of them are routers?
And in the scan above, I see only 9. Are the other four the same EPID and PID?
No it's because the message were too long to post with the 4 last devices.
You mean it's only router devices ?
I don't have the count in mind but it could match
I will restart ZHA to count.
Yes it matches the number
So to be clear, you have 13 routing devices and all 13 of them (and only those 13) show up in the scan, no other networks?
I will recheck another time
When I restarted ZHA I have some weird lines :
Do I have to mind about it ?