跳到正文
Skillpedia
其他20k · #10464

StudioLights

它能做什么

用一条命令设置摄影灯的亮度和色彩,并保存灯光场景以便之后调用。它适用于需要快速切换不同灯光配置的视频创作者。

适用场景

  • ✓当你想为录制设置摄影灯的时候。
  • ✓当你想调暗或调亮灯组中的某一盏灯的时候。
  • ✓当你想把当前灯光保存为一个场景的时候。

技能链接

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/StudioLights/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/StudioLights/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为录制设置摄影灯,并把主光稍微调暗一点。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能通过本地连接向 amaran 桌面应用发送命令,然后检查灯具是否报告了所请求的亮度。每个保存的场景都会恢复其名称下存储的确切亮度。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

StudioLights

Deterministic control of a studio lighting rig through amaran Desktop's local WebSocket API (ws://127.0.0.1:33782/ws, protocol v2 — the same local API the official Bitfocus Companion module uses). The tool auto-launches amaran Desktop if it isn't running.

Ideal State

  • Every lighting change runs through Tools/Lights.ts against the rig the USER tree's devices.json and scenes.json define; no fixture, name or level is assumed from this skill.
  • Done is said only when the lights themselves read back the requested state.
  • A saved scene restores exactly the levels saved under its name, whether "recording", "normal" or any later caller asks for it.

Intent Routing

Intent Trigger File
Control "recording", "set the lights", "light scene", "dim X", "save this lighting" Intents/Control.md
File Read when
Setup.md first-time setup: amaran Desktop, finding node IDs, and writing devices.json and scenes.json

Data & Config

The rig lives in the USER tree, never in this skill: LIFEOS/USER/CUSTOMIZATIONS/SKILLS/StudioLights/devices.json holds each fixture's name, node ID, model and whether it has color temperature, and scenes.json holds the saved scenes. Free-form notes about the rig (where each light stands, what each scene is for, which Shortcut or macro calls a scene by name) go in Config.md in the same folder; the tool never reads it. First-time setup, including how to find node IDs and a worked example of a voice trigger, is in Setup.md.

Tools/Lights.ts exits with an error pointing at Setup.md when devices.json is missing; Lights.ts devices lists the node IDs to put in it and runs before the file exists. The tool finds that folder from its own skill folder's name, so the skill folder and its USER folder must share a name.

Gotchas

  • amaran Desktop must be running, because it is the bridge between the Mac and the lights' Bluetooth mesh. Lights.ts launches it and waits up to 30s. If it opens signed out, it reports no lights; sign in once in its window.
  • Daylight-only lights report cct: 0 and ignore color-temperature writes. Mark them "supportsCct": false in devices.json and the tool skips CCT for them; Lights.ts devices guesses this for you.
  • The API's intensity unit is 0–1000, ten per percent. The tool takes 0–100 and converts.
  • Each light accepts one command per 200ms. The tool spaces writes 220ms apart, so a scene takes about half a second per light. Do not run writes in parallel.
  • Each request carries a token in the same AES-GCM format the official Bitfocus Companion module sends; Lights.ts builds it for every request.
  • amaran Desktop is the only automation path; the phone apps for these lights offer none.
  • Anything that calls a scene by name (a Shortcut, a macro, another skill) breaks silently when the scene is renamed in scenes.json, so update the caller when you rename. A Shortcuts "Run Shell Script" action works on a Mac only.

Examples

Example 1: Recording

User: "recording" / "set lights for recording"
→ Control intent
→ bun Tools/Lights.ts scene recording
→ Lights move to the levels saved in the recording scene

Example 2: Back to normal

User: "lights back to normal"
→ Control intent
→ bun Tools/Lights.ts scene normal
→ Each light reports back at the normal scene's levels

Example 3: Tune and persist

User: "key light to 30%" ... "perfect, save this as recording"
→ Control intent
→ bun Tools/Lights.ts set key --intensity 30
→ bun Tools/Lights.ts scene save recording
→ The recording scene now holds the levels the user tuned
常见问题

它能控制我家里的智能灯吗?

不能。它用于摄影灯组,不用于家中的照明或 Hue 灯。

需要 amaran 应用吗?

需要。它需要 amaran Desktop 应用,若该应用未运行,它可以帮你启动。

我保存的场景会改变吗?

不会。场景会恢复在其名称下保存的亮度设置。

详情

作者的原始描述

Controls Aputure and amaran studio lights via the amaran Desktop WebSocket API: named scenes, per-light brightness and color temp, save the current state. USE WHEN lights recording, lights normal, recording lights, set lights for recording, studio lights, light scene, dim the key light, set the lights, lights too bright, save this lighting, green screen lights. NOT FOR house/Hue lights or thermostat (a home-control skill), studio audio, or video editing.

repo: danielmiessler/LifeOS

热度

GitHub 星标
20k
排名
#10464
许可证
MIT
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能