7 ms·
The UniFi Protect integration is awesome. Turn on outdoor lights on motion, disable loud doorbell ding when the dog is sleeping, change privacy zones, send crit
by reid 5y ago
The UniFi Protect integration is awesome. Turn on outdoor lights on motion, disable loud doorbell ding when the dog is sleeping, change privacy zones, send critical notifications to bypass silent mode on iOS devices when a person is detected while away… really amazing stuff.
The HomeKit Controller integration is also neat. All kinds of HomeKit compatible devices can just work with Home Assistant. Honeywell Lyric is the best example: PIR sensors with local push for lighting automation or special alerts when gates open to prevent the dog from escaping the backyard.
Edit: More useful things!
I have my washer and dryer in a garage. Can’t hear the machines inside. The Z-Wave light switches around my house have status LEDs, so one LED is dedicated to the washer and dryer status based on power draw from the outlet. Works really well. The same status LEDs are shared for all light switches around the house, so
it’s a good ambient notification.
The Mac app can provide webcam or mic status as a sensor, which turns on a key light when I join video calls and turns on an LED on the light switch outside my office to signal when I’m on a call.
I also get a push notification on my computer and a LED light on the light switches when the Roomba is full. It fills up a few times during its typical run while I’m working.
I also have the door status (open/closed/locked) from the Lyric as LEDs on the light switches. Very easy to tell if something is unlocked or open at a glance while walking around the house.
- paisawalla 5y agoAmazing write up! Can you provide a link to the switches you use? Also, how does HA know when the dog is asleep?
- function_seven 5y ago> Also, how does HA know when the dog is asleep? I have the same question! Until OP answers, I'm going to guess some accelerometer collar that reports when little motion has occurred in 3 minutes?
- reid 5y agoHaha, just a time based schedule and nothing that fancy. But if anyone out there has made an API client for the Fi collar… let me know!
- reid 5y agoI use the HomeSeer HS-WD200+ which has programmable LEDs over Z-Wave: https://shop.homeseer.com/products/z-wave-dimmer-switch-archive https://shop.homeseer.com/products/z-wave-dimmer-switch-arch... HomeSeer is coming out with a new model soon so that model is discontinued. But the new one looks better since it doesn’t need a neutral wire! My dog has really consistent daytime nap times. So I can disable the doorbell chime during those times to prevent the barking during a delivery. :)
- zrail 5y agoHow do you disable the doorbell chime?
- reid 5y agoI have a UniFi Protect G4 Doorbell, so it’s as easy as calling the service unifiprotect.set_doorbell_chime_duration and setting the duration to 0. I still get phone and other notifications when the button is pushed! Just no indoor bell.
- zrail 5y agoWhoa! That's awesome. I didn't know that that existed.
- matthew-wegner 5y agoBolting on to this comment with some other neat things, as a fellow HASS enthusiast: * Every single light in my house moves from dim/orange -> bright/bluer -> very dim/orange throughout the day (basically like an whole-home f.lux or Night Shift). Sadly still third party, but it's easy to use: Circadian Lighting component will find it * I have "night" modes in all my rooms. This is usually a single bulb in lowest-brightness full red. You can barely see it during the day, but at night it makes bathroom trips a non-blinding affair * I have 6+ speaker zones, on Raspberry Pis mostly. Snapcast runs the audio stream, but turning on/off a room mutes the speakers in it (walking into a room turns on the lights via motion detectors and music continues to follow, which is neat) * I pipe a lot of text-to-speech messages. Some rooms won't play them if the room is off (outer stuff like my garage), but others always do (so I hear them). This is more custom now, and I even duck the playing music stream for the TTS portion. It can take in text, so I do things like have my automation say a bunch of things every morning (my age in days, some web-scraped snippets, etc) * $10 power sensor is enough to know when your washer is finished. Power for awhile -> running state, no power after awhile in running state -> finished. This goes right into the text to speech system * Every room has a 10-button remote (the very, very cheap zap remote kind). Most of the layout is the same--room on, room off, start music (or skip track if playing), stop music, full-bright lights, night lights. This still leaves a few for custom-to-the-room buttons, which I use * Contact sensors on all openings to the house. I let me cats into the backyard during the day. Cat access via any configuration is still open, and sun is below X degrees? Text to speech * Most of my logic is Node-RED (another comment here about that), which gives me a lot of flexibility. I have a global "house" mode, which I can set to guests or party to suppress most of my assumptions that I'm home alone * Example of one of those: My setup knows if I'm using one of my two desk computers. If I am, and house is in "home" (alone) mode, I turn off all the other rooms in the house I could go on--I went pretty deep when I first set up Home Assistant, but that was years ago now. Every now and then I do a major update or add functionality to smooth over something that's been bugging me Once you hit some tipping point of soooo many things available as sensors or services in HASS, adding completely new functionality is a very incremental change
- crooked-v 5y ago> walking into a room turns on the lights via motion detectors Do you know if there's anything good in this space yet for detecting presence (not just entry)? There are some spots in my home where I only want the lights on while I'm there, and I haven't found anything yet that can reliably detect that somebody's actually left a space other than Hiome (https://www.hiome.com https://www.hiome.com), and that doesn't work for something not delineated by a doorway.
- jkestner 5y agoHonest question: do you live with other people? I'd ask matthew-wegner as well but I can infer that he doesn't.
- jon-wood 5y agoReading between the lines here, I guess the real question is “does this stuff work when not everyone is technically inclined”. When I first started working in home automation my boss at the time had a saying “if you have to press a button, it’s not home automation”. That single phrase is the core of making automation work with non-technical users. The house should always do the least surprising thing by default, for example turning on lights when you enter a room, but only if it’s dark. Light switches should turn the lights on and off, rather than disable the light automation (looking at you Hue). If you can configure things to that extent, then yeah, it works beautifully. If everyone has to faff around with a mobile app to be able to see where their aiming on a 4am toilet run it’ll be hated with a passion.
- dagw 5y agoThe huge stumbling block I ran into when I proposed looking into home automation with my wife was that we had very different ideas of what the "right" thing to do in any given situation was. The combination of lights she wants to have on when in a room are very different from the ones I want to have on, for example. So unless there was face recognition so the room knew who was there, it would never automatically do the right thing. Also anything that involved having to use an app to do anything was a very hard No.
- teekert 5y agoHaving 1 button to switch an entire room filled with many light sources between your wife's and your preference is also automation, and exactly at the right level. HA is not going to solve disagreements between people ;). In this case the alternative would be changing many lights manually, right? I mean the face recognition sounds like huge overkill and a pita to get perfect. I have a Hue Tap, which has 4 buttons to program, we set: 1: Normal on, 2: Cosy on, 3: Cooking on (bright in the kitchen) and 4: All off. Near the couch I have an extra Hue switch to dim the couch area even more if desired. That works well for us. Atm this doesn't involve HA but it would if I had any other brands of lights and I would also want other aspects changed (like room temp, i.e. "cosy on" could also raise the thermostat by 1 degree, because it's couch time) with the same Hue Tap buttons. HA is great at having different brands of home automation stuff talk to each other, so you can pick the best of all worlds. I just got a smart thermostat, so my "All-off" Hue Tap button may just as well set the thermostat to "eco", of course only at night because otherwise it may just mean the sun being bright enough was the reason I turned all lights off. Or, maybe when I set my thermostat to "away", HA can signal the rest of the house that the lights and the coffee machine can now be turned off, if any were still left on, I'd do that with a 10 min delay or so because I may still be running around the house to get stuff. HA is perfect for this type of logic. Using a phone for anything is a big No for both of us as well. Home automation for us means having single buttons that do many things at once. We set timers for our garden lighting (dawn=off and sunset=on). And we use some motion sensors. In the bathroom for example, the Hue motion sensor switches the light on, and then HA turns on the fan, through a Sonoff flashed with Tasmota. At night the light also switches on but less bright, everybody loves this automation (more than the previous manual solution), and it's completely in line with Home Assistant's vision for Home Automation: [0]. It's easy to over-do Home Automation, the people you live with are good indicators for when you do so ;) [0]: https://www.home-assistant.io/blog/2016/01/19/perfect-home-automation/ https://www.home-assistant.io/blog/2016/01/19/perfect-home-a...
- throwoutway 5y ago"The Z-Wave light switches around my house have status LEDs, so one LED is dedicated to the washer and dryer status based on power draw from the outlet." Could you elaborate on how this works? Which Z-Wave light switches measure the power draw?
- mleo 5y agoTypically, there is zwave plug measuring the power draw and sending data to hub. Based on the data, an event is triggered to change an LED on a light switch. HomeSeer has zwave switches with LEDs used for dimmer feedback than can be programmed to show a color. I use the LEDs on one switch to match the state of two exterior door locks. Green/unlocked and Red/locked. I use another LED on the switch to match state of the Litter Robot, automatic cat litter box. Blinks red when full and needs to be emptied.
- reid 5y agoYup, exactly this! I send custom documented Z-Wave commands to switch the wall switch dimmers LEDs into “status mode” and can then control each one with a custom color and blink. I just send the same commands to all the dimmers so they all show the same thing.
- matthew-wegner 5y agoNot OP, but I would guess they don't directly. If it's possible to set those status LEDs arbitrarily, you could use another power-sensing outlet's data, so a different device entirely. This is the magic of Home Assistant in general--it's really just a big bag of sensors (temperature/power/times/etc) and a bag of services (turn on, set to X, change color). You can have sensors from anything trigger a service on anything else.