** setup
- Install python2
- Install paho-mqtt libtray:
pip install paho-mqtt
- Download all three python files in the gist and store them in the same directory:
- To run the subscriber run
python mqtt_subscriber.py
- To run the publisher run
python mqtt_publisher.py