Home Assistant iOS app adds local push notification support
github.com
github.com
I don’t want my home automation connected to the internet at all, but I still want notifications if my kids room temps dropped too low or my garage door opens in the middle of the night.
What I also learned to enjoy about HA is the diversity of the community of users that found success in home automation without completely relying on "cloud" solutions. I think this is the ethos of this project: local control comes first.
Home Assistant has had non-local push for a while now. I use that for door unlock and alarm notifications because I want them when I’m away. It’ll be handy to move less urgent ones to local only though.
Either way, HA lets you use a whole load of random ZWave/ZigBee/whatever thermostats:
https://community.home-assistant.io/t/latest-and-greatest-th...
Look at this list and go into each page to see the “IoT class”.
“Local push” is the best but “Local polling” would satisfy your requirements as well.
Basically pick a subdomain on a domain you own and have that and only that forward to HA. So the only way to connect to the HA instance from the internet is to know the exact subdomain you've picked for it. Set the proxy to not pass any port 443 traffic unless the subdomain matches one that you've set.
What would you suggest? For their target audience (people who are tech savvy, but don't necessarily know anything about Linux or programming) this seems like the ideal way to distribute it.
Their website also has virtual machine images in various formats, and instructions to manually install it.
https://www.home-assistant.io/installation/linux#install-hom...
So yes, you can "run" the stock image on k8s, if you abandon most of the advantages of deploying a container in the first place, but if you want to deploy it the way you would normally deploy a container, with the dependencies packaged into the image before it launches and tidily separated config & state, and have it behave predictably in future rather than just like a miniature pet server that needs care & attention, you have a little work to do.
You would think it would be a use case for Automator or Shortcuts but I don’t think it’s possible?
There are various apps that can do this but everyone I’ve found is very enterprise oriented and fairly expensive. I just want to send local network notifications to my phone once in a blue moon… (bonus if it would work while I’m talking a walk outside the range of my network too, but it’s not that important).
Is not enterprisey, the personal version is a one-time purchase.
During first wave of the pandemic the leading online grocery company in my country started slot system which opened at random times and people had to spend sleepless nights trying to see if the slot opens.
I wrote a script to automate[1] this and used Pushover for notification. It was used my many and so I guess they might have gained several new customers.
See https://help.ifttt.com/hc/en-us/articles/115010230347-Webhoo...
% long-running-job.sh ; sms "the job is done"
I snagged a zwave dongle to run my lights and it works great.
People run it on everything from Raspberry Pis to Intel NUCs depending on what you wanna do. Some integrations need node, most python, and having a bunch of scheduled scripts firing at once can make the UI a tad slow. If you have a bunch of IoT stuff, I’d probably not throw it on a tiny pi zero for instance.
You can follow these instructions if you’re using an odroid: https://www.home-assistant.io/installation/odroid
a) Asus Chromebox CN60. Under $50 used. You have to open it up to put it in dev mode, then go to https://mrchromebox.tech/ to get a BIOS that can boot Linux. Uses removable DIMMS and M.2 SATA so it's easy to upgrade if needed. Includes WiFi.
b) Older Lenovo Tiny models, like the M72, M83, M93P, etc. A little larger than the NUC form factor, but not by much. You can find them under $100 with an i3 or i5, 8GB ram, and sometimes an HDD or very small SSD. Most of them also include WiFi.
Has anyone managed to get this working? I run a bunch of homelab services as Docker containers on the always-on, power sipping M1 so getting this set up too would mean I could avoid having to use a separate, dedicated Pi.
The other is bridge (docker net driver one, not linux one) - i.e. it is in it's private, host-only subnet and a reverse proxy running on a host publishes the web app for the users on the main LAN.
Maybe I'll move to something more container driven in the future, but for now it's been working well for me and I really like being able to snapshot the image before upgrading.
The OS is running off a SD card, and despite the horror stories I hear about them wearing out and dying, mine's been running for a couple years now without issue. I've been planning to replace it with a SSD or NVMe drive and USB adapter, but never seem to get around to it.
As for guides, honestly can't remember using any. I just followed the openHAB install guide (I assume HA has something similar) and went from there, DDG'ing and looking on forums for solutions to problems.
everything cleared up after that and no problems since.
I did experience some issues initially, but found it was due to a poor USB "charging" cable, it had 1 Ohm resistance! After swapping that it's been just smooth sailing.
I do take frequent backups to my NAS just in case though.
If you want to buy hardware, get the ODROID N2. It's the closest thing to an officially supported hardware platform in the HA universe. (The ODROID N2 was bundled and sold as "Home Assistant Blue" for a period.)
I don't really see any performance issue with Synology (Avoton with 16 GB RAM), just the `docker-compose up` takes a few seconds. Response time-wise, it is fine. Plus, I'm using the Synology reverse proxy, so that one takes care of a few things too.
Of course, Core-i5/i7 will beat Atom-based NAS; but HA doesn't really need that.
https://community.home-assistant.io/t/google-home-local-home...
It’s kinda cool how it works, as your Google Home Mini will run our JS app and let it interact with Home Assistant. In the case of Home Assistant Cloud, all commands are just forwarded as-is as all processing is always local. You can see the source here https://github.com/NabuCasa/home-assistant-google-assistant-...
Note, syncing local access, exposed devices and any command requiring 2FA still goes via the cloud.
The TL;DR: Authentication for devices and services are via the UI only (to deal with OAuth2, refresh tokens, auto-updating IPs via mDNS). Automations/scripts/scenes are both YAML or UI.
I eventually just stopped updating altogether due to the constant breaking changes, but haven't settled on anything else yet.
GUI's a bit dated, and you kind of have to get used to the philosophy. However, once you get the hang of it, it's reliable, easy, and flexible enough for my needs.
One by one my integration’s have been failing over the last 4 years. I have no idea how my alexa integration worked originally, less idea now. My kids enjoyed “alexa, TV off” while it lasted.
Started by moving all of my automations to node-red.
Most of my z-wave devices I’m interacting with directly over MQTT. After the bumpy switch to z-wavejs everything has been stable.
It's defined, but it's still a total mess as not everything is updated completely to support UI configuration.
I've bitched about HA before and won't rehash all of it. The project requires a lot of time investment and the devs care mainly about playing with the latest tooling. From introducing and sunsetting a major installation method in the span of ~4 years to dropping Python 3.7 despite it not being EOL until 2023, I don't have time or patience to relearn everything with every little release.
Switched to Hubitat earlier this year. The GUI is ugly and there's a small learning curve. However it just works.
Can you expand on your move to Hubitat? How’s the support for non-native integrations?