Node-RED is a visual programming tool that streamlines the integration of devices, APIs, and online services. With its drag-and-drop interface, users can easily create workflows by connecting predefined nodes to perform various tasks without extensive coding. It's widely used in IoT, home automation, and industrial automation applications for its flexibility, scalability, and ease of use. Node-RED enables rapid development of IoT solutions, from simple data collection to complex automation scenarios.
- Create a Blynk template based on the provided blueprint. Click the
Use Blueprint
button inMQTT Air Cooler/Heater Demo
. - In the left panel, select
Devices
. - Click the
New Device
button. - Select
From Template -> MQTT Demo
, and clickCreate
.
Note
Please make a note of the device credentials that appear in the upper right corner. You'll need them in the next step.
Follow the instructions provided in the official Node-RED documentation to install Node-RED.
- Import the file "flow.json" to Node-RED.
- Open settings for the MQTT node and edit the server property: go to the Security tab and set your Blynk device credentials in the Password field, and "device" in Username field.
Deploy the flow and go to blynk.cloud for testing.