Skip to content

Controlling a relay switch with raspberry pi and open the door over internet

License

Notifications You must be signed in to change notification settings

berenceylan/doorPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doorPi

A web interface to open my apartment's door over internet using raspberry pi3, relay switch, node.js and python.

Clicking the button opens the door

Clicking the button opens the door

schema image credit: stackexchange

Links of used libraries

Followed tutorial to put things together

https://howchoo.com/g/m2qwmte5nzk/how-to-use-a-relay-with-a-raspberry-pi

Python-shell

I used python-shell library to run python scripts over node.js

https://github.com/extrabacon/python-shell

Serving static pages over raspberry pi

Content-type attribute must be declared when serving html sites over raspberry. This library is doing the thing.

http://www.dotnetcurry.com/nodejs/1144/nodejs-html-static-pages-website

GitHub Repo

Forever-service library to add project as a service

https://github.com/zapty/forever-service

Notify.js

https://github.com/jpillora/notifyjs

Metalic button for UI interface and key unicode emoji

https://codepen.io/simurai/pen/DwJdq https://emojipedia.org/key/

Thanks for checking out my weekend project :) hope you enjoy it.

Feel free to send your comments.

About

Controlling a relay switch with raspberry pi and open the door over internet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published