Skip to main content

Read RFID data from Chafon UHF readers

Project description

Chafon RFID reader

Build Status codecov

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wabson.chafon-rfid-0.0.5.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

wabson.chafon_rfid-0.0.5-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page