Please checkout https://github.com/bropat/eufy-security-client he continued to develop the client there!
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:
To see how to get started with the eufy-node-client
visit the example-project: https://github.com/JanLoebel/eufy-node-client-examples
If you want to enable more logging add DEBUG=true
to your .env
-file.
Many thanks goes to all people helping this project:
-> 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.
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
- 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
Decoded and found following information: