More work

This commit is contained in:
Stuart Feichtinger 2016-01-31 18:57:43 -06:00
parent f84dd400ed
commit 60ff208e80

View File

@ -1,4 +1,21 @@
# Adafruit MQTT Library example with support # Adafruit MQTT Library example with support
This example shows how an esp8266 can publish an arbitrary buffer to an MQTT 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.
feed which can then be parsed by a subscribed python 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
'''