Hacker News new | ask | show | jobs
by JohnBooty 1593 days ago
First: 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", "turning the phone off for 10 minutes and then back on again, but never leaving the house," etc.

I suppose one (fun, overkill, probably) solution would be if the phone's sensors could be queried. Once the phone "returns", your home network could query the phone and ask it if you've been exercising or not, based on your heartrate/motion since the phone was last seen by the network.

1 comments

Seems to be in the Flask application:

> 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.

Would be cool to train an ML model to pick up the running shoes and orientation and put a camera by the garage. Spoofing concerns/false positives aside, maybe putting a tracking device in/on the shoe and listening for both those devices might be a better solution?
Thank you so much. I knew I was missing something.