npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

homebridge-dirigera-ng

v1.1.0

Published

IKEA DIRIGERA Homebridge Plugin (maintained fork)

Readme

Homebridge DIRIGERA NG

Homebridge plugin for the IKEA DIRIGERA hub.

Build npm npm downloads

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)
  • blinds
  • outlet
  • motion sensor
  • contact 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-ng

Configuration

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.

  1. Configure DIRIGERA normally and let Homebridge discover the devices.
  2. 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]
  3. Add a devices map 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
        }
      }
    }
    asSwitch is supported for light and outlet devices.

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 devices override and restart again.

Credits

License

MIT