Node-RED: IoT Development with ESP32, MQTT, Shelly and Tasmota
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.
This course is part of my 10-hour Node-RED IoT course and has the following content.
Installation
- Why Docker?
- Get a vServer
- Docker Installation
- Docker CLI using the example of Focalboard
- Portainer
- Mosquitto Broker
- Run Mosquitto in the Container
- ohmyz for more convenient terminal handling
- Mosquitto Broker with PW authentication
- Node-RED
- Node-RED with authentication
- InfluxDB
- Grafana
- MariaDB and create a DB via CLI
- Adminer
- Update Docker Container
- Traefik as reverse proxy for SSL access
- SSL for Node-RED with Traefik Labels
- Cronjobs for backup routines
- Backup of Node-RED Flows via Cronjob
First overview of Node-RED
- Intro
- Separation of tasks of software and hardware
- First overview of flow and nodes
- Overwrite Payload with Function Node
- Process JSON
- Context, flow and global variables
- So many nodes
Project
- Intro
- Flashing Tasmota
- Configure Tasmota
- Switching Tasmota sockets with Node-Red
- Read sensor data from Smart Plug
- Save energy data in InfluxDB and visualize in Grafana
- Shelly 1PM Setup
- Shelly and Node-RED via RPC
- Toggle Shelly with Node-RED
- Relay temperature monitoring with telegram notification
See you in class
Course Content: 2+ hours