Live data from Hacker News

Event-driven access to my home after a run

randywestergren.com

11–20 of 84 posts

Re: Event-driven access to my home after a run

#14
Home 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, kitchen and bedroom lights off *

It's a bit complex to get your head around, but the basic idea is, my lights turn off at 1 AM, or I leave the house, or my phone starts charging after 9 PM. This allows me to go to bed early (I'm a night owl) by just charging my phone. It wont trigger in the day based on the conditional.

Re: Event-driven access to my home after a run

#15
post #4

My feelings about these kinds of projects are a bit mixed. I certainly understand why, writing code that controls something in the real world is so much fun. However I actively avoid any kind of smart device in my home, beyond my vacuum cleaner. Having a computer control lighting, heating or access to my home is out of the question, I simply don't want to deal with it. I trust keys, switches and knobs.

Dumb solution: hiding place for a key. Paradoxically it may be safer than smart solutions :)

I have a beehive in the garden, I just put the spare key in there.

Re: Event-driven access to my home after a run

#16
post #4

My feelings about these kinds of projects are a bit mixed. I certainly understand why, writing code that controls something in the real world is so much fun. However I actively avoid any kind of smart device in my home, beyond my vacuum cleaner. Having a computer control lighting, heating or access to my home is out of the question, I simply don't want to deal with it. I trust keys, switches and knobs.

You might deprive yourself from an interesting experience i had:

My IoT light switches made the mental model of 'lightswitch on the door' to 'lightswitch were i need it'.

It also allows you to actually have a light atmosphere which enhances how you use light. This is a stark contrast to a friend of mine who sits in a very bright and uncomfortable room.

Using Alexa or Google for lights, timer and reminder also gave me insight on how much different/more natural a voice interface is and were we might be with this technology in a few years.

Re: Event-driven access to my home after a run

#18
post #4

My feelings about these kinds of projects are a bit mixed. I certainly understand why, writing code that controls something in the real world is so much fun. However I actively avoid any kind of smart device in my home, beyond my vacuum cleaner. Having a computer control lighting, heating or access to my home is out of the question, I simply don't want to deal with it. I trust keys, switches and knobs.

Regarding the lighting, you're definitely missing out on a lot of comfort by not using something like Hue or zigbee2mqtt. You could add a second layer of lighting which runs in parallel, like with floor lamps. Once it's set up you can completely forget about it and have movement sensors and dimmer switches make them useful to you.

Re: Event-driven access to my home after a run

#19
I 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

Post reply on HN