As @neonturbo wrote, the Xiaomi Aqara and Mijia sensors a finicky. They are a proprietary Zigbee and they don’t like a weak Zigbee mesh one bit. There’s tons of info on the forum about them. You’ll find a lot with a search.
Some quick tips:
Add IKEA TRÅDFRI outlets. They are compatible repeaters
Keep other non-compatible mains powered (repeating) Zigbee devices off your network
Keep all Zigbee lightbulbs (except for Sengled) off your hub. Only connected via a Hue bridge or another hub is going to be compatible with Xiaomi Zigbee devices
Try @markus’ new drivers