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

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help