To wydarzenie już się odbyło. Sprawdź nadchodzące wydarzenia
MQTT Lecture and Tutorial in Python and Javascript
Wydarzenie:
MQTT Lecture and Tutorial in Python and Javascript
Typ wydarzenia:
Spotkanie
Kategoria:
Tematyka:
Data:
09.12.2019 (poniedziałek)
Godzina:
18:30
Język:
angielski
Wstęp:
Bezpłatne
Miasto:
Miejsce:
Hackerspace Silesia
Adres:
Ligonia 7/112
Zaloguj się, by zgłosić zmianę.
Opis:
MQTT is an industry-standard pub/sub protocol for interprocess communication. Here is a list of upcoming training classes in Python, Javascript, GoLang and Erlang. Just cover my travel costs, and I can do it in your city also.
One process publishes information to a topic, other processes can subscribe to that topic. MQTT supports multiple Quality Of Service Levels: bes t effort, at least once, and exactly once. There is a tree of topics, so it is ideal for managing complexity. MQTT is an industry standard, so it runs on every platform imaginable. By the end of the lecture you should know enough to decide if MQTT is right for your projects, and which tools to use. By the end of the tutorial, you will have experience using the APIs and will have built a nice looking chat application.
The class starts with a 15 minute presentation. Here are the slides. http://pythonlinks.info/presentations/MQTTTalk.odp Then we work with MQTT.
First we will connect to and test our MQTT servers with MQTT Explorer. http://mqtt-explorer.com/
This class is being given in Python, Javascript, and soon GoLang, and Erlang. For this tutorial we are going to create two Python chat clients in two terminals. One will read the users text message and publish it. The other will print everyones messages.
Next we will send and receive chat messages from a browser console using Javascript.
And finally we will hook up an html chat widget to the broker. By the end of the class, everyone will have built their own GUI client for the class chat server.
Everyone please install MQTT Explorer.
http://mqtt-explorer.com/
For the Python tutorial, you should already have a Python 3 develooment environment.
Please install Paho MQTT library.
pip install paho-mqtt
One process publishes information to a topic, other processes can subscribe to that topic. MQTT supports multiple Quality Of Service Levels: bes t effort, at least once, and exactly once. There is a tree of topics, so it is ideal for managing complexity. MQTT is an industry standard, so it runs on every platform imaginable. By the end of the lecture you should know enough to decide if MQTT is right for your projects, and which tools to use. By the end of the tutorial, you will have experience using the APIs and will have built a nice looking chat application.
The class starts with a 15 minute presentation. Here are the slides. http://pythonlinks.info/presentations/MQTTTalk.odp Then we work with MQTT.
First we will connect to and test our MQTT servers with MQTT Explorer. http://mqtt-explorer.com/
This class is being given in Python, Javascript, and soon GoLang, and Erlang. For this tutorial we are going to create two Python chat clients in two terminals. One will read the users text message and publish it. The other will print everyones messages.
Next we will send and receive chat messages from a browser console using Javascript.
And finally we will hook up an html chat widget to the broker. By the end of the class, everyone will have built their own GUI client for the class chat server.
Everyone please install MQTT Explorer.
http://mqtt-explorer.com/
For the Python tutorial, you should already have a Python 3 develooment environment.
Please install Paho MQTT library.
pip install paho-mqtt