!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
18 Jun 2021
@instantepiphany:matrix.orginstantepiphany joined the room.12:44:51
@instantepiphany:matrix.orginstantepiphanyReading through the recent controversy, and with HA moving to a more stateful architecture, I'm interested in an alternative. A couple people here have mentioned possibly creating one. I just started setting up HA today on NixOS, but am considering rolling my own system. Might be worth combining efforts and making something that is 100% declarative. Is anyone else interested? I don't have a side project at the moment...12:47:38
@hexa:lossy.network@hexa:lossy.networkHah, lol. I have too many, sadly.12:54:17
@schnecfk:ruhr-uni-bochum.deCRTifiedThe least I could do is testing the software 😛 I'd love to have an alternative available, but the common alternatives either don't match a declarative scheme (e.g. iobroker uses a webUI for configuration AFAIK, resulting in similar problems as HA without YAML has) or are somewhat arcane (FHEM)12:56:09
@linus.heckemann:matrix.mayflower.deLinux HackermanI'd love to leech that work, but yeah too many side projects to contribute to it actively here too 🙃12:57:03
@instantepiphany:matrix.orginstantepiphanyTesting is super helpful! Something I have wondered recently is whether there is something stopping a declarative system being configurable by some kind of UI - as long as the UI accurately represents the current configuration, saving a change would just save a valid configuration, no? Maybe this is a "have your cake and eat it too" situation, but while I'm comfortable sshing into make a significant change, some simpler things are nice to adjust from a more user friendly interface.12:59:22
@linus.heckemann:matrix.mayflower.deLinux Hackermanparticularly an interface that can be used on a mobile phone13:00:01
@schnecfk:ruhr-uni-bochum.deCRTified
In reply to @instantepiphany:matrix.org
Testing is super helpful!

Something I have wondered recently is whether there is something stopping a declarative system being configurable by some kind of UI - as long as the UI accurately represents the current configuration, saving a change would just save a valid configuration, no? Maybe this is a "have your cake and eat it too" situation, but while I'm comfortable sshing into make a significant change, some simpler things are nice to adjust from a more user friendly interface.
I think that everything that uses YAML is really close to that. There are some modules that use (iirc it's called that) yamlmerge to update the config when something changes
13:00:22
@linus.heckemann:matrix.mayflower.deLinux Hackermanbut yeah if the config is json or something that should be pretty doable13:00:46
@linus.heckemann:matrix.mayflower.deLinux Hackermanhttp://jsonpatch.com/ hmmmm13:01:27
@schnecfk:ruhr-uni-bochum.deCRTifiedOctoprint is one of these modules that uses yaml-merge: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/octoprint.nix#L11313:02:18
@schnecfk:ruhr-uni-bochum.deCRTifiedI think that's a really nice concept, as it keeps the declarative concept of nix working while still allowing customization by using the GUI13:02:54
@schnecfk:ruhr-uni-bochum.deCRTifiedAnd the interaction between YAML/JSON and nix is really nice, because it's straightforward to translate an attrset to YAML - not only in code, but also while thinking about the problem. It's basically "just a different syntax"13:03:47
@instantepiphany:matrix.orginstantepiphanyInteresting, thanks for the links and ideas! I'll think about this and chime in later, hopefully with a basic plan and some links. I'll make sure to explicitly ask at that time if anyone wants to be involved, assuming I do want to try this out. But I also don't want to flood this room about a specific project, so if it gets busy we can make a separate room.13:07:00
@hexa:lossy.network@hexa:lossy.networkhappy to lurk :)13:07:34
@schnecfk:ruhr-uni-bochum.deCRTified Just don't use home in the name for the project, otherwise it will get confused with home-manager 🙈 13:08:21
@instantepiphany:matrix.orginstantepiphany set a profile picture.13:08:47
@instantepiphany:matrix.orginstantepiphany
In reply to @schnecfk:ruhr-uni-bochum.de
Just don't use home in the name for the project, otherwise it will get confused with home-manager 🙈
One of the hardest problems in software...
13:09:33
@robert:funklause.dedotlambdaWe were mentioned on: Self-Hosted: 47: Whose License Is It Anyway? https://selfhosted.show/47 Didn't listen to it though.14:32:01
@hexa:lossy.network@hexa:lossy.network thanks, will listen later 14:32:29
@hexa:lossy.network@hexa:lossy.networkas soon as the colleague jumps out of the call 😆14:32:37
@hexa:lossy.network@hexa:lossy.networkhow did you find it?14:34:30
@balsoft:balsoft.rubalsoft
In reply to @robert:funklause.de
We were mentioned on:
Self-Hosted: 47: Whose License Is It Anyway? https://selfhosted.show/47
Didn't listen to it though.
Timestamp 20:30
14:43:24
@robert:funklause.dedotlambda
In reply to @balsoft:balsoft.ru
Timestamp 20:30
It has chapter marks
14:44:26
@robert:funklause.dedotlambdaAs any good podcast should have14:44:42
@robert:funklause.dedotlambda
In reply to @hexa:lossy.network
how did you find it?
I'm actually subscribed cause I was bored and looking for new podcasts some day.
14:45:36
@robert:funklause.dedotlambdaThey present the dispute in a way very favorable to us btw and then go on to speculate about why HA developers are frustrated and burnt out and how to fix that.14:46:51
@hexa:lossy.network@hexa:lossy.networkawesome14:52:52
@hexa:lossy.network@hexa:lossy.networkyeah, they talk about solar power and battery and zigbee stuff in the beginning14:53:05
@hexa:lossy.network@hexa:lossy.networkthat goes just up my alley14:53:08

Show newer messages


Back to Room ListRoom Version: 6