bropat / eufy-security-ws

Small server wrapper around eufy-security-client library to access it via a WebSocket.
MIT License
176 stars 26 forks source link

[Bug]: no problem in eufy-security-client after connect #221

Closed maltic42 closed 1 year ago

maltic42 commented 1 year ago

Version

1.5.2

Node version

14.21.3

Operating System type

Linux

Operating system version

Linux raspberrypi 5.10.103-v7+

Describe the bug

I installed the latest version in a different directory - using the same config.json as before (version from last year). When trying to connect with eufy-security-client to the running server I got no prompt. The server is logging a captcha, the client stops at

root@raspberrypi:~# /usr/lib/node_modules/.bin/eufy-security-client { type: 'version', driverVersion: '2.6.2', serverVersion: '1.5.2', minSchemaVersion: 0, maxSchemaVersion: 18 } { type: 'result', success: true, messageId: 'api-schema-id', result: {} }

When using the same config.json with an older version, everything works.

To reproduce

Install latest version using npm, start the server start the client.

Screenshots & Logfiles

No response

Additional context

No response

maltic42 commented 1 year ago

The server responds with

2023-05-20 17:12:47.165 DEBUG [ClientsController.addSocket] New client with ip: 127.0.0.1 port: 56918

fuatakgun commented 1 year ago

seems to be similar: https://github.com/bropat/eufy-security-ws/issues/211