Projects

HomeView: an Apple-style wall display for Home Assistant, built with ESPHome

A wall display inspired by Apple's HomeView: a clock face when the room is empty, a control panel when you walk up. Waveshare ESP32-S3, ESPHome, LVGL and Home Assistant.

HomeView Face page with analog clock, weather and calendar

Apple's HomeView idea is a good one: a calm screen on the wall that shows a clock and a few useful facts when nobody is around, and turns into a control panel the moment you walk up to it. HomeView for ESPHome is my take on that idea. It runs on a cheap Waveshare ESP32-S3 touch display, it's built entirely in ESPHome with LVGL 9, and Home Assistant does all the thinking behind it.

I now have one in four rooms: the bathroom, the utility room, the living room and my office. They share the same core, and each room adds the pages that make sense there.

HomeView Face page with analog clock, date, weather, next calendar event, indoor temperature and electricity price
The Face: what the display shows when nobody is close. Analog clock, date, weather, the next calendar event, indoor temperature and the current electricity price.

A quick note on the screenshots: they aren't mock-ups. ESPHome can run a config on the desktop through its host platform with an SDL window, so every image in this post is a real render of the same YAML that runs on the panels.

How it behaves

The display has a small state machine, modelled on how Apple's HomeView acts:

  • Ambient: nobody nearby, so it shows the Face.
  • Near: a proximity sensor sees someone closer than a set distance. The backlight wakes up and the screen slides over to the Home page.
  • Idle: no touches for a while and nobody near, so it fades back to the Face.
  • Sleep (optional): the backlight turns off when the room has been empty for a number of minutes. A touch or someone walking up wakes it.
  • Night: a red StandBy-style tint over everything, switched on by an automation at bedtime. There's also a "screen off at night" option that keeps it dark within a time window and only wakes on touch or proximity, whichever you choose.

Important warnings ignore all of that. A water leak, a fire alarm, the doorbell or the burglar alarm will always wake the screen.

HomeView Home page with weather card, light tiles and a lock tile
The Home page appears when someone walks up: status chips at the top, a Smart Stack with weather, and tiles for lights and the front door.

Every setting (proximity distance, how long before it returns to the Face, the night window and so on) is an entity on the device page in Home Assistant, so there's nothing to reflash when you want to tweak it. A page select entity also lets automations change what's on screen, for example "show the Home page when the doorbell rings".

Gestures work the way you'd expect from a phone: tap or swipe left on the Face to open Home, swipe right or tap the time to go back, and swipe up and down on the Smart Stack to flip cards. Lock tiles lock on a tap but need a long-press to unlock, so nobody opens the front door by brushing against the screen.

HomeView Face page in night mode with a red tint
Night mode. The backlight on this board is on/off only, so the red tint is done in software.

One display per room

Each display is a room device. They all share the hardware setup, the theme, the presence logic and the Face page. On top of that, each room has its own Home page and any extra pages it needs. The labels are in Danish, because that's what we speak at home.

Bathroom

Now Playing for the Sonos speaker, the floor heating, the ceiling light and the speed of the Nilan ventilation. A separate Radio page lists the Sonos favourites, so you can pick a station with wet hands and one tap.

Bathroom Home page with Now Playing, floor heating dial and a light tile
Bathroom: radio, floor heating and the light on one page.

Utility room

This one runs the burglar alarm. It shows the alarm status, has buttons to arm it in home, night or away mode, and a PIN keypad to disarm it. The PIN is sent to a Home Assistant script, which checks it, counts wrong attempts and locks out after too many. The display itself never knows the code. The page also has the floor heating, the front-door lock, the light, and chips for doors, windows and the salt level in the water softener. If a leak sensor or the fire alarm goes off, a full-screen warning takes over.

Alarm disarm keypad on the utility room display
Disarming the alarm. Home Assistant checks the PIN, not the display.
Full-screen water leak warning
A full-screen warning when the leak sensor detects water. "Luk" snoozes it.

Living room

The doorbell camera, the floor heating, three lights and chips for the window and door. When someone rings, the display wakes up and opens a full-screen view of the doorbell camera.

Full-screen doorbell camera view when the doorbell rings
Someone's at the door. The snapshot comes scaled from Home Assistant's camera proxy.

Office

The office display doesn't have its own proximity sensor. It uses a presence sensor that's already in Home Assistant. Its Home page has climate and door chips, a Now Playing chip, the driveway camera, a dial for the radiator and three lights. Tapping Now Playing opens a Music page with the player, the camera and a shortcut to the radio.

Office Home page with driveway camera, radiator dial and light tiles
Office: driveway camera, radiator and lights.

The hardware

HomeView runs on two Waveshare boards. Both are 800×480, so every room page runs on either of them:

  • ESP32-S3-Touch-LCD-5, the 5" board. There's also a layout for the 1024×600 version.
  • ESP32-S3-Touch-LCD-4.3B, a little smaller and powered over USB-C.

To know when someone is close, there are three options:

  • VL53L0X time-of-flight sensor (recommended). It sits on the I2C header the touch controller already uses, so it needs no extra GPIO. It needs a small hole in the front of the case and reads reliably up to about 1.2 m.
  • LD2410C mmWave radar. It sees through the plastic, so no hole is needed. The catch is that these boards have almost no free GPIO pins.
  • Any presence or motion sensor in Home Assistant. Then nothing needs to go in the case at all.

3D-printed cases

The repo includes wall cases for both boards, with a built-in mount for the VL53L0X, plus a fixed 15° desk stand and an adjustable 0–20° one. They're parametric OpenSCAD designs with ready-to-print STL files, including two-colour versions for a printer that can do it. Both cases hang on two screws 60 mm apart, which matches a standard Danish wall box. Both stands fit both cases.

Renders of the 4.3B wall case: front, inside and back plate
The 4.3B wall case: the front shell with the sensor window, the inside, and the back plate with keyholes.
Adjustable desk stand shown at 0 and 20 degrees
The adjustable desk stand, from upright to a 20° tilt.

Under the hood

The project is modular, so you can build a new room by combining pieces instead of copying a huge YAML file:

  • Hardware packages for each board and screen layout.
  • Core packages for Wi-Fi and the API, the theme, and the presence state machine. The theme is an Apple-style dark design with the Inter font and Material Design Icons.
  • Widgets, each made of two files: ui.yaml is the LVGL widget, and data.yaml holds the Home Assistant subscriptions and update logic. You can use the same widget as many times as you like.
  • A small external component with C++ helpers for Danish day and month names, weather icons and number formatting.
  • Home Assistant packages that create the helper sensors the display uses: forecast high/low, the next calendar event, the chip texts, the electricity price level and so on.

There are around twenty widgets: an analog clock, an Apple Weather-style card, a Smart Stack, Home-app style tiles, a lock tile, a thermostat dial, a Now Playing player with artwork, a radio station picker, camera and doorbell tiles, an alarm panel with keypad, and full-screen alerts. Here's what using one looks like, a small temperature tile:

packages:
  kitchen_temp: !include
    file: widgets/value/data.yaml
    vars: { uid: kitchen_temp, entity: sensor.kitchen_temperature, decimals: "1", unit: "°" }
lvgl:
  pages:
    - widgets:
        - !include
          file: widgets/value/ui.yaml
          vars: { uid: kitchen_temp, x: 20, y: 20, width: 142, height: 94,
                  icon: "\U000F050F", icon_color: "0xFF9F0A", label: "KØKKEN" }

The widgets only depend on the theme, so you can use them in your own ESPHome displays even if you don't want the rest of HomeView.

Trying it yourself

The easiest way is to keep only your own device file in your ESPHome folder and let it pull everything else from GitHub at a fixed release tag. Copy example-device.yaml from the repo, fill in your own entities, and pick your board, layout, proximity sensor and room pages:

substitutions:
  homeview_ref: "v2.7.4"      # release tag; change it to update
  homeview_components: "github://briis/homeview-esphome@${homeview_ref}"
  fonts_dir: "https://raw.githubusercontent.com/briis/homeview-esphome/${homeview_ref}/fonts"

packages:
  homeview:
    url: https://github.com/briis/homeview-esphome
    ref: ${homeview_ref}
    refresh: 1d
    files:
      - packages/hardware/layout-800x480.yaml
      - packages/hardware/waveshare-s3-touch-lcd-5.yaml
      - packages/core/base.yaml
      - packages/core/theme.yaml
      - packages/core/presence.yaml
      - packages/sensors/proximity-vl53l0x.yaml
      - packages/pages/face.yaml
      - rooms/stue/home.yaml

Pinning a tag means a push to the repo never changes your display by surprise. To update, change the tag and reinstall.

A few things to remember:

  1. Copy the Home Assistant package (homeassistant/homeview.yaml, plus the room packages you use) into /config/packages/ and restart Home Assistant.
  2. Flash over USB the first time.
  3. In Home Assistant, open the ESPHome device's configuration and turn on "Allow the device to perform Home Assistant actions". Without it, the tiles can't switch anything.

Tip: flash homeview-bringup.yaml first. It shows the measured distance on screen and logs touches, which helps a lot while you're placing the sensor in the case.

Get the code

Everything is open source under the MIT licence: the ESPHome config, the Home Assistant packages, the widgets and the 3D-printable cases.

👉 github.com/briis/homeview-esphome

If you build one, I'd love to see it. Questions and ideas are welcome in the comments or as an issue on GitHub.