This is an old revision of the document!
For hackerspace more secure and without the annoyance of physical keys. DIY digital lock control, open/closed space status monitor and burglar alarm.
Status: Currently, we have digital lock control and open/closed space status monitor, doorbell. Burglar alarm is TODO long-in-the-future.
System Architecture: Digital lock, card reader and Club Mate panel are hooked up on an Arduino. The Arduino needs just power - it unlocks the door autonomously, the list of allowed cards is stored internally. The Arduino is further (optionally) reporting to brmd daemon which provides web, IRC interface to the status and unlock notifications.
Executive summary, how to get in without a key - arrange registering your RFID card with stick first, then you need to sometime come physically to brmlab to meet with him; he will add your ID to the Arduino sketch code. (We do not use external database out of security concerns.)
If your card is registered, just put it at the door around the place with the “RFID” sticker. When you unlock the door, you will hear a click - then, you can open it. After a short while, you will hear another click and the door auto-locks itself again. At the other side, unlock visual feedback is provided by the orange Arduino LED.
When message 2 is sent (card in ACL found), the door is also unlocked for few seconds.
Each message is prefixed by two space-separated boolean numbers; the first denotes the state of the “status” switch, the other the state of the “video” switch.
The Arduino sketch is here: source
How to detect whether the space is currently inhabited?
Two big switches with LEDs are now by the door (“Club Mate Panel”); the one with green led is to be switching the open/close status, while the one with yellow led switches on/off live stream from brmlab.
Few more old photos @ https://picasaweb.google.com/petr.baudis/BrmdoorStatusPanel
The software side is brmd, awesome brmlab integration hub that collects data from various sources and provides unified reporting on IRC and web. So you can see the current status on http://nat.brmlab.cz/brmd/ and IRC topic contains the current status too.
brmd also allows Alphasign control. It is a LED display with scrolling random text in the middle of the wall. Random status information is normally periodically shown by cronjobs running at brmlab@sargon.
Alphasign hardware broke a long time ago.
The requirement is to always have a backup way to get in, even when the digital control gets stuck at the most inconvenient moment in the most stupid way. Also, the building owner always needs to have a means of access, a plain key if possible; this is also related to fire regulations. Therefore, having digital entry as primary access method, with couple of backup plain keys in case things go wrong, should be the most preferred method.
Some means of the digital entry should still work if the network is offline for some reason.
The door is always closed from the outside and locked and must be unlocked every time before it is open; it stays unlocked for a short period enough to open the door.