Drive an installed LaRuche App through its declared actions, never its files.
中文简介正在准备中。当前显示原文说明。
Control Philips Hue lights, scenes, rooms via OpenHue CLI.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Control Philips Hue lights and scenes via a Hue Bridge from the terminal.
Releases ship ARCHIVES, not bare binaries. The asset names are
openhue_<OS>_<arch>.<ext>, e.g. openhue_Windows_x86_64.zip,
openhue_Linux_x86_64.tar.gz, openhue_Darwin_all.tar.gz. A URL built as
openhue-linux-amd64 does not exist and returns 404.
# Windows: download, extract, put on PATH
$dst = "$env:LOCALAPPDATA\Programs\openhue"
New-Item -ItemType Directory -Force $dst | Out-Null
$url = "https://github.com/openhue/openhue-cli/releases/latest/download/openhue_Windows_x86_64.zip"
Invoke-WebRequest $url -OutFile "$env:TEMP\openhue.zip"
Expand-Archive "$env:TEMP\openhue.zip" -DestinationPath $dst -Force
[Environment]::SetEnvironmentVariable("Path", "$env:Path;$dst", "User")
# Linux
curl -sL https://github.com/openhue/openhue-cli/releases/latest/download/openhue_Linux_x86_64.tar.gz \
| tar -xz -C ~/.local/bin openhue
# macOS
brew install openhue/cli/openhue-cli
Verify before anything else: openhue version (note: --version flag doesn't exist on recent versions, use the version subcommand instead). If the command is not found, it is
NOT installed, whatever ~/.openhue/config.yaml contains: the config file survives
the binary and is not proof of an install.
First run: press the button on your Hue Bridge to pair. The bridge must be on the same local network.
OpenHue stores its configuration in ~/.openhue/config.yaml:
bridge: <BRIDGE_IP>
key: <API_KEY_GENERATED_AT_PAIRING>
~/.openhue/config.yaml and run the setup again.openhue get light and look at whether it answers, not at the key.openhue get light # list all lights with exact names
openhue get room # list rooms
openhue get scene # list scenes
Light and room names are case-sensitive - always verify with openhue get.
openhue set light "Bedroom Lamp" --on
openhue set light "Bedroom Lamp" --off
openhue set light "Bedroom Lamp" --on --brightness 50 # 0–100
openhue set light "Bedroom Lamp" --on --temperature 300 # 153 (warm) – 500 (cool) mirek
openhue set light "Bedroom Lamp" --on --color red
openhue set light "Bedroom Lamp" --on --rgb "#FF5500" # color-capable bulbs only
openhue set room "Bedroom" --off
openhue set room "Bedroom" --on --brightness 30
openhue set scene "Relax" --room "Bedroom"
openhue set scene "Concentrate" --room "Office"
# Bedtime: dim warm
openhue set room "Bedroom" --on --brightness 20 --temperature 450
# Work: bright cool
openhue set room "Office" --on --brightness 100 --temperature 250
# Movie: dim living room
openhue set room "Living Room" --on --brightness 10
# All off (adapt room names to your setup)
for room in "Bedroom" "Office" "Living Room"; do openhue set room "$room" --off; done
--color, --rgb) only work on color-capable bulbs, not white-only models.cron_create for scheduled lighting (dim at bedtime, bright at sunrise).还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Drive an installed LaRuche App through its declared actions, never its files.
中文简介正在准备中。当前显示原文说明。
Find academic papers on arXiv, with citation counts and BibTeX.
中文简介正在准备中。当前显示原文说明。
Render text or an image as ASCII art for terminal-friendly output.
中文简介正在准备中。当前显示原文说明。
Track RSS/Atom feeds and blogs via blogwatcher-cli.
中文简介正在准备中。当前显示原文说明。
Drive a real web browser: navigate, read, find, click, fill, screenshot
中文简介正在准备中。当前显示原文说明。
Measure a codebase: lines of code, language mix, and symbol lookups.
中文简介正在准备中。当前显示原文说明。