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]: Disconnects from Chime every X seconds #222

Closed rohanb1965 closed 1 year ago

rohanb1965 commented 1 year ago

Version

1.5.2

Node version

Not Node Red install

Operating System type

Windows

Operating system version

Hyper-V HA OVA

Describe the bug

Installed the addons Bropats version 1.5.2 and fuatakgun version 6.2.0 I have setup a secondary account which I have confirmed works Doorbell is a T8222-Z Chime is a T8020 on latest firmware

Seems simlar to previous bugs

To reproduce

Followed install steps as per Bropat and Fuatakgun https://github.com/fuatakgun/eufy_security

Screenshots & Logfiles

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started 2023-05-24 16:43:59.586 INFO Eufy Security server listening on host 0.0.0.0, port 3000 2023-05-24 16:44:04.282 INFO Connected to station T8020P1123021XXX on host 192.168.41.XXX and port 18450 2023-05-24 16:44:11.034 INFO Push notification connection successfully established 2023-05-24 16:44:12.672 INFO Disconnected from station T8020P1123021XXX 2023-05-24 16:44:17.853 INFO Connected to station T8020P1123021AA2 on host 192.168.41.XXX and port 24504 2023-05-24 16:44:25.750 INFO Disconnected from station T8020P1123021XXX

from the log viewer in HA File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 352, in send_message await self._client.send_message(json.dumps(message)) File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 86, in send_message raise WebSocketConnectionError() custom_components.eufy_security.eufy_security_api.exceptions.WebSocketConnectionError

Additional context

Home Assistant 2023.3.6 Supervisor 2023.04.1 Operating System 9.5 Frontend 20230309.1 - latest

bropat commented 1 year ago

Seems to be a network problem.