Mastering MQTT Protocol A Beginner’s to Advance Level Guide

Learn From the Core Concepts to Setup, Security and Real Time Implementation of MQTT Protocol.

Hello, learners!

What you’ll learn

  • Students will Learn About MQTT Protocol Background What, Why and Where?.
  • Installation of MQTT Broker on Windows / Linux / Mac OS X / Raspberry PI.
  • Mosquitto Client Pub/Sub Commands With Different Perameters.
  • Mosquitto Configuration.
  • Enabling Mosquitto Broker Web Sockets.
  • ACL & Auth for Secure Commnication Device to Broker.
  • Realt Time Projects Which Include Temperature & Humidity Sensor Data From Device to Web APP.
  • Controlling Device Acutators Via web APP.

Course Content

  • Introduction to MQTT –> 5 lectures • 28min.
  • Mosquitto MQTT Broker Setup –> 5 lectures • 36min.
  • Mosquitto Pub/Sub Client Commands in Details –> 8 lectures • 39min.
  • Mosquitto Configuration –> 3 lectures • 14min.
  • Enabling WebSockets in Mosquitto Broker for Web Clients Connectivity –> 2 lectures • 8min.
  • ACL & Auth in Mosquitto Broker –> 5 lectures • 34min.
  • Project#1 –> 4 lectures • 25min.
  • Project#2 –> 5 lectures • 21min.

Mastering MQTT Protocol A Beginner's to Advance Level Guide


  • Basic knowledge of Linux Commands, Networking Concepts & Programming.

Hello, learners!


Greetings From Muhammad Afzal. In this course, you will learn about the MQTT, from the Core Concepts to Setup, Security and Real Time Implementation of MQTT Protocol with different examples.

The course takes off with the introduction of MQTT Which Includes What, Why and Where the Utlization of MQTT protocol as well comparison  with other protocols. Then the course explains how MQTT benefits the field of Internet of Thing. Next, the course moves on to the MOSQUITTO MQTT BROKER which is one of the standard MQTT broker tool available and teaches how to install and test in on Difrerent Platforms Which Includes Windows / Linux / Mac OS X and Raspberry pi 3. Later you Will Learn Mosquitto Pub/Sub Commands for communication with Broker which includes different parameters. After we will explore the configuration file  and enable MQTT Web Sockets, Auth & ACL.

The course then introduces the WeMos D1 Mini (ESP8266 Based Board) which is a low-cost WiFi module that can be programmed using the Arduino IDE. Then the course demonstrates two projects that use MQTT protocol with WeMos D1 Mini (ESP8266 Based Board) & Raspberry PI.

Project#1: In this Project you will learn how to publish Temperature & Humidity Readings via MQTT Protocol using WeMos D1 Mini (ESP8266 Based Board) and how to display reading on Web Page Using Paho-MQTT JS Library.

Project#2: In this Project, you will how to control an LED remotely via Web Application. I also setup an Example of M2M Communication where Raspberry Pi Connected LED will be On/Off if Temperature of WeMos D1 Mini (ESP8266 Based Board) Rise to specific threshold.

The projects are designed to showcase the potential use cases of the MQTT protocol and the WeMos D1 Mini (ESP8266 Based Board) module such that you can build your projects.

While doing your projects and going through the course, you can feel free to ask your doubts on the Udemy discussion forum. You will get a response within one working day. Thank you and have a nice time learning.

Get Tutorial