https://github.com/ahmednuaman/rpi-rfid-sensor
A nodejs project to get an RFID to work with a Raspberry PI
https://github.com/ahmednuaman/rpi-rfid-sensor
Last synced: about 2 months ago
JSON representation
A nodejs project to get an RFID to work with a Raspberry PI
- Host: GitHub
- URL: https://github.com/ahmednuaman/rpi-rfid-sensor
- Owner: ahmednuaman
- License: mit
- Created: 2016-12-21T09:46:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-22T14:10:00.000Z (over 8 years ago)
- Last Synced: 2025-02-10T14:09:05.873Z (4 months ago)
- Language: JavaScript
- Size: 35.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rpi-rfid-sensor
A nodejs project to get an RFID to work with a Raspberry PI## Setting up the hardware parts
You'll need:* A Raspberry PI, I'm using v3 (with OS installed, plus git, daemontools, and node)
## Setting up the software parts
1. Do everything as *root* (I know, I know)
2. Open `/etc/rc.local` and add `svscan /service &` before `exit 0`
3. Make a folder `/service`
4. `cd` into `/service` and clone the repo, this'll create a folder within called `rpi-rfid-sensor`
5. `cd` into the repo folder, run `chmod +x run`
6. Copy `config.json.sample` to `config.json` and fill it out*
7. Reboot the PI!*If you're using Gmail you'll need to enable your account to be logged in via less secure apps, see: http://stackoverflow.com/a/40308643/398939