Closed ema-dev closed 1 year ago
Missing debug logs
@bropat I am currently on 1.3.3. I turned on debug mode and logging.
Here's the order of events:
Then it's just hundreds/thousands of log messages about the download, but there are no video/audio download events with the data.
Version
1.3.0
Node version
16.14.0
Operating System type
Docker
Operating system version
Docker Desktop 4.13.0 for Windows - Engine Version: 20.10.20
Describe the bug
I have Eufy HomeBase 2 (System Version: 3.2.5.1h | Subsystem Version: 1.3.0.9) and after upgrading from bropat/eufy-security-ws 0.9.4 to any version above, only one of my eufyCam 2C's work when attempting to download clips. All eufyCam 2C's worked when downloading on 0.9.4 (only video, NOT audio). After Eufy made some recent updates, version 0.9.4 no longer works because of the 403 forbidden response when fetching the profile and/or devices. I am currently on version 1.3.0 and everything seems to work properly for my uses except downloading clips for 4 out of 5 eufyCam 2C's. I can live stream video/audio for all of them still. Downloading works for my wired doorbell and floodlights still.
I believe this could be related to 2 previous issues https://github.com/bropat/eufy-security-ws/issues/90 and https://github.com/bropat/eufy-security-ws/issues/101
To reproduce
After sending the download command for one of the eufyCam 2C's that doesn't download properly, I receive the following messages:
{ "type": "result", "success": true, "messageId": 1, "result": { "async": true } }
Followed by:
{ "type": "event", "event": { "source": "device", "event": "command result", "serialNumber": "[removed]", "command": "start_download", "returnCode": 0, "returnCodeName": "ERROR_PPCS_SUCCESSFUL", "customData": { "command": { "name": "deviceStartDownload", "value": { "path": "[removed]", "cipher_id": [removed] } } } } }
With no subsequent messages.
Screenshots & Logfiles
No response
Additional context
No response