Perth-Artifactory/rfid-tools

MQTT integration

Closed this issue · 0 comments

As well as publishing to syslog, the doorbot should also publish to the mqtt message broker in the space.

This will likely be done with the paho-python client.

Possible message format will be json with
{ 'what':'doorbot', 'message': 'Access Granted/Denied', 'card_hex': 0x111234 'card_decimal': 12345, 'matched person': 'Fred Bloggs'}

This can then be consumed by other things in the space for "Clever Things"