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 change BROKER_IP to yours. run client1.py run client2.py