Node-Red


Description:

Node-RED is an open-source visual programming tool designed for wiring together hardware devices, APIs, and online services in new and interesting ways. It provides a browser-based flow editor that allows users to create flows by dragging and dropping nodes onto a canvas and connecting them together. Each node represents a specific function or service, and flows are created by connecting the output of one node to the input of another.

Note: When I got started with Home Assistant, Node-RED was the go-to automation platform, and Home Assistant was more like the coordinating state machine. Today, Home Assistant has done a lot to improve automation support natively, and it is now probably more common for people to stick with Home Assistant for all their automations. I may get there someday, but I’m unlikely to do so anytime soon.





Setup/Config:



Useful Palettes:



Node-RED Example

Two flow examples for regulating a skylight. The window is regulated by internal & external temperatures and the shade by the sun’s position (azimuth & elevation).

Want to know more about Flow-based Programming (FBP)?