Giter Site home page Giter Site logo

hmis-rfid-lock's Introduction

hmis-locks

A PlatformIO program for a electronic locks that are unlocked using a Wiegand based RFID scanner and authorises users using a HMIS endpoint.

Keypad support

Wiegand readers with keypads are supported. You can configure the valid keycode by setting the enable_keypad_passcode option to a numeric string up to 8 numbers long.

When using the keypad, the '*' (star) button will clear (provided it maps to 0x0A), and the '#' (Hashtag) button will submit (provided it maps to 0x0B).

Setup

Platform IO

This application uses PlatformIO for dependency management and installation. Installation instructions for your platform can be found here.

Config

Configuration options have been exposed in platformio.ini under the [base_config] section.

The WiFi and HMIS options must be configured for your network and HMIS server.

The Unlock and Auth options can be configured to suit your needs.

The Pins options should be configured for your ESP, preferably in a separate section that inherits the [base_config] section (see the [config_dfrobot_firebeetle2_esp32e] section for an example of this).

The Pin Inversions options should be configured to match your circuit.

A preset environment has been provided for the FireBeetle 2 ESP32-E (my chosen ESP32), you will need to provide your own environment with it's required pin setup if you have a different ESP32 (we welcome PRs for alternative setups).

Installation

Run the following to build and upload the project to your ESP32:

# [your-env] should be one of the configured env sections in platformio.ini
pio run -t upload -e [your-env]

hmis-rfid-lock's People

Contributors

jtljac avatar

Watchers

 avatar

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.