!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
3 Mar 2025
@geoffrey:frogeye.frGeoffrey FrogeyeBit 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:xndr.dephilippThanks! I think I'll try to do something similar, that seems like a reasonable compromise solution.20:12:55
@philipp:xndr.dephilipp(Let's hope I find the motivation to actually move imperative configs over to nix this time 😅)20:13:25
@sandro:supersandro.deSandro 🐧You already looked at https://wiki.nixos.org/wiki/Home-assistant ; right?23:08:16
@sandro:supersandro.deSandro 🐧* You already looked at https://wiki.nixos.org/wiki/Home-assistant , right?23:08:19
@sandro:supersandro.deSandro 🐧kinda doing the same. Either way a bit annoying. You always need a test dashboard or automation to test things with23:08:49
4 Mar 2025
@lynatic:catgirl.cloud@lynatic:catgirl.cloud
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
@lynatic:catgirl.cloud@lynatic:catgirl.cloudnow I know better but i probably spent a day trying to figure out how to declare MQTT01:11:05
@sandro:supersandro.deSandro 🐧Yeah, didn't get that much better with the latest updates, some things actually got worse01:11:16
@lynatic:catgirl.cloud@lynatic:catgirl.cloud * 01:11:32
@sandro:supersandro.deSandro 🐧I usually tinker with GUI and copy things from there as previously said01:11:36
@hexa:lossy.network@hexa:lossy.networkmqtt in yaml was removed01:11:50
@lynatic:catgirl.cloud@lynatic:catgirl.cloud
In reply to @hexa:lossy.network
mqtt in yaml was removed
yeah :(
01:12:05
@nazarewk:matrix.orgkdnSo... 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:0upti.meK900Well you'd need to get 12V or 5V or whatever the fans run at off the wall 11:19:44
@k900:0upti.meK900And then in most cases you can just shove a PWM signal from the RPi into the fans11:20:00
@nazarewk:matrix.orgkdnI'm not sure what kind of device(s) should I get11:20:05
@k900:0upti.meK900Most fans are perfectly fine with basically any level of PWM signal11:20:28
@k900:0upti.meK900A device for what? 11:20:38
@nazarewk:matrix.orgkdnto join those 8 together, power and adjust their speeds11:20:55
@nazarewk:matrix.orgkdnpreferably in 2 groups of 411:21:06
@k900:0upti.meK900Are they daisy chainable? 11:21:57
@k900:0upti.meK900Can you link the fan model, actually? 11:22:05
@nazarewk:matrix.orgkdnhttps://www.arctic.de/en/P14-PWM-PST-CO/ACFAN00126A11:22:12
@nazarewk:matrix.orgkdni see mostly 2.5A LED power supplies for PWM11:23:47
@k900:0upti.meK900Yeah those daisy chain 11:23:53
@k900:0upti.meK900And are 12V11:24:16
@k900:0upti.meK900So if you can get a 12V source, you can jank something together pretty easily 11:24:30
@k900:0upti.meK900You basically just run 12V to the power pins11:25:23
@k900:0upti.meK900And then a PWM signal from an RPi or whatever to the PWM pin 11:25:44

Show newer messages


Back to Room ListRoom Version: 6