iot

  • home assistant - foss home automation suite
    • [reddit comment with good examples]
  • rhasspy - foss voice assistant (works with home assistant!)
  • fauxmo - emulated belkin wemo devices that work with the amazon echo

#+beginexample at the time i write this there are three comments asking what ha will do for you.

the short answer is that it will bridge all your technologies together and allow a ridiculous level of automation between them. \"all\" your technologies? well at the time of this writing [only 1524 of them i guess…](https://www.home-assistant.io/integrations)

a few things i have in my home all plugged into ha, not an exhaustive list:

hue lights

google home devices

chromecasts

iris door sensors

a homemade garage door sensor/opener

my wireless router

chinese wifi outlets

ge smart light switches

dark sky weather api

national weather service api

pushbullet

smart doorbell

nest thermostats

all of this crap is from different companies but they all report their statuses to ha and then ha lets me write automations:

front door opened and it's either after sunset or the sky is 90% or more covered with clouds? turn on the foyer light for 2 minutes so my guests can take off their coats and shoes. that's an iris sensor from home depot causing a change to a ge wall switch (only if certain weather related data is true such as cloud coverage and sun elevation!) those devices aren't meant to talk to each other, and certainly not based on weather conditions, but since ha knows what's going on with the iris door sensor and it can talk to the ge light switch and it knows the sun's elevation for my lat/long and it knows the cloud coverage in the sky, all that shit's part of the same ecosystem now and we can make decisions based on all of it. that's the power of home assistant. it's a huge bucket you dump all of your sensors into (door open or closed? light on or off? cloudy or not? daytime or nighttime?) and you wrap rules around them that look for changes in states as the basis to trigger actions. this is powerful.

garage door been open for 60 min? send a notification to my phone and have all google homes say \"the garage door has been open for 60 minutes.\" continue to check and report every 60 minutes it's been open thereafter. edit: a robot voice out of the blue kept startling us. changed to a certain chime sound.

can't hear doorbell in the basement? spam doorbell.mp3 to all google homes when someone rings. might as well send a notification to my phone while i'm at it.

send me weather forecast as phone notification daily at 7a.

send me notifications on nws storm warnings. i don't even have a weather app on my phone anymore which is saying a lot as a nws trained weather spotter (enthusiast).

remotely check ha user interface and see if my wife is home.

someone set the thermostat outside of 65-70? wait 10 seconds for them to walk away and set it right back to 68. dad level 100.

flick a switch called vacation mode on my ha user interface and now all my lights turn on/off according to a schedule i set once three years ago. if i set up presence detection, i won't even have to switch it back off when i return because ha sees \"rufus's phone is on wifi so they've returned from vacation. i'll turn vacation mode off for them\". some people plug google calendar in and let ha mine their calendar to find flight info and they turn on vacation mode automatically.

automate all lights in my home from one utility (since some are hue, some are ge switches, some are chinese outlets). i don't even have these apps on my phone. i want light x to turn on at 7pm. i don't want to think about if it's hue or chinese or ge or what. just turn on light.bedroom and be done with it. beautiful abstraction.

is it after 9pm and the bed room light is on 100% brightness and the bedroom chromecast switches from 'idle' to 'playing'? dim that bedroom light to 20%.

automate lighting for my wife if she comes home after 10pm. the effect is that outdoor lights only turn off at 10pm if she's home. if she's out, they'll stay on until she arrives and then some indoor lights turn on for ten min so she doesn't come home to a dark house. she'll walk to bed never even touching a light switch, they'll shut off behind her.

anytime the garage door opens, a chime plays on google homes because we can't hear the garage door and it's jarring to have someone just walk in.

i could go on. edit: i did go on. more examples.

here's some screenshots of my ui: https://imgur.com/a/mdisrnt that floorplan has actual buttons i can interact with to control lights, thermostats, media players, doors, fans. our cars grey out when one of us is gone–[here's the green car gone](pdtihoq.png). doors turn red when open, [example](rd6qz5u.png). though i find if i'm spending time in my ui it means my automations should be better. as i get better at writing rules so the house works for me i'm spending less and less time in the ui controlling things. #+endexample