Xiaomi Motion Sensor shows offline.

When the Xiaomi Motion Sensor shows as offline, it suggests a disruption in communication between the sensor and the smart home hub or gateway. This can occur due to several reasons, including network connectivity issues, signal interference, or even temporary power disruptions. The sensor essentially loses its ability to transmit or receive data, leading to the offline status. Resolving this typically involves troubleshooting steps to reestablish the connection, such as checking network connections, resetting the sensor, or addressing potential sources of signal interference. Understanding and addressing these issues can help restore the sensor's functionality and connectivity within your smart home setup.
For your reference, here is some reasons why Xiaomi Motion Sensor shows offline:

1. The accessory is too far from the hub, please install it closer to the hub;
2. The battery is dead. Please replace the battery to restore the sensor's functionality;
3. The accessory has been installed on metal and the signal has been interfered with. The accessory should be installed away from metal.