News for hackers. Stuff that matters.
Re:A Linux kernel developer plays with Home Assistant: gener... by Havoc on Saturday May 17, 2025 @05:51AM (#44013217)
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.

Re:A Linux kernel developer plays with Home Assistant: gener... by oakesm9 on Saturday May 17, 2025 @06:41AM (#44013353)
> 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.

Re:A Linux kernel developer plays with Home Assistant: gener... by mook on Saturday May 17, 2025 @04:19PM (#44016716)
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.
Re:A Linux kernel developer plays with Home Assistant: gener... by tw04 on Saturday May 17, 2025 @04:40PM (#44016845)
Why is that unfortunate? Encrypting backups is just a good best practice in general.
Re:A Linux kernel developer plays with Home Assistant: gener... by mook on Saturday May 17, 2025 @06:25PM (#44017488)
Because that means I need to manage the encryption key (which is a file, not a password). It makes it harder to do restores because I need to dig out the key.

I don't have anything I care about in the Home Assistant install to need encryption; if you have access to that you are already in the network, same as the actual running device.

Re:A Linux kernel developer plays with Home Assistant: gener... by farawayea on Sunday May 18, 2025 @04:52PM (#44024238)
It is unfortunate if you want to deduplicate and encrypt in the target backup.
Re:A Linux kernel developer plays with Home Assistant: gener... by badlibrarian on Saturday May 17, 2025 @06:10PM (#44017393)
Unencrypted backups is an option.
Re:A Linux kernel developer plays with Home Assistant: gener... by bjackman on Saturday May 17, 2025 @06:54AM (#44013394)
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!
Re:A Linux kernel developer plays with Home Assistant: gener... by Jgrubb on Saturday May 17, 2025 @11:00AM (#44014821)
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.
Re:A Linux kernel developer plays with Home Assistant: gener... by anon22981 on Saturday May 17, 2025 @01:40PM (#44015791)
Do you (or anyone!) know a good tutorial / series / blog how to get started with home automation?
Re:A Linux kernel developer plays with Home Assistant: gener... by stavros on Saturday May 17, 2025 @03:38PM (#44016453)
I'd say install home assistant, and get a device that runs ESPhome, so you can tweak it. Unfortunately I don't really have anything more specific than that, but I agree that ESPhome is great. You solder some stuff, define the pins in the config, and everything works.
Re:A Linux kernel developer plays with Home Assistant: gener... by eternityforest on Sunday May 18, 2025 @04:22AM (#44019840)
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.

Re:A Linux kernel developer plays with Home Assistant: gener... by 05 on Sunday May 18, 2025 @12:09PM (#44022357)
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.
Re:A Linux kernel developer plays with Home Assistant: gener... by eternityforest on Sunday May 18, 2025 @02:19PM (#44023306)
Automatic light sleep maintains a WiFi connection with only 1 or 2 milliamps, I'm using the exact same ESP as server model but with Websockets, and it all just works.

There's even some PRs for automatic light sleep I think in ESPHome, but they're not merged yet.

Re:A Linux kernel developer plays with Home Assistant: gener... by Havoc on Sunday May 25, 2025 @05:59PM (#44091584)
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

Re:A Linux kernel developer plays with Home Assistant: gener... by zimpenfish on Saturday May 17, 2025 @08:58AM (#44013981)
The ESPHome Bluetooth Proxy is amazing - no faffing with Bluetooth on Linux (which remains a shambles) needed!
Re:A Linux kernel developer plays with Home Assistant: gener... by Tigress8780 on Saturday May 17, 2025 @11:05AM (#44014855)
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.
Re:A Linux kernel developer plays with Home Assistant: gener... by XorNot on Saturday May 17, 2025 @01:26PM (#44015731)
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.