A local Home Assistant voice satellite for the Lenovo Smart Clock Essential.
Runs without Google or Lenovo services; the wake word is detected on the clock.
Voice satellite · Music Assistant speaker · Clock face and lights · Web UI
clockd replaces the Google Assistant / Cast software on a rooted Lenovo Smart Clock Essential (CD-4N341Y) with one static Go binary. "Luna" is Lenovo's own codename for the device.
This is a personal project, inspired by a great device with lacking software, which would otherwise end up in the recycling bin. I have tried to make sure I'm not stepping on anyone's toes, since the Essential doesn't seem to have much interest around it at the moment. It was, and is, a way to learn how to take advantage of LLMs effectively on a project of this kind, and to take my mind off things in general. I have an extensive TODO list, so I'll probably keep working on this as time goes by.
You can support this nonsense on Ko-fi if you feel like it.
Note
The clock must be unlocked and rooted first: the companion repository luna-unlock does that. Tested on the retail and the engineering firmware (which clocks).
- Voice: wake words detected on the clock, timers and announcements from Assist
- Alarms: kept on the clock, set from the buttons, the web UI or Home Assistant
- Music: a Music Assistant speaker with synchronised playback, a music library from a USB drive, and FM radio from an RTL-SDR stick (experimental)
- Clock face: time, weekday and weather, with little eyes while it listens
- Night schedule: dims the face and fades the night light
- Local: no internet needed; what is switched off
The full list: Features. To get going: Quick start.
Every setting lives in a web UI on the clock: no app, no account.
![]() |
![]() |
| Status: face, weather, services, device | Phone layout |
![]() |
![]() |
| Display: face preview, brightness | Alarms |
Sixteen colour themes, light and dark; a few of them:
![]() |
![]() |
![]() |
| Light | Solarized dark | Gruvbox light |
![]() |
![]() |
|
| Rosé Pine | Dark (default) |
1. Unlock the clock over a USB-A to USB-A cable with luna-unlock.py from luna-unlock (its README has the
prerequisites). Then make a backup before you
install anything.
2. Install from a Linux or macOS PC with adb and curl. Get the source of the latest release, unpack it, and from its folder:
satellite/install-clock.sh --latestIt downloads and checks the signed package, shows which clock it found and asks before
going on. Add --wifi "Home network" to save your Wi-Fi at the same time.
More options.
3. Connect it. Without Wi-Fi the clock opens a hotspot, LenovoClock-XXXX, and
scrolls "setup". Join it with a phone, press the button on top of the clock when asked,
and pick your network.
4. Add it to Home Assistant. It shows up under Settings › Devices & services as an ESPHome device. The encryption key is in the clock's web UI.
That's it. Optionally, lock the clock again: adb closes, the web UI and ssh stay.
Hold the alarm button and Vol- for 12 s: the clock restarts into the stock software. Hold them again for 12 s there to factory reset it. Details.
- docs/faq.md: common questions (is it Android? what can I install?)
- DETAILS.md: backup, setup tips, updating, features, how it works, building, security notes, credits
- docs/notes.md: engineering notes, measurements and dead ends
- CHANGELOG.md: what changed
A little easter egg (Display › Clock face)
GNU General Public License v3.0 or later. Releases up to 1.0.0 were published under the Apache License 2.0. Bundled third-party parts keep their own licences (Credits).
Not affiliated with Lenovo, Google, Nabu Casa or the Open Home Foundation. Lenovo's GPL source release was used for reference only and is not included.








