Open Access with Raspberry Pi

65 views
Skip to first unread message

Geoff Fish

unread,
Sep 3, 2014, 4:13:28 AM9/3/14
to open-acce...@googlegroups.com
Hi Guys,

I've been looking into building a RFID building access control, the main drive behind this is the ability to store the card details in our existing user database (Active directory), so that when an employee has their account disabled, or account expires, the card they have been assigned also stops working.

I have managed to build and code something using a Raspberry Pi and wiegand reader which works, although I'd like to use a more durable PCB rather than rats nest of wires if I am to deploy the system.

My question is, will the open-access v4 board link to a Raspberry Pi, and allow me to retrieve the presented card id and reader id, then use my own authentication code on the pi to determine if access should be granted or not? Or is the pi integration purely for monitoring?

Ideally i'd be grabbing a list of users with a handful of relevant attributes from active directory via LDAP, then dumping them into a sqllite db on the Raspberry Pi every hour or so, then authenticating against that - This way people can still access buildings if the door's cant talk directly to AD.


dosman

unread,
Sep 11, 2014, 10:23:15 AM9/11/14
to open-acce...@googlegroups.com
I never saw a reply to this so I'll jump in. We have version 2 of this board which was still an arduino shield at that point. We connect the arduino to a Raspberry Pi with usb and communicate to it that way. We also have our own web user management portal that runs from the RPi. The portal just updates the config on the open-access board so the system doesn't even require the RPi to run, just for changes to user access). My understanding is that version 4 just foregoes the arduino and directly attaches to the RPi.

As far as your question, it's just a matter of looking up the received RFID fob number and then doing an LDAP request based on data in your own table. If LDAP says good things about the user then you can tell the board to unlock a door for them. If you can handle gluing those two things together it's not a big deal.

Hope this is helpful.

-dosman
> --
> You received this message because you are subscribed to the Google Groups "Open Access Control" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to open-access-con...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Will Bradley

unread,
Sep 11, 2014, 5:10:39 PM9/11/14
to open-acce...@googlegroups.com
Dosman, can you share the Web UI code on some kind of code repository somewhere? Or maybe on the ACCX wiki? I'm trying to make a web UI for this as well (updated version of this https://github.com/zyphlar/Open-Source-Access-Control-Web-Interface/ )

Geoff, the arduino code handles the basic card/door/alarm functions, the Pi is only for interfacing/logging.

Arclight

unread,
Sep 11, 2014, 5:22:08 PM9/11/14
to open-acce...@googlegroups.com
Hi all,

I'm not sure if I shared this or not. But here is the code that
Maglabs wrote in Python:

http://23.org/~arclight/OpenAccessWebPage02.tar.gz

It's a very basic web UI with instructions.

JN
Reply all
Reply to author
Forward
Message has been deleted
0 new messages