bropat / eufy-security-ws

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

[Bug]: Eufy S350 VIDEO not working #312

Open danilichti opened 4 months ago

danilichti commented 4 months ago

Version

1.8.0

Node version

1.8.0

Operating System type

Linux

Operating system version

Home Assistant 2024.3.0b6

Describe the bug

After having added all add-ons and adding the "Eufy Security" device to HOAS, the camera device is detected but the video is stuck either in "IDLE" or "PREPARING".

All other sensors are present and work. Pressing the "Start P2P Stream" changes nothing.

CleanShot 2024-03-05 at 15 52 48 CleanShot 2024-03-05 at 15 52 58

To reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '....'
  4. See error

Screenshots & Logfiles

No response

Additional context

No response

danilichti commented 4 months ago
Logger: homeassistant.components.camera
Quelle: components/camera/__init__.py:897
Integration: Kamera (Dokumentation, Probleme)
Erstmals aufgetreten: 15:47:21 (3 Vorkommnisse)
Zuletzt protokolliert: 15:47:44

Error requesting stream: camera.eufy_s350 does not support play stream service
danilichti commented 4 months ago
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
2024-03-05 14:34:52.992 INFO    eufy-security-ws    Eufy Security server listening on host 0.0.0.0, port 3000
2024-03-05 14:34:55.559 INFO    eufy-security-ws:eufy-security-client   [http] [Station.onConnect] Connected to station T8416P0******** on host 192.168.8.134 and port *****
2024-03-05 14:34:57.924 INFO    eufy-security-ws:eufy-security-client   [main] Push notification connection successfully established
2024-03-05 14:37:46.692 INFO    eufy-security-ws    Client disconnected with ip: 127.0.0.1 port: 37866 code: 1000 reason: Normal Closure
2024-03-05 14:38:53.650 INFO    eufy-security-ws    Client disconnected with ip: 127.0.0.1 port: 37870 code: 1000 reason: Normal Closure
2024-03-05 14:39:03.334 INFO    eufy-security-ws:eufy-security-client   [p2p] [Timeout._onTimeout] Stopping the station stream for the device T8416P002********, because we haven't received any data for 5000 seconds
2024-03-05 14:39:24.812 INFO    eufy-security-ws:eufy-security-client   [p2p] [Timeout._onTimeout] Stopping the station stream for the device T8416P002********, because we haven't received any data for 5000 seconds
2024-03-05 14:39:34.881 ERROR   eufy-security-ws    Message error

 LivestreamNotRunningError  Livestream for device T8416P002******** could not be stopped, because it is not running, LivestreamNotRunningError
error stack:
  • message_handler.js  DeviceMessageHandler.handle
    /usr/src/app/node_modules/eufy-security-ws/dist/lib/device/message_handler.js:213
  • task_queues process.processTicksAndRejections
    internal/process/task_queues:95
  • server.js   async Client.receiveMessage
    /usr/src/app/node_modules/eufy-security-ws/dist/lib/server.js:94
2024-03-05 14:39:41.584 INFO    eufy-security-ws:eufy-security-client   [p2p] [Timeout._onTimeout] Stopping the station stream for the device T8416P002********, because we haven't received any data for 5000 seconds
2024-03-05 14:43:58.200 INFO    eufy-security-ws    Client disconnected with ip: 127.0.0.1 port: 60536 code: 1000 reason: Normal Closure
2024-03-05 14:44:15.099 INFO    eufy-security-ws    Client disconnected with ip: 127.0.0.1 port: 39546 code: 1000 reason: Normal Closure
2024-03-05 14:44:28.061 INFO    eufy-security-ws:eufy-security-client   [p2p] [Timeout._onTimeout] Stopping the station stream for the device T8416P002********, because we haven't received any data for 5000 seconds
2024-03-05 14:44:42.336 INFO    eufy-security-ws:eufy-security-client   [p2p] [Timeout._onTimeout] Stopping the station stream for the device T8416P002********, because we haven't received any data for 5000 seconds
2024-03-05 14:44:52.023 INFO    eufy-security-ws    Client disconnected with ip: 127.0.0.1 port: 55214 code: 1006 reason: Abnormal Closure
2024-03-05 14:44:52.025 INFO    eufy-security-ws    Client disconnected with ip: 127.0.0.1 port: 55238 code: 1006 reason: Abnormal Closure
2024-03-05 14:44:52.025 INFO    eufy-security-ws    Client disconnected with ip: 127.0.0.1 port: 55230 code: 1006 reason: Abnormal Closure
2024-03-05 14:44:52.025 INFO    eufy-security-ws    Client disconnected with ip: 127.0.0.1 port: 39534 code: 1006 reason: Abnormal Closure
2024-03-05 14:46:42.077 ERROR   eufy-security-ws:eufy-security-client   [main] Station rtsp url error {
  error: {
    cause: undefined,
    message: 'InvalidPropertyError: Property name is not valid',
    context: {
      name: 'rtspStreamUrl'
    },
    stacktrace: 'InvalidPropertyError: Property name is not valid\n' +
      '    at IndoorCamera.getPropertyMetadata (/usr/src/app/node_modules/eufy-security-client/build/http/device.js:855:15)\n' +
      '    at IndoorCamera.setCustomPropertyValue (/usr/src/app/node_modules/eufy-security-client/build/http/device.js:978:31)\n' +
      '    at /usr/src/app/node_modules/eufy-security-client/build/eufysecurity.js:1997:20\n' +
      '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)'
  },
  stationSN: 'T8416P002********,
  channel: 0,
  url: 'rtsp://***********:Xu4JTyKaQ7Xx@192.168.8.134/live0'
}
2024-03-05 14:52:43.635 INFO    eufy-security-ws    Client disconnected with ip: 127.0.0.1 port: 37182 code: 1000 reason: Normal Closure
2024-03-05 14:57:41.554 INFO    eufy-security-ws:eufy-security-client   [p2p] [Timeout._onTimeout] Stopping the station stream for the device T8416P002*******, because we haven't received any data for 5000 seconds
thilek commented 4 months ago

How did you even get that many sensors working ? i don't even see that many.

Screenshot at Mar 06 10-52-54
danilichti commented 4 months ago

How did you even get that many sensors working ? i don't even see that many.

They were all added automatically when I first setup the camera.

thilek commented 4 months ago

@danilichti did you you use docker-compose ? since version 1.8.0 is not available in docker hub. So it's picking up older version for me.

danilichti commented 3 months ago

@thilek Home Assistant