| 3 Mar 2025 |
| bendanm joined the room. | 04:43:41 |
@hexa:lossy.network | For Home Assistant users: Please check the article on the Wiki for how to get started | 05:17:57 |
@hexa:lossy.network | (just pinning some messages, since element has been hiding the topic for a while) | 05:18:31 |
@hexa:lossy.network | * (just pinning some helpful messages, since element has been hiding the topic for a while) | 05:18:35 |
Lyn (they/she) | been using homeassistant on nixos for a few days now and I kinda struggle with figuring out where to put what, is there any documentation/unofficial wiki for the declerative (YAML) syntax? seems homeassistant themselves in many cases removed the YAML section from their documentation entirely in favor of showing off the UI-flow, how do y'all deal with this when writing config? | 06:19:16 |
@hexa:lossy.network | hm, they do advertise the yaml config where it is still applicable | 06:20:25 |
Lyn (they/she) | * been using homeassistant on nixos for a few days now and I kinda struggle with figuring out where to put what, is there any documentation/unofficial wiki for the declarative (YAML) syntax? seems homeassistant themselves in many cases removed the YAML section from their documentation entirely in favor of showing off the UI-flow, how do y'all deal with this when writing config? | 06:20:26 |
@hexa:lossy.network | if you want to use a component that does not have any yaml config it needs to go into extraComponents | 06:21:00 |
@hexa:lossy.network | * if you want to use a component that does not have any yaml config it needs to go into extraComponents for the package to come with the required dependencies | 06:21:16 |
Lyn (they/she) | so I just pull up the docs for the integration and if there is no yaml I configure it inside the UI and it won't get overwritten by nix? | 06:22:04 |
Lyn (they/she) | * so I just pull up the docs for an integration and if there is no yaml I configure it inside the UI and it won't get overwritten by nix? | 06:22:11 |
@hexa:lossy.network | yep | 06:22:12 |
| Jaco joined the room. | 13:21:39 |
philipp | How are y'all using the nixos module? Currently my setup is in a weird and kinda unmaintainable setup that's half declaratively generated and half created with the webui and I think switching to either fully would be an improvement. I'd like to have it all declarative, but I haven't really found a good workflow. How are you going at it? Write automations/scenes in the webui and then generate nix expressions from that, or do you write them directly in nix? | 19:55:34 |
Geoffrey Frogeye | Bit of both. For the kind of automations I haven't done before, I do in the webui and convert yaml to nix expressions. Or at least the complicated parts (e.g. interacting with a device I haven't already an automation interacting with it). Otherwise Nix directly, copying existing code and modifying it to my needs. I do have a few helpers (functions and options), making this easier to write on the long run. | 20:10:12 |
philipp | Thanks! I think I'll try to do something similar, that seems like a reasonable compromise solution. | 20:12:55 |
philipp | (Let's hope I find the motivation to actually move imperative configs over to nix this time 😅) | 20:13:25 |
Sandro 🐧 | You already looked at https://wiki.nixos.org/wiki/Home-assistant ; right? | 23:08:16 |
Sandro 🐧 | * You already looked at https://wiki.nixos.org/wiki/Home-assistant , right? | 23:08:19 |
Sandro 🐧 | kinda doing the same. Either way a bit annoying. You always need a test dashboard or automation to test things with | 23:08:49 |
| 4 Mar 2025 |
Lyn (they/she) | In reply to @sandro:supersandro.de You already looked at https://wiki.nixos.org/wiki/Home-assistant , right? Yes, this certainly helps but for many things not listed there the correct way to implement it still is mostly trial and error as all tutorials depend on the GUI. | 01:08:21 |
Lyn (they/she) | now I know better but i probably spent a day trying to figure out how to declare MQTT | 01:11:05 |
Sandro 🐧 | Yeah, didn't get that much better with the latest updates, some things actually got worse | 01:11:16 |
Lyn (they/she) | * | 01:11:32 |
Sandro 🐧 | I usually tinker with GUI and copy things from there as previously said | 01:11:36 |
@hexa:lossy.network | mqtt in yaml was removed | 01:11:50 |
Lyn (they/she) | In reply to @hexa:lossy.network mqtt in yaml was removed yeah :( | 01:12:05 |
kdn | So... I'm getting a bunch of PWM 8x controllable fans for my RACK, is there a way to control those using raspberry pi and power from AC? | 11:18:45 |
K900 | Well you'd need to get 12V or 5V or whatever the fans run at off the wall | 11:19:44 |
K900 | And then in most cases you can just shove a PWM signal from the RPi into the fans | 11:20:00 |