bropat / eufy-security-ws

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

Download Videos fails #176

Closed Sprocket02 closed 1 year ago

Sprocket02 commented 1 year ago

Basically I can connect to the station and all devices. Now I am trying to download videos. Here comes an error message that I unfortunately do not understand.

Command:

{"command": "device.start_download", "messageId": "device.start_download" , "serialNumber": "T8161P102236XXXX", "path": "/etc/openhab/html/camera/"}

Reply:

"{"type":"event","event":{"source":"device","event":"command result","serialNumber":"T8161P102236XXXX","command":"start_download","returnCode":-104,"returnCodeName":"ERROR_INVALID_ACCOUNT","customData":{"command":{"name":"deviceStartDownload","value":{"path":"/etc/openhab/html/camera/"}}}}}"

I also don't understand the meaning of the property cipherId. What do I enter there?

Basically I would like to use the preview image and the corresponding video in Openhab for each event of the camera.

Maybe someone can give me a short tip or share his code?

PhilippEngler commented 1 year ago

At the moment, this is not possible on the HomeBase 3: Link to bropat/eufy-security-client/src/http/station.ts

bropat commented 1 year ago

It's like @PhilippEngler has already written. This functionality must first be implemented in eufy-security-client.