https://github.com/guyisra/kodor
Some pi projects do useless crap, and some just kopen the door
https://github.com/guyisra/kodor
Last synced: 2 days ago
JSON representation
Some pi projects do useless crap, and some just kopen the door
- Host: GitHub
- URL: https://github.com/guyisra/kodor
- Owner: guyisra
- Created: 2016-07-31T06:30:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-06T18:47:45.000Z (almost 10 years ago)
- Last Synced: 2025-11-23T12:04:25.255Z (7 months ago)
- Language: Ruby
- Size: 286 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kodoor
Open office door using RaspberryPi
# Getting started
## Hardware you need
In order to build a kodoor for your office you'll need the following:
1. Raspberry Pi 3 or Pi 2 (Model B)
2. Micro-USB power cable
3. Micro SD Card - To get started you need an operating system. NOOBS is an easy-to-use operating system install manager for Raspberry Pi.
4. Relay
5. Internet connection (Ethernet or WiFi)
## Setting up the RaspberryPi
1. Install NOOBS on your SD Card
2. Connect the SD card to your RaspberryPi and power up your Pi
3. Install Raspbian as your Pi's OS
4. Connect The Relay to your Pi as showed in this image:

5. Connect your relay to the door button
6. Copy the contents of 'raspberry' folder from the repo to your RaspberryPi
7. Run kodor.py script `python kodor.py &`
## Setting up your server
1. Create a new heroku server
2. Install Puma and Redis Gems on the server
3. Clone the repo code into your server
## Using the app
1. Enter the server's url in your phone's browser.
2. Click on the button to **Kopen the door!**