plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Bug]: Missing Snapshots

Open ccanalia82 opened this issue 1 year ago • 1 comments

What happened?

OS: Ubuntu Jammy (22.04.4 LTS) Node.js Version: v20.11.0 Docker: YES Version: v4.1.1 Homebridge Version: 1.8.4 Camera: Smart Drop S300 Model: T8790

I'm using the Eufy SmartDrop camera (yes, I know it is not supported) and everything works perfectly except for the snapshot refresh. Every time it tries to refresh it goes to "Camera Disabled: Camera Turned Off" but if I open the video stream the stream loads and it will save a snapshot. When the snapshot tries to refresh, it reverts to the Disabled message until I open the video stream again.

Relevant log information is listed below, if you have a way that I can manually fix it, great. If not, please let me know if you can add support for

Video stream loads and saves the snapshot in log entry:
[08/13/2024 09:52:48]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:101]	SmartDrop Raw Property Changes: 1271 {
  account_id: '7d6bdfcde77d8c8d9e7a09b5d31a04fcda70d6ad',
  snooze_time: 0
}
[08/13/2024 09:52:52]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:326]	SmartDrop Receive Apple HK Stop request {
  sessionID: 'bfed1c62-ed79-43b4-b2e4-0914d105a848',
  type: 'stop'
}

The refresh snapshot log entry where the snapshot disappears with the Disabled message:

[08/13/2024 09:53:01]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:101]	SmartDrop Raw Property Changes: 1142 -53
[08/13/2024 09:53:01]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:106]	SmartDrop Property Changes: wifiRssi -53
[08/13/2024 09:53:04]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'Battery / BatteryLevel': 100
[08/13/2024 09:53:05]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:102]	SmartDrop handleSnapshotRequest
[08/13/2024 09:53:05]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:105]	SmartDrop Snapshot requested: 1280 x 720 true
[08/13/2024 09:53:05]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:109]	SmartDrop snapshot byte lenght: 11234

Device Type

other (UnSupported)

Plugin Version

other (UnSupported)

HomeBridge Version

other (UnSupported)

NodeJS Version

v20 (Supported)

Operating System

Docker (UnSupported)

Relevant log output

[8/13/2024, 9:52:32 AM] [Homebridge UI] Homebridge log truncated by ccanalia.
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'AccessoryInformation / Manufacturer': Eufy
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'AccessoryInformation / Model': SMART_DROP
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'AccessoryInformation / Name': SmartDrop
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'AccessoryInformation / SerialNumber': T8790N10231001CD
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'AccessoryInformation / FirmwareRevision': 1.3.3.9
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'AccessoryInformation / HardwareRevision': P1
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'MotionSensor / MotionDetected': false
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'Battery / BatteryLevel': 100
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[CameraAccessory.ts:470]	SmartDrop GET 'On' motionDetection: true
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'Switch / On': true
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'AccessoryInformation / FirmwareRevision': 1.3.3.9
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:102]	SmartDrop handleSnapshotRequest
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:105]	SmartDrop Snapshot requested: 1280 x 720 true
[08/13/2024 09:52:38]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:109]	SmartDrop snapshot byte lenght: 11234
[08/13/2024 09:52:39]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'Battery / BatteryLevel': 100
[08/13/2024 09:52:42]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:121]	SmartDrop stream prepare request with session id bfed1c62-ed79-43b4-b2e4-0914d105a848 was received.
[08/13/2024 09:52:42]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'AccessoryInformation / FirmwareRevision': 1.3.3.9
[08/13/2024 09:52:42]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'AccessoryInformation / FirmwareRevision': 1.3.3.9
[08/13/2024 09:52:42]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:306]	SmartDrop Received request to start stream with id bfed1c62-ed79-43b4-b2e4-0914d105a848
[08/13/2024 09:52:42]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:307]	SmartDrop request data: {
  sessionID: 'bfed1c62-ed79-43b4-b2e4-0914d105a848',
  type: 'start',
  video: {
    codec: 0,
    profile: 2,
    level: 2,
    packetizationMode: 0,
    cvoId: undefined,
    width: 1280,
    height: 720,
    fps: 30,
    pt: 99,
    ssrc: 2074679574,
    max_bit_rate: 299,
    rtcp_interval: 0.5,
    mtu: 1378
  },
  audio: {
    codec: 'AAC-eld',
    channel: 1,
    bit_rate: 0,
    sample_rate: 16,
    packet_time: 30,
    pt: 110,
    ssrc: 3058394347,
    max_bit_rate: 24,
    rtcp_interval: 5,
    comfort_pt: 13,
    comfortNoiseEnabled: false
  }
}
[08/13/2024 09:52:42]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:174]	SmartDrop VIDEOCONFIG:  {
  debug: true,
  maxWidth: 640,
  maxHeight: 480,
  maxFPS: 15,
  useSeparateProcesses: true
}
[08/13/2024 09:52:42]	[EufySecurity-4.1.1]	DEBUG	[utils.ts:144]	SmartDrop RTSP rtspStream: false
[08/13/2024 09:52:42]	[EufySecurity-4.1.1]	DEBUG	[utils.ts:146]	SmartDrop Looks like not compatible with RTSP
[08/13/2024 09:52:42]	[EufySecurity-4.1.1]	DEBUG	[LocalLivestreamManager.ts:58]	SmartDrop New instance requests livestream.
[08/13/2024 09:52:42]	[EufySecurity-4.1.1]	DEBUG	[LocalLivestreamManager.ts:71]	SmartDrop Start new station livestream...
[08/13/2024 09:52:48]	[EufySecurity-4.1.1]	DEBUG	[LocalLivestreamManager.ts:141]	SmartDrop SmartDrop station livestream (P2P session) for SmartDrop has started.
[08/13/2024 09:52:48]	[EufySecurity-4.1.1]	DEBUG	[LocalLivestreamManager.ts:145]	SmartDrop Stream metadata:  {
  videoCodec: 0,
  videoFPS: 15,
  videoHeight: 480,
  videoWidth: 640,
  audioCodec: 0
}
[08/13/2024 09:52:48]	[EufySecurity-4.1.1]	DEBUG	[LocalLivestreamManager.ts:97]	SmartDrop New livestream started.
[08/13/2024 09:52:48]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:101]	SmartDrop Raw Property Changes: 1142 -47
[08/13/2024 09:52:48]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:106]	SmartDrop Property Changes: wifiRssi -47
[08/13/2024 09:52:48]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:101]	SmartDrop Raw Property Changes: 1147 1723564372
[08/13/2024 09:52:48]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:101]	SmartDrop Raw Property Changes: 1271 {
  account_id: '7d6bdfcde77d8c8d9e7a09b5d31a04fcda70d6ad',
  snooze_time: 0
}
[08/13/2024 09:52:52]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:326]	SmartDrop Receive Apple HK Stop request {
  sessionID: 'bfed1c62-ed79-43b4-b2e4-0914d105a848',
  type: 'stop'
}
[08/13/2024 09:52:52]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:334]	SmartDrop Stopping session with id: bfed1c62-ed79-43b4-b2e4-0914d105a848
[08/13/2024 09:52:52]	[EufySecurity-4.1.1]	DEBUG	[utils.ts:144]	SmartDrop RTSP rtspStream: false
[08/13/2024 09:52:52]	[EufySecurity-4.1.1]	DEBUG	[utils.ts:146]	SmartDrop Looks like not compatible with RTSP
[08/13/2024 09:52:52]	[EufySecurity-4.1.1]	DEBUG	[LocalLivestreamManager.ts:110]	SmartDrop Stopping station livestream.
[08/13/2024 09:52:52]	[EufySecurity-4.1.1]	INFO	[streamingDelegate.ts:377]	SmartDrop Stopped video stream.
[08/13/2024 09:52:52]	[EufySecurity-4.1.1]	DEBUG	[LocalLivestreamManager.ts:118]	SmartDrop SmartDrop station livestream for SmartDrop has stopped.
[08/13/2024 09:53:01]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:101]	SmartDrop Raw Property Changes: 1142 -53
[08/13/2024 09:53:01]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:106]	SmartDrop Property Changes: wifiRssi -53
[08/13/2024 09:53:04]	[EufySecurity-4.1.1]	DEBUG	[BaseAccessory.ts:155]	SmartDrop GET 'Battery / BatteryLevel': 100
[08/13/2024 09:53:05]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:102]	SmartDrop handleSnapshotRequest
[08/13/2024 09:53:05]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:105]	SmartDrop Snapshot requested: 1280 x 720 true
[08/13/2024 09:53:05]	[EufySecurity-4.1.1]	DEBUG	[streamingDelegate.ts:109]	SmartDrop snapshot byte lenght: 11234

config

{
    "platform": "",
    "username": "",
    "password": "",
    "deviceName": "",
    "enableDetailedLogging": true,
    "omitLogFiles": false,
    "CameraMaxLivestreamDuration": 30,
    "pollingIntervalMinutes": 10,
    "hkHome": 1,
    "hkAway": 0,
    "hkNight": 3,
    "hkOff": 63,
    "ignoreStations": [
        "T8790N10231001CD"
    ],
    "ignoreDevices": [],
    "country": "US",
    "stations": [],
    "cameras": [
        {
            "serialNumber": "T8790N10231001CD",
            "rtsp": false,
            "hsv": true,
            "videoConfig": {
                "debug": true,
                "maxWidth": 640,
                "maxHeight": 480,
                "maxFPS": 15,
                "useSeparateProcesses": true
            },
            "snapshotHandlingMethod": 2
        }
    ],
    "cleanCache": true,
    "ignoreMultipleDevicesWarning": false,
    "autoSyncStation": true,
    "nodejs_security": false,
    "unbridge": false,
    "syncStationModes": true,
    "hsv": true,
    "name": "EufySecurity",
    "_bridge": {
        "username": "0E:94:81:91:31:DB",
        "port": 36252
    }
}

ccanalia82 avatar Aug 13 '24 16:08 ccanalia82

Did you check this Common Issues pages ?

github-actions[bot] avatar Aug 13 '24 16:08 github-actions[bot]