loxone
oleh odrobnik
Web & Frontend DevelopmentRingkasan
Control and monitor a Loxone Miniserver (smart home) via HTTP API and real-time WebSocket.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
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
Persyaratan
- Loxone Miniserver on the local network
- Loxone Miniserver credentials (username and password)
- LOXONE_HOST, LOXONE_USER, and LOXONE_PASS environment variables or equivalent config
Instalasi
clawhub install odrobnik/loxoneJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.