stream_dock_linux/config.example.yaml
Karl 06f4c2768c feat: initial implementation of StreamDock Home Assistant integration
This commit introduces a complete integration for Mirabox StreamDock
devices with Home Assistant, allowing users to control entities and
monitor states directly from the hardware.

Key features included:
- Support for multiple Mirabox models: N1, N3, N4, N4Pro, XL, M3, M18,
  K1Pro, and various 293 variants.
- Home Assistant WebSocket integration for real-time entity updates and
  service execution.
- Dynamic LCD key rendering with support for custom icons, labels, and
  entity-state aware colors.
- Input handling for physical buttons and rotary encoders (knobs).
- Multi-page navigation support with configurable cycle keys and knobs.
- Cross-platform transport layer using a custom HID library.
- Configuration system using YAML with page-based layouts.
- Linux udev rules for non-root USB access.
2026-05-07 19:14:07 +01:00

123 lines
2.8 KiB
YAML

homeassistant:
url: "ws://homeassistant.local:8123/api/websocket"
token: "YOUR_LONG_LIVED_ACCESS_TOKEN_HERE"
navigation:
page_cycle: "button_8"
knob_left: "knob_1"
knob_right: "knob_2"
knob_press_left: "knob_1"
knob_press_right: "knob_2"
pages:
- name: "Lights"
keys:
1:
entity: "light.living_room"
service: "toggle"
icon: "lightbulb"
label: "Living"
2:
entity: "light.kitchen"
service: "toggle"
icon: "lightbulb"
label: "Kitchen"
3:
entity: "light.bedroom"
service: "toggle"
icon: "lightbulb"
label: "Bedroom"
4:
entity: "light.bathroom"
service: "toggle"
icon: "lightbulb"
label: "Bath"
5:
entity: "light.hallway"
service: "toggle"
icon: "lightbulb"
label: "Hallway"
6:
entity: "light.office"
service: "toggle"
icon: "lightbulb"
label: "Office"
knobs:
knob_3:
entity: "light.all_lights"
service: "toggle"
icon: "lightbulb"
- name: "Climate"
keys:
1:
entity: "climate.living_room"
service: "toggle"
icon: "thermostat"
label: "LR HVAC"
2:
entity: "sensor.living_room_temperature"
icon: "thermometer"
label: "LR Temp"
3:
entity: "climate.bedroom"
service: "toggle"
icon: "thermostat"
label: "BR HVAC"
4:
entity: "sensor.bedroom_temperature"
icon: "thermometer"
label: "BR Temp"
5:
entity: "sensor.humidity"
icon: "thermometer"
label: "Humid"
6:
entity: "switch.heater"
service: "toggle"
icon: "power"
label: "Heater"
- name: "Media"
keys:
1:
entity: "media_player.living_room"
service: "toggle"
icon: "play"
label: "Living"
2:
entity: "media_player.bedroom"
service: "toggle"
icon: "play"
label: "Bedroom"
3:
entity: "script.volume_up"
service: "turn_on"
icon: "speaker"
label: "Vol +"
4:
entity: "script.volume_down"
service: "turn_on"
icon: "speaker"
label: "Vol -"
5:
entity: "scene.movie_night"
service: "turn_on"
icon: "film"
label: "Movie"
6:
entity: "script.mute"
service: "turn_on"
icon: "speaker"
label: "Mute"
knobs:
knob_3:
rotate_left:
entity: "script.volume_down"
service: "turn_on"
rotate_right:
entity: "script.volume_up"
service: "turn_on"
press:
entity: "script.mute"
service: "turn_on"