Live data from Hacker News

Home Assistant waters my plants

finnian.io

51–60 of 140 posts

Re: Home Assistant waters my plants

#51
post #17

Fun project. Though it’s kind of unreal how complicated it is to set up HA and I literally do this for a living, both embedded sw and backend web dev. Docker compose with a zwave management server, reverse proxies for TLS, vlan isolation for the server, macvlan for HA container so it does see the host network, etc, etc. All to turn on and off a lightbulb with the sun. All the while AI is telling me to configure thing…

Sounds like the complexity is somewhat self-inflicted?

I set up HA from scratch on a new mini PC with Proxmox and HAOS in about 30 mins having never touched either before.

For VLANs, I just used port-based VLAN to attach it to the IoT VLAN, with firewall rule to allow UI access, but Proxmox has tagging support if preferred.

Re: Home Assistant waters my plants

#52
post #17

Fun project. Though it’s kind of unreal how complicated it is to set up HA and I literally do this for a living, both embedded sw and backend web dev. Docker compose with a zwave management server, reverse proxies for TLS, vlan isolation for the server, macvlan for HA container so it does see the host network, etc, etc. All to turn on and off a lightbulb with the sun. All the while AI is telling me to configure thing…

While you can run HA as a container. I think it's a mistake - Its more complicated and has reduced features. I would instead recommend people use HAOS instead - either running on dedicated hardware OR as a VM. Just dont run it from an SD card if you go down the Raspberry Pi/SBC route - it will kill the card from IO cycles. I have an IOT VLAN on my network that all the IOT bits sit in, including WIFI devices. What int…

> While you can run HA as a container. I think it's a mistake

Just because you CAN run something in a container, does not mean you should.

HAOS exists because it is a docker run time. It is a whole ecosystem, not just the home assistant software itself.

Re: Home Assistant waters my plants

#54
post #17

Fun project. Though it’s kind of unreal how complicated it is to set up HA and I literally do this for a living, both embedded sw and backend web dev. Docker compose with a zwave management server, reverse proxies for TLS, vlan isolation for the server, macvlan for HA container so it does see the host network, etc, etc. All to turn on and off a lightbulb with the sun. All the while AI is telling me to configure thing…

I also feel overwhelmed with HA homelab stuff. HA on my RPI is just not reliable, requiring a reboot 4-6 times a year for reasons I don't understand. Frustration at being in the literal dark doesn't translate to the right mindset to root cause. What I need is an opinionated guide on minimum viable virtualization, but so much of the resources online are from folks that are homelabing maximalists. I feel the same tempt…

> What I need is an opinionated guide on minimum viable virtualization

Get a nuc or a mini pc: i5-8500 or better (used, ebay https://www.servethehome.com/introducing-project-tinyminimic... for a baseline of what's out there)

Ram is your friend (but prices are gross). Dont be cheap on storage.

Get an external USB drive (3/2/1 rule).

Install proxmox on said device.

Use the proxmox community scripts to install HAOS as a VM. https://community-scripts.org/categories?category=operating-...

Pass through what ever USB devices you need (or spring for POE devices ).

Enjoy your HA setup.

Proxmox is the way to go here. Once you have a working install dont over commit before you learn to: 1. back up, 2. restore. These should both be local and remote (HA can enable this to various sources).

As a bonus you now have a runtime (proxmox) that can do tons of other things (see the whole community scripts link).

I have been running HA for years now, and this method makes things a pleasure and is easy (at least if you're a nerd) and cheap (the solutions are lower power).

Re: Home Assistant waters my plants

#55
post #17

Fun project. Though it’s kind of unreal how complicated it is to set up HA and I literally do this for a living, both embedded sw and backend web dev. Docker compose with a zwave management server, reverse proxies for TLS, vlan isolation for the server, macvlan for HA container so it does see the host network, etc, etc. All to turn on and off a lightbulb with the sun. All the while AI is telling me to configure thing…

The happy path is to buy https://www.home-assistant.io/green/ and then go from there. That's what I did and it was a very smooth setup for everything. I've long resisted HA as I thought it's one extra thing to fiddle with but the whole process, the updates, adopting my devices was much nicer than expected.

I've since also bought https://www.home-assistant.io/connect/zwa-2/ and got rid of all my third party bridges (Ikea, Hue etc.). I also feel good about buying devices from them as it supports the project and the work they are doing on it.

Re: Home Assistant waters my plants

#56
post #17

Fun project. Though it’s kind of unreal how complicated it is to set up HA and I literally do this for a living, both embedded sw and backend web dev. Docker compose with a zwave management server, reverse proxies for TLS, vlan isolation for the server, macvlan for HA container so it does see the host network, etc, etc. All to turn on and off a lightbulb with the sun. All the while AI is telling me to configure thing…

While you can run HA as a container. I think it's a mistake - Its more complicated and has reduced features. I would instead recommend people use HAOS instead - either running on dedicated hardware OR as a VM. Just dont run it from an SD card if you go down the Raspberry Pi/SBC route - it will kill the card from IO cycles. I have an IOT VLAN on my network that all the IOT bits sit in, including WIFI devices. What int…

What router and associated configuration software are you using? I have a Eero mesh network that leaves a lot to be desired for a fiddler like me.

Re: Home Assistant waters my plants

#57
I love HomeAssistant, and my second time on a new home, i'm slowly getting what i want in terms of interface and devices; doing it slowly helps you plan better and execute it perfectly. I've also been watering my garden (sprinklers) and i even built my custom ESPHome device: https://github.com/mgarces/open-esp-sprinklers

Re: Home Assistant waters my plants

#60
post #43

Earlier quoted context omitted.

While you can run HA as a container. I think it's a mistake - Its more complicated and has reduced features. I would instead recommend people use HAOS instead - either running on dedicated hardware OR as a VM. Just dont run it from an SD card if you go down the Raspberry Pi/SBC route - it will kill the card from IO cycles. I have an IOT VLAN on my network that all the IOT bits sit in, including WIFI devices. What int…

I go the container route, and have only had one issue: allowing HA to access my system's Bluetooth adapter. I had some ESP32s lying around, so I used ESPHome to make a Bluetooth proxy, which solved that issue. I don't run addons though, which might be part of it.

Interesting. I also run HA in a container and getting it to pick up my Zigbee dongle was so easy I don't even remember how I did it.

I haven't tried BT, but my HA box lives underneath a couch with a big steel pull-out bed so I don't imagine it would work very well anyway.

Post reply on HN