Home Assistant Nodes
How to connect Node-RED to Home Assistant with the node-red-contrib-home-assistant-websocket palette, including the server config, state and action nodes, JSONata, and reading states from context.
How to connect Node-RED to Home Assistant with the node-red-contrib-home-assistant-websocket palette, including the server config, state and action nodes, JSONata, and reading states from context.
What Node-RED is, how flows, nodes, and messages work, how to install it with Docker, npm, or the Home Assistant add-on, and how to build your first flow.
Comprehensive collection of Nginx reverse proxy configuration examples for popular applications including Nextcloud, Jellyfin, Home Assistant, and more.
This example shows a Node-RED flow that watches a hardwired smoke and carbon monoxide (CO) detector, plus a battery powered listener that hears the detector's alarm, in Home Assistant. When any of them goes off, it sends a high priority phone notification and switches the living room lights to a fire alarm scene. When they clear, it sends a quieter notification and puts the lights back.
This example shows a Node-RED flow that keeps a Home Assistant thermostat inside safe limits and reports on its health. All temperatures are in °F.
How to debug Node-RED flows, with fixes for common problems such as nothing happening, undefined errors, Invalid JSON in Home Assistant actions, wrong timezones, lost context, loops, and duplicate notifications.