WoowTech
Node-RED Guide

The Complete 22-Chapter Node-RED Tutorial

All 22 chapters include detailed guidance, practical examples, and technical verification against pinned source versions, covering secure foundations, hands-on Home Assistant projects, external integrations, and operations.

Part 1: Safe foundations

Part 2: Home Assistant in practice

09

Events: state and State Changes

Configure Events: state v6 selectors, output mapping, filters, durations, and reconnect behavior safely.

10

Current State, Get Entities, and Conditional Logic

Query cached state safely, protect inputs, map results, and handle missing or excessive data.

11

Action node, targets, data, and return values

Understand Action v7 targets, data merging, queues, responses, errors, and side-effect boundaries.

12

Home Assistant events, devices, time, and scheduled triggers

Compare event, device, tag, webhook, zone, time, and calendar triggers and their safety boundaries.

13

Motion sensing, lighting, and retrigger protection

Design a safe motion-lighting state machine with debounce, cooldown, cancellation, overrides, and restart handling.

14

Notifications, openings, climate, and exception handling

Plan door and window alerts, climate controls, rate limits, overrides, dependency checks, and error paths.

15

JSONata, Mustache, and data transformation

Choose among JSONata, Mustache, Function JavaScript, and HA Jinja using clear type and execution boundaries.

16

Function node: safe JavaScript and error handling

Write safe synchronous, asynchronous, and multi-output functions with clear lifecycle and error handling.

17

Links, Subflows, environment variables, the Library, and import/export

Structure reusable flows with Links, Subflows, environment variables, the Library, Projects, and safe exports.

18

Debug, Catch, Status, Complete, and Testing Strategies

Observe messages, errors, status, and completion events, then build a repeatable regression strategy.

Part 3: Engineering and operations