This repository contains the code for the ways that my roommate and I have managed to open our door with a servo motor and a Raspberry Pi (being with an Amazon Echo, a Node.js http server, non-Echo offline voice recognition, and Minecraft). Each way to open our door is kept in its own branch (see Getting Started).
Choose a branch to get to the code and method for setting up that system.
Our current choice for voice control, this setup uses a combination of Snowboy's offline wake word detection technology and some Python code to enable faster response times on voice commands versus the Echo setup, which required going through Amazon's servers which took more time.
https://github.com/deehrlic/door-open/tree/snowboy
The first way we opened our door was with a Node.js server tunneled through to the internet with ngrok, a free http tunneling service. We still actively use this setup.
https://github.com/deehrlic/door-open/tree/nodeserver
Our first addition to our setup, this branch will allow you to control a servo motor with an Amazon Echo and your voice. We have replaced this setup with the setup in the snowboy branch, but the code is here.
https://github.com/deehrlic/door-open/tree/alexa
A more fun and casual setup, if you've ever wanted to have Minecraft have real life actions, this code is for you.
https://github.com/deehrlic/door-open/tree/minecraft
This branch's setup is the code and methods for our previous setup, which consisted of using 2 Raspberry Pis to talk to each other to have the Node.js server and the Echo both being able to open the door. No longer our current setup, which is a combination of nodeserver and snowboy branches.
https://github.com/deehrlic/door-open/tree/oldsetup
Node.js with Express.js
Python 3
JSON/Amazon Alexa SDK
- Drew Ehrlich - Codebase Developer - deehrlic
- Corey DuVal - Circuit Design/Development Assistance/Circuit Diagrams - coreyduval
This project is licensed under the MIT License - see the LICENSE.md file for details
Special thanks to:
Justin Hinman