A kernel developer plays with Home Assistant
218 comments
·May 17, 2025balloob
Founder Home Assistant here. Want to chime in that I always love to see write ups like these to see the great things what people achieve with Home Assistant.
Not everyone might know, but last year we started the Open Home Foundation as a non-profit in Switzerland and I donated Home Assistant to it[1]. It's fully funded by users. There are no investors involved.
We are fully committed to building out a smart home that focuses on local control and privacy. Yes there are rough edges, but we're actively working on it in the open, with progress being released every month.
~Paulus, Founder Home Assistant & President Open Home Foundation https://github.com/balloob
[1]: https://www.openhomefoundation.org/blog/announcing-the-open-...
diggan
> I donated Home Assistant to it[1]. It's fully funded by users. There are no investors involved.
I cannot thank you enough for this. It was a bit risky adopting Home Assistant for everything ~two years ago, but that you guys did this move really makes me feel less scared about eventually having to replace it with something else.
I'm subscribed to Home Assistant Cloud (via Nabu Casa) even though I don't use it just because it seems to be one of the few ways to financially support you, is there any way of doing one time donations to the foundation itself?
balloob
We don't want to come to rely on donations and have to show Wikipedia-style beg banners in our app (I would personally hate to see that myself).
So with the limited resources that we have, we currently only consider bigger donations valued $10k or more. We've had monetary donations from DuckDuckGo and Espressif so far.
magicalhippo
I didn't get the begging feeling from using Blender, though it has been some years ago. IIRC they focused on donations for specific features and showpieces like their movies.
As a very happy Home Assistant user, hopefully you can manage something similar so you have enough money to stay afloat and keep up the good work.
bonzini
Maybe you could allow people to pay more for Nabu Casa?
Blankono
beg banners or awareness campaign.
I never had issues with that.
hiatus
It seems that's the only way according to their "support us" page.
https://www.openhomefoundation.org/organization/#support-our...
cyberax
Is it possible to donate to your foundation via some kind of a subscription?
I have a Nabu Casa subscription, but I don't really need it.
baby_souffle
> I have a Nabu Casa subscription, but I don't really need it.
Shame there’s no way to donate it.
lolinder
I mean, if you're paying for the subscription but never use it that's effectively a donation, right?
OP explains their motivation for not accepting small donations in another comment:
farawayea
Do you plan to fix https://github.com/home-assistant/frontend/issues/18549?
devwastaken
smart homes dont work because wifi doesnt work. almost every user is running low quality hardware or does not deploy a meshing AP to reach the devices. the devices are not resilient to lost packets and high latency
just change a wifi ssid with smart devices in a home and watch it all crumble. users want nothing more than to get rid of “smart” once they realize its not smart enough to figure out how to change wifi networks.
endless “updates”, rent seeking, breaking changes, account setup - its not worth it.
alwa
You should check out Home Assistant and the vast range of ecosystems it integrates with! There a dazzling range of radio standards and manufacturers that have considered the problems you’re describing.
You could (and I understand many people do) run an entire smart home without any WiFi at all, if you’d like.
Home Assistant is free and open-source, and I understand from his comment above that their founder generously donated the project to a non-profit foundation to sustain it that way for the future.
Which is awfully reassuring with respect to the rent-seeking incentives you’re worried about.
stavros
You don't have to use WiFi, this whole argument is just invalid. Use Zigbee instead.
magicalhippo
Only my "smart" water heater communicates over wifi. The rest use Z-wave or Zigbee. I know at least Z-wave has from the start had the ability for devices to be programmed to operate without the controller.
So if the controller falls out or you don't have one you can still have your buttons toggle lights etc. Controller or no controller, in either case it works just fine without wifi.
XorNot
Who is "just" changing their Wifi SSIDs?
Like my parents wifi SSID was set when I was in high school and 20 years later it's the same.
But if it did change, all the devices just setup a temporary AP and wait to be told the new one and the password (the temporary AP is also password protected).
Hikikomori
There are WiFi alternatives.
Calwestjobs
when you last complained about Torvalds rent seeking lol.
Havoc
The real magic is in my opinion in ESPHome. The fact that you can amateur solder some aliexpress $2 sensors together and have that actually work in HA with no coding except some yaml that you found on the internet is wild.
>It would be interesting to see what would happen to a pull request adding support for, say, OpenThings Cloud as an alternative. The fate of that request would say a lot about how open the project really is.
I kinda hope nobody tries. Their attempts at monetization have been pretty friendly and tame thus far & if something spooks them that could change.
bjackman
Yeah ESPHome is magic. I set up a full home humidity monitoring setup for the cost of a soldering setup + approximately $0 on components. No subscription bullshit, no proprietary interface bullshit, just exactly the setup I want and it was fun and easy to build!
Havoc
Bit of a late reply but check out sensor HLK-LD2402 if you haven't.
Think presence detection except the range actually works. Reliable and fast between 30cm and couple meters
eternityforest
ESPHome is really cool, but it's still missing power management last I checked, which is the main reason I don't use it these days.
I'm not sure why enabling automatic light sleep isn't like, priority #1 for Arduino, but I guess there's some subtle issues where it might break certain sketches or something.
05
Because realistically none of the hardware used even supports deep sleep correctly and will drain the battery using their high quiescent current LDO regs, pull-ups, LEDs and vBat dividers. Also latency and energy cost of getting back on the network, waiting for hass server to connect (in esphome protocol devices are servers, not clients) and going back to sleep is only going to work for some weird edge scenarios where you don't care about latency or polling rate.
Jgrubb
Same. I had a couple extra ESP boards from an order where I only needed one, an extra breadboard and humidity/temp sensor and decided to finally measure the temp out in the greenhouse. It's amazing to have all that in a grafana dash running on a r pi.
anon22981
Do you (or anyone!) know a good tutorial / series / blog how to get started with home automation?
oakesm9
> I kinda hope nobody tries. Their attempts at monetization have been pretty friendly and tame thus far & if something spooks them that could change.
To be fair to them they've been making a big push on adding backup support recently. Their Nabu Casa subscription has built in support for this and was a major selling point for me getting the subscription (I have Wireguard for remote access already).
At the same time they implemented first class support for their own subscription, they added the hooks for other integrations to provide the same level of backup support. Now you can easily choose to use Google Drive, S3, BackBlaze and others just as easily as Nabu Casa. In some ways it's "better" as Nabu Casa only supports a single latest backup.
From this they seem pretty friendly and not too interested in lock-in.
mook
Unfortunately their new backup support forces encryption; that makes sense for cloud-based backups but not for local (NAS etc.) ones. Requests for that just get replies to do it with manual backups the old way.
badlibrarian
Unencrypted backups is an option.
tw04
Why is that unfortunate? Encrypting backups is just a good best practice in general.
zimpenfish
The ESPHome Bluetooth Proxy is amazing - no faffing with Bluetooth on Linux (which remains a shambles) needed!
Tigress8780
Even though ESPHome has warnings about using WiFi and Bluetooth proxy together being unstable, I've found it to be much better in terms of stability and performance than the Intel Bluetooth adapter connected to my Home Assistant system. BlueZ is probably more complex and less mature.
XorNot
ESPhome runs my whole house now basically.
It's the HA system I've always wanted and the only way I would ever do it: everything just speaks regular IP, has a web interface, and lives on an isolated Wi-Fi network.
ldng
Well clearly he did not look under the hood ... I did. A few technical decisions are ... questionable. But it's prohibited to ask why in the forum. HA could do well in cleaning up its community that can be particularly toxic, especially toward advanced user and start accepting critics. The hostility one face when they don't want to follow the "dumb down version, do as we say" installation process is really off-putting.
dfc
Its not prohibited here. What technical decisions are questionable?
traverseda
Home assistant supervisor is not very friendly. It's designed so that it must be kept up to date, and handles it's own auto-update features. It also won't run nicely in a docker container with some significant hacks. This means that the only deployment option if you want a complete home assistant install is to use their "Home Assistant OS" or specific debian versions.
Generally it feels like they're making deploying it as hard as possible, doing stuff like checking if supervisor is running in a docker container and just not working if it is.
This is presumably born out of frustrations with users deploying it incorrectly, but there really is no reason a supervisor based HA install can't run in a docker container. I've got a some private hacks doing just that, that I'm hesitant to post publicly in case they find some way to break it.
No idea what the obsession is with keeping a full home assistant install from running in a container, but it's very strange. Trying to add more friction so they can sell more of their dedicated hardware? Their hardware is nice and stands on it's own, the only reason I don't use it is because I want to run on an old touch screen chromebook for very low power usage.
ChainOfFools
I wanted to hate this aspect of it, but since I like Debian and and use it as my daily driver on a lot of systems anyway, I just couldn't work up enough ire to complain.
jillyboel3
I've been running home assistant in docker for years. Just the `homeassistant/home-assistant` image. Don't need anything more. Best I can tell is that the supervisor is for people who just wanted a managed home assistant in a box setup at which point it's fair for the software to take over the system.
watusername
As one example, they (core contributors and founder) were, and still are, very heavy-handed regarding how you are allowed to install their software: https://news.ycombinator.com/item?id=27505277
DaSHacka
Wow, how pathetically obnoxious.
I was going to purchase a Home Assistant Yellow for my homelab, glad to know I need to minimize my interaction with the project before I pulled the trigger.
Will be sure to inform others using the project about this too, they deserve to know its a risk to rely on a project with such hostile core contributors.
Truly "Open Source" in name only (OSINO?)
billfor
Yes it's prohibited I posted a few corrections (one positive , one negative) to his technical review, and it got downvoted, as will this probably....
jolmg
I wouldn't consider downvotes to mean something is prohibited. I did in the past because that's what I limited myself to downvoting, but people just downvote what they don't like for whatever reason. All you can do is to not let it get to you.
Bjartr
"prohihited" implies an official rule enforced by the community organizers. Downvotes are an expression of opinion by community members.
apexalpha
I have HA running for years (in Docker) and it’s very reliable.
It has integrations with allmost all devices or apps I use and the support for DSMR (Smart Electrical Meters) is first class
I plugged a cable into my meter, the usb end into the server and it just works.
It does have a steep learning curve, though. It really seems “by IT people for IT people”
tails4e
I have it in docker a d use supervised mode (which seems discouraged, but I want my machine for other uses also). The one thing I struggle with is updating, I'm concerned if I update it'll break. Is there a way to fully snapshot a container state and it's disk state, so I can 100% restore to it if something goes wrong ? I'm still running HA from 2020 because of this.
The other think I'm not a huge fan of is it's template language, it's clunky to say the least, but overall it's a great amd flexible system
baq
I’m running it with docker compose for the same reason and it never failed an update, but there was an occasional config tweak required. For the most part it’s compose pull, compose up, check back in a couple weeks for the point release.
Updating from that far is probably risky but you don’t need to backup everything, just the config directory. Automated backups to Google drive are worth the upgrade alone.
acidburnNSA
In the last few releases they've polished the built in backup and restore features, which are available in the setting menu now.
apexalpha
I just backup the folder (volume) and that’s it.
If I should ever need to rollback I can change the Docker image tag from ‘latest’ to a specific one I guess.
I’ve never had to do it but I do know people sometimes complain about updates breaking things.
mmmpetrichor
All the persistent storage is in the host directory path you map into the container. Just backup the directory you're mapping into the container. Don't try to save the container state.
ImPostingOnHN
> Is there a way to fully snapshot a container state and it's disk state
`docker commit` should help you there, in making a copy of the container
Calwestjobs
some filesystems support snapshots for directories. your software does not have to have "compatibility" for it, it just works.
with BTRFS you can even mount/work with multiple snapshots of same directory at once. it is great for debugging.
deduplication will save you space.
Hikikomori
Could run it in a VM instead.
0ld
It used to have a steep learning curve, I’d say. Once I’ve had a long complicated manually written configuration of all my devices, integrations, automations etc, which gradually got replaced by simple clicking in the gui. On the other hand, this also meant a lot of breaking changes over the years, when I had to re-configure my staff the new way
greatgib
Something that annoys me a lot with recent versions of HA is that it does not play well anymore with yaml file configs. Your are mostly forced to configure things through the interface, that is ok but might be annoying and painful to do when you have a few devices with a little bit more complicated setup.
For example, I wanted to replace a light bulb by another one that has a different Mac address to replace another one exactly. Before it was as simple as changing the Mac in the config file. No it is more complicated.
Also it was very easy to review and backup the config files. Now it is less obvious.
dengolius
My friend uses self-hosted open-source software to monitor all his home IoT devices[1] and copies important information to the cloud. I'm using StarFive VisionFive 2 to host my database for monitoring, but also have a copy of the data of a chip hetzner arm vps, as well as hosting backups on the two different clouds. I know users who are running[2] for years to monitor Solar panels, lawn watering and vegetable garden watering.
My question is: is it really convenient to use only SaaS now if there is always the possibility of losing your data? I am referring to the case described in the article.
[1]: https://vrutkovs.eu/posts/home-infra/ [2]: https://github.com/VictoriaMetrics-Community/homeassistant-a...
PS: I'm working at VictoriaMetrics company
CoolCold
in recent podcast episode with the found of your company ( https://www.youtube.com/watch?v=8xkCykuJwKs , От стартапа до международного бизнеса: история VictoriaMetrics и её уроки | Александр Валялкин | #36) he explicitly described the path VictoriaMetrics has come and one of the early steps was trying to sell SaaS, while quite a lot of users/customers want to have on premise/own setup for such tooling.
So, answering your question: > My question is: is it really convenient to use only SaaS now
no, it's not
hardwaresofton
At some point a company is going to start making hackable, local connection devices (cloud optional) with published APIs and sell them at a higher price tag, and they’re going to be fabulously wealthy, commanding higher margins than the others.
At least, that’s what I like to tell myself.
Aurornis
> hackable, local connection devices (cloud optional) with published APIs and sell them at a higher price
This business model doesn’t work.
Many have had this idea. They all run into the same problem: The target audience for hackable home automation devices doesn’t like paying a premium for anything they think they could DIY.
If you have a $70 nicely designed, documented IoT sensor but the DIY home automation people think they can put ESPHome on a $10 Amazon device and accomplish nearly the same thing, which one do are they going to buy?
If you go through the forums you can already find some semi-premium devices that are a little better constructed and might have better feature sets. They’re always followed by comments from people recommending a cheaper option.
hardwaresofton
> If you have a $70 nicely designed, documented IoT sensor but the DIY home automation people think they can put ESPHome on a $10 Amazon device and accomplish nearly the same thing, which one do are they going to buy?
I agree with you that targeting devs/people with an under-developed sense of buy/build doesn't work!
I'm hoping that the devs with money/slightly more accomplished who don't have time to mess with stuff would pick it up.
A bit of a jump but I think this was one of the big strategic mistakes of products like FirefoxOS -- aiming for the dev with money who can afford a $600 I-support-foss-and-mozilla signaling device that also happens to be a phone they can hack on may have worked better than targeting $60 feature phones.
> If you go through the forums you can already find some semi-premium devices that are a little better constructed and might have better feature sets. They’re always followed by comments from people recommending a cheaper option.
I think that's OK! It's similar to HN dropbox effect. IMO you actually want those people to find the cheaper option, those are bad customers for a premium brand.
The product has to actually be noticably better/more consistent/etc than the cheaper option though. And IMO there is a large subset of nerds that don't actually want to write 5 files and flash an OS to do smart home stuff -- they want to play at the application layer.
A good counter example might be the NAS industry.
This is all theoretical of course, so... We're just armchairing at this point.
umbra07
Isn't that kind of what GL.inet does? They seem pretty successful.
baby_souffle
The number of companies that does this _is_ growing.
Shelly was early, the cheep chineese stuff was easy to hack but they eventually moved to cheaper and more esoteric chips where custom firmware is non existent or not as mature. This is changing back, though! The number of ESP-32 powered LED light controllers that I've seen on Ali that feature a USB port for reprogramming / have all the GPIO labeled ... even have a HA/ESP-Home/WLED logo on them is infinitely more than I saw in years past (a few is infinitely more than zero, right?)
dns_snek
Buyer beware - There's a mountain of products on the market that are advertised as "open source" which lures many of us in, but many of those products have poor quality hardware.
My heuristic for anything operating at mains voltages is "If I can find a product that looks just like this on Temu/Aliexpress, I'm not buying it". They're probably white label products sourced from the same factories and suffer from the same quality issues.
Relays found in smart plugs are often sketchy in my experience. About half of the ones I bought or set up for others make unsettling noises that made me worried about poor electrical connections and risk of fire. I only have two Shelly plugs but those don't suffer from these issues.
viraptor
Tuya and their rebranded versions fall into that area too. Their power switches die early and they actually went from easily reprogrammable to hostile firmware. They have own cloud service you can't leave, only get an access code to - and the firmware prevents downgrades. Terrible company.
MostlyStable
I've been trying to find high quality, open/local controllable LED lights that have beefy enough electronics and heat control to not die in in a couple of years. Unfortunately, quality of construction is even more poorly tested/documented than open source/local control.
And even more unfortunately, price itself is not a very reliable indicator. Low price is usually a sign of poor quality, but high price is not a sign of high quality, but rather more often just an attempt to take advantage of people who don't know better.
baby_souffle
> but many of those products have poor quality hardware.
Absolutely. Cheap hardware means corners cut... regardless of how open the software is.
Shelly devices are quite open and well made but easily 2x the cost of other wifi relay devices. Belkin WeMo devices are similar price to shelly and about as well made but their software leaves literally everything to be desired.
Knowing what risk is acceptable and how to identify if a particular component is built to a spec that obviates that risk or not is probably going to _always_ be part of the DIY scene.
balloob
There is Zigbee, Z-Wave and Matter. These are all smart home standards that are fully local and devices will be able to be set up and used even when the company goes out of business. You are however limited to the things that are standardized.
If you want to go a step further, look for devices made for ESPHome or devices made by Shelly. Both have local APIs and are very hackable.
(disclosure: I am the president of the Open Home Foundation and ESPHome is one of our projects and I am also a board member of the Z-Wave alliance)
hardwaresofton
> There is Zigbee, Z-Wave and Matter.
I am not a practitioner, but instead someone that looks at the ecosystem from time to time and has been waiting for a while, because I dont see the stack + DX/UX that I want yet.
Zigbee never reached critical mass and requires a hub. Z-wave seems to be the same. Thread over wifi (IIRC different protocols/transports are just fine) is what I think will be the future.
IMO Thread wins out, support gets put into routers, and I can just have a thread enabled router which MAY have other
I don’t want to buy an IoT hub. Many IoT devices I want to control are powerful enough to run Wifi, and I want to control them with a standard networking stack with high adoption and familiar tooling. Thread seems to fit this use case the best.
Please feel free to rip apart the above opinions, they’re loosely held. I’d love to learn how wrong I am today!
> If you want to go a step further, look for devices made for ESPHome or devices made by Shelly. Both have local APIs and are very hackable.
Thanks for the recommendation! Appreciate the disclosure and apologize for the blast of relatively uninformed opinions.
One more side question — why is it so hard to get a simple IoT button that runs local Wifi (really hoping for no base station) only and is battery chargable?
Buildable with an ESP32 clearly but I just want to buy this.
balloob
Maybe not exactly what you are looking for, but check out the Shelly BLU Button1. It's a BLE button with a long battery life.
It sends out BLE packets when pressed, which can be picked up by Home Assistant via a Bluetooth adapter or using a Bluetooth Proxy. You can make the latter with any ESP32 and https://esphome.io/projects/?type=bluetooth
raffraffraff
Does the hub requirement matter that much though? I mean if you want truly peer to peer, then yeah, but if you're already using Home Assistant you can plug a cheap ZigBee usb dongle into that.
So the bit I'm missing: how do you control them purely over WiFi? Do you run software on your phone that can control the target? Eg: app talks directly to the device over your network, instead of via a browser + Home Assistant running on a Pi. I can't think of any examples of a product that works this way without being cloud enabled (IE: there is a hub but you don't own it)
cyberax
ZWave is the most stable radio-based standard right now. It's not great, and it's not very extensible, but it's OK-ish. There's one hackable device: https://z-uno.z-wave.me/technical/ but its SDK is not that great.
Pure ZigBee is... spotty because there are no certification requirements. Matter is stuck in development hell, but is slowly getting better.
And the problem with WiFi is energy efficiency (or a lack thereof) compared to ZWave/ZigBee/Thread.
So far, I've tried probably most of the home radio standards. Lutron was the most reliable, but it's also super-proprietary. My next house will just have conduits with low-voltage cables running to all the light switches, so I can use something like KNX instead of the radio-based stuff.
Asmod4n
thread and matter will, in my opinion, never matter for consumers. Why? It’s basically a walled garden.
Think HomeKit but a tiny bit more open, the open bit is, that a vendor can allow it to communicate with devices of other vendors. But they don’t have to.
Thread also needs more expensive SOCs, with Zigbee you only need a tiny micro controller with a few MHz of clock speed and a few KB of RAM. Thread and matter on the other hand can require megabytes of RAM.
Vendors which nowadays sell HomeKit devices can reuse their SOCs for thread matter, keeping their 3-4 times higher prices compared to devices with the same functionality from Zigbee vendors.
viraptor
> I don’t want to buy an IoT hub.
Different expectations. I don't want my things to know that wifi exists. It stops vendor lock-in, it ensures local communication, it means things work even if network goes down. It also makes sure they will never autoupdate or join Mirai botnet.
I've got a mix of zwave (fibaro), ZigBee (Ikea) and ble at home and I'm ok with that.
Aurornis
> I don’t want to buy an IoT hub. Many IoT devices I want to control are powerful enough to run Wifi,
Having a lot of career experience in this area, I greatly prefer to keep my IoT devices off of my WiFi.
You don’t need a separate hub device for Zigbee or Z-Wave, just a simple USB adapter that you plug directly into your device controlling everything.
Keeping the low bandwidth IoT devices off of the main WiFi had a lot of advantages. It’s also much easier to rotate your WiFi password when you can do it all without reconnecting every light switch in your house, for example.
cbull
The "Hub" device can be as simple as a USB stick that's attached to the machine running Home Assistant. That's what I have been running for years, a Z-Wave USB stick that passes through to a ZwaveJS docker container (which also communicates with HA).
So it's not like you need a big stand alone device that has to have it's own Wifi or ethernet or anything like that, it's just a USB stick.
baq
> why is it so hard to get a simple IoT button that runs local Wifi (really hoping for no base station) only and is battery chargable?
Battery life is atrocious and latency from deep sleep will be very bad. I’ve got Zigbee buttons from ikea that run on nimh batteries for a couple years now and only used like half of the charge. The hub is an usb dongle attached to the home assistant server, no issues.
rstuart4133
The article does mention https://refoss.net/, quote:
There is a crucial difference here, though: the Home-Assistant integration for Refoss devices, which interfaces directly with the monitor and needs no cloud connectivity, is written and provided by Refoss itself. Home-Assistant compatibility is the first bullet item on the above-linked product page.05
Lots of “smart” products come with BK7231x chips that are flashable to esphome, nobody needs another custom protocol (even if open) since esphome currently supports local encrypted transport that’s going to be better than 99% of what the Chinese (or even western) companies are going to design for local communication.
Oh, and hobbyists mostly aren’t going to pay premium for those either, unless those come preflashed with esphome and sponsor hass project, and even then 90% people are still going to buy the cheapest option on the market:)
russdill
How is that not exactly zigbee and matter?
KillenBoek
Just wondering why anyone would go through the hassle of installing home assistant on Linux when the fantastic hassOS exists which will run perfectly virtualized.
edejong
Because we want to run more than just Home Assistant on the same OS? Because traditionally OS and application layers were separated? Because we trust mature Linux distros more when it comes to LTS and security patches? Because we already know our way around Debian/Ubuntu/Nix/etc.?
theK
Absolutely this. Once you get into the game of running apps at home with certain quality assumptions you end up having to bolt on various things (VPN, DNS, log aggregation etc) that are better wrapped around the application instead of having them run within it. And having an AppOS typically just gets in the way of all that plus what edejong said that you already know how to do it on the typical production OSes and learning to do it for every AppOS is just cumbersome.
SparkyMcUnicorn
Proxmox adds very little overhead. I'm running dozens of things alongside HAOS.
The OS is the path of least resistance and gives you the best experience for low maintenance.
https://community-scripts.github.io/ProxmoxVE/scripts?id=hao...
Denvercoder9
> Proxmox adds very little overhead.
It's still running a second kernel and entire userspace stack. In my world that's not "very little overhead".
chneu
I'm also running dozens of things alongside HA and I don't have to use proxmox.
It's not hard to run HA in unsupported mode. The only real difference is an annoying reminder that you're unsupported. Everything else works, including plugins/add-ons.
I've run HA a bunch of ways. It doesn't really matter all that much. Use HACS to fill any gaps.
ramy_d
Seconded. My home server does many things, one of which is homeassistant.
lhamil64
I used to use Home Assistant via Docker, but I've since switched to Proxmox with HAOS in a VM and a second Debian VM for everything else. My main reason for this is that it seems like the more supported scenario. For example, when the Voice Assistant stuff first came out the setup was only really documented via HAOS add-ons. I managed to get it working with standalone Docker containers but it was a pain to figure out. It really is simpler to just use HAOS IMO.
goodpoint
> we trust mature Linux distros more when it comes to LTS and security patches
This. If I have to trust some huge container or custom OS where is the benefit of open source?
pbasista
> fantastic hassOS
That is a very subjective opinion.
As was already mentioned, people rarely want to run a dedicated physical server for just a single purpose. The concept of Home Assistant Operating System requires exactly that.
Also, it is Debian-based. It uses the `apt` package manager which is slow. Some people may prefer something faster and more modern, like `pacman` or `dnf`.
> run perfectly virtualized
Fair enough.
But that obviously requires virtualization being set up on the server. If people do not use virtualization for anything else on their server, they may as well set up Home Assistant directly.
Finally, I think there is one more issue.
Many of the integrations which are possible with Home Assistant Operating System require physical hardware being connected to that server. A reader, a receiver, something like that.
But these home servers are often placed in some inaccessible locations, like an attic, where the data from sensors is unavailable. It may be impractical to run cables there. And the wireless devices may be too far away for a receiver located there to be able to read them.
So people need to come up with work-arounds to get their data to their server. They set up various signal proxies and thin clients which receive the data from the sensors on the spot where they are available and then send them over network to the Home Assistant server.
Unfortunately, from my experience, many integrations completely ignore this usecase. They are likely focusing on a happy path where everything is connected locally to "the one" server. And only then they behave nicely and work out of the box. But as soon as you need any special step or behavior, it is necessary to dig deeper and create custom layers to transport the data from your devices to the server.
Home Assistant Operating System does not make any of that simpler. Perhaps on the contrary, it forces you to use a specific Debian-based distribution with possibly outdated packages that you cannot easily upgrade without breaking Home Assistant.
Which is why it makes little sense to bother with it, in my opinion, for these kind of installations.
cyberpunk
> Also, it is Debian-based. It uses the `apt` package manager which is slow. Some people may prefer something faster and more modern, like `pacman` or `dnf`.
Do people really care if it takes 5 seconds to parse a package index vs 1? I don't get this argument at all.
cassianoleal
I wholeheartedly agree with you. This is one of the most bizarre arguments against it that I've ever come across.
And that's even before you realise it's based on fiction:
> Home Assistant Operating System is not based on a regular Linux distribution like Ubuntu.
https://github.com/home-assistant/operating-system
There is no apt or any other package manager on HAOS.
j1elo
A couple weeks ago I powered a laptop that had been sitting unused for several months. It had Ubuntu 22.04 installed. The initial `apt-get update` took some time to download new indexes, and almost 3 minutes to process them all afterwards, while I was right there staring at the screen wondering why I was there staring at the screen for so long, because this experience always happens as soon as any of my machines stay off for more than a couple weeks. apt is indeed very slow.
WhyNotHugo
I just installed python3 on Debian and Alpine. It takes 16s vs 4s (I ran the test three times, and kept the fastest measurement for Debian and the slowest measurement for Alpine).
Sure a one-time wait of 12s doesn't change my life. But I won't use apt/apk _once_; I'll use it every single time that I install something. It low-key bothers me when my flow is interrupted by having to wait for machines to do their job, increasing that by 300% doesn't help.
This wouldn't be a deciding factor for me. But it doesn't add points for the Debian-based approach.
pbasista
> Do people really care
I suppose it depends. I do care because I typically need to do it regularly. And it is nice to have it done quickly.
darkwater
What about the ones running it in Kubernetes? ^^;;
rurban
I tried to install it on a raspi 4 with touchscreen for my wife. The raspi worked fine with Debian, esp. it's installer asks for the wifi and ssh keys, and therefore you can trivially connect to it.
Not so with the homeassistant installer. No wifi setup, no ssh access at all. You really need to cable it, nmap the new IP, and then I got stuck because the web server doesn't show up. Attaching the keyboard brought me into a restricted ha> prompt, where I cannot fix anything.
So far it's horrible
SparkyMcUnicorn
I did this a few months ago for a test home assistant setup and had the opposite experience. I forget exactly what I did, but it involved editing a file with the wifi settings and dropping my public ssh key on the SD card before installation.
If you use ethernet, no editing required. Web interface goes into setup mode automatically.
Worth noting that ha cli[0] (ha>) does have a `network` command to configure this as well.
archi42
Mind that you should not use a Pi with SD card for HA. I'm not sure what the official stance is, but: In my peer group failing SD cards were responsible for a vast majority of issues. Causes are probably a mixture of heavy logging and power outages; either from the grid, or user error not shutting down the Pi before disconnecting power.
At our house I run HAOS in a VM (on a beefy server). My wife uses the app on her phone (as do I), and we have a cheap tablet with the app for guests. On the laptops/desktops we also have access to the web UI.
As the article points out, remote access for the phones can be done via the commercial offering or a VPN (as in our case: wireguard on the OpnSense).
xnzakg
Completely anecdotal experience but I've been running HA on a Pi from SD for quite a few years now with no issues.
baq
Wholly depends on how much stuff you’ve got. I’ve started having issues with the Linux io scheduler when the auto backups got large (1G+), the thing just hung and needed a power cycle.
raffraffraff
Anecdotal agree, but I only use it for my lights (about 20 smart bulbs + 5 sensors + 4 remotes) and I never tinker with it. At least 4 years later, that little Raspberry Pi 3 + ZigBee dongle + sdcard are kinda forgotten about.
Aurornis
Much respect to Home Assistant for making everything as accessible as it is, but it’s inherently a complex project. It also has to deal with trying to be everything to everyone, which makes it hard to identify the easy path through setting it up among all of the options.
There are two ways to get through Home Assistant:
1. Identify the easy path instructions, get equipment that matches perfectly, and follow the instructions to the letter. Use only equipment known to have great integration. Upgrade only when necessary. Change nothing as soon as it’s all working.
2. Be willing to spend a lot of time tinkering and debugging. There’s a big Home Assistant channel in one of the big Slacks I’m in where everyone eventually hits something that takes days or weeks to figure out.
Many companies have tried to package or use Home Assistant as the foundation for plug and play IoT hubs, but they all seem to end up with the same realization that it really needs a capable and willing human in the loop as soon as you deviate even slightly from the list of devices with excellent support. This isn’t even entirely Home Assistant’s fault: Most of these devices were never designed for third party control.
madaxe_again
I’d suggest that you use a docker instance. The setup is trivial.
Not having HAAS has made little difference to me being able to do all sorts of stuff - and HACS gives you access to a whole bunch of additional stuff, and works in docker.
shermantanktop
+1. I know the parent reads like “do it my way” but ha in docker really is simpler.
cyphax
If you type "login" at the ha> prompt, you'll get a root shell.
This is something I also had to accept about HA. It runs in a VM in my case so it worked out-of-the-box, but you don't just ssh to it after installing it, and the ha> prompt is just a bit different. So far, it hasn't been in the way, although it occasionally takes time to find out how to do things.
It's very flexible though, and apart from devices in your house there are many outside sources of data to use, like weather data, sun elevation or trash pickup dates. The HA app on your phone gives you many sensors usable in a flow. The time spent on it usually results in something worthy of that time, in my experience.
stereo
You don’t need to nmap; instead head to http://homeassistant.local:8123
bluGill
I got frusterated with HA's attempts to make is hard to run outside of their distro and installed openHAB. I find that works good enough for me.
liotier
Funnily, I had the opposite journey: I got plainly frustrated with everything OpenHab and was delighted with the versatile integrations and ease of setup with Home Assistant...
bluGill
If you use openhab as they want it is easier. However if you don't want it it on a dedicated computer it becomes much harder.
MaximilianEmel
I assume you meant to write "Home Assistant".
readthenotes1
The data ownership reminds me a bit of an early business ummm transaction if Dr Phil:
1. Sell the gullible public long-term memberships to a gym, with long-term subscriptions.
2. Sell the subscriptions to a 3rd party.
3. Close gym. Subscription contract still valid.
https://www.celebitchy.com/8971/dr_phil_ran_a_health_club_sc...
riddley
It's very easy to be cynical. Home Assistant belongs to a non profit. While that in and of itself isn't bullet proof, it does go a long way.
Please note this is a two-part series. The second part can be read here:
https://lwn.net/SubscriberLink/1017945/93d12d28178b372e/
Someone posted that URL as a separate submission shortly after this was submitted, but rather than splitting the discussion, we've merged the comments here so it can all be discussed as one topic.