FrontDoor Beaglebone

From Pumping Station: One Wiki
Revision as of 17:25, 28 November 2016 by Rtystgeeke (talk | contribs)
Jump to: navigation, search


FrontDoor Beaglebone
Owner/Loaner Ron Olson
Serial Number 2
Make/Model BeagleBone Black
Arrival Date 2016-04-05
Usability no
Contact Ron Olson
Where Screwed to the front door
Authorization Needed no
Hackable yes
Estimated Value ~$100
Host Area {{{hostarea}}}


FrontDoor Beaglebone Ron Olson Area: {{{hostarea}}} https://wiki.pumpingstationone.org/FrontDoor_Beaglebone



Current Status

11/28/16 - BBB is not responsive and appears to be defunct. Power supply has been measured and is supplying 5.1V. All items were unplugged and restarting the BBB was unsuccessful.

Next Steps

  • Check voltage pads on the BBB to see if maybe there is a bad connection at the connector.
  • Remove BBB from the door and fasten to the wall by the door latch
  • Put USB wire through the door frame and place RFID in a static location on the wall outside. Must be placed inside a waterproof container - consider potting.
  • Run some conduit to an outlet above the doorway so RFID gets constant power. Can be taken from light switch that always remains on for the light in the foyer or by the light itself.

Functions

The front door Beaglebone will serve two purposes, to have a scrolling marquee of public information about PS1 on the screen, as well as allowing access via the RFID reader.

'Note that as of 4/6/2016 the RFID stuff hasn't been re-enabled; gonna work on that soon.'

Marquee

The BBB has a 4" BB-View screen attached to it. The screen provides a 4" touch-enabled (touch is disabled on this BBB because it isn't necessary) X session for running graphical programs.

PS1-FrontDoor

The marquee program is called PS1-FrontDoor. It is a C++/QML Program using the Qt framework. The version of Qt is 5.6.1 and was compiled directly on the Beaglebone, taking somewhere between 48 and 60 hours to compile.

Getting Your RFID Number From this Reader

To get the tag value, scan your new 125kHz (EM4001 card format), non-valid tag (you don't need to open the door, it will scan from the back) and visit http://frontdoor.pumpingstationone.org:8080 (You must be connected to the PS1 network). If the tag has not been previously registered in the system, your code will be displayed there. Copy the code from that page into the box on the members site into the box on the members site (you must be signed in) and hit submit. It's important to load the page on the beaglebone before another member scans their tag.

Other Methods of Entry

HTTP

This device will respond to HTTP requests to open the door - these requests will need to come from the PS:One network. An HTTP request to:

http://frontdoor.pumpingstationone.org:8080/open

will cause the striek plate to unlock for 5 seconds. Use this to unlock the door with your phone, for example.

Device Software

The software is running Debian (tracking testing) for the Beaglebone Black.