main
dash-os
An appliance operating system for a Raspberry Pi 5 wall panel that shows a Home Assistant dashboard full-screen, and nothing else.
- Boots straight into the dashboard. cage (a Wayland kiosk compositor) and Chromium, locked down with enterprise policies. No desktop, no display manager, no on-screen keyboard.
- Cannot be broken by an update. Read-only root file system in two slots (A/B). Updates are signed RAUC bundles, streamed from the release page and tried once. The new version is committed only after it proves healthy, and anything else returns to the previous version.
- Spares the SD card. Logs, caches and
/varlive in RAM. Settings are written only when they change. - Sets itself up from a phone. On first start (or after losing Wi-Fi), the panel opens a WPA2 setup hotspot and shows a Wi-Fi QR code with its setup code. Joining it opens the setup page as a captive portal.
- Fits into Home Assistant. MQTT device discovery: backlight, brightness, screen on/off, reload and restart buttons, software update, diagnostics, and a problem sensor that says when the dashboard has lost its Home Assistant sign-in.
- Has no default credentials. The admin password is set during setup. The settings page is HTTPS and answers only on the local network. Secrets live only on the device's data partition, never in the image or this repository.
Target hardware: Raspberry Pi 5 with the Waveshare 10.1" DSI panel (800×1280, portrait).
Other DSI or HDMI panels need one line in image/boot/boot.txt.
How it fits together
flowchart LR
subgraph Pi["Raspberry Pi 5 (dash-os)"]
direction TB
kiosk["kiosk.service<br/>cage + Chromium<br/>(user kiosk)"]
svc["dash-os.service<br/>device service<br/>(user dashos)"]
priv["dash-os-privileged<br/>root helper<br/>(socket, fixed actions)"]
nm["NetworkManager<br/>Wi-Fi, setup hotspot"]
rauc["RAUC<br/>A/B slots, tryboot"]
bl[/"backlight<br/>/sys/class/backlight"/]
kiosk -- "DevTools pipe<br/>state, reload, sign-in" --- svc
svc --> bl
svc -- "Unix socket" --> priv
priv --> nm
priv --> rauc
end
phone["Phone or laptop<br/>settings page (HTTPS, LAN)"] --> svc
ha["Home Assistant"]
broker["MQTT broker"]
gitea["Release page<br/>(signed bundles)"]
kiosk -- "dashboard" --> ha
svc -- "device discovery,<br/>commands, state" --> broker
broker --- ha
rauc -- "adaptive streaming" --> gitea
The full picture is in docs/architecture.md.
Getting started
- Download
dash-os-<version>.img.zstfrom the releases and write it to an SD card (Raspberry Pi Imager, "Use custom", orzstd -dc … | sudo dd of=/dev/sdX bs=4M conv=fsync). - Boot the panel. It shows a QR code: scan it, and the setup page opens.
- Choose the Wi-Fi, set the admin password and the Home Assistant address.
- Open the settings page at the address on the screen, sign the dashboard in to Home Assistant with a dedicated, non-admin user, and choose one of its dashboards. Then set up MQTT.
docs/setup.md covers this in detail. docs/home-assistant.md covers what Home Assistant needs.
Documentation
| Document | For |
|---|---|
| docs/setup.md | flashing, first setup, settings, forgotten password, factory reset |
| docs/home-assistant.md | the Home Assistant user, MQTT user and ACL, entities and topics |
| docs/security.md | the security model, secrets, release signing |
| docs/architecture.md | services, kiosk, boot, updates, base system, file layout |
| docs/development.md | building, testing, CI, releases |
| CONTRIBUTING.md, CHANGELOG.md | conventions, history |
Repository layout
| Path | What |
|---|---|
dashos/ |
the device service and the kiosk supervisor (Python 3.13, standard library, paho-mqtt, segno) |
web/static/ |
the setup and settings page and the screen page (plain HTML, CSS, JavaScript) |
image/ |
the image build: Containerfile, package list, root file system overlay, boot files, RAUC bundle |
image/rootfs/usr/lib/dash-os/platform/ |
boot, update, health and root helper scripts on the device |
tests/ |
unit tests (pytest) |
test/qemu/ |
smoke test of a built image in QEMU |
.gitea/workflows/ |
CI: checks on every push, image build and releases |
License
MIT.
Description
Appliance OS for a Raspberry Pi 5 wall panel that shows a Home Assistant dashboard full-screen: read-only A/B root, signed RAUC updates, setup hotspot, MQTT display control.
ab-updatecaptive-portalchromiumdashboarddebianembedded-linuxhome-assistantkioskmqttota-updatespythonraspberry-piraspberry-pi-5raucwayland
Readme
MIT
737 KiB
0 Stars
1 Watchers
0 Forks
Languages
Python
65.8%
JavaScript
9.7%
Shell
9%
HTML
7.1%
CSS
7.1%
Other
1.3%