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-security-mk

v1.0.15

Published

HomeKit support for Netatmo Smart Door/Window Sensors (Tags): contact + vibration. Fork of Anzure/homebridge-netatmo-security.

Readme

Homebridge Netatmo Security MK

npm

About plugin

Exposes Netatmo Smart Door/Window Sensors (Tags) in Apple HomeKit. Each tag is presented as a single accessory grouping two services:

  • Contact Sensor — open / closed state of the door or window.
  • Motion Sensor ("Vibration") — fires when someone taps/knocks the door (Netatmo tag_small_move), so HomeKit can notify you. A normal open/close (tag_big_move) does not trigger it.

This is a personal fork of Anzure/homebridge-netatmo-security (Apache-2.0), published under the -mk name. The main differences versus upstream:

  • OAuth2 refresh-token authentication (Netatmo removed password login), with on-disk token persistence and rotation.
  • A single, centralized poll loop (15 s) with homesdata cached, to stay well under Netatmo's API rate limit.
  • Door tags exposed as Contact + Vibration; dead code removed.

Not supported (on purpose)

  • Cameras (Welcome / Presence) — these already have native HomeKit support, so there's no reason to duplicate them here.
  • Indoor Siren (NIS) — Netatmo's API does not allow triggering the indoor siren (every state property is rejected with error 21), so it is not exposed.

Getting started

1. Create a Netatmo app (Client ID / Secret)

  1. Sign in to https://dev.netatmo.com (or create an account).
  2. Create a new application: https://dev.netatmo.com/apps
  3. Note your Client ID and Client Secret.

2. Generate a refresh token

Netatmo no longer supports password login, so this plugin authenticates with an OAuth2 refresh token:

  1. On your app page, use the Token generator.
  2. Select at least the read_camera scope (required to read the tags and their events).
  3. Copy the generated refresh token.

The refresh token is only used on first start: the plugin then rotates and persists it automatically in the Homebridge storage directory (netatmo-security-token.json).

More information: https://dev.netatmo.com/apidocumentation/oauth

3. Install plugin

Install from npm:

npm install -g homebridge-netatmo-security-mk

or point Homebridge Config UI X to this GitHub repository.

4. Configure plugin

Fill in Client ID, Client Secret and Refresh Token in the plugin settings, then save.

5. Restart Homebridge

Restart Homebridge after setting up or making changes.

Notes

  • Door state and vibration are polled every 15 seconds; expect up to ~15 s of latency (Netatmo offers no public push/webhook for these without exposing your bridge to the internet).
  • The "Vibration" motion sensor pulses for a few seconds on each detected tap so HomeKit reliably fires its notification.

Credits

Forked from Anzure/homebridge-netatmo-security. Licensed under Apache-2.0.