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-plugins/homebridge-eufy-security

v5.0.0

Published

Control Eufy Security from homebridge.

Readme

Bring verified eufy device capabilities into Apple Home through Homebridge.

verified-by-homebridge npm

Documentation · Contributing · Security · Releases


[!IMPORTANT] V5 replaces V4. Every capability area is implemented, covered by the contract suite, and exercised against a real device fleet. 4.x is frozen at 4.7.2 and stays installable as @homebridge-plugins/[email protected], with no further fixes.

V5 does not adopt V4 HomeKit accessories. It registers its own, so expect to remove the V4 accessories and reassign rooms, names, and automations once. A V4 configuration block is not loaded either. A device the SDK recognizes is not automatically represented in HomeKit: representation requires an explicit adapter for a primary-purpose member.

What it is

Homebridge Eufy is a Homebridge 2 platform plugin for the eufy ecosystem. It maintains one persisted eufy session, discovers the account's devices through @mega-yfue/eufy-sdk, and maps verified SDK capabilities to official HomeKit services through explicit capability adapters.

The SDK owns device and transport truth. This plugin owns Homebridge lifecycle, stable accessory identity, HomeKit representation and policy, configuration, diagnostics, and media adaptation. It does not infer HomeKit meaning from raw value shapes or manufacture controls that the SDK cannot verify.

Requirements

  • Homebridge 2.5 or newer
  • Node.js 24.5.0 or newer
  • A dedicated guest eufy account with the relevant home and devices shared to it

Using a guest account keeps the personal eufy app and Homebridge from competing for one session. See eufy's sharing guide.

Install

Install stable releases through the Homebridge UI by searching for Homebridge Eufy, or from npm:

npm install -g @homebridge-plugins/homebridge-eufy-security

First-time setup

  1. Create a dedicated guest eufy account and share the required home and devices with it.
  2. Install the plugin and open its custom UI from Homebridge.
  3. Enter the guest account details and complete captcha or two-factor verification if requested.
  4. Wait for authentication and complete discovery to finish.
  5. Restart Homebridge so the long-lived runtime can acquire the persisted session.

V5 uses the new HomebridgeEufy platform alias. A V4 block using EufySecurity is not loaded and must be replaced with a fresh V5 configuration block.

Credentials are persisted in Homebridge/plugin configuration. Challenge answers stay inside the temporary authentication flow, and the runtime never falls back to interactive login.

Current V5 scope

| Area | Status | |---|---| | Interactive login, captcha, and two-factor continuation | Implemented | | Persisted session restore and single runtime ownership | Implemented | | Complete device discovery, runtime snapshot, and dashboard | Implemented | | Contact sensors, motion, and doorbell presses | Implemented | | Camera live video and audio, snapshots, and talkback | Implemented | | HomeKit Secure Video recording | Implemented | | Security system arming, locks, sirens, and lights | Implemented | | Battery, charging, and low-battery enrichment | Implemented | | Guided diagnostics and redacted support archives | Implemented | | Continuous validation against a real device fleet | Ongoing |

Support is capability-led rather than model-led, so capability evidence decides coverage instead of product naming, and a newly recognized model that exposes an already-adapted capability works without an allowlist. Most rows in the coverage matrix are diagnostic-only rather than adapted, so a recognized device appears in the dashboard before, or without, an explicit HomeKit adapter for its primary purpose.

Device behaviour is grounded in measurement rather than inference: docs/architecture.md records the observed timings and outcomes behind the live, recording, and control decisions, and scripts/ holds the checks that produce them against real cameras.

Documentation

The documentation site contains the current V5 contract and a clearly separated migration of useful legacy V4 wiki material. Current V5 work is tracked in the beta issues and release notes.

Design

V5 uses one dependency direction:

Homebridge lifecycle
  -> runtime and temporary authentication owners
  -> @mega-yfue/eufy-sdk
  -> canonical device registry and complete snapshot
  -> explicit capability and bundle adapters
  -> official HomeKit services and characteristics

Capability adapters are closed-world and semantic. Unsupported SDK capabilities remain visible as diagnostics but do not receive a generic HomeKit fallback. The domain vocabulary lives in CONTEXT.md.

Develop

nvm use
npm install
npm run verify

For local SDK development, replace the SDK dependency with file:../eufy-sdk and run npm install again. npm run verify is the complete repository gate: formatting, dependency guard, TypeScript build, packed-artifact import, and contract tests.

Contributing

Pull requests are welcome. CONTRIBUTING.md covers setup and workflow; AGENTS.md defines the code and architecture rules. Report security issues through SECURITY.md, never through a public issue.

Funding and credits

Development is supported by Lenoxys. The project was founded by samemory. Earlier releases were built on bropat's eufy-security-client; V5 uses @mega-yfue/eufy-sdk.

License

Apache-2.0. Contributions are accepted under the same license.

Disclaimer

Independent and unofficial, built for interoperability with eufy devices you own. Not affiliated with, endorsed by, or sponsored by Anker Innovations or eufy. "eufy" and "Anker" are trademarks of their respective owners and appear here only to identify compatible hardware. Use responsibly: rapid or failed login attempts can trigger captcha challenges or temporary account cooldowns.