this post was submitted on 06 Apr 2025
6 points (100.0% liked)

homeassistant

13711 readers
2 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 2 years ago
MODERATORS
 

My homelab is connected through an already existing wireguard network, with one server acting as a central hub for a bunch of other nodes. So all nodes can communicate to eachother by just knowing this central hub.

I would like my home assistant to join this network, which on most distros just means installing wireguard and wireguard-tools, plopping my config into /etc/wireguard, and running systemctl enable --now wg-quick@homenet. But I can't figure out if the OS on the HA Yellow have a package manager, and it doesn't seem to use SystemD. So what would be the best way to install it and connect on boot?

There is a Wireguard addon that I'm sure works wonders, but it seems to me that it's meant to act as this central hub that I already have. If I'm wrong and this addon can be used to connect to an existing network I will happily use that, but last time I tried it I couldn't get it to work the way I wanted.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 6 days ago

I haven't done anything with Wireguard, and less than I'd like with HA, but I think the solution here might work for you. His reasons are different, and he has some criteria that vary from yours, and it's for HA Green, but it's done by creating an add-on so it should work for any HA install without direct access to config files or systemd. Hope it helps.