Aqara sensors keep disconnecting

Aqara’s and Xiaomi’s Zigbee devices are infamous for having problems pairing & and keeping them connected regardless of which Zigbee Gateway you are using, see reference → Xiaomi & Aqara Devices - Pairing & Keeping them connected - Devices - Hubitat

Before troubleshooting any further you must make sure to avoid EMI interference and also add enough Zigbee Router devices to get good coverage and range. Start by reading and try following all the best practice tips in this guide → Zigbee networks: how to guide for avoiding interference + optimize using Zigbee Router devices (repeaters/extenders) to get a stable mesh network with best possible range and coverage

Those problems often gets resolved by first adding a long USB extension cable for the Zigbee Coordonation as well many more “known good” Zigbee Router devices and then after that re-pairing the Aqara/Xiaomi’s Zigbee devices again.