OpenDuino

From syn2cat - HackerSpace.lu
Revision as of 09:54, 9 August 2010 by Steve (Talk | contribs)

Jump to: navigation, search
Add your Project
Crystal Project package graphics.png
OpenDuino
OpenDuino is a hard- and software solution to notify site visitors of the hackerspace occupation status
G8033.png
Meetings: none
Type: misc


Status: running
Members: Tschew, Kwisatz
Contact Person: Gunstick (mail)
Tools
QrCode: QR-ad9c74fde430e3c57756f3969ad9f446.png

"File:" cannot be used as a page name in this wiki.


Contents


OpenduinoWall.jpg

Usage

  • There is a webserver running on OpenDuino at http://openduino.lan/. It shows the status of the LEDs. Red=closed, green=open.
  • If the hackerspace status is set to closed, the webpage also displays the current alarm status and a link to change it. Just follow the prompts to do this. You will need your wiki password and be a member of syn2cat. The moment openduino says something like "sweeping badge" just wait and see. After some seconds the alarm LED will switch to your desired state. It's obvious that this is meant to be used from in front of the locked doors with your favorite wifi device. The URL is protected by the firewall so that the only access to the openduino webpage is from the hackerspace itself and not from somewhere on the Internet.
  • The two doors inside the space are checked to automatically set the space to open or close. You don't need to do any button pushing.
  • When entering you will notice the green LED blinking for 30 seconds. If you push the button during that time, the automatic opening will be stopped.
  • When closing, turn the key twice (internal doors), else the detection will not work. There is also a small delay of 10 seconds before the status is effectively changed to closed.
  • In case the automatism does not work, there is a button you can find near the two LEDs. To set the space to open, push it so that the green LED is on. To set the status to closed, push it so that the red LED is on. 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.

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
  • detect locks on the 2 rooms
  • detect state of alarm system
  • link with membership management tool, only members can use it

Querying

There are three more of less sophisticated ways of querying the space status.

  1. By using the MW extension running on our Main Page.
  2. By pointing your (mobile) browser to http://open.hackerspace.lu/open.php
  3. By simply querying http://open.hackerspace.lu/status (1 is open, 0 is closed)

Source

You can check out both the arduino and php parts of the source code by using (Broken!)

svn co svn://hackerspace.lu/openduino

Issue tracking

An issue and feature request tracker can be found on our Redmine installation.

Todo

  • Integrate rrdtool occupancy statistics
  • Create notification messages dictionary file
  • Add Pamela™ support

Similar implementations

Brainstorming on extension

Assuming that there is a user who wants to come to the space, checks the website an sees that it is open. After a while the user stands in front of the door, but the other person already left. Our user doesn't have a key. --> Unpleasant situation. To avoid such scenarios in the future, we thought about a system that could solve the problem with the help of our coming member cards. The member cards will be suited up with a bar code and a magnetic tape. The usernames of the cardholders should be saved on these and every time when they enter the space, they should scan their cards and enter with the help of a numpad the time until they'll stay approximately.

Photo Gallery

Version 1

first version

Version 2

Version 3

Version 4


Version 5

Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools