Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

eufy-security-client

> 安全
Open source

This shared library allows to control Eufy security devices by connecting to the Eufy cloud servers and local/remote stations over p2p.

736 stars0 likes4 views
WebsiteGitHub

About

This shared library allows to control Eufy security devices by connecting to the Eufy cloud servers and local/remote stations over p2p.

eufy-security-client

[!CAUTION]

LIBRARY DEPRECATION NOTICE

Active development moved to https://github.com/mega-yfue/eufy-sdk

Join us on Discord:

The development of this shared library was inspired by the work of the following people:

  • FuzzyMistborn ()
  • keshavdv ()
  • JanLoebel ()

Credits go to them as well.

Unknown device?

If you see a New unknown device detected warning in your logs, your device is not yet supported. You can help us add support for it by reporting it. See the guide for details on how to extract the log.

Support

If you appreciate my work and progress and want to support me, you can do it here: This project is not affiliated with Anker and Eufy (Eufy Security). It is a personal project that is maintained in spare time.

Description

This shared library allows to control Eufy security devices by connecting to the Eufy cloud servers and local/remote stations over p2p.

You need to provide your Cloud login credentials.

One client instance will show all devices from one Eufy Cloud account and allows to control them.

Features

  • Connects to Eufy cloud (supports 2fa)
  • Connects to station/devices using p2p communication (supported: local and remote connectivity)
  • Supports receiving push notification (unified push messages interface)
  • Basic P2P implementation that supports also commands not already implemented
  • Get info and parameters from stations/devices over https and/or p2p
  • P2P functionality already implemented:
    • Station:
      • Change guard mode
      • Reboot station
    • Devices:
      • Start livestream (local/remote p2p or rtmp over cloud)
      • Stop livestream (local/remote p2p or rtmp over cloud)
      • Enable/disable device
      • Enable/disable auto night vision (only camera products)
      • Enable/disable led (only camera 2 products, indoor cameras, floodlight camera, solo cameras and doorbells)
      • Enable/disable anti-theft detection (only camera 2 products)
      • Enable/disable motion detection
      • Enable/disable pet detection (only indoor cameras)
      • Enable/disable sound detection (only indoor cameras)
      • Enable/disable RTSP stream (only camera2 products, indoor cameras and solo cameras)
      • Change video watermark setting (only camera products)
      • Start/cancel download video
      • Quick response (only doorbells)
      • Lock/unlock (only smart lock products)
      • And many more, check it out...

Documentation

Look here.

As an example, you can look at the following projects: ioBroker.eufy-security, eufy-security-ws, eufy_security

Quick Start

Install via npm:

bash
npm install eufy-security-client

Then import and use in TypeScript:

typescript
import { EufySecurity } from "eufy-security-client";
// ...existing code...
const eufyClient = new EufySecurity();
// ...existing code...

Known working devices

For a list of supported devices, please see here.

If more devices work (or also not) please report them by opening a GitHub issue.

How to report issues and feature requests

Please use GitHub issues for this.

Deployment

Instructions aimed at maintainers for deploying a new version: Deployment

Changelog

4.0.0 (2026-05-28)

  • Fix: Add missing GenericTypeProperty labels for 5 device types by @lenoxys in https://github.com/bropat/eufy-security-client/pull/828
  • Feature: make P2P stream timeouts configurable by @lenoxys in https://github.com/bropat/eufy-security-client/pull/831
  • Fix: add missing rtspStreamUrl property to SoloCam E42 metadata by @lenoxys in https://github.com/bropat/eufy-security-client/pull/832
  • Fix: skip CMD_DOORBELL_SET_PAYLOAD for E340 on MiniBase Chime by @lenoxys in https://github.com/bropat/eufy-security-client/pull/834
  • Fix: E340 talkback @lenoxys in https://github.com/bropat/eufy-security-client/pull/837
  • Feature: Add fully notify when HB notify by @max246 in https://github.com/bropat/eufy-security-client/pull/838
  • Fix: auto-accept invitations by @lenoxys in https://github.com/bropat/eufy-security-client/pull/839
  • Fix: use correct motion detection property for SOLO_CAMERA_E30 (T8171) by @lenoxys in https://github.com/bropat/eufy-security-client/pull/840
  • Feature: add sendHouseInvite method by @mabahamo in https://github.com/bropat/eufy-security-client/pull/845
  • Feature: Add E30 (T8417) P2P livestream support by @ovikiss in https://github.com/bropat/eufy-security-client/pull/847
  • Feature: normalize multi-RDB ADTS frames in P2P audio stream by @lenoxys in https://github.com/bropat/eufy-security-client/pull/852
  • Feature: add NVR S4 Max (T8N00, type 300) support by @lenoxys in https://github.com/bropat/eufy-security-client/pull/854
  • Feature: add PoE Bullet-PTZ Cam S4 (T8E00, type 301) support by @lenoxys in https://github.com/bropat/eufy-security-client/pull/855
  • Fix: register LOCK_85V0 (T85V0) in DeviceProperties and DeviceCommands maps by @lenoxys in https://github.com/bropat/eufy-security-client/pull/858
  • Feature: basic E30 T8417 support by @max246 in https://github.com/bropat/eufy-security-client/pull/865
  • Fix: outer enableDevice for outdoor PT cams through CMD_SET_PAYLOAD by @max246 in https://github.com/bropat/eufy-security-client/pull/873
  • Fix: read enabled state for outdoor PT cams from the wrapped privacy-mode key by @max246 in https://github.com/bropat/eufy-security-client/pull/874
  • Feature: add FamiLock E34 (T85P0, type 209) support by @max246 in https://github.com/bropat/eufy-security-client/pull/876
  • Fix: Restore CMD_STORAGE_INFO_HB3 notify handler removed by #847 merge by @max246 in https://github.com/bropat/eufy-security-client/pull/878
  • Feature: upgrade to node 24 by @max246 in https://github.com/bropat/eufy-security-client/pull/897

3.8.0 (2026-03-01)

  • Feature: Add support for Smart Lock E20 (T85V0) by @worldjoe/@max246 in https://github.com/bropat/eufy-security-client/pull/803
  • Feature: Add support for Smart Lock C33 (T85L0) by @max246 in https://github.com/bropat/eufy-security-client/pull/804
  • Feature: Add support for locks C30 & E330 by @max246 in https://github.com/bropat/eufy-security-client/pull/806
  • Feature: Add support for Camera S40 (T8172) by @lenoxys in https://github.com/bropat/eufy-security-client/pull/807
  • Feature: Add support for Motion Sensor E20 (T90M0) and Sirene E20 (T90R0) by @max246 in https://github.com/bropat/eufy-security-client/pull/808
  • Feature: Add support for SoloCam E42 (T8173) by @lenoxys in https://github.com/bropat/eufy-security-client/pull/809
  • Feature: Add support for 4G LTE Cam S330 (T86P2) by @lenoxys in https://github.com/bropat/eufy-security-client/pull/821
  • Feature: Add support for C220 V3 by @max246 in https://github.com/bropat/eufy-security-client/pull/823
  • Feature: Add debug message for new device and reporting guide by @max246 in https://github.com/bropat/eufy-security-client/pull/825
  • Fix: Fix T8214 and T8425 livestream by @lenoxys in https://github.com/bropat/eufy-security-client/pull/793
  • Fix: C210 preset support by @tomc128 in https://github.com/bropat/eufy-security-client/pull/811
  • Fix: Mock timezone in getTimezoneGMTString test by @nick-pape in https://github.com/bropat/eufy-security-client/pull/814
  • Fix: Restore missing CAMERA_S4 (T8172) StationProperties and StationCommands entries by @lenoxys in https://github.com/bropat/eufy-security-client/pull/819
  • Fix: Fix start date by @max246 in https://github.com/bropat/eufy-security-client/pull/816
  • Chore: Upgrade qs from 6.14.2 to 6.15.0 by @max246 in https://github.com/bropat/eufy-security-client/pull/802
  • Chore: Upgrade date-and-time from 4.2.0 to 4.3.0 by @max246 in https://github.com/bropat/eufy-security-client/pull/815
  • Chore: Add dev publish and enforce target branch workflows by @lenoxys in https://github.com/bropat/eufy-security-client/pull/818
  • Chore: Add more testing and format check task by @max246 in https://github.com/bropat/eufy-security-client/pull/822

3.7.2 (2026-02-16)

  • Fix: Revert due to failure to communicate with HB3 https://github.com/bropat/eufy-security-client/pull/790
  • Fix: 2FA login by @lenoxys in https://github.com/bropat/eufy-security-client/pull/789

3.7.1 (2026-02-15)

  • Fix: ECDH livestream for E340 doorbell and T8425 floodlight by @lenoxys in https://github.com/bropat/eufy-security-client/pull/779
  • Fix: Parameter parsing failure by @max246 in https://github.com/bropat/eufy-security-client/pull/786

[### 3.7.0 (2026-02-14)

  • Upgrade packages mqtt, qs and date-and-time in https://github.com/bropat/eufy-security-client/pull/781
  • Refactor: Add testing and simplify http package by @max246 in https://github.com/bropat/eufy-security-client/pull/778
  • Feature: Add support for Entry E20 sensor by @max246 in https://github.com/bropat/eufy-security-client/pull/773
  • Refactor: Add prettier to the code base @DevAlien in https://github.com/bropat/eufy-security-client/pull/772
  • Feature: ADd support for EufyCam E40 (T8144) by @Abs3601 in https://github.com/bropat/eufy-security-client/pull/769
  • Feature: Add support to query events by date @temp-droid in https://github.com/bropat/eufy-security-client/pull/768
  • Fix: HB3 Video download by @PhilippEngler in https://github.com/bropat/eufy-security-client/pull/765
  • Feature: Add support for C210 by @tomc128 in https://github.com/bropat/eufy-security-client/pull/754
  • Fix: Allow to disable/enable T8410 by @PhilippEngler in https://github.com/bropat/eufy-security-client/pull/752

3.4.0 (2025-08-01)

  • Bugfix/google gcm by @martijnpoppen in https://github.com/bropat/eufy-security-client/pull/660
  • OPT: revert GCM fix by @martijnpoppen in https://github.com/bropat/eufy-security-client/pull/662
  • FIX: GCM error by @martijnpoppen in https://github.com/bropat/eufy-security-client/pull/665
  • Master > Develop sync by @martijnpoppen in https://github.com/bropat/eufy-security-client/pull/667
  • Develop by @martijnpoppen in https://github.com/bropat/eufy-security-client/pull/666
  • Add preset support for T8423 by @martin-genzel in https://github.com/bropat/eufy-security-client/pull/638

3.3.0 (not released)

  • Develop > Master in https://github.com/bropat/eufy-security-client/pull/606
  • Develop > Master in https://github.com/bropat/eufy-security-client/pull/608
  • Develop > Master in https://github.com/bropat/eufy-security-client/pull/616
  • Develop > Master in https://github.com/bropat/eufy-security-client/pull/620
  • Bump 3.2.0 by @martijnpoppen in https://github.com/bropat/eufy-security-client/pull/621
  • Deployment instructions by @ChayoteJarocho in https://github.com/bropat/eufy-security-client/pull/625
  • NEW: IndoorCam P&T E30 - (T8417) by @martijnpoppen in https://github.com/bropat/eufy-security-client/pull/627
  • Develop > Master by @martijnpoppen in https://github.com/bropat/eufy-security-client/pull/646
  • fix: Prevent crash in getLockSequenceNumber when devices is null by @markgrovs in https://github.com/bropat/eufy-security-client/pull/664

3.2.0 (2025-04-02)

  • (martijnpoppen) FIX: Indoor Cam P&T sw update 2.3.1.2 on/off #604
  • (SmolSoftBoi) Add error handling for MQTT proto file loading and improve logging #584
  • (ChayoteJarocho) Add missing entry for Wall Cam 81A0 battery #570
  • (jarodwilson) NEW: add SoloCam E30 (T8171) & FloodLight E30 (T8426) #583
  • (martijnpoppen) FIX: enableEmbeddedPKCS1Support #595
  • (NicolaiVdS & martijnpoppen) NEW: Battery doorbell C30 & C31 #600
  • (martijnpoppen) NEW: add support for Indoor Cam C210 (T8419) & C220 (T8W11C) #596
  • (martijnpoppen) NEW: add support for Eufycam S3 Pro - T8162 #594
  • (martijnp

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptcamdoorbelleufyeufy-cloud

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category安全
PricingOpen source

> Related tools

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.