[Rack] Noisebridge Keycode Access

David Estes d at videst.es
Fri Feb 17 20:25:27 PST 2012


Stopped by this evening and wrote a python script to power this based on Jake's spec and Kelly's codefile format. It's super simple, feel free to edit for style/functionality (I haven't done Python in a while):

https://github.com/daviddaviddavid/noisebridge-baron/blob/master/baron.py

Jesse and Jake are trying to get the keypad hooked up to a serial port on Minotaur — once that's done, this should be up and running.

and then i fly away

On Feb 17, 2012, at 7:04 PM, Jake <jake at spaz.org> wrote:

> yes me and jesse are working on trying to figure out which serial port to use.
> 
> 
> Broadcast Message from root at minotaur
>        (somewhere) at 18:58 ...
> 
> Warning communications lost with UPS susan
> 
> 
> On Fri, 17 Feb 2012, Nicholas Granado wrote:
> 
>> oh man sweet. you're there now?
>> On Fri, Feb 17, 2012 at 4:22 PM, Jake <jake at spaz.org> wrote:
>>      we are doing it now.
>> 
>>      who was working on the backend right now.  i am finishing the
>>      control-panel frontend payphone thing that goes on the gate, but
>>      the software for that is done.
>> 
>>      the client keypad just sends serial characters at 300 baud.  You
>>      can send back commands to make lights flash or beeps.
>> 
>>      -jake
>> 
>>      On Fri, 10 Feb 2012, Nicholas Granado wrote:
>> 
>>      when do you wanna get all of this done?
>> 
>>      nick
>>      --
>>      http://www.nickgranado.com
>> 
>>      On Fri, Feb 10, 2012 at 3:55 PM, Nicholas Granado
>>      <ngranado at gmail.com>
>>      wrote:
>>           sounds like fun
>> 
>>           nick
>>           ----
>>           possibly sent from my post-pc device
>> 
>>      On Feb 10, 2012, at 3:35 PM, Jake <jake at spaz.org> wrote:
>> 
>>      > here's my post about the keypad hardware:
>> >https://www.noisebridge.net/pipermail/noisebridge-discuss/2012-February/02
>>      8
>>      221.html
>>      >
>>      > basically the keypads (one upstairs one downstairs) will
>>      talk to
>>      minotaur through (separate) serial ports.  0123456789 # *
>>      can be sent
>>      from the keypad, and codes sent to the keypad cause
>>      different beeps or
>>      lights to flash.
>>      >
>>      > so someone has to code a daemon that runs on minotaur to
>>      talk serial
>>      to these keypads.  minotaur is also the machine that
>>      actually buzzes
>>      the gate, through its USB parallel port.
>>      >
>>      > and of course the same list of good (and bad) codes will
>>      be used for
>>      this and for the pony.noise/gate browser interface.
>>      >
>>      > -jake
>>      >
>>      > On Fri, 10 Feb 2012, Nicholas Granado wrote:
>>      >
>>      >> hi jake,
>>      >> i can work on the software side of this as i've already
>>      looked at
>>      the code
>>      >> that's driving the outside version of pony.noise/gate
>>      ... i didn't
>>      see that
>>      >> someone is actually doing some kind of keypad.... it
>>      would be sweet
>>      if the
>>      >> keypad and the key you enter into the mobile interface
>>      were the
>>      same...
>>      >> cheers,
>>      >> nick
>>      >> --
>>      >> http://www.nickgranado.com
>>      >> On Fri, Feb 10, 2012 at 3:18 PM, Jake <jake at spaz.org>
>>      wrote:
>>      >>      Okay so i don't know if you've been reading the
>>      noisebridge
>>      >>      discuss list, but we've been talking about access
>>      all week.
>>      >>
>>      >>      I think we need to change pony.noise/gate to act
>>      the same as
>>      it
>>      >>      does from outside noisebridge - so you need to
>>      enter the code
>>      >>      (once per session) whether you're inside
>>      noisebridge or not.
>>      >>
>>      >>      the thing is, instead of the code changing every
>>      week, it
>>      should
>>      >>      be that codes are only given out at meetings,
>>      where they can
>>      >>      also be disabled.
>>      >>      Codes don't expire, but they can be killed any
>>      time if
>>      >>      necessary.
>>      >>
>>      >>      who can work on this?  who is working on the
>>      keypad solution?
>>      >>
>>      >>      talk to me.
>>      >>
>>      >>      -jake
>>      >>
>>      >>      On Wed, 8 Feb 2012, Nicholas Granado wrote:
>>      >>
>>      >>      hi all,
>>      >>      try this code: 53237 (it changes weekly) we need
>>      to figure
>>      >>      out a way of
>>      >>      emailing everyone or a list of people who can use
>>      the code
>>      >>      if this already
>>      >>      doesn't exist. i'd be down to hack this out if it
>>      doesn't.
>>      >>
>>      >>      anyways pop that code into:
>>      >>      http://pony.noisebridge.net/gate/ or
>>      >>      http://noise.pony/gate from only the inside.
>>      >>
>>      >>      cheers,
>>      >>      nick
>>      >>      --
>>      >>      http://www.nickgranado.com
>>      >>
>>      >>      On Wed, Feb 8, 2012 at 3:38 AM, miloh
>>      >>      <froggytoad at gmail.com> wrote:
>>      >>           On Wed, Feb 8, 2012 at 12:28 PM, Danny
>>      O'Brien
>>      >>      <danny at spesh.com>
>>      >>           wrote:
>>      >>           >
>>      >>           >
>>      >>           > On Wed, Feb 8, 2012 at 2:15 AM, miloh
>>      >>      <froggytoad at gmail.com>
>>      >>           wrote:
>>      >>           >>
>>      >>           >> I bet if you ssh into pony and try
>>      'opengate' it
>>      >>      will work.
>>      >>            This
>>      >>           >> shows that all the hardware you installed
>>      is still
>>      >>           functional. I had
>>      >>           >> it tested last week and it worked then.
>>      >>           >>
>>      >>           >> the web access was broken some time around
>>      when
>>      >>      the
>>      >>           noisebridge api
>>      >>           >> was introduced.
>>      >>           >> https://www.noisebridge.net/wiki/API
>>      >>           >
>>      >>           >
>>      >>           >
>>      >>           > OH SUCH ACCUSATIONS
>>      >>           >
>>      >>           > The API works fine, and is in fact what the
>>      >>      opengate script
>>      >>           now uses.
>>      >>           >
>>      >>
>>      >>      ah! sorry awaken the api hyrda.
>>      >>
>>      >>      jake try the following:
>>      >>
>>      >>      $curl -X POST -d open=True
>>      >>      http://api.noisebridge.net/gate/
>>      >>
>>      >>      and see if that works.
>>      >>
>>      >>      > The webpage also works fine, but somebody put in
>>      the
>>      >>      code that stops
>>      >>      it
>>      >>      > working after 9PM, in the belief that this would
>>      >>      magically have
>>      >>      people nod
>>      >>      > wisely instead of going "oh i guess it's broken,
>>      I'll
>>      >>      let in that
>>      >>      > rascally-looking cosmologist now by hand".
>>      >>      >
>>      >>
>>      >>      do we need to just keep iterating?
>>      >>
>>      >>      > I do believe there was some feeling that the
>>      dial-in
>>      >>      hackerline pick
>>      >>      a word
>>      >>      > code is broken, which I can well believe. I have
>>      no
>>      >>      influence on
>>      >>      such a
>>      >>      > thing, because while it was a cool hack, futzing
>>      around
>>      >>      with your
>>      >>      phone to
>>      >>      > type in a random word was so cumbersome that I
>>      don't
>>      >>      believe anyone
>>      >>      ever
>>      >>      > uses it.
>>      >>      >
>>      >>      >
>>      >>
>>      >>      casey implemented the phone system.
>>      >>
>>      >>      Jof built the daemon used on minotaur.
>>      >>       https://github.com/jof/gateman
>>      >>
>>      >>      Lots of projects to tie in together here, I think
>>      we just
>>      >>      need to keep
>>      >>      iterating.
>>      >>      _______________________________________________
>>      >>      Rack mailing list
>>      >>      Rack at lists.noisebridge.net
>>      >>      https://www.noisebridge.net/mailman/listinfo/rack
> _______________________________________________
> Rack mailing list
> Rack at lists.noisebridge.net
> https://www.noisebridge.net/mailman/listinfo/rack



More information about the Rack mailing list