lox-cli for Claude Code and GitHub Copilot
A command-line tool and skills with which an agent builds smart-home logic on a Loxone Miniserver without placing blocks by hand.
Install in Claude Code, GitHub Copilot and OpenCode
Manual install
brew install eisber/tap/lox-cliThe first README install command for macOS and Linux. The skill lives in `.github/skills/loxone-config`.
Access and checks
How we reviewBroad access. The tool can change data, run commands or handle secrets.
- The `lox config push` command uploads a configuration to a live building controller and reboots it.
- A Miniserver login and password are needed for connection, and telemetry sends usage data by default.
This is third-party code. Review the repository files before installing.
What it does
Loxone Config is a Windows desktop app where home logic is built by dragging blocks and drawing wires. `lox` replaces that with commands an agent calls. It reads a skill reference with block types, connectors and common mistakes, adds blocks, wires them and then checks the result on an offline simulator. A task is stated in words: switch the kitchen light on when dark and close the blinds after five minutes of sunshine. The tool handles configuration packing, checksums, identifier generation and connector tables for 221 block types. Every command can output JSON. A finished configuration goes to the device with `lox config push`. The repository holds three skills: `loxone-config`, `loxone-sim` and `loxone-patterns` with 13 automation recipes.
Who it is for. Loxone owners and integrators who set up rooms, blinds and climate and are ready to delegate building the logic to an agent.
Good fit when
- You want to describe a room scenario in words and get a ready block scheme.
- Before uploading to the Miniserver you want to check the logic on a simulator.
- The home configuration is kept as code in git and versions are compared.
- API user permissions must be granted on specific objects by command instead of mouse.
Not a fit when
- There is no Miniserver Gen 1 or 2 with firmware 12.0 or newer.
- The configuration is live and cannot change without checking every wire by hand.
- The device sits outside the local network you can reach.
Example request
Set up the kitchen: light turns on in the dark and blinds go up in strong wind. Check the scheme on the simulator and show the changes before uploading.Limitations
A Miniserver Gen 1 or 2 with firmware 12.0 or newer and local network access are required. The connection example passes the password in `lox setup set` command-line arguments, so use a dedicated user with minimal rights. Telemetry is on by default: switch it off with `lox telemetry disable` or `LOX_TELEMETRY=0`. The licence is dual, AGPL-3.0 and commercial. The agent result on the eval cases is about 80 percent, so run every scheme through `lox sim run` before pushing.
How to disable. Delete the `lox` binary and the `loxone-*` skill folders. Delete local configuration copies and saved connection settings by hand.
FAQ
How do I install lox?
`brew install eisber/tap/lox-cli` on macOS and Linux. Prebuilt binaries are on the releases page, along with `cargo install lox-cli` and a source build with `cargo build --release`.
How do I connect to the Miniserver?
Run `lox setup set --host <address> --user <name> --pass <password>`, then `lox config download --extract` fetches the configuration and `lox config describe config.Loxone` shows its contents.
How do I check the logic before uploading?
`lox sim run config.Loxone --sim '{...}'` runs a scenario on the offline simulator, and `lox config check` returns structured errors and warnings.
How do I send the result to the device?
`lox config push config.Loxone --reboot`. The README demo shows a refusal without confirmation, and the `--force` flag skips the prompt.
Which agents does it work with?
GitHub Copilot CLI, Claude Code, OpenCode and any agent that can run shell commands.
Is lox-cli safe to install?
Broad access. The tool can change data, run commands or handle secrets.
Discussion
No questions or reviews yet.
README in short
The README explains why to replace Loxone Config with commands and shows install and a quick start with a demo. Config-as-code, agent evaluation results and skill references follow.