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
Optionally, install pyserial (for serial communication) and Google client (for writing results to a spreadsheet) libs,
via pip
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
to install the package into your own project use pip
pip install wabson.chafon-rfid
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.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd80754e474d8f211b324a828fb263b0627ce41693878f46c1bf170d67ec7bbb |
|
MD5 | b5984ec2c6a2fa45a702d5ee7aedc0d5 |
|
BLAKE2b-256 | ee926418ddddd0c9135770d6a1be1fb4dbe750e02e0018bf7224b4dd74ccac7c |