homeassistant-n8n-agent
Installation
SKILL.md
Home‑Assistant – n8n Agent Skill
This skill bridges OpenClaw with your n8n instance for Home Assistant automation.
How it works
Uses curl to trigger a n8n workflow for all things related to IoT. All requests should be a POST formatted as follows: curl -X POST http://localhost:5678/webhook/05f3f217-08b9-42de-a84a-e13f135bde73 -H "Content-Type: application/json" -d '{"chatInput": "USERS QUESTION/REQUEST", "requestType": "DETERMINED REQUEST TYPE", "sessionId":"openclaw"}'
Steps
Determine the nature of a user's prompt.
- Is the inquiry about a current device state or multiple states? If so,
requestTypeisstate - Is the inquiry asking for an IoT device state to be changed? If so,
requestTypeisaction - Is the inquiry asking about IoT data from the past? If so,
requestTypeishistorical - Is the inquiry asking about calendar or schedule information? If so,
requestTypeiscalendar
Quick Reference
Action
curl -X POST http://localhost:5678/webhook/05f3f217-08b9-42de-a84a-e13f135bde73 -H "Content-Type: application/json" -d '{"chatInput": "turn off the office light", "requestType": "action", "sessionId":"openclaw"}'