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

I'm curious about other people's experiences with this stuff, especially if you're someone who likes simple scripting and found Home Assistant to be too clunky.

Basically, I've bought a lot of these little devices, and am much more interested in doing this in a more "Unix Way" way; give me text streams/web APIs and let me figure it out. I think there are things like Huginn and there's a like a Perl one or something?

Frankly, I'd really like to do it in Bash or similar? Anyone gone their own way like this?

(I end up not getting far because the use cases aren't compelling enough for me to put the time in? I don't know.)



I use home assistant to create my list of "entities", then I do all logic/automation in nodered, but this could easily be bash if you really wanted. This allows me to leverage the communities work on integrations for stuff (python libraries interfacing with xyz hardware/api/cloud/local device), and then put all of my automations in one place (nodered for me)

If I add new "stuff" I add it to home assistant, if I want to do things with my "stuff" I do it in nodered.

Also, if the "stuff" I want to add is a little sensor or arduino or esp8266, I can just have it send MQTT messages, and then all of a sudden without touching anything in home assistant, I have access all the way in nodered to use these messages to do anything I want.


I did. I haven't sorted out proper ventilation for my laundry room yet. Using a pi zero with a dht22 to control a dehumidifier via a tradfri power switch when needed was quick, fun, functional, and offline with no vms or GUIs needed.

Logging the data elsewhere to influxdb was a fun little addition for a few pretty graphs.

I'm a fan of nats.io but it isn't necessary. A private network via zerotier makes life easy but is also completely optional.


You can do both! I run HA for the web gui, but I have a few shell scripts for more automated things. Actually, now that I'm looking at them, they call to an HA api to make changes. So you could run HA to provide a web API for things and script around that?




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

Search: