#Can't re-pair aqara motion sensor.

1 messages · Page 1 of 1 (latest)

white storm
#

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 ?

#

I've installed ZHA Toolkit using HACS, but I don't know what service should I use with my case..

ancient sapphire
#

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.

white storm
ancient sapphire
#

Which adapter are you using?

white storm
#

Texas Instruments CC2652

ancient sapphire
#

Do you have access to a CLI environment with Python, like the HA OS Advanced SSH addon?

white storm
#

Not installed right now but it could be quick to install.

ancient sapphire
#

Which networks are in your vicinity?

white storm
#

could I use /dev/ttyUSB0 ?

#

instead of the serial ?

ancient sapphire
#

Sure, they're symlinks. Just make sure ZHA is disabled when you run it.

white storm
#
/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 ?

ancient sapphire
#

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

white storm
#
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
ancient sapphire
#

Looks like just your main Zigbee network?

white storm
#

Don't know if it's safe to post this kind of data ....

ancient sapphire
#

You're free to delete it, the EPID is randomly generated

white storm
ancient sapphire
#

How many of them are routers?

#

And in the scan above, I see only 9. Are the other four the same EPID and PID?

white storm
#

No it's because the message were too long to post with the 4 last devices.

white storm
#

I don't have the count in mind but it could match

#

I will restart ZHA to count.

#

Yes it matches the number

ancient sapphire
#

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?

white storm
#

I will recheck another time

#

When I restarted ZHA I have some weird lines :

#

Do I have to mind about it ?

ancient sapphire
#

It's not a problem

#

I would try to remove the battery from the Aqara sensor, enable joins in ZHA, and then try to factory reset the sensor

white storm
#

Will try that

#

Nope still no pairing