this post was submitted on 28 Jan 2024
144 points (91.4% liked)
Asklemmy
43940 readers
493 users here now
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
My home automation setup includes:
Texting me and/or my wife whenever the washer or dryer in the basement finishes a load of laundry, but only if we’re home. If neither is home then it waits until one of us is and only texts that person.
Turns on exterior / driveway lights when one of us arrives home after dark.
Turns off exterior / driveway lights when we have both left home.
Sets our Ecobee thermostats to “away” when we have both left home, and to “home” when somebody arrives home.
I also have a “bedtime” button that ensures all lights are off, thermostats are set to their “sleep” profile, and doors are locked.
Those are the nicer things we use pretty much daily. We have others as well.
How do you do the "both away or home"?
If they're using Home Assistant then it's pretty straightforward. You can either have the devices report back their location and update based on a Geofence or you can check and see if everyone's on the wifi or not
Since we're an iPhone family I use iCloud3 in HomeAssistant to track our devices. After setting that up and associating the phones with people in HA it was just a matter of creating triggers based on us entering the home zone:
We live at the end of a dead-end, so I set up the home zone to extend down the road a bit. That gives iCloud3 enough time to figure out we're home and trigger the automation in HA while we're still approaching. I combine the above with a check to see if it's roughly sunset to sunrise, and if it is then turn on the outdoor lights.
For doing things like turning off the lights when nobody is home, I have a similar trigger for everybody leaving the home zone, followed by a conditional that verifies everybody is away:
I am starting with home automation and I am always fascinated by some of the idea I read on the Internet. Did you come up with this yourself or is there a list of conditions and triggers with devices somewhere I can use with Home Assistant?
I came up with these myself over time, they started 10+ years ago using a Mac platform called Indigo, but since moving into our new house a year ago I've switched over to Home Assistant as well. I have a background that includes 10 years of software development & another 15 of IT, so these sorts of things come fairly easily to me when I think about it a bit.
My wife and I use iPhones and I found iCloud3, which is a great add-on that tracks locations based on those devices. I started out with the washer/dryer notification with the simple realization that we regularly forgot about laundry in our washer in the basement since we'd forget that we had started a load. So I figured out how to have HA send us alerts when the washer or dryer finished. But I quickly realized that wasn't all that useful if one or both of us was at work, shopping, etc. I then realized I could set up a trigger based on a time schedule that checks if we're home or not, and only sends the alert if we are. So I have a HA automation that is triggered every 10 minutes by a timer, but the timer is disabled by default. That automation uses iCloud3 to check if either of us are home. If we are then the automation calls a script to notify us. If we're not home then the automation resets the timer for 10 minutes. When the washer completes it triggers an automation that just starts that timer running. That gives us a little time to park the car, bring in any groceries, etc. before being reminded that we have laundry waiting.