跳到正文
cccskills
免费在 GitHub 公开

philips-hue

Control Philips Hue lights locally: list lights and rooms, set brightness/color, activate scenes, read sensors. Trigger phrases: philips hue, hue lights, my lights.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md3.5 KB
  • bin/philips-hue.py8.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Philips Hue

Purpose

Control the user's Philips Hue setup over the local Hue CLIP v2 API: list lights and rooms, set light state (on/off, brightness, color), set room-level grouped lights, activate scenes, and read motion, temperature, and light-level sensors. Use when the user mentions Hue or their lights.

Tooling

All commands go through bin/philips-hue.py and need --host (the bridge base URL, e.g. https://192.168.1.50):

bin/philips-hue.py --host https://192.168.1.50 auth                 # verify the bridge key
bin/philips-hue.py --host https://192.168.1.50 lights               # list lights and state
bin/philips-hue.py --host https://192.168.1.50 light-set --light-id abc --on on --brightness 80 --color "#ff8800"
bin/philips-hue.py --host https://192.168.1.50 rooms                # list rooms
bin/philips-hue.py --host https://192.168.1.50 grouped-light-set --grouped-light-id abc --brightness 50
bin/philips-hue.py --host https://192.168.1.50 scene-recall --scene-id abc   # activate a scene
bin/philips-hue.py --host https://192.168.1.50 sensors --type motion # motion|temperature|light_level|all

Auth

  • Provider id: philips-hue (credential is collected as custom.philips-hue)
  • Collection (local): no cloud key needed. Pair once: press the physical link button on the bridge, then POST https://<bridge-ip>/api with body {"devicetype": "muse-connector"}. The returned username is the application key; store it as custom.philips-hue via the secure credential flow (credentials.request_api_access). The CLI sends it in the hue-application-key header
  • Collection (remote, off-network): OAuth2 Hue Remote API (see developers.meethue.com remote authentication). Same CLI contract, different host and a remote token
  • Allowed hosts: derived from --host at runtime (the bridge's LAN IP or hostname); the CLI refuses to send the key anywhere else
  • Status check: bin/philips-hue.py --host <url> auth (must return "ok": true)
  • Bridge discovery: mDNS on the LAN, or https://discovery.meethue.com
  • TLS: the bridge presents a self-signed certificate. If Python rejects it, point SSL_CERT_FILE at the bridge CA certificate before running the CLI

Operating Rules

  1. Every write (light-set, grouped-light-set, scene-recall) acts on the physical home: confirm the exact light/room and the change with the user before running, unless standing permission exists. Whole-home changes (e.g. turning everything off) need explicit confirmation.
  2. Reading (lights, rooms, sensors, auth) needs no confirmation.
  3. This connector only targets CLIP v2 (/clip/v2). CLIP v1 is legacy and not supported.
  4. The local API works only when the runtime is on the same LAN as the bridge; off-network, switch to the remote OAuth path above.
  5. Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/philips-hue.py). Do not print, log, or transmit the key value.

Files

  • SKILL.md
  • bin/philips-hue.py

Maturity

🧪 Draft: written from Philips Hue's public CLIP v2 docs; not yet live-tested end-to-end.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

<What it does, one line>. Trigger phrases: <phrases>.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

airtable

免费

List Airtable bases, read table records, and add records. Trigger phrases: airtable, my base, add a record, spreadsheet.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

Stock quotes and daily price history. Trigger phrases: stock quote, alphavantage, stock price.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

amadeus

免费

Search travel with Amadeus: flight offers and prices, airport autocomplete, hotel offers, cheapest dates. Trigger phrases: amadeus, flight search, flight prices, hotel search.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

anthropic

免费

Check Anthropic API access and list available Claude models. Read-only. Trigger phrases: anthropic, claude models, anthropic api.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

apollo

免费

Search B2B contacts with Apollo.io: find people by title and company, enrich contacts and companies. Trigger phrases: apollo, find prospects, enrich contact.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

查看 Anil-matcha 的全部技能

报告此技能的问题