So I got a Arduino Yun and wanted to try out this fun little project:
I basically wanted to setup a trigger at my front door that would detect whether someone was entering or leaving and then send it to some custom web service I would create that would then alert me via text message.
The hard part for me is this electronics portion of differentiating when a person is entering or leaving. What I was thinking was to have two laser beams a few inches apart that are parallel to the door and when someone was walking in one direction and tripped the laser, then i could designate that as entering. If they tripped the other laser first, I could designate that as leaving.
I would increment a counter and then send that to the web service.
But the laser sensor idea is really a rough idea and not particularly well thought out. I'm not an electronics guy so any ideas on how to make this more effective would be great.