Reference guide for connecting external APIs to Home Assistant via Node-RED, YAML, or custom integrations. Covers authentication patterns and endpoints for energy, weather, transport, smart home, and global APIs.
Ships in aurora-smart-home. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Reference skill for connecting external APIs and services to Home Assistant.
This skill covers authentication patterns and working code examples for connecting popular APIs to Home Assistant via three methods:
rest sensor and rest_command (good for simple polling)ha-integration skill)CREDENTIALS IN SECRETS - NEVER HARDCODED IN FLOWS OR YAML
API keys belong in Node-RED credentials, ESPHome secrets.yaml, or HA secrets.yaml.
Never paste real tokens into chat, flows that get exported, or YAML committed to git.
| Category | File | APIs Covered |
|---|---|---|
| Energy & electricity | references/energy-apis.md | Tibber, Nordpool, Energi Data Service |
| Weather | references/weather-apis.md | SMHI, OpenWeatherMap, yr.no, Tomorrow.io |
| Transport | references/transport-apis.md | SL, Trafikverket, Resrobot, Entur (NO) |
| Smart home clouds | references/smarthome-apis.md | Shelly Cloud, Tuya IoT, Philips Hue, IKEA Dirigera |
| Global / other | references/global-apis.md | OpenAI, Spotify, Google Calendar, Telegram, GitHub |
| Pattern | How it works | Examples |
|---|---|---|
| API key in header | Authorization: Bearer {key} or X-API-Key: {key} | Tibber, OpenAI |
| API key in URL | ?appid={key} appended to URL | OpenWeatherMap |
| OAuth2 | Get access token first, refresh periodically | Spotify, Google |
| Local token | One-time press-button auth on device | Philips Hue |
| No auth | Public API, no credentials needed | SMHI, yr.no, Nordpool |
| Basic auth | Username + password Base64-encoded | Some local devices |
For each API, generate code for the method the user needs:
Node-RED: http request node + function node to parse + api-call-service to push to HA
HA YAML: rest sensor platform or rest_command under configuration.yaml
Full integration: Use ha-integration skill with the polling-integration template
{
"type": "http request",
"method": "GET",
"url": "https://api.example.com/data",
"headers": {"Authorization": "Bearer {{env.API_KEY}}"},
"ret": "obj"
}
{
"type": "http request",
"method": "POST",
"url": "https://api.tibber.com/v1-beta/gql",
"headers": {
"Authorization": "Bearer {{env.TIBBER_TOKEN}}",
"Content-Type": "application/json"
},
"payload": "{\"query\": \"{ viewer { homes { currentSubscription { priceInfo { current { total } } } } } }\"}",
"ret": "obj"
}
rest:
- scan_interval: 300
resource: https://api.example.com/current
headers:
Authorization: !secret example_api_key
sensor:
- name: "Example Value"
value_template: "{{ value_json.data.value }}"
unit_of_measurement: "°C"
!secret (YAML), Node-RED credentials, or env vars - never hardcodedscan_interval or flow timer accordingly)Pairs with:
node-red skill - for flow JSON implementationha-yaml skill - for YAML sensor and automation using the fetched dataha-integration skill - for building a full HACS-publishable Python integrationWhat SKILL.md sets; muted values are Claude Code's defaults
/aurora-smart-home:API-Catalogfrom aurora-smart-home
aurora-smart-home@nicu-ai-tools is listed by mascatunike/nicu-ai-tools — review the source before installing
npx claudepluginhub mascatunike/nicu-ai-tools --plugin aurora-smart-home6 skills in this plugin
/ESPHomeESPHome device configuration, firmware, and IoT product development. Covers ESP32, ESP32-S3, ESP32-C3, ESP32-C6, ESP32-H2, ESP32-P4, ESP8266, RP2040, RP2350, nRF52, LibreTiny, Shelly, Sonoff, Tuya, BLE proxy, Matter firmware, Thread, Zigbee, GPIO, sensor YAML, LVGL displays, LED strips, voice assistant hardware, device flashing, Arduino conversion, alarm_control_panel, lock, valve, media_player, microphone, speaker, audio DAC, event entities, datetime entities, Z-Wave proxy, MIPI DSI displays, and DLMS smart meters. Also covers designing new ESPHome-based products: hardware selection, component sourcing, PCB design (KiCad), enclosures, 3D printing, CE/FCC certification, BOM optimization, and manufacturing from prototype to production scale.
/HA-Dashboard-DesignHA Dashboard DesignBespoke Home Assistant dashboards with original layouts, typography, CSS themes, card-mod styles, and button-card templates. Nine distinct visual styles: Glassmorphism, Dark Minimal, Material You, Nordic, Neon/Cyberpunk, Warm Home, Soft Pastel, Luxury Gold, and Retro Terminal are starting points, not limits. Supports custom dashboards that do not look like the stock Home Assistant UI. Use when the user wants their own visual identity, asks about card styling, CSS for Home Assistant, card-mod, button-card templates, Lovelace themes, dashboard aesthetics, or wants a specific visual style - even if they don't use the words "design" or "CSS".
Other plugins' skills for the same job