76 points · by mateusfreira · 4y ago · 85 comments
Something like garage door that opens with a tap on my phone, music that follows me room to room, door camera that can be viewed from TV ("alt-tab" while watching Netflix), lights controlled by voice, smart mirrors.
Can be a blog, a forum, or a book, but it should be holistic—I don't want it to end up like a Goldberg machine.
Just get a Hubitat and be done with it.
I use it since a bit more than an Year, pip-installed and kept updated on my homeserver, for p.v. (Victron + Fronius + Giavazzi + ... all ModBUS/tcp or MQTT), it's config is obscene YAML, but with org-mode (org-babel + noweb) is manageable, logging is obscene but work OOB enough, automation is obscene but work enough, if logic is not much complex it's doable, the WebUI is nice...
I know I can write something myself, Mosquitto is FLOSS, ModBUS FLOSS libs are there for various languages, but that's not so nice for a simple domestic use case like just seeing how a small p.v. plant works, control the VMC/heat pump and hot water...
Just to play with sensors and crappy wireless switches is even LESS motivating...
IME IoT is crap in general, mostly because too many have no use-case for it so it's sold just to play, not to seriously use and profit from it, also because it's mostly designed by electronic engineers not IT techies, and we all know how ee are bad software side, many other reasons but well... HA so far for me was/is the leas worse pre-made/almost ready to deploy stuff I found. Surely I do not care at all at their suggested deploy with docker, HA cloud etc, just plain pip, but nothing have stopped me so far...
It’s having no discipline nor foresight and instead throwing shit against the wall to see what sticks.
Is Hubitat actually better?
I mean for your case, as a dashboard, HA might be better because the Hubitat UI is pretty ugly.
Am I right in concluding this appears to be another closed-source brick which is likely to implode in a few years, as they always do?
You CAN interface with other outside services if that's your jam, but at that point relying on Hubitat continuing to exist is no different than relying on those other services to exist.
At this point I would recommend starting with Home Assistant instead of Homebridge even if you just care about HomeKit support.
225 watts is a bit high for most small servers, but mine seems to be rather high due to the fact that I have about 18 SATA HDDs connected to it for file server capabilities.
A Raspberry Pi 4 consumes around 5 watts running at full bore, 2-3W at idle. Of course, it also couldn't handle what I am doing or I would use it.
In fact, my Home Assistant is running on a small mini-itx Intel celeron box dedicated to that because the PI was a bit too slow for my needs. But I run quite a bit of automation stuff on my Home Assistant instance. It draws around 25 watts at idle.
I have a vm for macos. I have containers for git, dav, nextcloud, etc.
only thing I would love is something like docker to build containers from one dockerfile.
Could be great as a test/dev box though.
EDIT: Just run Portainer in an unprivileged LXC container. That's what I do. Isolation, native performance, plus a point-and click web manager for Docker containers. It's absolutely delightful!
Kubernetes is a scheduler for containerized workloads.
Personally, I am only hosting a few important services locally. These services are one hundred percent automated and can be deployed in minutes. For everything else I pay someone else to host it or I got rid of it entirely.
That does not mean that it isn't a great hobby. I just found myself investing may too much time for a small benefit. Also, I think that I did not learn anything new by preparing the sixth Pi or running some Playbook/Dockerfile/Installer that someone else has written
one solution is to use an OS that isn't constantly writing to the SD card, like openwrt. I have a pi running openwrt and it is rock solid. The filesystem only gets written in very specific cases, for example there are no logs writing to the sd card continuously.
Another solution is to set up an overlay filesystem for raspbian
And you could use a USB drive like a samsung fit instead - that has been very solid for me.
Running HA, Pi-Hole, OpenVPN, solaranzeige.de, piVCCU, piCorePlayer, BirdNET-Pi, OctoPi/Klipper (2x), Pi1541 etc...
No. single. failure. yet.
The corrupted SD card had me baffled for a while as randomly some binaries would get corrupted (like php, which would throw random errors, files of a Grafana install would end up in lost+found) - the cause?
Me, using a spare Apple iPhone charger (1A) to power the Pi - haven't had an adequate power supply around at that time..
As a rule, i use 5V PS with at least 2.5A with the Pis and (almost) never had issues like the Raspys complaining with that rainbow colored box (or "vcgencmd get_throttled")...
So, yes, getting a good power supply (well, one that can supply 2.5A++ - if these are really good (as in "noise free") is another matter, which i've discovered with my BirdNET-Pi now) is key for the longevity of your SD card!
I came here to say the same thing. I'm in the process of migrating to an SSD because I've had two SD failures. I picked up a Samsung 850 250GB for $25 on eBay and need to buy a USB cable for ~$25. So it's a little more expensive than just buying an SD card, but comparable to buying a few SD cards!
Hmm...
Replacing the perils of an SD card with the perils of relying on a USB cable connection ?
Anybody who's been in IT long enough will know inadvertent USB disconnects happen.
I managed to get one from Adafruit last week. They restock ~weekly, typically Wednesdays, and sell out within a few minutes of the notification going out.
It's a much better option if you don't need the GPIOs that the pi offers (I do so I do use one, but with an SSD over USB)
I also have all my Raspberries collecting dust after I swapped the last working one running Kodi with a Asus CN62 Chromebox: the performance difference is huge.
Every now and them, I check their store, just itching to buys stuff and build on top, but no delivery for me.
Any other similarly supported/open alternatives you'd recommend?
I think the nuc-like boxes might be competitive, but I wonder if they aren't inflated too.
* A fair bit more grunty than a Pi
* Fairly power efficient
* x86
* More of a standard computer
You should consider picking up what Servethehome has coined the TinyMiniMicro nodes. They're the kind of computers you typically find strapped to the back of a monitor in a doctors office and usually are fairly power efficient machines. I, for example, have a Lenovo m710q - which has an Intel 6500t (a quad core CPU), 16gb of ram, and a 512GB SSD, which I paid around 200USD for, that is significantly easier to manage than a Pi (since it's 'just' a computer) and sucks back around 10w of power at idle (which is roughly triple a Single Pi 4) - but still in the realm of negligible. It actually replaced a Pi 4 for my self hosted home stuff, and it was a fantastic choice that I do not regret.
Lots of this type of computer are available in all sorts of configurations, and the more 'standard' nature of the machine opens up a lot of possibilities the Pi either makes more difficult, or impossible. For example, my node hosts a bunch of services for me, but it also acts as a Steam In Home Streaming machine that I have connected to my living room television, which allows me to stream games from my desktop to the TV fairly effortlessly.
The only more specific advice I have is to stick to stuff 7th Generation or newer on the Intel side if you plan on a media center use case, since 7th Gen intel stuff is when they introduced x265 hardware accelerated decoding/encoding into the GPU found on those CPUs, which is a great help. I love repurposing EOL hardware for this kind of use case, since it's imo a better solution than buying yet more electronics, and it also saves something from the e-waste trash heap.
You can get notified of when it posts here: https://changelog.com/podcast/489#transcript
- Hydrogen fuel cells are a better technology than batteries - Zigbee is a better wireless protocol than wifi - you dont need a RPi, an ATTiny and some transistors would work fine
sure, but wifi is being improved for tons of use cases and Zigbee only really has the one use case just now, getting started writing code for x86 with a full OS is much simpler than for a microcontroller etc etc
ultimately the network effect / whatever kick in and the popular stuff usually ends up winning IMHO
I've always had it bookmarked, but never had the time to think about it or to do anything more than a random Pi for homebridge for a few Z-wave switches I have.