Read RFID data from Chafon UHF readers
Project description
Chafon RFID reader
This project provides a script which can be used to connect to a Chafon RFID reader via TCP/IP or serial and upload the times recorded to a Google Sheet.
Installation
To install the package into your own project, use pip
pip install wabson.chafon-rfid
Optionally, install pyserial (for serial communication) and Google client (for writing results to a spreadsheet) libs
pip install --upgrade google-api-python-client oauth2client pyserial
Follow the steps in the Google Sheets API Python Quickstart, to allow times to be added to a spreadsheet (optional)
Usage
Examples of how to to use the provided modules are provided in the examples
directory.
To keep attempting to read tags continuously until Ctrl-C is pressed, run
continuous-read.py
providing the IP of the reader and optionally the ID of the
Google Sheet
PYTHONPATH="${PYTHONPATH}:$(pwd)/chafon-rfid" \
python examples/continuous-read.py 192.168.1.190 [spreadsheet_id]
A second script single-read.py
shows how to connect to different types of Chafon
reader via serial or TCP/IP and obtain information about the reader as well as to
perform a read.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for wabson.chafon_rfid-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b56901f66b4ae29194e7084413593c060c448005141dae65b0e0629efc546d3 |
|
MD5 | afc15b997060d9e3b4d88b068dc3602d |
|
BLAKE2b-256 | 5ee482459e2a6f7e07621998e74eb83d82aaecac73d66b9b61b43b72587e1b09 |