frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

A Linux kernel developer plays with Home Assistant: general impressions

https://lwn.net/SubscriberLink/1017720/7155ecb9602e9ef2/
71•pabs3•5h ago

Comments

NewJazz•3h ago
Is there a way to contribute to LWN without creating an account or having an ongoing thing? Does nobody use crypto?
pabs3•3h ago
Looks like they don't accept donations, sounds like it is much harder to accept them.

https://lwn.net/Articles/828428/ https://lwn.net/Articles/1019619/

shellwizard•32m ago
You can wait for around two weeks for the article to be free to read, if you don't want to subscribe
pabs3•3h ago
Discussion for the other article in the series:

https://news.ycombinator.com/item?id=44011381

KillenBoek•2h ago
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•2h ago
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•1h ago
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.
ramy_d•1h ago
Seconded. My home server does many things, one of which is homeassistant.
SparkyMcUnicorn•1h ago
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...

chneu•31m ago
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.

goodpoint•1h ago
> 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•26m ago
> 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.

rurban•2h ago
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

madaxe_again•2h ago
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•1h ago
+1. I know the parent reads like “do it my way” but ha in docker really is simpler.
SparkyMcUnicorn•2h ago
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.

[0] https://github.com/home-assistant/cli

pmlnr•2h ago
Home Assistant is a toy when it comes to automation reliability. It's a good toy though.

I'll stick to my domoticz for the "if it ain't broken..." approach.

SparkyMcUnicorn•1h ago
If you choose your hardware wisely, it's incredibly reliable. Most of my house is automated and I all I've done with it in the past year is add a few devices.

I will admit that low (or zero) maintenance is easier to accomplish if you know your way around a little bit.

apexalpha•1h ago
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•11m ago
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

Abishek_Muthian•1h ago
For a long time I was running home automation using individual scripts and was happy with it. Then I found myself in a remote place where the ISP gave a shitty modem which hangs when there's no heavy usage ¯\_(ツ)_/¯

I had to automate restarting the modem when the Internet is down by power cycling a smart plug[1], Home Assistant turned out to be extremely useful for that. Official HW integrations and Node-RED was very straightforward to solve my problem. Since then I'm managing and monitoring various hardware devices in my home through HA.

What's interesting is that there are manufacturers who are not only fine with HA but work with developers of HA integrations which enable offline usage of their IoT products even though their official apps are completely enshittified.

Nowadays I checkout HA compatibility before I buy a IoT device.

[1] https://abishekmuthian.com/restart-modem-automatically-when-...

Wow@Home – Network of Amateur Radio Telescopes

https://phl.upr.edu/wow/outreach
103•visviva•6h ago•3 comments

JavaScript's New Superpower: Explicit Resource Management

https://v8.dev/features/explicit-resource-management
32•olalonde•3h ago•5 comments

Getting AI to write good SQL

https://cloud.google.com/blog/products/databases/techniques-for-improving-text-to-sql
305•richards•11h ago•158 comments

XTool – Cross-platform Xcode replacement

https://github.com/xtool-org/xtool
87•TheWiggles•6h ago•25 comments

A Linux kernel developer plays with Home Assistant: general impressions

https://lwn.net/SubscriberLink/1017720/7155ecb9602e9ef2/
71•pabs3•5h ago•21 comments

Japan's IC cards are weird and wonderful

https://aruarian.dance/blog/japan-ic-cards/
36•aecsocket•1d ago•26 comments

Thoughts on thinking

https://dcurt.is/thinking
421•bradgessler•13h ago•278 comments

Show HN: Fahmatrix – A Lightweight, Pandas-Like DataFrame Library for Java

https://github.com/moustafa-nasr/fahmatrix
23•mousomashakel•3h ago•4 comments

A Research Preview of Codex

https://openai.com/index/introducing-codex/
426•meetpateltech•17h ago•345 comments

New high-quality hash measures 71GB/s on M4

https://github.com/Nicoshev/rapidhash
53•nicoshev11•3d ago•22 comments

Rustls Server-Side Performance

https://www.memorysafety.org/blog/rustls-server-perf/
99•jaas•3d ago•24 comments

Show HN: Merliot – plugging physical devices into LLMs

https://github.com/merliot/hub
41•sfeldma•7h ago•10 comments

MIT asks arXiv to withdraw preprint of paper on AI and scientific discovery

https://economics.mit.edu/news/assuring-accurate-research-record
296•carabiner•17h ago•153 comments

MCP: An in-depth introduction

https://www.speakeasy.com/mcp/mcp-tutorial
70•ritzaco•3d ago•24 comments

Show HN: KVSplit – Run 2-3x longer contexts on Apple Silicon

https://github.com/dipampaul17/KVSplit
238•dipampaul17•12h ago•35 comments

ClojureScript 1.12.42

https://clojurescript.org/news/2025-05-16-release
151•Borkdude•12h ago•26 comments

I'm Peter Roberts, immigration attorney, who does work for YC and startups. AMA

209•proberts•17h ago•369 comments

Coding agent in 94 lines of Ruby

https://radanskoric.com/articles/coding-agent-in-ruby
100•radanskoric•2d ago•45 comments

Show HN: Visual flow-based programming for Erlang, inspired by Node-RED

https://github.com/gorenje/erlang-red
220•Towaway69•17h ago•93 comments

X X^t can be faster

https://arxiv.org/abs/2505.09814
175•robinhouston•16h ago•51 comments

Fixrleak: Fixing Java Resource Leaks with GenAI

https://www.uber.com/blog/fixrleak-fixing-java-resource-leaks-with-genai/
3•carimura•3d ago•0 comments

A Linux kernel developer plays with Home Assistant: case studies

https://lwn.net/SubscriberLink/1017945/93d12d28178b372e/
47•pabs3•6h ago•27 comments

Hunting extreme microbes that redefine the limits of life

https://www.nature.com/articles/d41586-025-01464-7
13•gnabgib•2d ago•1 comments

The Joys of Discovering the Roman Underground

https://www.smithsonianmag.com/travel/the-joys-of-discovering-the-roman-underground-from-the-colosseum-to-whats-beneath-the-trevi-foundation-180986626/
15•ulrischa•1d ago•4 comments

WebGL Gray-Scott Explorer (2012)

http://www.mrob.com/pub/comp/xmorphia/ogl/index.html
23•joebig•7h ago•2 comments

The first year of free-threaded Python

https://labs.quansight.org/blog/free-threaded-one-year-recap
264•rbanffy•22h ago•259 comments

Java at 30: Interview with James Gosling

https://thenewstack.io/java-at-30-the-genius-behind-the-code-that-changed-tech/
195•chhum•19h ago•285 comments

Behind Silicon Valley and the GOP’s campaign to ban state AI laws

https://www.bloodinthemachine.com/p/de-democratizing-ai
75•spenvo•5h ago•29 comments

What were the MS-DOS programs that the moricons.dll icons were intended for?

https://devblogs.microsoft.com/oldnewthing/20250507-00/?p=111157
289•rbanffy•3d ago•150 comments

The Magic Hours: The Films and Hidden Life of Terrence Malick

https://www.lrb.co.uk/the-paper/v47/n09/david-thomson/cool-tricking
62•mitchbob•14h ago•35 comments