eufy-node-client
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

eufy-node-client

Experiment to send/receive/control messages from eufy security. Currently I only have the doorbell with a station. My basic target is to be able to control the guard mode of the station and receive doorbell events if somebody is on the door.

Other repositories:

Getting started

To see how to get started with the eufy-node-client visit the example-project: https://github.com/JanLoebel/eufy-node-client-examples

Logging

If you want to enable more logging add DEBUG=true to your .env-file.

Contributors

Many thanks goes to all people helping this project:

Notes:

-> After sending Data like setting Guard Mode to Home, we get a control message only if the status was something else before. So Home -> Home is not returning any control packet.

DATA

Example-Data-Packet: (Length: 152, DataType: DATA)

PacketType: F1D0

PacketLength: 0098

DataType: D100

SeqNo: 0000

XZYH-String: 585A 5948

C804 8400 0000 0100 FF00 0100 8CFF FFFF 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000

Example messages:

  • Guard Mode: Away with App type: control

F1D0 001C D102 0000 585A 5948 7F04 0800 0000 0100 FF00 0000 0000 0000 0000 0000

  • Guard Mode: Home with App type: control

F1D0 001C D102 0001 585A 5948 7F04 0800 0000 0100 FF00 0000 0100 0000 0000 0000

  • Guard Mode: Disarm with App type: control

F1D0 001C D102 0002 585A 5948 7F04 0800 0000 0100 FF00 0000 3F00 0000 0000 0000

  • Guard Mode: Geofence with App type: control

F1D0 001C D102 0003 585A 5948 7F04 0800 0000 0100 FF00 0000 0100 0000 0000 0000s

home_security.so

Decoded and found following information:

Readme

Keywords

none

Package Sidebar

Install

npm i eufy-node-client

Weekly Downloads

6

Version

0.5.0

License

MIT

Unpacked Size

286 kB

Total Files

90

Last publish

Collaborators

  • janloebel