| 18 Jun 2021 |
| instantepiphany joined the room. | 12:44:51 |
instantepiphany | Reading 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 | Hah, lol. I have too many, sadly. | 12:54:17 |
CRTified | The 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 |
Linux Hackerman | I'd love to leech that work, but yeah too many side projects to contribute to it actively here too 🙃 | 12:57:03 |
instantepiphany | 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. | 12:59:22 |
Linux Hackerman | particularly an interface that can be used on a mobile phone | 13:00:01 |
CRTified | 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 |
Linux Hackerman | but yeah if the config is json or something that should be pretty doable | 13:00:46 |
Linux Hackerman | http://jsonpatch.com/ hmmmm | 13:01:27 |
CRTified | Octoprint is one of these modules that uses yaml-merge: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/octoprint.nix#L113 | 13:02:18 |
CRTified | I think that's a really nice concept, as it keeps the declarative concept of nix working while still allowing customization by using the GUI | 13:02:54 |
CRTified | And 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 | Interesting, 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 | happy to lurk :) | 13:07:34 |
CRTified | Just don't use home in the name for the project, otherwise it will get confused with home-manager 🙈 | 13:08:21 |
| instantepiphany set a profile picture. | 13:08:47 |
instantepiphany | 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 |
dotlambda | We 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 | thanks, will listen later | 14:32:29 |
@hexa:lossy.network | as soon as the colleague jumps out of the call 😆 | 14:32:37 |
@hexa:lossy.network | how did you find it? | 14:34:30 |
balsoft | 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 |
dotlambda | In reply to @balsoft:balsoft.ru Timestamp 20:30 It has chapter marks | 14:44:26 |
dotlambda | As any good podcast should have | 14:44:42 |
dotlambda | 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 |
dotlambda | They 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 | awesome | 14:52:52 |
@hexa:lossy.network | yeah, they talk about solar power and battery and zigbee stuff in the beginning | 14:53:05 |
@hexa:lossy.network | that goes just up my alley | 14:53:08 |