Eufy-Security-WS

Eufy-Security-WS

apps.detail.types.app from Exes' Repository

apps.detail.sections.overview

A small server wrapper around eufy-security-client library to access it via a WebSocket Exposes the client library over websocket Implements almost all functionality of the client library Including live streaming https://hub.docker.com/r/bropat/eufy-security-ws/

eufy-security-ws

[!CAUTION]

🚨🚨🚨 LIBRARY DEPRECATION NOTICE 🚨🚨🚨

⚠️ Eufy is shutting down the legacy APIs this library is built on. ⚠️

Eufy is in the middle of a large migration of their ecosystem. The newer Eufy Mega platform (the "5-in-1" app, covering Security / Clean / Lights / Care) is gradually becoming the only supported backend, and Eufy has already started removing access to the legacy APIs this library was originally built on. Until recently both worked in parallel — that is no longer guaranteed.

🔔 What this means for you:

  • 🟢 A recent PR restores push notifications against the new v6 ("eufy_mega") backend, so push works again for now. This is a short-term stopgap.
  • 🟡 Other functionality that still depends on legacy endpoints may stop working without warning as Eufy continues the rollout. The current Eufy app no longer uses the legacy API at all.
  • 🔴 Once the legacy API is fully shut down, this library will stop functioning — no amount of patching here will change that.

🚧 What's next:

A new integration built around Eufy Mega is in active development (auto-discovery, less battery drain for P2P), designed from the ground up rather than bolted onto the Security-only structure, and coordinated across the Home Assistant, Homebridge and Homey communities so the new library works for everyone.

👉 Treat this release as a temporary stopgap. 👈

This notice will be updated as the migration progresses.

Logo

node NPM version Downloads Total Downloads Dependency Status Known Vulnerabilities

NPM

Small server wrapper around eufy-security-client library to access it via a WebSocket.

Join us on Discord:

The development of this server was inspired by the following project:

Credits go to them as well.

If you appreciate my work and progress and want to support me, you can do it here:

ko-fi Donate

This project is not affiliated with Anker and Eufy (Eufy Security). It is a personal project that is maintained in spare time.

Get started

To try it out or for more information, such as API documentation, Docker image, etc., please see here.

Deployment

Instructions aimed at maintainers for deploying a new version: Deployment

RSA_PKCS1_PADDING / CVE-2023-46809

The Eufy cloud handshake requires RSA_PKCS1_PADDING, which Node.js restricted as part of the Marvin attack fix (CVE-2023-46809). Earlier versions worked around this by launching Node with --security-revert=CVE-2023-46809, but that flag is no longer recognized on Node 24+ and causes Node to abort on startup (Error: Attempt to revert an unknown CVE).

This is now handled by eufy-security-client's embedded (pure-JS) PKCS#1 implementation, which is enabled by default (enableEmbeddedPKCS1Support: true). No Node flag is required and you no longer need to set anything. To opt out, set "enableEmbeddedPKCS1Support": false in your config file.

Changelog

1.9.9 (2026-02-14)

apps.marketingCta.appInstallTitle

apps.marketingCta.appInstallDescription

apps.installHelp.stepOpen apps.installHelp.stepSearchApp apps.installHelp.stepReview apps.installHelp.stepInstall

apps.detail.sections.categories

apps.downloadStats.title

2,239,264
apps.downloadStats.metrics.totalDownloads
58,981
apps.downloadStats.metrics.thisMonth
56,619
apps.downloadStats.metrics.avgPerMonth

apps.downloadStats.chart.totalOverTime

apps.downloadStats.chart.loading

apps.detail.sections.related

apps.detail.related.exploreCategories

apps.detail.related.exploreAll

apps.detail.sections.details

apps.detail.details.repository
bropat/eufy-security-ws
apps.detail.details.lastUpdated2026-07-01
apps.detail.details.firstSeen2024-09-02

apps.detail.sections.runtime

apps.detail.details.webui
http://[IP]:[PORT:3000]
apps.detail.details.network
bridge
apps.detail.details.shell
sh
apps.detail.details.privileged
false

apps.detail.sections.configuration

Container Path 1Pathrw
apps.detail.config.target
/data
apps.detail.config.value
/mnt/user/appdata/eufy-security-ws
Container Port 1Porttcp
apps.detail.config.target
3000
apps.detail.config.default
3000
apps.detail.config.value
3000
USERNAMEVariable

Eufy Account Username (required)

PASSWORDVariable

Eufy Account Password (required)

COUNTRYVariable

ISO 3166-1 Alpha-2 country code (default: US)

apps.detail.config.default
US
apps.detail.config.value
US
LANGUAGEVariable

ISO 639 language code (default: en)

apps.detail.config.default
en
apps.detail.config.value
en
TRUSTED_DEVICE_NAMEVariable

Label of the trusted devices (viewable with 2fa activated in Eufy App; default: random device name)

apps.detail.config.default
eufyclient
EVENT_DURATION_SECONDSVariable

Duration in seconds before an event is reset E.g. motion event (default: 10 sec.)

apps.detail.config.default
10
apps.detail.config.value
10
P2P_CONNECTION_SETUPVariable

P2P connection setup (default: 0 ; Prefers local connection over cloud)

apps.detail.config.value
0
POLLING_INTERVAL_MINUTESVariable

Polling intervall for data refresh from Eufy Cloud (default: 10 min.)

apps.detail.config.default
10
apps.detail.config.value
10
ACCEPT_INVITATIONSVariable
apps.detail.config.default
false
apps.detail.config.value
true
STATION_IP_ADDRESSESVariable

Suggested IP addresses for a stations (default: unset; value format: station_serial1:ipaddress1;station_serial2:ipaddress2)

DEBUGVariable
apps.detail.config.value
false