A real, production Home Assistant setup β for a household of 2 adults, a baby, a dog and a cat, in a 3rd-floor flat. Matter + Zigbee, a Claude AI brain, a nightly voice brief, UniFi cameras, energy tracking, and a touchscreen Pi wall panel.
π The full story, behind the scenes β cyberloutre.fr
- The idea: a passive smart home
- Highlights
- Dashboards
- Signature automations
- The stack
- Explore the code
- By the numbers
- Why not an off-the-shelf system?
- Reusing this repo
No "Hey Siri, turn on the light." The house observes and acts on its own:
- The bathroom lights up when you walk in, stays on while you shower, turns off when you leave
- The shutters close when it rains while a window is open
- The oven only notifies the iPhones of people currently home
- Claude AI writes a natural evening brief of the day, every night
Quiet, contextual, and it frees up mental space.
|
Every evening at 10 PM, a snapshot of the day (power use, per-room temps, presence, anomalies) is sent to Claude Haiku 4.5, which writes a warm, natural situation report to both iPhones β not a dump of numbers. ~30 cents / month. |
During a 3D print, every 10 minutes a camera snapshot is sent to Claude vision. If it spots a failed print, you get an iPhone notification with actionable Pause / Cancel buttons. |
|
Every dashboard is hand-built with Mushroom cards + |
A Raspberry Pi in the hallway runs a Chromium kiosk dashboard that wakes on motion and sleeps when everyone leaves. |
Everything below is built with Mushroom cards + card_mod, glassmorphism / Apple-like, mobile-first. Full YAML in dashboards/.
Linky (Lixee TIC over Zigbee) + RTE Tempo tariff + Power Flow Card.
Due-date tracking for filters, mopping, the pet fountain, the litter box⦠surfaced as actionable cards.
Raspberry Pi + official 7" DSI touchscreen in Chromium kiosk mode. Wakes on Hue
motion, sleeps 2 min after everyone leaves. YAML in dashboards/tablette.yaml.
| Automation | |
|---|---|
| π§οΈ | Rain + open window β shutters close. Netatmo rain gauge > 0.1 mm/h and a window left open β exposed shutters close + iPhone notification. |
| πΏ | Shower in progress β light protected. Aqara P2 motion + bathroom humidity. While RH > 55% and someone is in the room, the light won't turn off β even on an accidental tap or a phantom firmware timer. β packages/sdb_lampes.yaml |
| π€ | Autonomous vacuum (Wed/Sat/Sun). Everyone away > 5 min β Roborock starts. Someone comes home β immediate dock return. It remembers the remaining zone and resumes next time. |
| π | 10 PM Claude AI brief. A snapshot of the day β Claude Haiku 4.5 β a warm, natural situation report to both iPhones. |
| π¨οΈ | Prusa spaghetti detection (Claude vision). Every 10 min during a print, a snapshot goes to Claude; on a detected failure, an iPhone notification with Pause / Cancel buttons. |
| π¨ | Oven on + nobody home β critical alert. interruption-level: critical (bypasses every iOS focus) with a "π Stop remotely" button. |
| Layer | Tech |
|---|---|
| Backbone | Home Assistant OS Β· reverse proxy (Pangolin) |
| Matter / Zigbee | Aqara Hub M3 (Matter bridge) Β· Zigbee2MQTT Β· UniFi Protect Β· Hue |
| Climate | Daikin (custom bridge: living-room input_number = source of truth) |
| Energy | Lixee Linky (Zigbee) Β· RTE Tempo Β· Power Flow Card+ |
| AI | Anthropic Claude Haiku 4.5 (evening brief + Prusa vision) |
| Voice | HA Companion iOS Assist (Voice PE planned) |
| Wall panel | Raspberry Pi + 7" touchscreen, Chromium kiosk |
| Folder | Contents |
|---|---|
dashboards/ |
ui-lovelace.yaml (main "Overview" + "Everything" views) and dedicated dashboards (energy, maintenance, showcase, tablet, Tesla, 3D printer). Mushroom + card_mod, glassmorphism, mobile-first. |
automations/ |
automations.yaml, scripts.yaml, scenes.yaml. |
packages/ |
Automations grouped by theme (per-room lighting, living-room climate, baby night light, recurring tasks, holiday/nanny modes, Nabaztag, notifications, zonesβ¦). |
secrets.yaml.example |
The !secret keys referenced across the repo β fill in with your own values. |
π Security: every secret (tokens, passwords, domain, internal IPs, GPS coordinates) is externalized via
!secretor redacted. No sensitive data is published.
- ~160 active automations (YAML + packages)
- 30+ Aqara sensors paired over Matter
- 4 UniFi cameras with AI person detection
- 6 rooms with individual temperature / humidity / COβ sensors
- 1 daily Claude AI brief (~30 cents / month)
- Local data β everything stays on the network; Anthropic only sees the brief requests, not the house in real time.
- No proprietary cloud β if Aqara / Tesla / Samsung shut down their service tomorrow, the house keeps running on the local bus.
- Extensibility β new integration? 5 min of YAML. New automation? 30 lines.
- Cost β ~5 β¬/month (Claude API + electricity).
Shared as reference / inspiration, not a turnkey product: the entity_ids, device_ids
and room names are those of my own install. Grab the patterns (Mushroom cards, Jinja templates,
package structure) and adapt them.
If this gave you ideas, drop a β β it helps others find it.
𦦠cyberloutre.fr · code + care































