Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

My House That Thinks

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.

Home Assistant Matter Zigbee Claude AI
Mushroom Passive smart home Mobile first
License MIT Last commit Stars Top language

πŸ“– The full story, behind the scenes β†’ cyberloutre.fr

Desktop showcase

πŸ“– Table of contents


🧠 The idea: a passive smart home

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.


✨ Highlights

πŸŒ™ A nightly brief written by Claude AI

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.

πŸ–¨οΈ Spaghetti detection by computer vision

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.

πŸŽ›οΈ 100% Mushroom + glassmorphism UI

Every dashboard is hand-built with Mushroom cards + card_mod, Apple-like glass style, mobile-first. All YAML included.

πŸ“Ÿ A 7" touchscreen wall panel

A Raspberry Pi in the hallway runs a Chromium kiosk dashboard that wakes on motion and sleeps when everyone leaves.


πŸ“Έ Dashboards

Everything below is built with Mushroom cards + card_mod, glassmorphism / Apple-like, mobile-first. Full YAML in dashboards/.

🏠 Overview

⚑ Energy

Linky (Lixee TIC over Zigbee) + RTE Tempo tariff + Power Flow Card.

🎨 Tempo (EDF Tempo tariff)

🧰 Maintenance & recurring tasks

Due-date tracking for filters, mopping, the pet fountain, the litter box… surfaced as actionable cards.

πŸ”‹ Batteries Β· πŸ“… Calendar Β· πŸ“¦ Parcels

πŸ€– Robot vacuum (Roborock S8 Pro Ultra)

πŸ–¨οΈ 3D printing (Prusa + Bambu Β· Claude vision)

πŸš— Tesla

πŸ“Ÿ Wall panel β€” 7" touchscreen Pi in the hallway

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.


⭐ Signature automations

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.

🧰 The stack

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

πŸ“‚ Explore the code

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 !secret or redacted. No sensitive data is published.


πŸ“Š By the numbers

  • ~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)

πŸ€” Why not an off-the-shelf system?

  1. Local data β€” everything stays on the network; Anthropic only sees the brief requests, not the house in real time.
  2. No proprietary cloud β€” if Aqara / Tesla / Samsung shut down their service tomorrow, the house keeps running on the local bus.
  3. Extensibility β€” new integration? 5 min of YAML. New automation? 30 lines.
  4. Cost β€” ~5 €/month (Claude API + electricity).

♻️ Reusing this repo

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

About

🏠 My house that thinks β€” a real Home Assistant setup: Mushroom dashboards, passive-smart-home automations, a nightly Claude AI brief, and a touchscreen Pi wall panel. Matter + Zigbee. More at cyberloutre.fr

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors