Custom Home Assistant integration for controlling Lightkey via OSC (Open Sound Control).
This integration is service-based (no automatic entity discovery) because Lightkey's OSC interface is command-oriented and does not expose a simple API for enumerating cues/pages.
- UI-based config flow (
Settings -> Devices & Services) - Sends OSC commands to Lightkey over UDP (default port
21600) - Built-in Home Assistant services for common Lightkey actions:
lightkey.activate_cuelightkey.deactivate_cuelightkey.toggle_cuelightkey.set_cue_intensitylightkey.select_pagelightkey.live_actionlightkey.send_osc(escape hatch for any OSC path)
- Add this repository as a custom repository in HACS (
Integrationtype). - Install
Lightkey. - Restart Home Assistant.
- Go to
Settings -> Devices & Services -> Add Integration, search forLightkey.
In Lightkey:
- Enable OSC input.
- Confirm the OSC port (default is
21600). - Ensure Home Assistant can reach the machine running Lightkey over the network.
service: lightkey.activate_cue
data:
page: "Main"
cue: "House"service: lightkey.set_cue_intensity
data:
page: "Main"
cue: "Wash"
intensity: 0.5intensity is normalized (0.0 to 1.0) and is converted to Lightkey's OSC cue value percent (0 to 100).
service: lightkey.send_osc
data:
address: "/lightkey/live/page/Main/cue/House/toggle"
arguments: []- This integration currently sends OSC commands only (UDP). It does not read back Lightkey state.
- If you configure multiple Lightkey instances, include
entry_idin service calls to target a specific one.