I wouldn’t say that I lack patience, or that I get enraged quickly, or that I wouldn’t put sufficient effort into understanding and fixing something, but last week I got to a point where I was ready to pull the plug on my HASS-Pi. (I litterally developed Hass - which, funny enough, is the german word for hate).
My setup is small and after a long debate with myself it became obvious, that even though it’s awesome, the little benefit in comfort that HA gives me peronally can not measure up to the investment - both in money, as well as in time and frustration.
As it is widely recommended for getting into HA, I bought a Pi (3B+). I never had one of those before, but it always intrigued me. From what I read, that thing runs HA without a problem. Well, I now believe that this is only correct with some strong limitations, and I wonder why this isn’t stated more clearly in the “How to get started” section.
After a few weeks of setting everything up, getting all my components running, playing around with all the possibilities and soldering up my own sensors, I was quite pleased with myself. But amid a lot of “man-this-is-aswesome-and-I-did-it-all-by-myself”-moments, there were first signs of instability. Random crashes, unresponsive interfaces, lots of restarts. I spent A LOT of time reading up on what could cause this and what I could do to make the system more stable. Now doing this, you will always encounter the same annoying answers:
- your SD card sucks, get a better one
- your power supply sucks, get a better one
- your sd card probably failed, get a new one
- lighten up your database, keep five days, purge every day
- your power supply still sucks, get an even better one
- your sd card probably failed again, get another one
- lighten up your database some more - keep 1, purge 1
- your life sucks, get another one… oh, and get another sd card
Now this is enraging enough already. What are SD-cards in this setup? Consumables? Is it a money-making scheme as with printer inks?
Now a couple of weeks ago I had enough. The system was running so unstable that I had to reset the PI once a day. The log gave me nothing. I had sunk lots of money in SD cards and power supplies. I had a database that only kept one day. I was ready to throw it all out.
I made one last effort, because I always wanted to look into outsourcing the database and I felt I like i still owed this option. As annoyed as I was at this point, putting it on a USB stick or an SSD attached to the pi seemed like too much of a hassle, but I came across a couple of mentions of hosting it on AWS. Since this is set up in literally minutes, I decided to give it a try. And what do ya know?! From that second on everything was different! The system became super responsive and for a week now I have not had any crashes. Unbelievable. (To be clear, I do not want to advertise AWS. It costs money after the trial period. It was just the quickest solution to try. I will have to look for something else in the long run.)
Long story short:
From my experience Home Assistant will not run great/at all on a Pi with the database on the SD card. This should be mentioned prominently and an alternative should be given.
Newcomers must be made aware that the Pi is not really a great long term solution as is, and that they will probably want to upgrade sooner than later. I have easily spent more than 130$ on the Pi, SD cards and power supplies. Had I known the inadequacy of this beforehand, I would have opted for a more powerful machine to start with.
Home Assistant is pretty great. The comunity is great. My spirits are up and running again - so is the Pi… Keep up the good work everyone!