This is an automated archive made by the Lemmit Bot.
The original was posted on /r/nixos by /u/Inside_Test_8474 on 2025-09-07 07:22:35+00:00.
It makes a lot of sense - don’t you think?
Been in the smart home game since the beginning, and i can safely say I had the most fun developing this approach! Just my style - a over-engineered home automation system with the perfect amount of complexity (high).
I know I am not the only one who has done this kind of crazy setup.
I invite you to share similar projects please.
Here is mine:
Zigbee devices are defined as such:
house.zigbee.devices = {
"0x54ef4410003e58e2" = { friendly_name = "Roller Shade"; room = "livingroom"; type = "blind"; icon = "mdi:blinds"; endpoint = 1; };
};
I define scenes as
house.zigbee.scenes = {
"Chill Scene" = {
"Light 1" = { state = "ON"; brightness = 200; color = { hex = "#8A2BE2"; }; };
"Light 2" = { state = "ON"; brightness = 200; color = { hex = "#40E0D0"; }; };
};
};
Everything is handled by four different components:
Core (server-side)
https://github.com/QuackHack-McBlindy/dotfiles/blob/main/bin/home/zigduck.nix
Client Controller (from terminal + voice)
https://github.com/QuackHack-McBlindy/dotfiles/blob/main/bin/home/house.nix
Nix generated dashboard
https://github.com/QuackHack-McBlindy/dotfiles/blob/main/bin/home/duckDash.nix
And lastly - for parsing natural language (for an Assistant)
https://github.com/QuackHack-McBlindy/dotfiles/blob/main/bin/config/do.nix
Quite happy with how it works, runs like a charm and is reliable as a duck.