homebridge-eufy-security / plugin

Homebridge plugin to control certain Eufy Security devices
Apache License 2.0
158 stars 24 forks source link

[Bug]: FFMPEG Process timed out error #521

Open eengert opened 4 months ago

eengert commented 4 months ago

What happened?

Everything has worked fine for over a year. Today, suddenly no snapshot is being created. When I view the log, I see:

[EufySecurity-2.2.21] WARN [SnapshotManager.ts:283] Doorbell ffmpeg process timed out.

Device Type

Doorbell (Supported)

Plugin Version

v2.0.x (Supported)

HomeBridge Version

v1.6.x (Supported)

NodeJS Version

v18 (Supported)

Operating System

Windows 10+ (UnSupported)

Relevant log output

[02/27/2024 10:59:51]   [EufySecurity-2.2.21]   DEBUG   [platform.ts:226]       Push Connected!
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [platform.ts:347]       HomeBase 2 pre-caching complete
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [platform.ts:512]       HomeBase 2 UUID: be8e4df2-14b6-487d-b324-6aee8d255af5
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Manufacturer (00000020-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Name (00000023-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Model (00000021-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Serial Number (00000030-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Firmware Revision (00000052-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Hardware Revision (00000053-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:90]   HomeBase 2 Property Keys: name, model, serialNumber, type, hardwareVersion, softwareVersion, macAddress, timeFormat, alarmVolume, alarm, alarmType, alarmArmed, alarmArmDelay, alarmDelay, alarmDelayType, alarmTone, lanIpAddress, promptVolume, notificationStartAlarmDelay, guardMode, sdStatus, notificationSwitchModeSchedule, notificationSwitchModeGeofence, notificationSwitchModeApp, notificationSwitchModeKeypad, sdCapacity, sdCapacityAvailable, currentMode
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:45]        HomeBase 2 Constructed Station
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:159]       HomeBase 2 Config: undefined
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:179]       HomeBase 2 
    manual alarm will be triggered only in these hk modes:

[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:266]       HomeBase 2 Mapping for station modes: [{"hk":0,"eufy":1},{"hk":1,"eufy":0},{"hk":2,"eufy":3},{"hk":3,"eufy":63}]
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'SecuritySystem (0000007E-0000-1000-8000-0026BB765291) / Security System Current State (00000066-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:175]  HomeBase 2 ON 'SecuritySystem / SecuritySystemCurrentState'
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'SecuritySystem (0000007E-0000-1000-8000-0026BB765291) / Security System Target State (00000067-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:175]  HomeBase 2 ON 'SecuritySystem / SecuritySystemTargetState'
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'Switch (00000049-0000-1000-8000-0026BB765291) / On (00000025-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   INFO    [platform.ts:613]       Updating existing accessory: HomeBase 2
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [platform.ts:378]       Doorbell pre-caching complete
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [platform.ts:512]       Doorbell UUID: ddcb88c5-dede-4aab-b339-235c94eb186e
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Manufacturer (00000020-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Name (00000023-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Model (00000021-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Serial Number (00000030-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Firmware Revision (00000052-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Hardware Revision (00000053-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:90]   Doorbell Property Keys: motionDetected, personDetected, personName, ringing, name, model, serialNumber, type, hardwareVersion, softwareVersion, stationSerialNumber, lastChargingDays, lastChargingFalseEvents, lastChargingRecordedEvents, lastChargingTotalEvents, batteryUsageLastWeek, picture, recordingClipLength, recordingRetriggerInterval, recordingEndClipMotionStops, motionDetectionSensitivityStandard, motionDetectionSensitivityAdvancedA, motionDetectionSensitivityAdvancedB, motionDetectionSensitivityAdvancedC, motionDetectionSensitivityAdvancedD, motionDetectionSensitivityAdvancedE, motionDetectionSensitivityAdvancedF, motionDetectionSensitivityAdvancedG, motionDetectionSensitivityAdvancedH, loiteringDetectionLength, loiteringDetectionRange, loiteringCustomResponseAutoVoiceResponseVoice, loiteringCustomResponseTimeFrom, loiteringCustomResponseTimeTo, deliveryGuardPackageGuardingActivatedTimeFrom, deliveryGuardPackageGuardingActivatedTimeTo, deliveryGuardPackageGuardingVoiceResponseVoice, deliveryGuardUncollectedPackageAlertTimeToCheck, dualCamWatchViewMode, ringAutoResponseVoiceResponseVoice, ringAutoResponseTimeFrom, ringAutoResponseTimeTo, radarMotionDetected, snoozeTime, snoozeStartTime, snoozeHomebase, snoozeStartChime, snoozeMotion, wifiRssi, wifiSignalLevel, videoWdr, chimeHomebaseRingtoneVolume, watermark, chimeHomebase, powerWorkingMode, audioRecording, autoNightvision, statusLed, notificationType, notificationRing, notificationMotion, motionDetectionSensitivityMode, battery, motionDetectionType, deliveryGuardUncollectedPackageAlert, chimeIndoor, videoStreamingQuality, chimeHomebaseRingtoneType, state, chargingStatus, deliveryGuardPackageLiveCheckAssistance, batteryTemperature, ringtoneVolume, notificationRadarDetector, enabled, speakerVolume, motionDetection, loiteringDetection, loiteringCustomResponsePhoneNotification, loiteringCustomResponseAutoVoiceResponse, loiteringCustomResponseHomeBaseNotification
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:50] Doorbell Constructed Camera
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:54] Doorbell config is: {"serialNumber":"T8213P1122190AEF","rtsp":false,"enableCamera":true,"useCachedLocalLivestream":false,"videoConfig":{"audio":true,"audioSampleRate":0},"talkback":true,"snapshotHandlingMethod":3,"refreshSnapshotIntervalMinutes":10,"unbridge":true,"immediateRingNotificationWithoutSnapshot":true,"name":"Doorbell","enableButton":true,"motionButton":true,"forcerefreshsnap":false,"delayCameraSnapshot":false}
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:57] Doorbell has a camera
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'CameraOperatingMode (0000021A-0000-1000-8000-0026BB765291) / Event Snapshots Active (00000223-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'CameraOperatingMode (0000021A-0000-1000-8000-0026BB765291) / HomeKit Camera Active (0000021B-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'MotionSensor (00000085-0000-1000-8000-0026BB765291) / Motion Detected (00000022-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:175]  Doorbell ON 'MotionSensor / MotionDetected'
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'CameraOperatingMode (0000021A-0000-1000-8000-0026BB765291) / Manually Disabled (00000227-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'CameraOperatingMode (0000021A-0000-1000-8000-0026BB765291) / Camera Operating Mode Indicator (0000021D-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'CameraOperatingMode (0000021A-0000-1000-8000-0026BB765291) / Night Vision (0000011B-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'Doorbell (00000121-0000-1000-8000-0026BB765291) / Programmable Switch Event (00000073-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:175]  Doorbell ON 'Doorbell / ProgrammableSwitchEvent'
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   INFO    [SnapshotManager.ts:97] Doorbell Setting up automatic snapshot refresh every 10 minutes. This may decrease battery life dramatically. The refresh process for Doorbell should begin in 1 minutes.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   INFO    [SnapshotManager.ts:114]        Doorbell is set to handle snapshots with cloud images. Snapshots might be older than they appear.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   INFO    [SnapshotManager.ts:122]        Doorbell Empty snapshot will be sent on ring events immediately to speed up homekit notifications.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [streamingDelegate.ts:137]      Doorbell Audio sample rate set to 16 kHz.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:92] Doorbell IndoorChime config: undefined
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:99] Doorbell Looks like not compatible with chimeIndoor or this has been disabled within configuration
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'Battery (00000096-0000-1000-8000-0026BB765291) / Battery Level (00000068-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:92] Doorbell Enabled config: true
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:95] Doorbell has a enabled, so append switchEnabled characteristic to it.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'Switch (00000049-0000-1000-8000-0026BB765291) / On (00000025-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:92] Doorbell Motion config: true
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:95] Doorbell has a motionDetection, so append switchMotion characteristic to it.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'Switch (00000049-0000-1000-8000-0026BB765291) / On (00000025-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:92] Doorbell Light config: true
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:99] Doorbell Looks like not compatible with light or this has been disabled within configuration
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:236]  Doorbell Pruning unused service 00000112-0000-1000-8000-0026BB765291 null
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   INFO    [platform.ts:617]       Unregistering unbridged accessory: Doorbell
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / Manufacturer': Eufy
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / Model': STATION
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / Name': HomeBase 2
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / SerialNumber': T8010P1322183FC3
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / FirmwareRevision': 3.3.1.8h
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / HardwareRevision': P0
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:323]       HomeBase 2 GET StationCurrentMode: 1
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'SecuritySystem / SecuritySystemCurrentState': 0
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:323]       HomeBase 2 GET StationCurrentMode: 1
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'SecuritySystem / SecuritySystemTargetState': 0
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'Switch / On': false
[02/27/2024 10:59:59]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / FirmwareRevision': 3.3.1.8h
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [SnapshotManager.ts:282]        Doorbell Automatic snapshot refresh triggered.
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [SnapshotManager.ts:320]        Doorbell Locked refresh process.
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [SnapshotManager.ts:321]        Doorbell Fetching new snapshot from camera.
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [utils.ts:8]    Doorbell RTSP rtspStream:false
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [utils.ts:10]   Doorbell Looks like not compatible with RTSP
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:214] Doorbell New instance requests livestream. There were 0 instance(s) using the livestream until now.
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:233] Doorbell Start new station livestream (P2P Session)...
[02/27/2024 11:01:01]   [EufySecurity-2.2.21]   INFO    [LocalLivestreamManager.ts:354] HomeBase 2 station livestream (P2P session) for Doorbell has started.
[02/27/2024 11:01:01]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:358] Doorbell Stream metadata: {"videoCodec":1,"videoFPS":15,"videoHeight":1920,"videoWidth":2560,"audioCodec":1}
[02/27/2024 11:01:01]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:256] Doorbell New livestream started. Proxy stream has id: 1.
[02/27/2024 11:01:16]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:47]  Audiostream was stopped after transmission of 0 data chunks.
[02/27/2024 11:01:16]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:109] Videostream was stopped after transmission of 243 data chunks.
[02/27/2024 11:01:16]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:407] Doorbell One stream instance (id: 1) released livestream. There are now 0 instance(s) using the livestream.
[02/27/2024 11:01:16]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:410] Doorbell All proxy instances to the livestream have terminated.
[02/27/2024 11:01:16]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:283] Doorbell Stopping station livestream.
[02/27/2024 11:01:16]   [EufySecurity-2.2.21]   DEBUG   [SnapshotManager.ts:338]        Doorbell Unlocked refresh process.
[02/27/2024 11:01:16]   [EufySecurity-2.2.21]   WARN    [SnapshotManager.ts:283]        Doorbell ffmpeg process timed out.
[02/27/2024 11:01:16]   [EufySecurity-2.2.21]   INFO    [LocalLivestreamManager.ts:290] HomeBase 2 station livestream for Doorbell has stopped.
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / Manufacturer': Eufy
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / Model': STATION
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / Name': HomeBase 2
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / SerialNumber': T8010P1322183FC3
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / FirmwareRevision': 3.3.1.8h
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / HardwareRevision': P0
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:323]       HomeBase 2 GET StationCurrentMode: 1
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'SecuritySystem / SecuritySystemCurrentState': 0
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:323]       HomeBase 2 GET StationCurrentMode: 1
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'SecuritySystem / SecuritySystemTargetState': 0
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'Switch / On': false
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:323]       HomeBase 2 GET StationCurrentMode: 1
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'SecuritySystem / SecuritySystemCurrentState': 0
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:323]       HomeBase 2 GET StationCurrentMode: 1
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'SecuritySystem / SecuritySystemTargetState': 0
[02/27/2024 11:02:13]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'Switch / On': false
[02/27/2024 11:02:16]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:323]       HomeBase 2 GET StationCurrentMode: 1
[02/27/2024 11:02:16]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'SecuritySystem / SecuritySystemCurrentState': 0
[02/27/2024 11:02:16]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:323]       HomeBase 2 GET StationCurrentMode: 1
[02/27/2024 11:02:16]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'SecuritySystem / SecuritySystemTargetState': 0
[02/27/2024 11:02:16]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'Switch / On': false

config

{
    "enableDetailedLogging": true,
    "CameraMaxLivestreamDuration": 30,
    "pollingIntervalMinutes": 15,
    "hkHome": 1,
    "hkAway": 0,
    "hkNight": 3,
    "hkOff": 63,
    "ignoreStations": [],
    "ignoreDevices": [],
    "country": "US",
    "cameras": [
        {
            "serialNumber": "T8213P1122190AEF",
            "rtsp": false,
            "enableCamera": true,
            "useCachedLocalLivestream": false,
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "talkback": true,
            "snapshotHandlingMethod": 3,
            "refreshSnapshotIntervalMinutes": 10,
            "unbridge": true,
            "immediateRingNotificationWithoutSnapshot": true
        }
    ],
    "cleanCache": true,
    "unbridge": true,
    "username": "xxx",
    "password": "xxx",
    "deviceName": "Doorbell",
    "platform": "EufySecurity"
}
github-actions[bot] commented 4 months ago

Did you check this Common Issues pages ?

eengert commented 4 months ago

I spoke too soon. It worked for a few minutes and then started throwing the error/warning again.

The strange thing is that when I tap on the video feed from the doorbell in HomeKit, it opens the "live feed" but it's just a still image and not live video like it should be. But it is an updated still image at least. But when the plugin attempts to create the periodic snapshot, it fails with the ffmpeg timeout.

eengert commented 4 months ago

I'm really not sure what's going on. I've spent quite a few hours over the past couple of days trying everything I can think of. I've tried many different versions of Node.js, many different versions of this plugin, every combination of plugin settings, I've even restored to an older backup from a time when I know the doorbell camera was working. But nothing has worked reliably. Occasionally I can get the live stream to play in the Home app, but 95% of the time, it won't start and no snapshot is taken either.

Besides the "ffmpeg timed out" warning, I sometimes see this error "No camera source detected."

Please help with this issue. Thanks.

eengert commented 4 months ago

Here is a log file with snapshot mode set to Cloud. In this mode, I get the "ffmpeg timed out" message. When I change the snapshot mode to Balance, I get the "No camera source detected" message.

homebridge.log.txt

eengert commented 4 months ago

A bit more info...I've disabled the snapshot feature temporarily and now the live feed seems to work 100% of the time. It seems like the plugin is just having trouble starting the camera to grab a snapshot.