You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Python has a very simple format for publishing and subscribing to data when it comes to MQTT. The first step was to install the needed libraries and the python version was to be updated to python 3 as the libraries only support this version. The library used was paho-mqtt. Since we had not worked with MQTT in python during the course, we watched an introduction to using this library, the link for this is; https://www.youtube.com/watch?v=c_DPKujOmGw. The publisher and subscriber is mostly similar with some differences. This will be outlined and detailed throughout this section. 


Before implementing the publisher and subscriber in python for our project, we chose to 

  • No labels