Join out Email list and receive updates,new scripts,videos and tutorials.
-------------------------------------------------------------------------------
Important Code Note: The code that you download was written for the version 1 client. For version 2 you will need to make a simple change when creating the client.
client= mqtt.Client(cname)
should be replaced with
client= mqtt.Client(mqtt.CallbackAPIVersion.VERSION1,cname)
------------------------
Buy Me A Coffee
if you find this useful and would like to make a contribution, then you can do so by clicking here.
A very good tutorial,thank you,Sir.