My solution was just stopping my keys from jingling and poking me while running, I put my keys in a rigid key holder/organizer thing like a Swiss knife for keys
Event-driven access to my home after a run
41–50 of 84 posts
Re: Event-driven access to my home after a run
#42Re: Event-driven access to my home after a run
#43I run 5 days a week. I run with a group ~3 minutes from home, but for years ran from my front door. My phone is too bulky, I have a spare home key. I just… take the key with me. I installed a keypad lock on my last home and that was great but the batteries died once and only had enough juice to lock me out. I really like projects like this but for some reason this one seems silly… hopefully it was at least fun to do
Re: Event-driven access to my home after a run
#44I'm really disappointed by all the comments here. OP showed a clever way he gets his garage door to open when he gets home from a run. It's an interesting look into home automation from scratch and exactly the kind of content I come to HN for. This isn't posted in NY Times. He's not advocating everyone should go out and do this because of how much better it's made his life. He's not even claiming that it's necessaril…
Sadly this is the modus operandi for most HN comments these days; it's easier to nitpick details about something fun/interesting that a person did than it is to actually _do_ something fun/interesting & have the guts to (gasp!) post about it online for all to see.
Re: Event-driven access to my home after a run
#45Re: Event-driven access to my home after a run
#46Home Assistant has home zones. You can trigger events based on being home, away, or the trigger between both states. My current favorite automation is to turn off my lights when I go to sleep by plugging my phone in to charge. The basic logic is: * IF it's 1AM OR I transition from Away to Home OR My mobile starts charging CONDITIONAL My location is AWAY OR the time is between 21:00 and 03:00 THEN Turn my office, kitc…
Re: Event-driven access to my home after a run
#47Home Assistant has home zones. You can trigger events based on being home, away, or the trigger between both states. My current favorite automation is to turn off my lights when I go to sleep by plugging my phone in to charge. The basic logic is: * IF it's 1AM OR I transition from Away to Home OR My mobile starts charging CONDITIONAL My location is AWAY OR the time is between 21:00 and 03:00 THEN Turn my office, kitc…
I combine those and a few other things into a hybrid Boolean sensor called “sleep conditions”
At any point in time the “sleep conditions” sensor is calculated as “true” or “false” - ie. does it look like I’m likely to be going to sleep.
So when my phone is placed on charge AND sleep conditions = true, my automation goes into sleep mode triggering lights off, setting wake up alarm etc
It seems trivial, but simply putting your phone on a wireless charger at night and having everything react automatically is quite gratifying!
Re: Event-driven access to my home after a run
#48First: Cool project! Second: I'm probably missing something, but: Therefore, I would at least need to start a process that would understand my intent to leave How did you solve the "intent" issue? It looks like your solution simply detects when your phone stops responding to pings, and then unlocks the doors when it resumes. This doesn't seem like it would distinguish between "going for a run", "going on a car trip",…
> I wrapped everything up in a small Flask app to serve a simple HTML form on a Raspberry Pi. Clicking Submit launches the start_process function as a background process:
Clicking submit is establishing intent. Once intent is established, then it uses the timeout to detect when they've gone, and, later, their return.
Re: Event-driven access to my home after a run
#49Earlier quoted context omitted.
I think the initial problem was clearly-enough stated, and the GP's point is valid - why bother accounting for the case where your phone is so close to dying that you can't unlock the screen, when just a bit less battery life would mean that your phone dies regardless (and you're stuck outside anyways)?
The battery level isn't actually close to dying, in my case it just rapidly depletes from up to 40% when it's very cold. But that 40% remains intact seemingly with the screen off. Could be my phone also, but it has happened often enough that I wanted to solve it and thought this was an interesting approach. For me, this was just a matter of convenience and not optimizing for most resilient or reliable solution. I do…
Re: Event-driven access to my home after a run
#50https://www.gossamergear.com/products/the-crotch-pot?variant...