!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

506 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant135 Servers

Load older messages


SenderMessageTime
14 Jun 2021
@lukegb:zxcvbnm.ninjalukegb (he/him)yeah, but core installation method is explicitly unsupported if it's using "the distribution Python"19:18:28
@hexa:lossy.network@hexa:lossy.networkwith 4,2% the smallest installation type, and probably very heterogeneous19:18:40
@lukegb:zxcvbnm.ninjalukegb (he/him) iirc you have to use a virtualenv 19:18:45
@hexa:lossy.network@hexa:lossy.networkreasonable :)19:18:55
@lukegb:zxcvbnm.ninjalukegb (he/him)https://github.com/home-assistant/architecture/blob/master/adr/0016-home-assistant-core.md#supported-python-versions19:19:36
@lukegb:zxcvbnm.ninjalukegb (he/him)ah, it's collected here: https://sourcegraph.com/github.com/home-assistant/core/-/blob/homeassistant/helpers/system_info.py?utm_source=share#L42:919:21:57
@lukegb:zxcvbnm.ninjalukegb (he/him)I'm guessing we somehow always manage to trigger is_virtual_env or something19:22:18
@hexa:lossy.network@hexa:lossy.network
diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 1e33381de24..9c5d5b0eb02 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -66,7 +66,7 @@ in {
   meta.maintainers = teams.home-assistant.members;
 
   options.services.home-assistant = {
-    enable = mkEnableOption "Home Assistant";
+    enable = mkEnableOption "Home Assistant. Please note that NixOS distribution of Home Assistant is unsupported upstream.";
 
     configDir = mkOption {
       default = "/var/lib/hass";
20:42:28
@hexa:lossy.network@hexa:lossy.network *
diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 1e33381de24..9c5d5b0eb02 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -66,7 +66,7 @@ in {
   meta.maintainers = teams.home-assistant.members;
 
   options.services.home-assistant = {
-    enable = mkEnableOption "Home Assistant";
+    enable = mkEnableOption "Home Assistant. Please note that the NixOS distribution of Home Assistant is unsupported upstream.";
 
     configDir = mkOption {
       default = "/var/lib/hass";
20:42:36
@hexa:lossy.network@hexa:lossy.network *
diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 1e33381de24..9c5d5b0eb02 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -66,7 +66,7 @@ in {
   meta.maintainers = teams.home-assistant.members;
 
   options.services.home-assistant = {
-    enable = mkEnableOption "Home Assistant";
+    enable = mkEnableOption "Home Assistant. Please note that the NixOS distribution of Home Assistant is unsupported upstream";
 
     configDir = mkOption {
       default = "/var/lib/hass";
20:42:43
@hexa:lossy.network@hexa:lossy.network *
diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 1e33381de24..9c5d5b0eb02 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -66,7 +66,7 @@ in {
   meta.maintainers = teams.home-assistant.members;
 
   options.services.home-assistant = {
-    enable = mkEnableOption "Home Assistant";
+    enable = mkEnableOption "Home Assistant. Please note that the NixOS distribution of Home Assistant is unsupported upstream";
 
     configDir = mkOption {
       default = "/var/lib/hass";

Yay / Nay?

20:43:20
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️ joined the room.21:03:22
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️ 21:05:01
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️
In reply to @hexa:lossy.network
diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 1e33381de24..9c5d5b0eb02 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -66,7 +66,7 @@ in {
   meta.maintainers = teams.home-assistant.members;
 
   options.services.home-assistant = {
-    enable = mkEnableOption "Home Assistant";
+    enable = mkEnableOption "Home Assistant. Please note that the NixOS distribution of Home Assistant is unsupported upstream";
 
     configDir = mkOption {
       default = "/var/lib/hass";

Yay / Nay?

Looks clear enough, but to someone like me who likes to read every single piece of documentation back to back painfully obvious. Of course I am not the intended audience for this change so take this with a grain of salt 🧂
21:16:57
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️* Looks clear enough, but to someone like me who likes to read every single piece of documentation back to back painfully obvious. Of course I am not the intended audience for this change so take this with a grain of salt 🧂21:17:23
@hexa:lossy.network@hexa:lossy.networkyeah, it's difficult to find the proper spot(s) to make the community well aware21:17:38
@hexa:lossy.network@hexa:lossy.networkheader of the wiki page probably21:17:44
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️ It's just... My train of thought goes "of course it's unsupported, NixOS is doing a lot of things its own way" 21:19:01
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️And additionally I like reading upstream documentation and it usually lists supported installation methods21:19:23
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️So by the time I get to distribution-specific documentation I'm usually well aware of support status for certain more esoteric setups21:19:59
@hexa:lossy.network@hexa:lossy.networkright21:20:13
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️I just hope it won't be the "toxic" kind of unsupported where issues get closed without letting you speak if you go so far as mentioning an unsupported configuration somewhere21:20:47
@hexa:lossy.network@hexa:lossy.network
-    enable = mkEnableOption "Home Assistant";
+    enable = mkEnableOption "Home Assistant. Please note that this installation method is unsupported upstream";
21:20:46
@hexa:lossy.network@hexa:lossy.networkI've submitted reasonable issues to the upstream before21:21:02
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️
In reply to @hexa:lossy.network
-    enable = mkEnableOption "Home Assistant";
+    enable = mkEnableOption "Home Assistant. Please note that this installation method is unsupported upstream";
I like this one more!
21:21:33
@hexa:lossy.network@hexa:lossy.networkYou just need to make sure that the issue really belongs there21:21:20
@hexa:lossy.network@hexa:lossy.networkIf you can't tell better to report to us.21:21:30
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️
In reply to @hexa:lossy.network
You just need to make sure that the issue really belongs there
That's what I consider reasonable actually
21:22:08
@hexa:lossy.network@hexa:lossy.networkYup, don't need to mention hass or nixos again that way, and it relates to upstreams wording21:21:58
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️

If I'd go my way about making home automation, I'd make a lot of HTTP gateway/webhook daemons to certain protocols for devices I have on my smart home, not depend on state at all - rather describe everything as, e.g. systemd units depending on each other, and then make a dashboard+event handler service that talks to these gateways and/or receives webhooks with events. I don't think smart homes should have any sort of state at all - most of the devices in my home only have transient state stored in them that disappears as soon as they're unplugged and plugged back in (or power goes out).

Maybe HTTP is not the best protocol for that but it'll do the job which is the important thing. Then one could wrangle it under nginx, create a nice HTML+CSS+a little bit of JS dashboard (TODO: generate it with Nix?) to send manual commands to things and enjoy a fully declarative configuration

21:27:23

There are no newer messages yet.


Back to Room ListRoom Version: 6