I work from home a lot. When I am in a meeting, nobody in the house knows, and I would rather not lock the door to keep people from walking in.

So I built a small panel that sits above the door to my office and says whether I am busy, and the rest of the day it shows the time, the date or the weather.
The display is a 64×32 RGB LED matrix — a HUB75 panel, the cheap kind sold for signage and maker projects — behind a plain ESP32 dev board running ESPHome. Everything it shows is chosen from Home Assistant: the scene, the message, the icon, the colours, the brightness. I do not have to reflash the device to change what it displays.
What it does#
There are ten scenes: a clock, the weather, one large icon, free text, a sensor reading with a caption, and five seasonal animations. When a meeting starts, one Home Assistant automation switches the panel over; when it ends, another switches it back.

The hardware#
The exact model is a Waveshare RGB Matrix P3 64×32 — 2048 LEDs at 3 mm pitch on a 192×96 mm board, with a HUB75 input and a second header to chain more. It is rated at 5 V and 2.5 A, so it gets its own supply rather than the ESP32’s regulator. The ESP32 dev board, the ribbon cable and that supply sit in an on-wall electrical box behind the panel, which is mounted flush against a wooden board, so only the display itself is visible.
A HUB75 panel is not a screen. There is no framebuffer on it, no controller and no memory — just a grid of LEDs behind a shift-register chain, so whatever drives it has to keep pushing bits at it forever or the image fades away. The refresh belongs to the driver, which scans one row pair at a time, and the drawing code only gets the gaps between scans. Take too long and you do not get a slow frame, you get tearing and flicker. The panel is 32 pixels tall, and a redraw has a 30 ms budget.
Wiring#
The ESPHome HUB75 component fills in all fourteen pins for you if you use one of the supported S3 boards.
Mine is a nodemcu-32s, which is not on that list, so every pin is written out by hand.
display:
- platform: hub75
id: display_hub75_1
panel_height: 32
panel_width: 64
update_interval: 30ms
bit_depth: 6
double_buffer: true
# The lambda fills the panel every frame, so the component's own clear would
# only blank it first and then be painted over -- and costs a full
# framebuffer clear per redraw.
auto_clear_enabled: false
# HUB75 pinout: R1/G1/B1 top half, R2/G2/B2 bottom half, A-E the row pair,
# CLK/LAT/OE shift clock, latch and output enable.
r1_pin: GPIO25
g1_pin: GPIO26
b1_pin: GPIO27
r2_pin: GPIO21
g2_pin: GPIO22
b2_pin: GPIO32
e_pin: GPIO18
a_pin: GPIO23
b_pin: GPIO19
c_pin: GPIO5
d_pin: GPIO17
clk_pin: GPIO16
lat_pin: GPIO4
oe_pin: GPIO15The timing settings in that block decide how steady the picture is.
update_interval: 30ms is about 33 redraws a second, bit_depth: 6 gives 64 levels per channel in less RAM than 8, and double_buffer: true means a half-drawn frame never reaches the panel.
Almost any free GPIO works, because these are all plain outputs with no peripheral to route. What you cannot do is reuse a pin the board has already claimed, or one that has a job during boot. Two of mine are strapping pins, which ESPHome warns about — fine here because they only become active once the display starts, but the first thing to move if a board ever refuses to boot.
Everything is an entity#
Nothing about the look of the panel is baked in. The scenes themselves are plain C++ in matrix_scenes.h, one function per scene. Each choice is a Home Assistant entity, so an automation can drive the panel like any other device in the house.
- platform: template
name: Panel Scene
id: panel_scene
icon: mdi:view-dashboard
optimistic: true
restore_value: true
initial_option: Clock
# Option strings are matched by name in matrix_scenes.h. Renaming one here
# means renaming the matching branch there, or the panel draws Clock.
options:
- Clock
- Weather
- Icon
- Message
- Sensor
- Halloween
- Winter
- Ghost
- Birthday
- New Year
on_value:
then:
- component.update: display_hub75_1Alongside the scene there is a message, a caption and a value for the sensor scene, a choice of 101 icons, four text sizes in two weights, a brightness slider and a power switch. The repo README lists them all. Any sensor in the house can appear on the panel by pushing two strings from Home Assistant, with no new firmware.
Colour pickers, without colour hardware#
ESPHome has no colour entity type, and color in the config is fixed at build time.
But a light is the only entity whose protocol carries RGB values, and Home Assistant renders a real colour wheel for any RGB light regardless of what is behind it.
So the panel exposes two lights with nothing behind them — one for the background, one for the text — from a small local component in components/virtual_light.
The wheel is an ordinary Home Assistant control, the choice survives a reboot, and the colour is simply read back when the panel redraws.
RESTORE_AND_ON sounds like “remember whether it was on” but forces the light on after restoring, so a colour you switched off comes back every reboot.
RESTORE_DEFAULT_ON restores faithfully and only defaults to on when nothing was ever stored.
Text on 32 rows#
The faces are Roboto at 10, 14, 20 and 24 px in two weights, plus Roboto Mono for the clock and temperature so digits do not twitch as they change.
size is the line box height, not the capital height: a 24 px face draws capitals about 17 px tall.
That is the only reason the largest size still fits a panel 32 rows high, and it is why guessing at font sizes on this hardware goes badly.
Text is centred by the ink of the actual string rather than by its line box, and spaced by a gap that scales with the font instead of a fixed number of pixels. Without that, a message visibly drifts as it changes between regular and bold, or between letters and digits. Anything too wide scrolls, one pixel per frame.
Icons#
The 101 Material Design Icons are baked as a font rather than shipped as bitmaps, because the full set does not fit next to everything else.
| Glyph set | Flash used | Free |
|---|---|---|
| none | 50.4 % | 49 % |
| 101 curated, size 26 | 52.1 % | ~48 % |
| all 7447, size 26 | 82.3 % | 17.7 % |
| all 7447, size 32 | 93.6 % | 6.4 % |
The whole icon set costs around 590 kB; the curated list costs about 4 kB.
Animation#
The five seasonal scenes are Halloween, Winter, Ghost, Birthday and New Year, and their artwork is ordinary GIFs from art/. Each frame is a 32×32 sprite in 128 bytes of flash and nothing in RAM, and the sprites advance on their own timer at about 10 frames a second, independent of the redraw.


Because the artwork is chroma-keyed, motion has to happen around a sprite rather than behind it — anything drawn underneath shows through the transparent gaps and reads as flicker rather than as snow or fog.
Things that caught me out#
- Sundays came out wrong — the weekday numbering starts at Sunday, so the first version showed the wrong day once a week.
- The snow never looped — the animation ran 64 steps while the flakes wrapped at 44, so wrapping at 32 with speeds that divide it made it seamless.
- The weather said cloudy when Home Assistant had sent nothing, which looks exactly like a real forecast, so a missing value now hides the icon.
- Brightness 1 % is not 1 % — the low end is compressed, so 1 %, 2 % and 3 % are indistinguishable.
- The panel flashed at full brightness on every boot, because the driver sets its own brightness before the saved value is restored, so the brightness is re-applied early in the boot.
If you want to build one#
You need a HUB75 panel, an ESP32, a 5 V supply with enough current and a ribbon cable.
Copy the repository into ESPHome Device Builder, set the encryption key secret, and flash.
Start from a board preset if you have one of the supported boards; otherwise copy the pin block above and accept the strapping-pin warning.
Buy the S3 if you can: the original ESP32 works, but it has no PSRAM, and every font and icon comes out of a flash budget that is only about half free. The 32 rows are the hard part, not the wiring and not the driver.
The panel has been above my office door for a while now, and my family checks it before they knock. The only thing I still change is the scene, from my phone, in Home Assistant.
