
Adopt a hands-on, project-based approach to Node-RED, building real IoT examples with ESP32, MQTT and Docker. See practical node usage through complete workflows, with optional background theory for later study.
Explore ESP32, MQTT and Docker projects with a clear disclaimer. Adapt wiring and coding, and follow safety guidelines to avoid hazards, recognizing there is no guaranteed outcome across environments.
Install and run the mosquito broker with Docker, linking config, data, and logs folders to the container, opening port 1883, adjusting permissions, and verifying with Portainer logs.
Install and run Node-RED in a Docker container. Create and mount a persistent Docker volume for Node-RED data, then deploy and back up flows.
Explore MariaDB as a MySQL fork and install it with Docker to create databases via CLI. Use Docker exec to create database like Node-red course and access it with Adminer.
Explore Node-RED as the ideal environment for building this elephant maker and learn installation, configuration, menus, and how to find and implement all nodes for practical examples.
Explore the join node in node-red, combining temperature, humidity, and air quality into one message for debugging and storing data in a database.
Explore how MQTT works with a mosquitto broker, publish topic temperature from a DHT-20 sensor on an ESP32, and subscribe with Node-RED, CLI, and dashboards.
Explore connecting microservices with node-red as the main station, configuring mqtt with the mosquito broker, connecting to Influxdb, and visualizing data in Grafana.
Visualize node-red temperature data in Grafana using an InfluxDB flux data source and API token; configure the data source, create a dashboard, and enable updates every five seconds in Celsius.
Introduce the ESP32 chip variants, including dev kit and D1 boards, and outline their advantages and disadvantages. Set up Visual Studio Code and PlatformIO to run the first WiFi sketch.
Program an ESP32 to blink an LED without delay using millis and a previous millis timer, toggling pin 26 with a 1-second interval inside a loop.
Toggle a led via mqtt on esp32 using node-red by subscribing and publishing to topics, testing bidirectional communication, and handling led state with on/off messages.
Establish wifi and mqtt connections on the ESP32, include credentials.h and topic callbacks, and implement a reconnect loop with blink without delay to enable node-red messaging.
Explore wiring and programming a BH1750 light sensor with an ESP32, reading lux and printing via serial. Prepare to transfer the data to node-red for IoT integration.
Learn to control an ESP32-driven fan via MQTT with Node-RED using inject nodes to send true/false to a fan topic, update pin 18, and handle JSON messages in code.
Visualize API data on an e-ink display and refresh hourly with an ESP32 and a Li-Po battery in deep sleep, while using Node-RED to perform HTTP requests.
Set up the ESP32 C3 from Seed Studio, implement a blink sketch with PlatformIO and the Arduino framework, and verify WiFi and Arduino IDE integration.
Install the gpd2 library in the Arduino IDE, open the minimum example, configure a 2.13-inch e-ink display, and print hello world.
Edit and transform JSON in Node-RED with a function node, access message.payload, and build a new message containing temperature, humidity, weather, day, and date for ESP32 processing.
Configure telegram messaging in Node-RED by installing the telegram bot nodes, creating a telegram bot and API key, and wiring the sender and debug nodes to relay messages.
Save the latest ESP32 cam photo to the server with a write file node in Node-RED, storing it in the Docker data folder for later Telegram or email processing.
Integrate Telegram messaging in a Node-RED flow to notify via text and photo when the ESP32 motion detector triggers, including chat ID handling, file name, and a safe delay.
Demonstrates using an rfid tag and an esp32 to trigger a time-tracking rest api, starting and stopping recordings and persisting entries to a database.
Wire the esp32 d1 mini with an rfid module on 3.3v only, using the spi pins (mosi, miso, sck), irq, gnd, and reset, with two leds to show login status.
Read the RFID id from a chip with the MFRC522 library on ESP32, wiring SDA to 26 and RST to 5, extract the UID, and print it.
Configure and transmit RFID tag data from the ESP32 to Node-RED using MQTT publish topics, set up debug nodes, and troubleshoot connection delays to ensure a single message per tag.
Store an RFID read entry in a flat file on the server using a Node-RED flow with ESP32 data, MQTT, and Docker, saving to time records.txt.
For Makers and DIY enthusiasts who want to take their Internet of Things (IoT) projects into their own hands.
Welcome to my online course on Node-RED, MQTT and ESP32! Designed specifically for Makers and DIY enthusiasts, this course gives you the opportunity to take your projects to the next level by combining Node-RED, MQTT and ESP32.
Node-RED is a visual programming environment that allows projects to be created easily and intuitively without the need for in-depth programming knowledge. MQTT is a lightweight protocol for data transmission in IoT networks, with which end devices can be connected quickly and easily. The great advantage of MQTT is that transmission is possible in near real time. The ESP32 is a powerful microcontroller that is ideal for IoT projects thanks to its integrated WiFi and Bluetooth support.
In this course you will learn how to use Node-RED to control and regulate your ESP32-based projects and exchange data via MQTT. You will learn how to build your own IoT network, collect data from sensors and visualise it in real time with actual programs like InfluxDB or Grafana. You will also learn how to monitor and control your projects via the internet and retrieve data from anywhere in the world.
This course is ideal for Makers and DIY enthusiasts who want to take control of their projects and deepen their knowledge of the Internet of Things with MQTT and Node-RED. The combination of Node-RED, MQTT and ESP32 gives you the flexibility and power you need to turn your projects into reality.
What you learn:
Node-RED Installation and Setup
Mosquitto MQTT Broker, Grafana and InfluxDB as well as MariaDB with Adminer
All microservices are also shown with the Docker variant.
Implementation of ESP32 projects with PlatformIO
Combination of ESP32, MQTT and Node-RED
Creating and programming your own function nodes with JavaScript
State of the Art ESP32 Programming with C++
After this course you will be able to implement your own IoT projects
So let's get started and learn how you can create your own IoT projects!
Markus Edenhauser, MA MSc