Openhue技能使用说明
2026-03-26
新闻来源:网淘吧
围观:59
电脑广告
手机广告
OpenHue CLI
使用openhue通过Hue桥接器控制Hue灯光和场景。
设置
- 发现桥接器:
openhue discover - 引导式设置:
openhue setup
读取
openhue get light --jsonopenhue get room --jsonopenhue get scene --json
写入
- 开启:
openhue set light <id-or-name> --on - 关闭:
openhue set light <id-or-name> --off - 亮度:
openhue set light <id> --on --brightness 50 - 颜色:
openhue set light <id> --on --rgb #3399FF - 场景:
openhue set scene <scene-id>
注意事项
- 设置过程中您可能需要按下Hue桥接器上的按钮。
- 当灯光名称不明确时,请使用
--room "房间名称"参数。
文章底部电脑广告
手机广告位-内容正文底部


微信扫一扫,打赏作者吧~