-JSON has become a very popular format for sending and storing data.
In this tutorial you will learn how to send and receive JSON data using the Paho Python MQTT client.
We start with a brief description of what JSON is.
We then cover step by step how you take Python dictionary object and encode it as a JSON string and send it over MQTT.
We will then receive the JSOB string in the MQTT client and convert it back to a python dictionary object.
Download demo script used in video
https://www.buymeacoffee.com/steveH5u...
Tutorial on website
http://www.steves-internet-guide.com/...
Related videos and Tutorials
Understanding and Using Callbacks -http://www.steves-internet-guide.com/...
Related videos
Python MQTT Client The Loop and Callbacks explained
• Python MQTT Client The Loop and Callbacks ...
-------------
Simple MQTT Controllable Sensor Using Python
• How to create a Smple Controllable MQTT Se...
Have a question Use the comments or if you want help then use
http://www.steves-internet-guide.com/...
If you find these videos useful then you might want to consider buying me a coffee
https://www.paypal.me/StepenCope
In questa pagina del sito puoi guardare il video online How to Encode, Send and Receive JSON Data Using the Python MQTT Client della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Steve Cope 24 ottobre 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 25,006 volte e gli è piaciuto 254 spettatori. Buona visione!