Code Your World Without Writing a Single Line of Syntax.
You know exactly how your smart home should work. You can picture the logic in your head: "If the motion sensor triggers, AND it's after sunset, BUT the TV is off, then turn on the hallway lights at 20% brightness."
But trying to write that logic in standard apps or complex configuration files (YAML) often leads to frustration, syntax errors, and broken devices.
Automating with Node-RED is your guide to the world's most popular flow-based programming tool. Originally developed by IBM, Node-RED allows you to "draw" your code. By visually wiring together nodes that represent devices, functions, and data, you can build complex, professional-grade automations in minutes.
Stop struggling with code and start building flows. You will learn to:
Think in Flows: Master the visual editor. Learn how to drag, drop, and wire nodes to pass messages (msg.payload) from input to output.
Connect the Unconnected: Bridge the gap between incompatible brands. Make your Zigbee sensors talk to your Wi-Fi bulbs and your cloud API weather service.
Master the Core Nodes: Deep dives into the essential toolkit: Inject, Debug, Switch, Change, and Trigger nodes.
Build Beautiful Dashboards: Create a custom, browser-based user interface (UI) with buttons, sliders, and gauges to control your house from any tablet or phone.
Integrate with Hubs: Supercharge your existing setup by linking Node-RED with open-source hubs (like Home Assistant) or MQTT brokers (like Mosquitto) to handle the heavy lifting of logic.
Go Beyond Basics: For the power users, learn how to use the "Function" node to inject snippets of JavaScript for limitless customization.
Whether you are running on a Raspberry Pi, a Docker container, or a cloud server, this book unlocks the true power of the Internet of Things.
Don't just use your devices. Conduct them.