ESP32 Projects
Start a build
Markdown

Esp Rotary Display Ha Hub for ESP32-S3

An ESP32 display project for ESP32-S3 involving Rotary encoder.

ESP32-S3ESPHome, ESP-IDFUnrated
Parts and source

Before you start

Check the exact Rotary encoder configuration against the upstream wiring or parts list.

Upstream README

ESP Rotary Display — a Home Assistant hub in a round screen

Two round 480×480 touchscreens, a rotary encoder and knob, and ESPHome talking straight to Home Assistant. No app, no cloud, no subscription — just a dial you turn and a screen you tap.

I love these things. They're functional, intuitive, cheap to build, and weirdly versatile for something the size of a coaster. They remind me of the old IKEA spinny remote — except it also runs my lights, climate, blinds, music, and a proper wake-up alarm, and fades itself down to a bedside clock when nobody's touching it.

One lives on the coffee table in the club room. One lives on the bedside table in the bedroom. Same firmware, same wheel, different rooms.

Home wheel

What it actually does

  • Turn the knob, the wheel spins. Six to eight wedges per screen — Media, Lights, Climate, Scenes, Blinds, Playlists, Speakers — each one a homeassistant.action call away.
  • Everything mirrors Home Assistant. The display holds no state of its own for anything that matters (alarms, timers, media) — it just reflects HA and calls scripts. Change a light from your phone and the wheel updates too.
  • Fades to a clock at night. No interaction for a while and the whole UI dissolves into a low-brightness amber clock + date — dim enough to leave running on a bedside table overnight, bright enough to glance at.
  • A real wake-up alarm, not just a display. A dark, circular popup mirrors an HA input_boolean / timer / calendar sensor: big time, amber Snooze pill, and a red hold-to-confirm Dismiss cap across the bottom of the circle (hold-to-confirm because Dismiss also cancels that morning's second alarm — no accidental taps).
  • Media control with a spinning vinyl. Sonos now-playing info with album-style artwork.
Lights Scenes Climate
Blinds Media Playlists
Speakers Night clock Alarm ringing

Alarm snoozed

(The workplace/calendar text in the alarm screenshots above has been swapped for a generic placeholder — everything else is a real, unedited capture straight off the hardware. See extras/ for how.)

Hardware

Round 480×480 ESP32-S3 display module: ST7701S RGB-parallel LCD, CST816 capacitive touch, PCF8574 I²C IO expander, rotary encoder + push button, octal PSRAM. These are sold under a few names — search "ESP32-S3 round display rotary encoder 480x480" and you'll find the family this is built for. Two of mine happen to be a rotary-display-1 ("coffee-table", club room) and rotary-display-2 ("bedside-table", bedroom).

Software

  • ESPHome (2026.7.x), ESP-IDF framework
  • LVGL 9.x via ESPHome's lvgl: platform — wedges, arcs, a flex-laid-out clock face, and a hold-to-confirm bar are all plain LVGL widgets, no custom C++ required for the UI itself
  • Home Assistant over the native API (encrypted), driving everything through homeassistant.action and homeassistant platform sensors — the display never talks to any service directly

Setup

  1. Copy configs/secrets.yaml.example to configs/secrets.yaml and fill in your WiFi SSID/password, plus generate your own api_encryption_key (32 random bytes, base64 — esphome secrets or openssl rand -base64 32), ota_password, and ap_fallback_password.
  2. Supply your own icons at 480×480-panel scale — the configs expect these filenames next to the YAML (none are bundled here; several of mine are third-party icons I don't have redistribution rights to): ico_lights.png, ico_scenes.png, ico_media.png, ico_climate.png, ico_blinds.png, sonos_white.png, icon_disco_w.png, icon_house_w.png, icon_mos_w.png, icon_pdm.png, icon_dfp_w.png.
  3. Adjust the entity IDs throughout (light.*, scene.*, media_player.*, climate.*, cover.*, script.*, sensor.*) to match your own Home Assistant — these two configs are a real working example, not a generic template, so treat them as a detailed reference to adapt rather than something to flash unmodified.
  4. esphome run configs/coffee-table.yaml (or bedside-table.yaml).

The two extras/add-*.py scripts are the idempotent patchers I used to add the night clock and the alarm popup to an existing wheel-UI config without hand-editing a 2,000+ line YAML file each time — useful if you're grafting either feature onto your own dashboard.

License

MIT — see LICENSE. The bundled icons are not included (see Setup #2); whatever icon set you use is under its own license.