✓ Verified 💻 Development ✓ Enhanced Data

Homeassistant N8n Agent

Bridge OpenClaw with your n8n instance for Home Assistant automation.

Rating
4.8 (431 reviews)
Downloads
1,866 downloads
Version
1.0.0

Overview

Bridge OpenClaw with your n8n instance for Home Assistant automation.

Complete Documentation

View Source →

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, requestType is state
  • Is the inquiry asking for an IoT device state to be changed? If so, requestType is action
  • Is the inquiry asking about IoT data from the past? If so, requestType is historical
  • Is the inquiry asking about calendar or schedule information? If so, requestType is calendar

Quick Reference

Action

bash
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"}'

curl -X POST http://localhost:5678/webhook/05f3f217-08b9-42de-a84a-e13f135bde73 -H "Content-Type: application/json" -d '{"chatInput": "change the downstairs thermostat to 72", "requestType": "action", "sessionId":"openclaw"}'

Historical

bash
curl -X POST http://localhost:5678/webhook/05f3f217-08b9-42de-a84a-e13f135bde73 -H "Content-Type: application/json" -d '{"chatInput": "when was the front door last opened?", "requestType": "historical", "sessionId":"openclaw"}'

State

bash
curl -X POST http://localhost:5678/webhook/05f3f217-08b9-42de-a84a-e13f135bde73 -H "Content-Type: application/json" -d '{"chatInput": "is the air conditioner running?", "requestType": "state, "sessionId":"openclaw"}'

Calendar

bash
curl -X POST http://localhost:5678/webhook/05f3f217-08b9-42de-a84a-e13f135bde73 -H "Content-Type: application/json" -d '{"chatInput": "when is my next meeting?", "requestType": "calendar, "sessionId":"openclaw"}'

Installation

Terminal bash

openclaw install homeassistant-n8n-agent
    
Copied!

💻Code Examples

### Action

-action.sh
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"}'

curl -X POST http://localhost:5678/webhook/05f3f217-08b9-42de-a84a-e13f135bde73 -H "Content-Type: application/json" -d '{"chatInput": "change the downstairs thermostat to 72", "requestType": "action", "sessionId":"openclaw"}'

Tags

#coding_agents-and-ides #automation

Quick Info

Category Development
Model Claude 3.5
Complexity Multi-Agent
Author enchantedmotorcycle
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install homeassistant-n8n-agent