FrontDoor Beaglebone

From PS:1 Wiki Dev
(Redirected from Go Black RFID Reader)
Jump to navigationJump to search

{{

 {{#switch:
 {{#if: 
   | 
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:|talk
       | talk
       |  
       }}
     }}
   }}

| main | = ambox | talk = tmbox | user = ombox | project = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | book = ombox | extension = ombox | other | #default = ombox

}} | type = warning | image = | imageright = | class = | style = | textstyle = | text = This equipment has been decommissioned. Up-to-date IT information can be found here | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

{{#ifeq: Screwed to the front door | Removed | {{

 {{#switch:
 {{#if: 
   | 
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:|talk
       | talk
       |  
       }}
     }}
   }}

| main | = ambox | talk = tmbox | user = ombox | project = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | book = ombox | extension = ombox | other | #default = ombox

}} | type = notice | image = | imageright = | class = | style = | textstyle =

| text = This tool is no longer at the space. Find what actually exists at PS1 on the Equipment page.

Error creating thumbnail: Unable to save thumbnail to destination

| small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }} | {{#if: | | }}{{#switch: no | yes | "yes" | Yes | "Yes" | YES | "YES" | y | "y" | Y | "Y" = | {{

 {{#switch:
 {{#if: 
   | 
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:|talk
       | talk
       |  
       }}
     }}
   }}

| main | = ambox | talk = tmbox | user = ombox | project = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | book = ombox | extension = ombox | other | #default = ombox

}} | type = notice | image = | imageright = | class = | style = | textstyle = | text = This tool is currently broken, please contact the area host for more information. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }} }}{{#if: | [[Category:{{{hostarea}}}]] | }}{{#switch: no yes | "yes" | Yes | "Yes" | YES | "YES" | y | "y" | Y | "Y" = | }}}}

<html>

<svg id="printableArea" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 555 175" enable-background="new 0 0 555 175" xml:space="preserve" height="175px" width="555px" style="border:2px solid #000000;display: flex; height: auto ; width: auto ;" onClick="printSVG()">

<g id="qr"> <image width="150" height="150" transform="translate(2,2)" xlink:href="https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=https://wiki.pumpingstationone.org/wiki/</html>FrontDoor_Beaglebone<html>" /> </g>

<g id="title" transform="translate(165,20)"> <text font-family="Arial,Helvetica,sans-serif" font-size="18" font-weight="bold"></html>FrontDoor Beaglebone<html></text> </g>

</html> {{#ifeq: Ron Olson | PS:One | <html> <g id="psoneproperty" transform="translate(155,23.5)">

 <image width="80" height="103" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/PS1_owned.svg"/>

</g> </html> | <html> <g id="owner" transform="translate(155,30)">

 <image width="80" height="90" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/Person_owned.svg"/>
 <text transform="matrix(1 0 0 1 10.0 110.0)" font-family="Arial,Helvetica,sans-serif" font-size="12"></html>Ron Olson<html></text>

</g> </html> }} {{#if: {{{hostarea}}} | <html> <g id="hostarea" transform="translate(250,130)">

 <text transform="matrix(1 0 0 1 0 0)" font-family="Arial,Helvetica,sans-serif" font-weight="700" font-size="12">Area:</text>
 <text transform="matrix(1 0 0 1 35.0 0)" font-family="Arial,Helvetica,sans-serif" font-size="12"></html>{{{hostarea}}}<html></text>

</g> </html> | <html> <g id="hostarea" transform="translate(250,130)">

 <text transform="matrix(1 0 0 1 0 0)" font-family="Arial,Helvetica,sans-serif" font-weight="700" font-size="12">Area:</text>
 <text transform="matrix(1 0 0 1 35.0 0)" font-family="Arial,Helvetica,sans-serif" font-size="12"></html>Not Assigned<html></text>

</g> </html> }} {{#ifeq: no | yes | <html> <g id="authorization" transform="translate(245,35)">

 <image width="150" height="79" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/Authorization_required.svg"/>

</g> </html> | <html> <g id="authorization" transform="translate(245,35)">

 <image width="150" height="79" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/Authorization_not_required.svg"/>

</g> </html> }} {{#ifeq: yes | yes | <html> <g id="hackable" transform="translate(400,35)">

 <image width="150" height="79" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/Hackable.svg"/>

</g> </html> | <html> <g id="hackable" transform="translate(400,35)">

 <image width="150" height="79" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/Do_not_hack.svg"/>

</g> </html> }} <html>

<g id="url" transform="translate(6,167)"> <text font-family="Arial,Helvetica,sans-serif" font-size="12"></html>https://wiki-dev.pumpingstationone.org/wiki/FrontDoor_Beaglebone<html></text> </g>

<script type="text/JavaScript"> <![CDATA[

function printSVG() { const newWindow = window.open(, '_blank'); newWindow.document.write(svg.outerHTML); newWindow.document.close(); //newWindow.print(); //uncomment to auto-print on click }

const svg = document.getElementById('printableArea');

]]>

</script>


</svg>

</html>

Lua error: Internal error: The interpreter exited with status 127.

Current Status

9/13/17 RFID access is provided by another system; the BBB is no longer at the back door and isn't part of the door access system.

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. Several components are in the bottom of the mailbox on the front door. RFID reader module works. Status lights can be added back in line with the circuit that switches the latch. Marquee is not connected and may have been flashed without the software written by User:Tachoknight

Next Steps

  • Add enclosure and equipment label
  • Check voltage pads on the BBB to see if maybe there is a bad connection at the power 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

This BBB is part of the RFID system.

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.

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.