Gate

From Noisebridge
(Difference between revisions)
Jump to: navigation, search
(How the gate is opened)
(A Nice and Accurate Description of the Operation of the Door)
Line 1: Line 1:
====How the gate is opened====
+
This page documents the operation of Noisebridge's front gate, located at 2169 Mission Street.
Grabbing the index.php webpage ( in http://pony.noisebridge.net/gate/ or http://pony.noise/gate/ )<br>
+
calls the shell script <tt>gate-www</tt><br>
+
which will ssh into 172.30.0.31 (the Wyse diskless terminal near the door)<br>
+
and run the <tt>open-door</tt> binary which actually opens the gate
+
  
==== Mercurial Repo ====
+
= Documentation =
The files for the gate are in a Mercurial repository on pony in /var/hg/gate/
+
 
 +
The gate is opened using the intercom pad inside Noisebridge, next to the door to the stairs. The "DOOR" button, illustrated with a picture of a key, opens the gate.
 +
 
 +
This switch can also be operated remotely, through an arcane and un-neccessarily convoluted system. A cable leads from the keypad through the machine shop, and up to a parallel port pair mounted on a PCB, just next to a hole in the South wall. The cable from the other side of this hole leads along the ceiling to a parallel port attached to the very top of the Wall O Tubes. This is a USB parallel port connected to [[Minotaur]].
 +
 
 +
This USB parallel port is controlled by a daemon called <tt>[https://github.com/noisebridge/gateman gateman]</tt>, which -- like all services on Minotaur -- is started automatically by [http://upstart.ubuntu.com Upstart]. <tt>gateman</tt> is called by the Noisebridge API. Minotaur also hosts the [[keycode access]] system which uses API to open the gate. Other systems including the <tt>opengate</tt> script on [[Pony]] also open the gate this way.
 +
 
 +
= Usage =
 +
 
 +
* To open the gate from outside the space, see [[getting in]].
 +
* To open the gate from inside the space, use the "DOOR" button on the intercom pad.
 +
* If you are too lazy to get out of your seat and, use the <tt>opengate</tt> script on Pony.
 +
* If you are setting up another system to open the gate, write your application to use the Noisebridge [[API]]. The API only works from within the space, so you should probably run your service on Pony. Do not try to run your system on Minotaur unless you've brought it up at a [[meeting]].

Revision as of 21:52, 21 September 2012

This page documents the operation of Noisebridge's front gate, located at 2169 Mission Street.

Documentation

The gate is opened using the intercom pad inside Noisebridge, next to the door to the stairs. The "DOOR" button, illustrated with a picture of a key, opens the gate.

This switch can also be operated remotely, through an arcane and un-neccessarily convoluted system. A cable leads from the keypad through the machine shop, and up to a parallel port pair mounted on a PCB, just next to a hole in the South wall. The cable from the other side of this hole leads along the ceiling to a parallel port attached to the very top of the Wall O Tubes. This is a USB parallel port connected to Minotaur.

This USB parallel port is controlled by a daemon called gateman, which -- like all services on Minotaur -- is started automatically by Upstart. gateman is called by the Noisebridge API. Minotaur also hosts the keycode access system which uses API to open the gate. Other systems including the opengate script on Pony also open the gate this way.

Usage

  • To open the gate from outside the space, see getting in.
  • To open the gate from inside the space, use the "DOOR" button on the intercom pad.
  • If you are too lazy to get out of your seat and, use the opengate script on Pony.
  • If you are setting up another system to open the gate, write your application to use the Noisebridge API. The API only works from within the space, so you should probably run your service on Pony. Do not try to run your system on Minotaur unless you've brought it up at a meeting.
Personal tools