This custom integration allows you to control and configure the Qingping Cleargrass CGD1 clock directly from Home Assistant. You can set alarms, adjust settings, and keep the time synchronized with your Home Assistant instance.
- Set Alarms: Configure alarms with specific times, days, and enable/disable them.
- Delete Alarms: Remove configured alarms.
- Set Time: Set the clock's time and timezone.
- Refresh Data: Manually refresh data from the clock.
- Adjust Settings: Modify the clock settings such as language, time format, temperature unit, sound volume, screen light duration, and brightness levels.
Set an alarm with specified parameters.
service: qingping_alarm_clock.set_alarm
data:
device_id: "your_device_id"
slot: 1
time: "07:30"
days: "mon,wed,fri"
enabled: true
Delete a specified alarm.
service: qingping_alarm_clock.delete_alarm
data:
device_id: "your_device_id"
slot: 1
Set the device time.
service: qingping_alarm_clock.set_time
data:
device_id: "your_device_id"
time: "2022-02-22 13:30:00"
Refresh the clock data.
service: qingping_alarm_clock.refresh
data:
device_id: "your_device_id"
- Download the zip file of the latest version from the releases page.
- Unzip it and copy the
qingping_alarm_clock
directory into yourcustom_components
directory within your Home Assistant configuration directory. - Restart Home Assistant.
- Configure the integration via the Home Assistant UI by navigating to Configuration > Integrations > Add Integration and searching for "Qingping Alarm Clock".
- Ensure you have HACS installed.
- Add this repository to HACS: Go to HACS > Integrations > Custom repositories > Add and enter the repository URL.
- Search for "Qingping Alarm Clock" in HACS and install it.
- Restart Home Assistant.
- Configure the integration via the Home Assistant UI by navigating to Configuration > Integrations > Add Integration and searching for "Qingping Alarm Clock".
- Language
- Time Format
- Temperature Unit
- Sound Volume
- Screenlight Time
- Daytime Brightness
- Nighttime Brightness
- Alarms Switch
- Nighttime Start
- Nighttime End
Feel free to open issues or create pull requests if you have any suggestions or find any bugs.
Thanks to @koenvervloesem for his help with reverse-engineering the authentication on the Qingping Cleargrass CGD1 clock.
This is a very alpha version. It may work well or it may not work at all for you. If you encounter any issues, please open an issue on GitHub.
This project is licensed under the MIT License. See the LICENSE file for details.