Removed base 64 encoding

This commit is contained in:
2025-12-27 10:53:22 +01:00
parent 4521e2e65e
commit ee5bb7cd60
2 changed files with 5 additions and 6 deletions

View File

@@ -7,9 +7,9 @@ from services.mqtt_service import MQTTService
screen = Screen()
service = MQTTService("127.0.0.1", 1883)
def publish(uid : int) :
screen.displayMessage(str(uid))
service.publish("app", "/board-mate/rfid/scan", str(uid), 0)
def publish(chip_id : int) :
screen.displayMessage(str(chip_id))
service.publish("app", "/board-mate/rfid/scan", str(chip_id), 0)
if __name__ == "__main__":
screen.enableBackground()