Skip to content

gabrielozcomidi/casa

Repository files navigation

Casa — Interactive Home Assistant Dashboard

HACS Custom License: MIT HA min 2024.4

A tablet-first, animation-rich Home Assistant dashboard with a playful "fidget" feel. Drag movie posters onto the TV to play them. Drag album art onto a speaker to start music. Every board — Home · Lights · Media · Climate · Utilities · Network — designed to feel tactile on an iPad.

Inspired by the immersive interaction design of Creative Labs — springy toggles, draggable brightness pills, twistable climate dials, ambient drifting light.


Install (HACS — recommended)

  1. In HACS → IntegrationsCustom repositories → paste https://github.com/gabrielozcomidi/casa → category IntegrationAdd
  2. HACS → search CasaInstallRestart Home Assistant
  3. Settings → Devices & Services → + Add Integration → Casa → walk the wizard (7 entity dropdowns, auto-filled where possible)
  4. Casa appears in your sidebar. Tap it. 🎉

Total time: ~3 minutes, mostly waiting for HA to restart.

Install (manual, without HACS)

If you'd rather drop the file yourself, use the standalone dashboard.html:

  1. Copy dashboard.html from this repo to /config/www/casa.html on your HA host
  2. HA → Settings → Dashboards → + Add DashboardWebpage → URL /local/casa.html → Save
  3. Open casa.html, tap the ⚙ gear in the top-right, and paste a long-lived access token in the Connection panel

Details in INSTALL.md.


What's inside

  • 🏠 Home — a contextual "Now" view that only shows what's actually running: playing music/TV, lights that are on, climate that's cooling, appliances mid-cycle. Empty when everything's off.
  • 💡 Lights — per-room card grid, brightness pills, HS colour wheel + colour-temp sliders + WLED effect chips, mood scenes (Relax · Movie · Bright · Night), party mode with WLED effects
  • 🎬 Media
    • Watch — drag movie/series posters (Stremio Continue Watching) onto the TV. Auto-switches TV source to HDMI if you're on Netflix. Deep-link templates configurable for Jellyfin/Plex/Kodi/YouTube/anything.
    • Listen — drag album art (Music Assistant) onto a speaker pod. Real drag-and-drop, springs back if you miss.
    • TV controls + Google TV app launcher (favicons pulled live).
    • Now-playing with Sonos audio-input-format badge (Dolby Digital Plus 5.1) and blurred app-logo backgrounds.
  • 🌡️ Climate — room chips → focused control view with a circular target-temperature dial in the same graphic language as the volume slider, HVAC mode chips filtered per unit, fan speed, side-drawer with Swing/Quiet/Sleep/Turbo/Health toggles, per-room PM2.5 chip, outdoor AQI + PM10 in the weather panel.
  • 🔌 Utilities — dishwasher + laundry (add anything with sensor mappings) with progress pill, status badge, and expand-down options drawer.
  • 📶 Network — internet kill switch, Gateway with live CPU/MEM rings + RX/TX + uptime, UniFi devices, PoE port power-cycle chips, featured clients grid.
  • Settings — a full backend with a left sidebar nav, entity picker modals, drag-order lists, PIN gate. Every field in every board is editable from here.
  • HA-backed sync — optional. Config JSON stored via HA's native frontend.user_data, roams across every device you sign into your HA user with.

Requirements

  • Home Assistant ≥ 2024.4
  • HACS — optional but recommended (manual install works fine)
  • Optional integrations that light up specific features (all optional — Casa gracefully degrades):

Setup after install

The HACS wizard sets the 7 core entity mappings (living/kitchen/bedroom lights, TV WLED, climate, media, weather). Everything else is edited from inside the dashboard:

  • Tap the ⚙ gear in the top-right corner
  • Set a 4-digit PIN (first time only)
  • Left sidebar nav → jump to any section:
    • Connection · Entities (re-map any of the 7 roles later without re-installing)
    • Media — Playback sequence (HDMI source, deep-link templates, launcher preference), Apps launcher
    • Lights — Rooms + light IDs, Moods with a full service-call editor
    • Climate — Units, outdoor sensors
    • Utilities — Appliances with per-appliance sensor mappings
    • Network — Gateway, UniFi devices, PoE ports, featured clients
    • About — Export/Import config as JSON · Reset to defaults

Adapting Casa to your TV + streamer

Casa ships pre-wired for Samsung TV + Google TV Streamer + Stremio + ADB. To make it work on a different setup, edit Settings → Media → Playback sequence:

What Where Notes
Your TV entity Samsung/Sony/LG TV row The media_player whose source attribute reflects the current input
HDMI source name HDMI source name row e.g. "HDMI", "HDMI 1", "HDMI3" — click any chip from the auto-listed source_list
HDMI switch delay HDMI switch delay (ms) row Samsung: ~1400, LG: ~600, Sony: varies
Non-app source regex Non-app source regex row Which source names count as "input" (skip source-switch)
Launcher preference Launcher dropdown adb (best) · remote (fallback) · auto
ADB entity ADB media_player row Android Debug Bridge integration entity
Remote entity Remote entity row Android TV Remote integration entity
Deep-link templates Movie/Series link template fields Placeholders: {imdb_id}, {type}, {season}, {episode} — swap Stremio for Jellyfin/Plex/Kodi/YouTube

Example templates for other players:

Kodi:      plugin://plugin.video.themoviedb.helper/?info=play&type={type}&tmdb_id={tmdb_id}
Jellyfin:  org.jellyfin.androidtv://tv.jellyfin/{imdb_id}
YouTube:   https://youtube.com/watch?v={video_id}

Roadmap

  • Phases 1-4 of the in-app Settings backend (Connection · Entities · Media · Lights · Climate · Utilities · Network)
  • HA-backed sync across devices
  • HACS-installable custom_component
  • Config Flow wizard for entity mapping
  • v2 — Native HA session auth (drop the token requirement entirely for embedded mode)
  • v2 — Auto-discovery step in the wizard (auto-detect Sonos / UniFi / WLED / Music Assistant)
  • v2 — Casa brand icon in the integration listing
  • Lightshow / party mode with music reactivity

License

MIT © 2026 Gabriel Comidi

About

Casa — tablet-first, animation-rich Home Assistant dashboard with drag-to-TV and drag-to-speaker. HACS-installable.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors