All hacks

Home Assistant guest dashboard on a Raspberry Pi for visitors on the home Wi-Fi

A Raspberry Pi serves a no-login web page where guests on the Wi-Fi control their room's lights and the air conditioning.

Home Assistant guest dashboard on a Raspberry Pi for visitors on the home Wi-Fi
Home Assistant guest dashboard on a Raspberry Pi for visitors on the home Wi-Fi, as posted by u/Secure_Town_7924
Photo: u/Secure_Town_7924, from the original post.

Guests staying over can now control the bedroom lights, the downstairs lights and the air conditioning from a plain web page, with no Home Assistant app and no account. Anyone on the home Wi-Fi gets straight in. Everyone else sees a login page. The lights are boiled down to On, Relax and Off scenes, since there are a lot of Hue lamps behind them. Switching the AC on starts a shutoff timer that guests can extend or shorten.

A Raspberry Pi hosts the site and a small gateway to Home Assistant, which runs separately on a Home Assistant Green. The gateway uses its own HA account and exposes only a fixed list of entities and actions. A cheap domain, a Cloudflare tunnel, Traefik and AdGuard Home for local DNS make the address resolve to the Pi on the Wi-Fi. The builder wrote the dashboard “in strong collaboration with ChatGPT”, and there’s a toggle on their own dashboard to switch guest controls off.

Details are in the original Reddit post.

All credit to u/Secure_Town_7924. The full story is at the original source.

Cracked something open?

Send us your hack. Clever, useful or gloriously pointless, we want to see it.

Submit a hack