Node-RED
Skill by tonylofgren
Node-RED skill that helps an AI assistant build Home Assistant automation flows. It covers current node names, service calls, timers, context storage and error handling for Node-RED users.
Install Node-RED
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tonylofgren/aurora-smart-home /tmp/aurora-smart-home && mkdir -p ~/.claude/skills && cp -r /tmp/aurora-smart-home/node-red ~/.claude/skills/node-redRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tonylofgren/aurora-smart-home /tmp/aurora-smart-home && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/aurora-smart-home/node-red ~/.gemini/antigravity-cli/skills/node-redAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This is an agent skill, defined in a SKILL.md file, for building Node-RED visual automation flows for Home Assistant. It uses the node-red-contrib-home-assistant-websocket nodes (v0.80+) and points out that several node names have changed, such as server-state-changed, which is now trigger-state, and call-service, which is now api-call-service. The skill includes flow JSON examples for trigger, service call and current-state nodes, plus patterns for motion-light timers using extend, context storage scopes, and catch-node error handling.
The skill is aimed at people who use Node-RED with Home Assistant and want an assistant to produce correct flow JSON. It states the requirements as Node-RED 4.x on Node.js 18+ and Home Assistant 2024.3.0+. It also lists reference files for external API snippets and Dashboard 2.0 panels.
Written from the project's SKILL.md and checked against it.
What it can do
- Current trigger-state nodesWrites trigger-state node configuration with exact, substring or regex entity matching.
- API call-service flowsBuilds api-call-service nodes with fixed or message-driven domain, service and data.
- Motion-light timersUses a single trigger node with extend: true for timer patterns instead of separate reset nodes.
- Context storageExplains node, flow and global context scopes and persistence through settings.js.
- Error handlingShows catch node scoping, msg.error fields and a delay-based retry pattern.
- HTTP requestsRecommends the built-in http request node over global libraries in function nodes.
- Entity node prerequisitesFlags that ha-entity and entity config nodes need the separate hass-node-red integration.
- Dashboard and API referencesPoints to reference files for Dashboard 2.0 panels and popular external API snippets.
What you need
- Node-RED 4.x
- Node.js 18 or later
- Home Assistant 2024.3.0 or later
- node-red-contrib-home-assistant-websocket (v0.80+)
- hass-node-red integration for entity nodes
Try asking
- Build a Node-RED flow that turns on a light when motion is detected.
- Create a Node-RED motion light flow with a 5 minute timer using extend.
- Write a Node-RED flow that monitors several motion sensors with regex matching.
Good to know
- There is no list type for entityIdType, so multiple entities need regex.
- api-current-state accepts only one entity_id.
- External libraries like axios need settings.js configuration and a restart.
- Entity nodes depend on the separate hass-node-red integration.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: node-red/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Node-RED
All alternatives →Diagnoses slow React components and suggests targeted performance fixes. Built for developers who want to reduce re-renders or list lag in React UIs.
Diagnoses slow React components and suggests targeted performance fixes. Built for React developers who need to reduce re-renders, list lag, or expensive render work.
Designs masterclass-style lectures as slide courses with dense pages, long teacher narration and rare quizzes. Built for subjects where understanding matters more than hands-on practice.
Designs hands-on workshop courses in which the learner practises through exercise and quiz pages instead of watching. It suits workshops, bootcamp sessions and skills the learner should leave able to use.
Analyzes competition and develops market positioning strategies using Porter's Five Forces, Blue Ocean Strategy, and positioning maps. Useful for founders and teams evaluating competitors or preparing a startup or investor pitch.
Designs courses whose content depends on current or external facts. It researches the topic first, records each claim with its source, and builds the outline and pages from fetched material. Built for educators teaching time-sensitive subjects.
Compare with react-component-performance, react-component-performance or lecture-style
Node-RED: common questions
Which Node-RED node names have changed?
The source says server-state-changed is now trigger-state or events:state, and call-service is now api-call-service.
Which versions does this skill require?
The source lists Node-RED 4.x with Node.js 18+, and Home Assistant 2024.3.0+.
Does it cover dashboards built in Node-RED?
Yes, it references a Dashboard 2.0 guide for web panels served by Node-RED, and says Lovelace is preferred for primary household dashboards.
How do I install Node-RED?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is Node-RED free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Node-RED safe to use?
It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Node-RED?
Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.
