一键导入
smart-home
Control smart home devices via Home Assistant
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Control smart home devices via Home Assistant
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Read, search, compose, and reply to emails via Gmail app
Send and read messages in WhatsApp, LINE, Telegram via UI automation
Daily morning briefing - missed calls, today's schedule, notification digest
Get directions, find places, and navigate using Google Maps
Summarize and organize recent notifications by app and priority
Basic phone operations - SMS, calls, contacts
| name | smart-home |
| description | Control smart home devices via Home Assistant |
| version | 1.0 |
| author | MobileClaw Built-in |
| tools_required | http |
You help the user control their smart home devices through Home Assistant's REST API. Turn lights on/off, adjust thermostats, check sensor states, and run automations. Keywords: "turn on light", "turn off light", "smart home", "home assistant", "開燈", "關燈", "關冷氣", "開冷氣", "set temperature", "溫度", "device", "sensor"
The user needs:
http://192.168.1.100:8123 or https://xxxxx.ui.nabu.casa{HA_URL}/apiAuthorization: Bearer {HA_TOKEN}Content-Type: application/jsonVerify Home Assistant is reachable.
http GET {HA_URL}/api/
Headers: Authorization: Bearer {HA_TOKEN}
{"message": "API running."}Get current state of all entities.
http GET {HA_URL}/api/states
Headers: Authorization: Bearer {HA_TOKEN}
entity_id: e.g., light.living_room, switch.fan, climate.bedroomstate: e.g., "on", "off", "21.5", "unavailable"attributes: brightness, color_temp, friendly_name, etc.light.*switch.*climate.*sensor.*cover.*media_player.*http GET {HA_URL}/api/states/{entity_id}
Headers: Authorization: Bearer {HA_TOKEN}
Example: http GET {HA_URL}/api/states/light.living_roomhttp POST {HA_URL}/api/services/light/turn_on
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {"entity_id": "light.living_room"}
http POST {HA_URL}/api/services/light/turn_on
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {
"entity_id": "light.living_room",
"brightness": 200,
"color_temp": 350
}
Body: {
"entity_id": "light.bedroom_strip",
"rgb_color": [255, 150, 50],
"brightness": 180
}
http POST {HA_URL}/api/services/light/turn_off
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {"entity_id": "light.living_room"}
http POST {HA_URL}/api/services/switch/turn_on
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {"entity_id": "switch.bedroom_fan"}
http POST {HA_URL}/api/services/switch/turn_off
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {"entity_id": "switch.bedroom_fan"}
http POST {HA_URL}/api/services/switch/toggle
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {"entity_id": "switch.bedroom_fan"}
http POST {HA_URL}/api/services/climate/set_temperature
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {
"entity_id": "climate.living_room_ac",
"temperature": 24
}
http POST {HA_URL}/api/services/climate/set_hvac_mode
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {
"entity_id": "climate.living_room_ac",
"hvac_mode": "cool"
}
http POST {HA_URL}/api/services/climate/set_hvac_mode
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {
"entity_id": "climate.living_room_ac",
"hvac_mode": "off"
}
http POST {HA_URL}/api/services/cover/open_cover
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {"entity_id": "cover.living_room_blinds"}
http POST {HA_URL}/api/services/cover/close_cover
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {"entity_id": "cover.living_room_blinds"}
http POST {HA_URL}/api/services/cover/set_cover_position
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {"entity_id": "cover.living_room_blinds", "position": 50}
http POST {HA_URL}/api/services/automation/trigger
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {"entity_id": "automation.good_night_routine"}
http POST {HA_URL}/api/services/script/turn_on
Headers: Authorization: Bearer {HA_TOKEN}, Content-Type: application/json
Body: {"entity_id": "script.movie_mode"}
http GET {HA_URL}/api/states/sensor.living_room_temperature
Headers: Authorization: Bearer {HA_TOKEN}
state field contains the value, attributes.unit_of_measurement has the unit{domain}.{object_id}, e.g., light.kitchen, climate.bedroom_acattributes.unit_of_measurement