Below you will find pages that utilize the taxonomy term “Python”
MQTT with Python
The library that allows to connect and interact with an MQTT broker (mosquitto) is paho. to get it.
pip install paho-mqtt
You need to know two things before start (for now):
- MQTT broker (mosquitto) server IP and PORT
The default port of the MQTT broker is 1883
And for this test define a default Topic to communicate the clients. The Topic can also be called channel and can be defined as the conference room you enter whether to talk or to listen to it.
A tool for uploading static html files
This site is created using a static site generator called hugo. There are many others, few example are Jekyll or Hexo. For the book I’m writing (read) I use a different tool called Sphinx and helps organizing the content you want to publish.
How most of these site builder applications work is the following: You start by choosing a tempate to use, or code your own; load your images and other static files, and write each of your website’s pages to shape it the way you want it to be.