homebridge-dirigera-ng
v1.1.0
Published
IKEA DIRIGERA Homebridge Plugin (maintained fork)
Maintainers
Readme
Homebridge DIRIGERA NG
Homebridge plugin for the IKEA DIRIGERA hub.
This project is a fork of
uboness/homebridge-dirigera(published on npm as@uboness/homebridge-dirigera) by uboness, which is no longer maintained. This-ng("next generation") fork continues maintenance with bug fixes and modernization. All credit for the original work goes to the upstream author — see Credits.
Supported device types
light(on/off, brightness, hue, saturation, color temperature)blindsoutletmotion sensorcontact sensor(open/close)leak sensor(water)air quality sensor(environment)
Installation
Install through the Homebridge UI (search for Homebridge DIRIGERA NG), or via the CLI:
npm install -g homebridge-dirigera-ngConfiguration
Multiple hubs can be configured. Each hub entry supports the following settings:
| Setting | Required | Description |
|----------|----------|-------------|
| host | yes | Host / IP of the DIRIGERA hub on your local network. |
| token | no* | Authentication token to the hub. Highly recommended — see note below. |
| name | no | Display name for the hub (used in logs). Defaults to the name reported by the hub. |
* If token is omitted, startup pauses for up to ~1 minute waiting for you to press
the action button on the bottom of the hub. The resolved token is then printed in
the logs — copy it into your config to avoid re-pairing on every restart (and to stop
Homebridge from halting during restarts).
A typical config entry:
{
"platform": "Dirigera",
"hubs": [
{
"host": "192.168.1.50",
"token": "<auth_token>",
"name": "Living Room"
}
]
}Advanced: forcing a service type (asSwitch)
⚠️ Use at your own risk.
When you pair non-IKEA accessories with DIRIGERA, the hub may classify them as a
different type than you expect (e.g. a switch reported as a light). You can force the
plugin to expose such a device as a plain switch.
- Configure DIRIGERA normally and let Homebridge discover the devices.
- Find the device ID in the logs — look for a line like:
[Dirigera] [Living Room] registering [light][c3a531cf-bc23-4786-b465-72bf9415a588_2] device [My Switch] - Add a
devicesmap to the hub configuration, keyed by that device ID (edit the raw JSON config — this option is not in the UI form):{ "host": "192.168.1.50", "token": "<auth_token>", "name": "Living Room", "devices": { "c3a531cf-bc23-4786-b465-72bf9415a588_2": { "asSwitch": true } } }asSwitchis supported forlightandoutletdevices.
Note on re-classification: once Homebridge has cached a device as one service type, it cannot change it in place — the accessory must be unregistered and re-registered. The simplest way to apply a change to an already-cached device is to temporarily remove the hub from the config, restart Homebridge (which removes the cached accessories for that hub), then add the hub back with the
devicesoverride and restart again.
Credits
- Original plugin: uboness/homebridge-dirigera
- DIRIGERA client library:
dirigera
