Motion Detected Homework Opener
hackster.io·4h
Flag this post

Things used in this project

Story

My project automatically opens up a homework tab on my computer when the door to my room is open. I decided to make it because when I was younger I would often get caught playing games instead of doing homework, so I thought it would be fun to be able to make a solution to that.

Motion detector connected to Photon 2

The motion detector “tells” the Photon 2 when motion is sensed, and then the Photon 2 sends a webhook request to my computer, which then executes a AutoHotkey script to open up a google classroom tab.

Two things have to be done in order to “boot up” all of this.

1. I need to start up nodejs to get the code on my computer side going which looks like this.

Starting up nodejs

All this does is it begins …

Similar Posts

Loading similar posts...