Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janloebel/eufy-node-client
Experiment to talk to eufy security
https://github.com/janloebel/eufy-node-client
client eufy eufysecurity
Last synced: 10 days ago
JSON representation
Experiment to talk to eufy security
- Host: GitHub
- URL: https://github.com/janloebel/eufy-node-client
- Owner: JanLoebel
- Created: 2020-09-04T12:10:32.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-06T10:28:11.000Z (over 3 years ago)
- Last Synced: 2024-10-15T03:43:00.640Z (24 days ago)
- Topics: client, eufy, eufysecurity
- Language: TypeScript
- Homepage:
- Size: 551 KB
- Stars: 43
- Watchers: 14
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DEPRECATED
Please checkout https://github.com/bropat/eufy-security-client he continued to develop the client there!# 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:
- [https://github.com/FuzzyMistborn/python-eufy-security](https://github.com/FuzzyMistborn/python-eufy-security)
- [https://github.com/fbertone/lib32100](https://github.com/fbertone/lib32100)## 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](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:
- [@bropat](https://github.com/bropat)### 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:
- RC4: https://en.wikipedia.org/wiki/RC4
- G711: https://en.wikipedia.org/wiki/G.711
- A-law: https://en.wikipedia.org/wiki/A-law_algorithm