loxone
от odrobnik
Web & Frontend DevelopmentКратко
Control and monitor a Loxone Miniserver (smart home) via HTTP API and real-time WebSocket.
Описание
Что делает этот навык
Connects to a Loxone Miniserver over HTTP and WebSocket to query and control smart home devices. Supports reading room temperatures, light states, and other sensor data, as well as sending on/off commands to controls. Real-time event watching is available via WebSocket with HTTP fallback.
Combines real-time WebSocket streaming with a reliable HTTP fallback, so you get live updates without losing access when WebSocket auth fails.
Когда его использовать
- Check current temperature in a specific room
- Turn lights on or off by room and control name
- Watch live sensor events as they change
- Get a full map of all devices and rooms
- Monitor a room's state over a set duration
Пример сценария
User asks: What's the temperature in the living room right now?
- 1
Run
python3 scripts/loxone.py roomsto list available rooms - 2
Identify the correct room name from the output
- 3
Run
python3 scripts/loxone.py status "Living Room"to fetch current state - 4
Parse the response for temperature value
Returns current temperature and device states for the Living Room
Требования
- Loxone Miniserver on the local network
- Loxone Miniserver credentials (username and password)
- LOXONE_HOST, LOXONE_USER, and LOXONE_PASS environment variables or equivalent config
Установка
clawhub install odrobnik/loxoneВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.