From 355ef79d9fb259118b4cde064460b38ee70a1a37 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Sat, 15 Nov 2025 13:54:04 +0000 Subject: [PATCH] hosts/{odyssey,pi}: move home-assistant to odyssey --- hosts/odyssey/default.nix | 1 + hosts/odyssey/home-assistant/dashboards.nix | 63 +++++++++++++++++++ .../home-assistant/default.nix | 0 .../home-assistant/floorplan/default.nix | 0 .../home-assistant/floorplan/style.css | 0 hosts/{pi => odyssey}/home-assistant/mqtt.nix | 0 hosts/pi/default.nix | 1 - 7 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 hosts/odyssey/home-assistant/dashboards.nix rename hosts/{pi => odyssey}/home-assistant/default.nix (100%) rename hosts/{pi => odyssey}/home-assistant/floorplan/default.nix (100%) rename hosts/{pi => odyssey}/home-assistant/floorplan/style.css (100%) rename hosts/{pi => odyssey}/home-assistant/mqtt.nix (100%) diff --git a/hosts/odyssey/default.nix b/hosts/odyssey/default.nix index 77343e0..35b620a 100644 --- a/hosts/odyssey/default.nix +++ b/hosts/odyssey/default.nix @@ -9,6 +9,7 @@ ./hardware-configuration.nix ./comfyui-docker.nix ./gitea-runner.nix + ./home-assistant ./nix-serve.nix ../desktop.nix ../../users/jordan diff --git a/hosts/odyssey/home-assistant/dashboards.nix b/hosts/odyssey/home-assistant/dashboards.nix new file mode 100644 index 0000000..8b4dc2b --- /dev/null +++ b/hosts/odyssey/home-assistant/dashboards.nix @@ -0,0 +1,63 @@ +{ + ... +}: + +{ + /** + ******************* + - Service Dashboard for stats (energy usage, bandwidth etc.) + - Dashboard fragment per room + - Tablet in each room can display just its associated fragment + - Per user dynamic dashboard that shows the dashboard fragment for the room + you are in using Bluetooth presence detection + + Rooms: [Auto, Bedroom, Kitchen, Living Room, Office] + + Shared: Date/time, Guest Override action, Weather, Air quality + + Bedroom: + - Temperature + - Minimal Lights action + - Individual light cards + - Sheets last changed + - Plant last watered + + Kitchen: + - Temperature + - Individual light cards + - Water filter age + + Living Room: + - Temperature + - Turn TV on action + * dynamic card to start Movie Mode + - Individual light cards + - Plant last watered + + Office: + - Temperature + - Individual light cards + - Bandwidth usage + - Computer stats + + Primary IEEE address: 00:12:4B:00:29:E8:B1:9E + + Random inspiration words: + - "Temp Disable Office Motion" + - "Main Lights {Bright,Dim,Warm}" + - "Robot Vacuum" + - "Living Room TV" + - "Morning wakeup" + - "Going to sleep early" + - "Take out bins" + - "Video Conference" + - "Gaming" + - Monitor power usage to tell when something has started/stopped + - Vibration sensor for kitchen drawer + - Todo list for dinner schedule + - Air quality sensor in kitchen + - Notification to close vents when outdoor air quality is bad + - "TV Lights Lock" - don't auto dim-lights on play/pause + ********************* + */ +} diff --git a/hosts/pi/home-assistant/default.nix b/hosts/odyssey/home-assistant/default.nix similarity index 100% rename from hosts/pi/home-assistant/default.nix rename to hosts/odyssey/home-assistant/default.nix diff --git a/hosts/pi/home-assistant/floorplan/default.nix b/hosts/odyssey/home-assistant/floorplan/default.nix similarity index 100% rename from hosts/pi/home-assistant/floorplan/default.nix rename to hosts/odyssey/home-assistant/floorplan/default.nix diff --git a/hosts/pi/home-assistant/floorplan/style.css b/hosts/odyssey/home-assistant/floorplan/style.css similarity index 100% rename from hosts/pi/home-assistant/floorplan/style.css rename to hosts/odyssey/home-assistant/floorplan/style.css diff --git a/hosts/pi/home-assistant/mqtt.nix b/hosts/odyssey/home-assistant/mqtt.nix similarity index 100% rename from hosts/pi/home-assistant/mqtt.nix rename to hosts/odyssey/home-assistant/mqtt.nix diff --git a/hosts/pi/default.nix b/hosts/pi/default.nix index fa94c7b..57fc478 100644 --- a/hosts/pi/default.nix +++ b/hosts/pi/default.nix @@ -8,7 +8,6 @@ imports = [ inputs.nixos-hardware.nixosModules.raspberry-pi-4 ./hardware-configuration.nix - ./home-assistant ./snapcast.nix ../server.nix ];