تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

homeassistant-n8n-agent

بواسطة enchantedmotorcycle

Coding Agents & IDEs
2.3kالتنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Bridge OpenClaw with your n8n instance for Home Assistant automation.

الوصف

ما الذي تفعله هذه المهارة

Routes natural language IoT commands through n8n workflows to control Home Assistant devices. Classifies requests as state queries, actions, historical lookups, or calendar checks, then sends the appropriate POST request to a local n8n webhook.

Using n8n as middleware lets you build and modify automation logic visually without changing the skill itself.

متى تستخدمها

  • Turning lights on or off by voice-style prompt
  • Checking if a smart appliance is currently running
  • Adjusting thermostat temperature with a plain text request
  • Looking up when a door or sensor last triggered
  • Querying upcoming calendar events from Home Assistant

مثال على سير العمل

الإدخال

User asks: 'Is the air conditioner running?'

الوكيل
  1. 1

    Classify the request type as 'state' since it asks about a current device condition

  2. 2

    Format a POST request with chatInput set to the user's question and requestType set to 'state'

  3. 3

    Send the curl request to the local n8n webhook at localhost:5678

  4. 4

    Receive the workflow response with the current AC state

  5. 5

    Return the result to the user

الإخراج

'Yes, the air conditioner is currently running.'

المتطلبات

  • n8n instance running locally or accessible at a known URL
  • Home Assistant instance connected to n8n
  • n8n webhook configured with the workflow ID matching the URL in the skill

التثبيت

clawhub install enchantedmotorcycle/homeassistant-n8n-agent

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط