Skip to content

This is a python script that reads RFID IDs from an RC522 and publishes them via MQTT

License

Notifications You must be signed in to change notification settings

LudwigKnuepfer/mqtt-rc522

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mqtt-rc522

This is a python script that reads RFID IDs from an RC522 and publishes them via MQTT

Installation

Assuming you're on a raspberry pi running the latest (as of this time) raspbian distribution (Debian 9.4):

sudo cp pi-mqtt-rc522.py /usr/local/bin/pi_mqtt_rc522
sudo cp rc522-daemon.service /lib/systemd/system/
sudo systemctl enable rc522-daemon.service
sudo systemctl start rc522-daemon.service

Installing Prerequisits

sudo pip3 install pi-rc522
sudo pip3 install paho-mqtt

About

This is a python script that reads RFID IDs from an RC522 and publishes them via MQTT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages