Set up MQTT protocol

If you want to run these code, you need to download paho-mqtt library.

pip install paho-mqtt

(I use anaconda virtual environment.)

Getting started

  1. change BROKER_IP to yours.

  2. run client1.py

  3. run client2.py