Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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”



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


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.


In the last few releases they've polished the built in backup and restore features, which are available in the setting menu now.

https://www.home-assistant.io/integrations/backup/


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.


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.


> 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


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.


Could run it in a VM instead.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: