Coder Social home page Coder Social logo

sciguy14 / libetech-qr-websystem Goto Github PK

View Code? Open in Web Editor NEW
9.0 8.0 9.0 177 KB

Paired with a LibeTech QR-based door lock, this website will generate secure hashed entry keys for your room. (License: CC-A-SA-NC)

Home Page: http://www.jeremyblum.com/portfolio/libetech

PHP 78.62% JavaScript 21.38%

libetech-qr-websystem's Introduction

LibeTech QR Code-Based Entry System

This Repo contains the Web Interface. Find the embedded code for the BeagleBone in this repo: https://github.com/sciguy14/LibeTech-QR-Entry

The LibeTech QR-Code Based Entry system is a unique way to do away with traditional keys and swipe cards. Using a simple web interface, approved users are added to the system via their email addresses. Once added, these users are sent a QR code via Email, that when held up to the system, allows them to unlock the door.

Notes on the Website Code in this Repo

  • In submit.php, you'll need to change your host and port settings for your SMTP server
  • You should use .htaccess and .htpassword to put the contents of this repo on a password-protected folder on your server
  • The valid QR code hash is generated and put in a text file one level up from wherever you place this repo. That is where the Beaglebone will look for it. You'll need to tell the python script running on the beaglebone where it should be looking for the valid hash file. See the embedded code repo for more info.

How it Works (Demo)

  • User enters email into Website
  • Unique QR code is generated and emailed to user's smartphone
  • Hash of code embedded in QR is sent to the door module
  • User holds their phone up to the camera on the door module
  • Door module scans QR code, hashes it, and compares it to stored allowed code
  • If hash is a match, door is opened
  • If not, door remains locked
  • QR code remains valid until new user signs up, and old code is invalidated

The Team

  • Jeremy Blum - B.S. Electrical and Computer Engineering '12, MEng '13 (Developed the Hardware, Software, and Web Backend)
  • Lindsey Brous - School of Hotel Administration '12 (Market Research and Development)
  • Harris Nord - B.S. Industrial and Labor Relations '12 (Strategy)
  • Kaitlin Uebele - School of Hotel Administration '12 (Finances and Business Development)

Project History

The project was conceived and developed by the above team as an entry to Cornell University's Hospitality Business Plan Competition in 2012. We made it to the final round of 5 teams from the original 31, but alas, we did not win. We did, however, win both the GE Imagination Award and the Verizon Wirelss Innovation Award at Cornell's annual "Bits on Our Minds" technology demo fair.

libetech-qr-websystem's People

Contributors

sciguy14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libetech-qr-websystem's Issues

Mail sent without attached QR image

Dear Jeremy,

I try your code and it fail to send the attached QR code on my system. The mail leef my sendmail and it arrive at my mail server, but on the code of the mail the attach is reffer as: <img src="cid:attach"> without any qr image. I check if the hash is correctly created and it´s ok on the valid.txt.

Maybe it´s a problem with the googleapi url, it appears they deprecate the old api, however the url still works and generate QR via web.

Any help would be appreciate.

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.