Skip to content

About

Homebridge plugin to control certain Anker Eufy devices

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

231 stars

Watchers

11 watching

Forks

Latest commit

 

History

2,778 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Homebridge Eufy

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/homebridge-eufy-security@4.7.2, 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

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.

About

Homebridge plugin to control certain Anker Eufy devices

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

231 stars

Watchers

11 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages