This guide explains how to install Node-RED software on a Linux Ubuntu VM (Virtual Machine) using Digital Ocean. Running Node-RED in the cloud allows you to access your Node-RED Dashboard from anywhere.
You can also install the MQTT Mosquitto Broker in your VM to connect several ESP32/ESP8266 boards and other IoT devices from anywhere using different networks with an Internet connection.
Node-RED is a powerful tool for building Internet of Things (IoT) applications using visual programming: connect code blocks (nodes) together to perform a task. Node-RED provides a dashboard (Node-RED dashboard) that can be used as an Home Automation platform to interact with IoT devices to control outputs and monitor sensors.
You can easily establish a communication with Node-RED and your ESP32/ESP8266 boards using HTTP requests or MQTT, for example.
What’s the advantage of installing Node-RED on the cloud (Digital Ocean hosting service) and how it works? Here’s an example.