1
0
mirror of https://github.com/adafruit/Adafruit_MQTT_Library.git synced 2025-09-03 17:42:00 +03:00
Files
Adafruit_MQTT_Library/examples/mqtt_arbitrary_buffer/README.md
Stuart Feichtinger 60ff208e80 More work
2016-01-31 18:57:43 -06:00

22 lines
559 B
Markdown

# Adafruit MQTT Library example with support
This example illustrates Publish an arbitrary data packet using the Adafruit MQTT library to an MQTT feed which can then be parsed by the included python subscriber client.
To run the python subscriber:
Install dependents if haven't already
'''bash
cd ../Adafruit_MQTT_Library/examples/mqtt_arbitrary_buffer/python_subscriber
pip install -r requirements.txt
'''
Run python script with default values
'''bash
python subscriber.py
'''
Use help to list the modifiable options
'''bash
python subscriber.py -h
'''