Skip to content

tibbotech/wiegand-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wiegand-demo

https://tibbo.com/linux/nodejs/simple-card-based-access-control.html

Quick start

dnf -y install git nodejs-npm node-libgpiod node-better-sqlite3
export NODE_PATH=$NODE_PATH:/usr/lib/node_modules/
git clone https://github.com/tibbotech/wiegand-demo.git
cd wiegand-demo
npm i .

If npm install will fail trying to build the node module, install build-essentials and start again:

dnf -y install packagegroup-core-buildessential libgpiod-dev
npm i .

Finally run the application:

node ./app.js

Notes:

  1. LEDs configuration is placed at conf.js
  2. you can put your Wiegand Tibbit on any socket: it will be found by index#0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published