bropat / eufy-security-client

This shared library allows to control Eufy security devices by connecting to the Eufy cloud servers and local/remote stations over p2p.
MIT License
480 stars 69 forks source link

[Feature request]: Smart Lock 8501 Support #384

Closed lsumner4 closed 8 months ago

lsumner4 commented 11 months ago

Describe the solution you'd like

I have an 8501 smart lock connected through the add-on, but right now only the lock state feedback works. Attempting to issue a lock command returns a "WARN Result data for command not received" log entry and no response from the smart lock.

2023-10-12 01:28:12.455 INFO Eufy Security server listening on host 0.0.0.0, port 3005 2023-10-12 01:28:14.723 INFO MQTT connection successfully established 2023-10-12 01:28:14.791 INFO Successfully registered to MQTT notifications for lock T8501xxxx 2023-10-12 01:28:16.262 INFO Push notification connection successfully established 2023-10-12 01:28:17.824 INFO Connected to station T8501xxxx on host 192.168.xx.xx and port 14166 2023-10-12 01:29:18.185 WARN Result data for command not received { stationSN: 'T8501xxxx', message: { sequence: 1, commandType: 1350, nestedCommandType: 1955, channel: 0, acknowledged: true, retries: 0, returnCode: -133, data: <Buffer d1 00 00 01 58 5a 59 48 46 05 94 00 00 00 01 00 00 00 00 00 7b 22 61 63 63 6f 75 6e 74 5f 69 64 22 3a 22 63 33 66 66 62 38 63 63 32 38 31 30 64 34 63 ... 118 more bytes> } } 2023-10-12 01:29:43.988 WARN Result data for command not received { stationSN: 'T8501xxxx', message: { sequence: 13, commandType: 1350, nestedCommandType: 1961, channel: 0, acknowledged: true, retries: 0, returnCode: -133, data: <Buffer d1 00 00 0d 58 5a 59 48 46 05 26 02 00 00 01 00 00 00 00 00 7b 22 6b 65 79 22 3a 22 30 33 62 34 30 34 32 30 34 63 32 61 37 32 61 32 36 31 66 38 31 65 ... 520 more bytes> } } 2023-10-12 01:29:43.995 INFO Initiated closing of connection to station T8501xxxx for saving battery. 2023-10-12 01:29:43.996 INFO Disconnected from station T8501xxxx 2023-10-12 01:30:40.762 INFO Connected to station T8501xxxx on host 192.168.xx.xx and port 24581

bropat commented 8 months ago

226