I’d say, check your wifi vs zigbee channels to begin with Aqara loses connection:
Interference check: http://ostgardh.se/wifi_zigbee/index.html Uitleg:
http://wifimetrix.com/channels-1-6-11-only
Athom advice: