Open Glance Clock for ESP32-C3
An ESP32 display project for ESP32-C3.
Parts and sourceBefore you start
Confirm board compatibility and supported firmware targets in the upstream documentation.
Upstream README
OpenGlance Clock
Your own software for the Glance Clock. Control it from any web browser through a tiny ESP32-C3 bridge that lives inside the clock, or connect directly from a Mac or Windows PC over Bluetooth. No Glance account, no cloud, no phone app.
After start-up the bridge connects to the clock and announces itself with its version (here “OpenGlance 1.10 connected”).
The three pieces
| What it is | Runs on | Talks to the clock | |
|---|---|---|---|
| OpenGlance Bridge | Firmware for an ESP32-C3 Super Mini, built into the clock | ESP32-C3 | Bluetooth LE, all day, every day |
| OpenGlance Clock | Desktop app for an unmodified Glance Clock | macOS 14+ (Apple silicon), Windows 10/11 | Bluetooth LE from the computer |
| OpenGlance Flasher | Installs the bridge firmware on a bare ESP32-C3 over USB | macOS, Windows | — (flashes the ESP32-C3) |
Downloads: see Releases for the Mac apps, the Windows .exe files and the bridge firmware .bin.
1. OpenGlance Bridge (ESP32-C3 firmware)
The Glance Clock only speaks Bluetooth LE. The bridge is an ESP32-C3 that sits inside the clock, stays connected to it over Bluetooth, and joins your home Wi-Fi. That gives you:
- Control from any web browser. Phone, tablet or computer: open
http://openglance.local/. No app to install. - A clock that is permanently online. It gets internet time and weather automatically, with nothing else needing to be switched on.
- Exact time, all the time. The bridge takes time from NTP and hands it to the clock through the standard Bluetooth Current Time Service, which the clock reads every time it connects. It re-syncs daily at 03:05 and whenever daylight saving starts or ends. Time zones are POSIX rules, so DST switches automatically.

Features
| Tab | What you can do |
|---|---|
| Home | Bridge time (internet or manual, with a clear switch back to internet time), Update clock now, time zone and daily correction, the clock's connection and battery, the time it last read and the exact value supplied, weather summary, recent activity |
| Alerts | Send scrolling text with an animation (Pulse, Wave, Fire, Wheel, Flower, Sun, Cloud), a colour and any of the 17 built-in sounds (each with Test). Start/stop timers. Bridge hourly chime with your choice of sound and quiet hours, and the clock's own built-in hourly chime (Off or a sound) |
| Alarms | Up to 4 alarms with days (Weekdays, Weekend, Every day, Once or any mix), sound and a 16-character label. Stop the alarm now, Delete all alarms on the clock |
| Weather | A 24-hour temperature ring coloured blue → green → amber → red, and a rain ring shown only when rain is really coming (amount and chance within a look-ahead you choose). Alternates the two rings on an interval, or shows rain instead. Place search, 12-hour preview. Data from Open-Meteo |
| Display | Digital time, 12/24-hour, hour points, night mode, mute, date format, brightness (automatic with minimum/maximum limits, or fixed), Night settings (the clock's Do Not Disturb and Silent schedules) and the seconds pixel |
| Clock | Find and pair a clock (type the PIN it shows) and hand calibration with a reseating guide |
| System | Connection options (automatic reconnection, the optional silent “OpenGlance connected” message), Wi-Fi, firmware update over Wi-Fi (files are checked before installing), full activity log |
Seconds pixel and night settings
- Seconds pixel: a single LED ticks once round the ring every minute, in any of the clock's 24 colours. Click which of the four LEDs from the outer ring to the centre should light (one dot, a short radial line, or any mix). The clock draws the movement itself from scenes of about 10 seconds that the bridge sends, so it uses very little Bluetooth. The stock clock firmware restarts a scene each time it is replaced, so expect a small blip, and the time/date switch, about every 10 seconds. It shares the weather ring's slot: weather pauses while it is on. It pauses for timers, alarms, chimes, messages and calibration.
- Night settings: the clock's own Do Not Disturb hides ring overlays (including the seconds and weather) and notifications. Silent only mutes sounds. Choose Off, Scheduled (from–to) or Always for each. For quiet nights with the seconds still ticking, turn Do Not Disturb off and schedule Silent instead. Every change is read back from the clock to confirm it.
![]() |
![]() |
![]() |
![]() Works on a phone too, in light or dark mode. |
Setting it up
- Flash the ESP32-C3 with OpenGlance Flasher, or upload a newer
OTA.binfrom the bridge's own web page later. - Wi-Fi: the bridge opens a hotspot called OpenGlance-Setup. Join it, pick your 2.4 GHz Wi-Fi from the list, enter its password and choose your time zone.
- Open
http://openglance.local/(or the IP address your router shows). - Pair the clock: close any phone app or desktop app that is connected to the clock (it accepts one connection at a time). Short-press the clock's button (don't hold it), press Find clocks → Pair, and type the PIN the clock shows.
From then on the bridge keeps the clock connected and reconnects by itself. If the saved Wi-Fi stops working, the setup hotspot comes back after 2 minutes.
The bridge page has no login (owner's choice), so anyone on your home network can use it. Firmware uploads are still validated: only OpenGlance bridge firmware built for the ESP32-C3 is accepted.
The hardware mod: an ESP32-C3 in place of the barrel jack
The Glance Clock is powered from a 5 V DC barrel jack. The mod swaps that jack for an ESP32-C3 Super Mini, so the bridge lives inside the clock and its USB-C port becomes the clock's power input.
- Remove the DC barrel jack from the clock's main board.
- Widen the hole in the case where the jack was, so the Super Mini's USB-C connector fits through it.
- Mount the ESP32-C3 behind the hole (here with hot glue), USB-C facing out.
- Run two wires from the ESP32-C3's 5V and GND pins to the clock's 5 V input: the pads the barrel jack used to occupy.
That's all. The bridge does not connect to any of the clock's logic; it only shares its power. Everything else happens over Bluetooth. A single USB-C cable now powers the clock, charges its battery, runs the bridge, and lets you re-flash the bridge from a computer without opening anything.
![]() |
![]() ![]() |
| The ESP32-C3 Super Mini in place of the barrel jack. | 5 V (red) and GND (black) on the old jack pads, and the USB-C port in the widened hole. |
Before you copy this:
- The clock's original supply is 5 V, 1.5 A. Use a USB power supply that can deliver at least 2 A.
- Check your board: some Super Mini variants put a diode between USB VBUS and the
5Vpin. If yours does, take the clock's power from VBUS instead. - Double-check polarity with a multimeter before connecting the battery and powering up.
- Keep the ESP32-C3's antenna clear of metal so it still reaches your Wi-Fi.
2. OpenGlance Clock (Mac and Windows app)
For a Glance Clock without the bridge. The app connects straight to the clock over your computer's Bluetooth and has the same look and features as the bridge's web page: alerts, sounds and timers, hourly chimes, alarms, weather rings, display and brightness settings, night settings, the seconds pixel, pairing, auto-connect and hand calibration. Things that need the app to be running (the seconds pixel, weather, the app's hourly chime) work while it is open; Disconnect and Quit tidy the ring first.

Setting the time without the time service
A computer can't set the clock's time the way the bridge does. macOS doesn't let apps publish the Bluetooth Current Time Service, and the clock can't report its own time. So the Mac app uses a hidden time-offset setting found in the clock's firmware (Settings field 18, firmware 1.6.7 or later). Changing that offset moves the clock's running time by the difference.
- Set the clock to this computer's time, or type any time (and date) you want.
- Fine adjust with ±1 minute and ±1 hour buttons.
- The app estimates what the clock currently shows (from the bridge's last sync plus every change made since). If the clock shows something else, type the time it actually shows and the app remembers the correction.
- Before going back to the bridge, Reset offset to 0, because the clock adds the offset to the time the bridge supplies.
![]() |
![]() |
Windows
The Windows version is a native rewrite with the same tabs and features, delivered as a single self-contained .exe (no .NET or drivers to install). It pairs the clock itself and asks for the PIN shown on the clock.
![]() |
![]() |
Status: the Mac app has been tested on a real clock, including setting the time. The night settings and seconds pixel are new in 0.33 and match the bridge byte for byte, but have not yet been run from the desktop apps on a real clock. The Windows app has not yet been tested with a real clock. It needs a PC with Bluetooth LE; virtual machines (e.g. Parallels on Apple silicon) usually don't provide one.
3. OpenGlance Flasher
Installs OpenGlance Bridge X.YY OTA.bin onto an ESP32-C3 over USB, including a brand-new, empty board. Plug the board in, the Flasher finds its port and the newest firmware, press Install firmware. It writes the bootloader, partition table, boot selector and app together, verifies them, then waits for the bridge to report that it started.
- Rejects anything that isn't OpenGlance bridge firmware for the ESP32-C3 (including full images and other chips).
- Erase the whole chip first is optional; without it, the bridge keeps its Wi-Fi settings and clock pairing.
- Contains Espressif's official, unmodified esptool (GPLv2).
Inside the Glance Clock

- Brain: a Nordic nRF52832 (Bluetooth LE + Cortex-M4) with an external SPI flash.
- LEDs: three DM164 LED drivers run the RGB ring and the white dot-matrix display.
- Hands: a separate stepper movement with an IR sensor finds the 12 o'clock reference during calibration.
- Board: “glance 2018.04.13 v6.1”, with an unpopulated SWD header (XP1). Nothing in this project flashes or modifies the clock's own firmware.
![]() nRF52832 and the XP1 SWD header. |
![]() One of the three DM164 LED drivers. |
![]() XP7 LED-bus header next to a DM164. |
![]() The hands' movement and its IR homing sensor. |
![]() Back of the board. |
![]() Hand calibration: confirm only when both hands point exactly to 12. |
Building from source
| Piece | Folder | Build |
|---|---|---|
| Bridge firmware | Code/ESP32C3 |
bash build.sh (arduino-cli, esp32:esp32 3.3.12 core, NimBLE-Arduino 2.5.1). Runs host-side protocol checks first. |
| OpenGlance Clock for Mac | Code/OpenGlanceClock |
bash build-app.sh (Swift, Command Line Tools are enough) |
| OpenGlance Flasher for Mac | Code/OpenGlanceFlasher |
bash build-app.sh (needs the ESP32 Arduino core's esptool) |
| Windows apps | Code/Windows |
bash build.sh on a Mac with the .NET 8 SDK; produces both .exe files |
Each build script runs its own checks (protocol packets, settings preservation, firmware validation and more) before producing anything, and never overwrites an older release. Mac and Windows apps always share version numbers.
How it works, and thanks
The Glance Clock's Bluetooth protocol was documented by others first. This project builds on:
- Hypfer/glance-clock: the reverse-engineered protobuf schema and commands
- PorlyBe/glance_clock_ha and Snille/glance_clock_ha: Home Assistant integrations, including hardware-tested forecast scenes and brightness handling
- PorlyBe/bluetooth-cts: the clock reads time from a Current Time Service on the connected device
New in OpenGlance, from static analysis of the original app and the clock's firmware: the automatic-brightness minimum/maximum encoding, the alarm list format, the hand-calibration state flags, the hidden time-offset setting that lets a Mac set the time, how the firmware evaluates its Do Not Disturb and Silent schedules, and why a replaced ring scene restarts (each scene is re-initialised and must fit one Bluetooth write, which shapes the seconds pixel).
Settings are always read from the clock first, unknown fields are preserved, and every change is read back to confirm it. Nothing here flashes or alters the clock's own firmware.
Licence
OpenGlance is released under the MIT License.
Third-party parts keep their own licences:
- The ESP32-C3 bootloader, partition table and boot selector images in
Code/OpenGlanceFlasher/Support/come from Espressif's Arduino core (Apache-2.0). - The Flasher releases include Espressif's unmodified esptool (GPLv2, source).
- The apps and firmware use Avalonia (MIT), NimBLE-Arduino (Apache-2.0) and the Espressif Arduino core (LGPL-2.1).
- Weather data is from Open-Meteo (CC BY 4.0).
OpenGlance is an independent hobby project, not affiliated with or endorsed by Glance. Opening and modifying your clock is at your own risk.
















