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-netatmo-home-control

v1.0.1

Published

Homebridge plugin for Netatmo Home + Control (Legrand wiring devices: switches, dimmable lights, shutters)

Readme

homebridge-netatmo-home-control

npm verified-by-homebridge

Homebridge plugin for Netatmo Home + Control — exposes Legrand / BTicino / Netatmo wired smart-home devices (switches, dimmable lights, shutters) to Apple HomeKit.

Supported devices

| Type | Netatmo model IDs | HomeKit service | |------|-------------------|-----------------| | On/Off switch | NLL, NLM, NLIS, BNCS | Switch | | Power outlet | NLP, NLPM, NLPO, NLPT | Switch | | Cable outlet (radiator, towel warmer…) | NLC | Switch | | Dimmer | NLF, NLFN, NLFE | Lightbulb (with brightness) | | Shutter / roller blind | NLV, NLLV, NBR, NLJ | WindowCovering |

Requirements

  • A Netatmo developer account and registered app at dev.netatmo.com
  • Netatmo Home + Control gateway paired with your devices
  • Homebridge ≥ 1.3.0 / Node.js ≥ 18

Installation

npm install -g homebridge-netatmo-home-control

Or install via the Homebridge UI.

OAuth2 setup (first time only)

  1. Create an app at dev.netatmo.com.
  2. Set the redirect URI to http://localhost:3001/callback.
  3. Run the interactive helper:
npx homebridge-netatmo-home-control
  1. Follow the prompts — it will open a browser, complete the OAuth2 flow, and print the refresh_token to paste into your Homebridge config.

Configuration

Add to your Homebridge config.json:

{
  "platforms": [
    {
      "platform": "NetatmoHomeControl",
      "name": "Netatmo Home + Control",
      "client_id": "YOUR_CLIENT_ID",
      "client_secret": "YOUR_CLIENT_SECRET",
      "refresh_token": "YOUR_REFRESH_TOKEN",
      "home_id": "",
      "poll_interval": 30
    }
  ]
}

| Field | Required | Description | |-------|----------|-------------| | client_id | Yes | Client ID from dev.netatmo.com | | client_secret | Yes | Client Secret from dev.netatmo.com | | refresh_token | Yes | OAuth2 refresh token (obtained with the helper above) | | home_id | No | Limit to a specific Netatmo home (leave empty for all) | | poll_interval | No | Device state refresh interval in seconds (default: 30, min: 10) |

How it works

The plugin polls the Netatmo API every poll_interval seconds to keep HomeKit state in sync. Commands (on/off, brightness, position) are sent immediately via the API when you control a device in the Home app.

Token refresh is handled automatically — no need to re-run the helper unless you revoke the app.

Troubleshooting

  • No devices found — check your credentials and that the app scopes include read_magellan write_magellan read_bubendorff write_bubendorff.
  • Token expired — re-run npx homebridge-netatmo-home-control to get a new refresh token.
  • Enable debug logging: add "debug": true in the Homebridge settings.

License

MIT