News for hackers. Stuff that matters.
Re:Open-Source Home Automation by kevinsundar on Friday November 29, 2019 @02:38PM (#21666325)
Motion sensor on patio. When it detects motion, check if your phone joined the network in the last minute and that a few minutes ago you were not in the gps area of your house. Send command to unlock the lock. Send a push notification that it unlocked so you know if it triggered on accident (incredibly unlikely when using motion + gps + wifi).

The motion sensor isn't strictly necessary, you can use the phone joining the network as a trigger. It's just an extra filter to ensure there are no accidental unlocks. It will also prevent unlocks if you come home, park, and then leave without attempting to enter.

That's how I would do it, all easily doable in home assistant.

Re:Open-Source Home Automation by LegitShady on Friday November 29, 2019 @03:31PM (#21666655)
Id want another authentication level like fingerprint in the action so if I drop my phone its not still a key. I like the general plan, but two levels of identification if possible.
Re:Open-Source Home Automation by jdnenej on Friday November 29, 2019 @04:26PM (#21666884)
It's just as secure as keys as it is though. If you drop your physical keys they still work as keys and also can't be revoked.
Re:Open-Source Home Automation by derefr on Friday November 29, 2019 @06:04PM (#21667324)
More secure than keys—you can't remote-wipe keys. (And, presuming the network requires a password, remote-wiping the phone would make it not join the network any more.)
Re:Open-Source Home Automation by __david__ on Friday November 29, 2019 @11:55PM (#21668612)
Re-keying the locks is kind of like remote wiping all the keys at once. Certainly not as fine grained, but will work in a pinch.
Re:Open-Source Home Automation by greenhatman on Friday November 29, 2019 @06:52PM (#21667504)
You could also edit the home automation script or block the phone on the router if remote wipe isn't an option.