OpenDuino
From syn2cat - HackerSpace.lu
OpenDuino | |
---|---|
OpenDuino is a hard- and software solution to notify site visitors of the hackerspace occupation status | |
Meetings: | |
Type: | misc
|
Status: | running |
Members: | Azunix, Gunstick |
Contact Person: | Tschew (mail), Kwisatz (mail) |
Tools | |
QrCode: |
"File:" cannot be used as a page name in this wiki.
Contents |
Usage
- There is a little button you can find near the two LEDs. If you are the first to enter the space, push it so that the green LED is on. If you are the last one to leave, push it so that the red LED is on (the red LED is glowing quite weak). This will then change the status on the webpage.
- After reboot or reset of OpenDuino it will recover the currently active open/close status shown on the webpage.
- Following a more general power loss, OpenDuino will go into the close state (red LED is on). If you don't put it into green mode, the closed status will be published to the website after 5 minutes.
- If there is no network connectivity and you try to put the status to open it will go back to closed after a short delay. Repair the network problem and then try again. Connect a PC to the HUB on top of the fridge to test the connectivity.
- The little blinking LED is a status indicator. If it's stopping blinking then something is wrong. Some short pauses are normal when OpenDuino is busy doing fancy stuff.
- There is a webserver running on OpenDuino at http://openduino.lan/. It shows the status of the LEDs.
- If the hackerspace status is set to closed, the webpage also displays an alarm toggle button. Just follow the prompts to change the alarm status. You will need your wiki password for this. Sometimes it's not changing, you will need to reload the page until you see a reaction. It's obvious that this is also working from in front of the locked doors with your favorite wifi device. And also the access is protected so that the only access to openduino webpage is from the hackerspace itself and not from somewhere on the Internet.
Features
- MW extension
- Set space status at the push of a button
- Supports plugins with a set of hooks
- Currently one plugin sends SMS on status change
- Another plugin could tweet, but we use Tweet2cat
- Drive a servo to control the alarm system
Source
You can check out both the arduino and php parts of the source code by using
svn co svn://hackerspace.lu/openduino
Todo
- Integrate with Membership Management Tool
- Integrate rrdtool occupancy statistics
- Create notification messages dictionary file
- Detect if all doors are locked (either just signal door status or even set space availability)