Hello,
I use Xiaomi motion sensors to turn on my lights, they work very well but after a while no movement detection at all.
So I have to remove it and rediscover it by Gladys, a bit annoying ^^
I’ll put a picture of the sensors;)
If someone has an idea, you never know!
I specify that I use a rpi4 and a Texas Instruments USB ZigBee dongle to connect them! They don’t work directly with the gate.
Hello @Mordrok! 
On the Zigbee2mqtt side, I imagine you’re losing it too? Isn’t it located a bit far from your dongle by any chance?
This is strange, I’m only losing sensors one by one, my lights are still manually controllable and ZigBee is working fine ^^
I’ve changed the batteries of the sensors several times but that wasn’t it.
As for distance, I have a sensor 1m away from the d’ongle and the others are not far either.
I ordered different sensors to see if I have the same issue, they come from China so I’m waiting
For now, I would rather suspect a problem with the sensors as my bulbs and the Switches work fine.
It’s still surprising that it stops working randomly all of a sudden 