## Introduction to Xiaomi Home Assistant
The Xiaomi Home Assistant is a smart home system that integrates various devices, including the Cloud Whale J4 vacuum robot. However, some users may encounter issues during the configuration process, such as the device not being detected. This article aims to provide a comprehensive guide on troubleshooting and configuring the Xiaomi Home Assistant.
## Troubleshooting Steps
To resolve the issue of the device not being detected, follow these steps:
1. Ensure that the Cloud Whale J4 vacuum robot is added to the Mi Home app.
2. Install the necessary plugin in the Home Assistant.
3. Log in to the Home Assistant and add the device. If the device is still not detected, proceed to the next steps.
## Configuration Guide
To configure the Xiaomi Home Assistant, follow these steps:
1. Open the Mi Home app and add the Cloud Whale J4 vacuum robot.
2. Install the Home Assistant plugin and log in to the system.
3. Add the device to the Home Assistant. If the device is detected, it will be listed in the device list.
## Expected Behavior
The expected behavior is that the Cloud Whale J4 vacuum robot is added to the Home Assistant and functions properly.
## Reproduce Time and Log Timezone
The issue can be reproduced at any time, and the log timezone is set to Asia/Shanghai.
## Home Assistant Logs and Version
The Home Assistant logs are empty, and the version is 2025.4.2. The Home Assistant Operation System version is 15.2, and the Xiaomi Home Integration version is v0.2.4.
## Additional Context
There is no additional context provided for this issue.
## Conclusion
In conclusion, the Xiaomi Home Assistant is a powerful smart home system that can integrate various devices. However, issues may arise during the configuration process. By following the troubleshooting steps and configuration guide provided in this article, users can resolve the issue of the device not being detected and enjoy a seamless smart home experience.