plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Bug]: eufy Security S220 SoloCam HKSV not working

Open Martynet opened this issue 1 year ago • 4 comments

What happened?

After I downgraded the Node and finally managed to see the 2 new cameras in HomeKit, I was never able to see the preview. I could see the picture and sound working when I clicked on each camera only, but that worked only for little while. No I can't get anything from either of the camera. Doorbell is Logitech with HK support at the top. Eufy are the two below.

Device Type

other (UnSupported)

Plugin Version

v3.0.x (Best Effort)

HomeBridge Version

v1.7.x (Supported)

NodeJS Version

v20 (Supported)

Operating System

Raspbian 10+ (Supported)

Relevant log output

Loading logs using native method...
File: /var/lib/homebridge/homebridge.log

      
    ┌────────────┐     
    │ 031-45-154 │     
    └────────────┘     
                       
[5/27/2024, 12:48:44 AM] Homebridge v1.8.3-beta.1 (HAP v0.12.2-beta.3) (EufySecurity) is running on port 33353.
[05/27/2024, 00:48:51]  [EufySecurity]  INFO    Updating existing accessory: STATION_Front Door
[05/27/2024, 00:48:51]  [EufySecurity]  INFO    Updating existing accessory: STATION_Backyard
[05/27/2024, 00:48:53]  [EufySecurity]  INFO    Front Door is set to balanced snapshot handling.
[05/27/2024, 00:48:53]  [EufySecurity]  ERROR   Front Door could not fetch old snapshot: No currentSnapshot
[05/27/2024, 00:48:53]  [EufySecurity]  INFO    Updating existing accessory: DEVICE_Front Door
[05/27/2024, 00:48:53]  [EufySecurity]  INFO    Backyard is set to handle snapshots with cloud images. Snapshots might be older than they appear.
[05/27/2024, 00:48:53]  [EufySecurity]  ERROR   Backyard could not fetch old snapshot: No currentSnapshot
[05/27/2024, 00:48:53]  [EufySecurity]  INFO    Updating existing accessory: DEVICE_Backyard
[05/27/2024, 00:49:30]  [EufySecurity]  INFO    No outdated cached accessories found.
[5/27/2024, 1:09:48 AM] [Homebridge UI] Terminal session ended.
[5/27/2024, 1:10:18 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[05/27/2024, 01:53:13]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 01:53:17]  [EufySecurity]  ERROR   Front Door getSnapshotFromStream timed out No currentSnapshot available
[05/27/2024, 01:53:17]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 01:53:27]  [EufySecurity]  INFO    Backyard Stopped video stream.
[05/27/2024, 01:53:28]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 01:53:44]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 01:53:45]  [EufySecurity]  INFO    Front Door Stopped video stream.
[05/27/2024, 01:53:57]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 01:53:57]  [EufySecurity]  INFO    Front Door Stopped video stream.
[05/27/2024, 01:53:57]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 01:54:07]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 01:54:52]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 01:54:56]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 01:55:13]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 01:55:27]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 01:55:28]  [EufySecurity]  INFO    Front Door Stopped video stream.
[5/27/2024, 2:09:57 AM] [Homebridge UI] Running scheduled instance backup...
[5/27/2024, 2:09:57 AM] [Homebridge UI] Creating temporary backup archive at /tmp/homebridge-backup-Ynvz4f/homebridge-backup-0E996E7E36E5.tar.gz
[05/27/2024, 08:39:43]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 08:39:44]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[5/27/2024, 10:05:02 AM] [Homebridge UI] Starting terminal session
[05/27/2024, 10:05:22]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:05:26]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:05:36]  [EufySecurity]  INFO    Backyard Stopped video stream.
[05/27/2024, 10:05:43]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:05:44]  [EufySecurity]  INFO    Front Door Stopped video stream.
[05/27/2024, 10:05:57]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:05:57]  [EufySecurity]  INFO    Front Door Stopped video stream.
[05/27/2024, 10:06:08]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:06:08]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:06:18]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:06:29]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:06:41]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:06:43]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:06:52]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:07:02]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:07:13]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:07:23]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:07:28]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:07:33]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:07:44]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:07:54]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:08:05]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:08:13]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:08:17]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:08:27]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:08:28]  [EufySecurity]  WARN    Front Door Could not get snapshot from livestream!
[05/27/2024, 10:08:32]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:08:42]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:08:46]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:08:57]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:09:07]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:09:18]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:09:27]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:09:31]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:09:42]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:09:52]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:10:03]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:10:12]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:10:16]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:10:27]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:10:37]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:10:48]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:10:57]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:11:01]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:11:12]  [EufySecurity]  WARN    Front Door Could not get snapshot from livestream!
[05/27/2024, 10:18:08]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:18:09]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:18:26]  [EufySecurity]  INFO    Backyard Stopped video stream.
[05/27/2024, 10:18:26]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:18:37]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:18:39]  [EufySecurity]  INFO    Front Door Stopped video stream.
[05/27/2024, 10:18:50]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:18:51]  [EufySecurity]  INFO    Front Door Stopped video stream.
[05/27/2024, 10:18:51]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:18:57]  [EufySecurity]  INFO    Backyard Stopped video stream.
[05/27/2024, 10:19:01]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:19:12]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:19:26]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:19:27]  [EufySecurity]  INFO    Front Door Stopped video stream.
[05/27/2024, 10:49:48]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[05/27/2024, 10:49:53]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:52:35]  [EufySecurity]  ERROR   Backyard No currentSnapshot available No currentSnapshot available
[05/27/2024, 10:52:35]  [EufySecurity]  INFO    Front Door Begin live streaming to access the most recent snapshot (significant battery drain on the device)
[5/27/2024, 11:06:26 AM] [Homebridge UI] Terminal session ended.
[5/27/2024, 11:06:33 AM] [Homebridge UI] [homebridge-eufy-security] [3.4.2]     DEBUG   [server.js:109] Using bropats eufy-security-client library in version 3.0.0
[5/27/2024, 11:06:33 AM] [Homebridge UI] [homebridge-eufy-security] Incoming Request: /storedAccessories
[5/27/2024, 11:06:33 AM] [Homebridge UI] [homebridge-eufy-security] Incoming Request: /storedAccessories
[5/27/2024, 11:09:09 AM] [Homebridge UI] Starting terminal session

config

{
    "platform": "EufySecurity",
    "username": "[email protected]",
    "password": "xxxxxxxxxxxx",
    "deviceName": "Eufy Home",
    "enableDetailedLogging": false,
    "omitLogFiles": false,
    "CameraMaxLivestreamDuration": 30,
    "pollingIntervalMinutes": 10,
    "hkHome": 1,
    "hkAway": 0,
    "hkNight": 3,
    "hkOff": 63,
    "ignoreStations": [],
    "ignoreDevices": [],
    "country": "IE",
    "stations": [],
    "cameras": [
        {
            "serialNumber": "xxxxxx",
            "rtsp": false,
            "snapshotHandlingMethod": 2
        }
    ],
    "cleanCache": true,
    "ignoreMultipleDevicesWarning": false,
    "autoSyncStation": false,
    "nodejs_security": true,
    "name": "EufySecurity",
    "_bridge": {
        "username": "0x:0x:x1:x4:x9:x4",
        "port": 33353
    }
}

Martynet avatar May 27 '24 10:05 Martynet

I am experiencing the same issue. I have tried connecting to a base station and operating stand alone. I was advised to use v.2.3.30 as it's the only version that supports the HSV process. No matter what configuration I do, connect/remove from base station, or change from regular installation vs docker and nothing will give me anything more than the thumbnail and live stream. Details are below and I can provide more if needed.

OS | Ubuntu Jammy (22.04.4 LTS) 192.168.7.212 fd62:b411:a13c:1:2462:beff:fea0:8651 docker-eufy root v20.11.0 /opt/homebridge/bin /var/lib/homebridge /var/lib/homebridge/config.json /var/lib/homebridge/node_modules GMT-0600 Yes

{ "platform": "EufySecurity", "username": "", "password": "", "deviceName": "HB", "enableDetailedLogging": true, "omitLogFiles": false, "CameraMaxLivestreamDuration": 30, "pollingIntervalMinutes": 10, "hkHome": 1, "hkAway": 0, "hkNight": 3, "hkOff": 63, "ignoreStations": [ "T8124P31232003A5", "T8790N10231001CD", "T8030P13233240F8" ], "ignoreDevices": [], "country": "US", "stations": [], "cameras": [ { "serialNumber": "T8124P31232003A5", "rtsp": false, "hsv": true, "videoConfig": { "audio": true, "debug": true, "vcodec": "", "useSeparateProcesses": true }, "snapshotHandlingMethod": 3, "refreshSnapshotIntervalMinutes": 30, "enable": false, "motion": false, "light": false }, { "serialNumber": "T8790N10231001CD", "rtsp": false, "hsv": true, "videoConfig": { "audio": true, "debug": true, "vcodec": "", "useSeparateProcesses": true }, "snapshotHandlingMethod": 3, "refreshSnapshotIntervalMinutes": 30 } ], "cleanCache": true, "ignoreMultipleDevicesWarning": true, "autoSyncStation": false, "nodejs_security": false, "hsv": true, "name": "EufySecurity", "_bridge": { "username": "0E:6A:37:BC:4B:A6", "port": 43267 } }

[06/12/2024 12:14:13] [EufySecurity-2.3.30] DEBUG [BaseAccessory.ts:157] Garage GET 'AccessoryInformation / FirmwareRevision': 1.1.6.4 [06/12/2024 12:14:13] [EufySecurity-2.3.30] DEBUG [BaseAccessory.ts:157] Garage GET 'AccessoryInformation / FirmwareRevision': 1.1.6.4 [06/12/2024 12:14:13] [EufySecurity-2.3.30] DEBUG [streamingDelegate.ts:315] Garage Received request to start stream with id 88c551f3-f153-418b-a760-5df70c3f4763 [06/12/2024 12:14:13] [EufySecurity-2.3.30] DEBUG [streamingDelegate.ts:316] Garage request data: {"sessionID":"88c551f3-f153-418b-a760-5df70c3f4763","type":"start","video":{"codec":0,"profile":2,"level":2,"packetizationMode":0,"width":1280,"height":720,"fps":30,"pt":99,"ssrc":2134239129,"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":3909825247,"max_bit_rate":24,"rtcp_interval":5,"comfort_pt":13,"comfortNoiseEnabled":false}} [06/12/2024 12:14:13] [EufySecurity-2.3.30] DEBUG [streamingDelegate.ts:183] Garage VIDEOCONFIG: {"audio":true,"debug":true,"vcodec":"","useSeparateProcesses":true} [06/12/2024 12:14:13] [EufySecurity-2.3.30] DEBUG [utils.ts:143] Garage RTSP rtspStream:false [06/12/2024 12:14:13] [EufySecurity-2.3.30] DEBUG [utils.ts:145] Garage Looks like not compatible with RTSP [06/12/2024 12:14:13] [EufySecurity-2.3.30] DEBUG [LocalLivestreamManager.ts:59] Garage New instance requests livestream. [06/12/2024 12:14:13] [EufySecurity-2.3.30] DEBUG [LocalLivestreamManager.ts:72] Garage Start new station livestream... [06/12/2024 12:14:17] [EufySecurity-2.3.30] DEBUG [BaseAccessory.ts:101] Garage Raw Property Changes: 1142 "-40" [06/12/2024 12:14:17] [EufySecurity-2.3.30] DEBUG [BaseAccessory.ts:106] Garage Property Changes: wifiRssi -40 [06/12/2024 12:14:17] [EufySecurity-2.3.30] DEBUG [LocalLivestreamManager.ts:136] Garage Homebase 3 station livestream (P2P session) for Garage has started. [06/12/2024 12:14:17] [EufySecurity-2.3.30] DEBUG [LocalLivestreamManager.ts:140] Garage Stream metadata: {"videoCodec":1,"videoFPS":15,"videoHeight":1296,"videoWidth":2304,"audioCodec":1} [06/12/2024 12:14:17] [EufySecurity-2.3.30] DEBUG [LocalLivestreamManager.ts:92] Garage New livestream started. [06/12/2024 12:14:19] [EufySecurity-2.3.30] DEBUG [BaseAccessory.ts:101] Garage Raw Property Changes: 2111 "2" [06/12/2024 12:14:20] [EufySecurity-2.3.30] DEBUG [streamingDelegate.ts:335] Garage Receive Apple HK Stop request{"sessionID":"88c551f3-f153-418b-a760-5df70c3f4763","type":"stop"} [06/12/2024 12:14:20] [EufySecurity-2.3.30] DEBUG [streamingDelegate.ts:343] Garage Stopping session with id: 88c551f3-f153-418b-a760-5df70c3f4763 [06/12/2024 12:14:20] [EufySecurity-2.3.30] DEBUG [utils.ts:143] Garage RTSP rtspStream:false [06/12/2024 12:14:20] [EufySecurity-2.3.30] DEBUG [utils.ts:145] Garage Looks like not compatible with RTSP [06/12/2024 12:14:20] [EufySecurity-2.3.30] DEBUG [LocalLivestreamManager.ts:105] Garage Stopping station livestream. [06/12/2024 12:14:20] [EufySecurity-2.3.30] INFO [streamingDelegate.ts:386] Garage Stopped video stream. [06/12/2024 12:14:20] [EufySecurity-2.3.30] DEBUG [LocalLivestreamManager.ts:113] Garage Homebase 3 station livestream for Garage has stopped.

ccanalia82 avatar Jun 12 '24 18:06 ccanalia82

I have the same issue, can't even get a live feed with my s220 -

any help much appreciated.

[07/24/2024, 14:48:04] [EufySecurity] INFO Registering new accessory: STATION_Front Door [07/24/2024, 14:48:07] [EufySecurity] INFO Front Door is set to handle snapshots with cloud images. Snapshots might be older than they appear. [07/24/2024, 14:48:07] [EufySecurity] ERROR Front Door could not fetch old snapshot: No currentSnapshot [07/24/2024, 14:48:07] [EufySecurity] INFO Registering new accessory: DEVICE_Front Door [07/24/2024, 14:48:29] [EufySecurity] ERROR Front Door No currentSnapshot available No currentSnapshot available [7/24/2024, 2:48:30 PM] Error: spawn ffmpeg ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) [07/24/2024, 14:48:30] [EufySecurity] ERROR Front Door

Error spawn ffmpeg ENOENT, -2, ENOENT, spawn ffmpeg, ffmpeg, -hide_banner,-loglevel,level+verbose,-i,pipe:,-frames:v,1,-filter:v,scale='min(640,iw)':'min(360,ih)':force_original_aspect_ratio=decrease,scale='trunc(iw/2)*2:trunc(ih/2)*2',-f,image2,pipe:1,-progress,tcp://127.0.0.1:13025 error stack: • child_process Process.ChildProcess._handle.onexit child_process:286 • child_process onErrorNT child_process:484 • task_queues processTicksAndRejections task_queues:82 [DEVICE_Front Door] Snapshot request handler provided empty image buffer! [7/24/2024, 2:48:30 PM] Got SIGTERM, shutting down Homebridge... [07/24/2024, 14:48:30] [EufySecurity] INFO Finished shutdown! [7/24/2024, 2:48:35 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null

alcokev avatar Jul 24 '24 06:07 alcokev

I too am having issues with snapshots and live feed with my Solocam S220. I have run both the latest version of the plugin as well as the v2.3.30 and it did not change anything. Updated the node to v20.11.0. Would love some help and guidance here.

OS macOS Big Sur
10.0.0.203
fe80::189f:7a4:3b8f:cf8d
Bens-Mac-Pro.local
benlively
v20.11.0
/usr/local/bin
/Users/benlively/.homebridge
/Users/benlively/.homebridge/config.json
/usr/local/lib/node_modules
GMT-0400

[09/14/2024, 15:14:25] [EufySecurity] INFO Updating existing accessory: STATION_Front [09/14/2024, 15:14:27] [EufySecurity] INFO Front is set to handle snapshots with cloud images. Snapshots might be older than they appear. [09/14/2024, 15:14:27] [EufySecurity] ERROR Front could not fetch old snapshot: No currentSnapshot [09/14/2024, 15:14:27] [EufySecurity] INFO Updating existing accessory: DEVICE_Front

BenTheJeepGuy avatar Sep 14 '24 19:09 BenTheJeepGuy

same issue. Audio and Livesteam, as well as snapshots are working. Get the Stream and Record Option in HomeKit, but unfortunately it doesn't trigger a record. Motion sensor is working in Homebridge as well as in HomeKit

blondsign avatar Dec 02 '24 09:12 blondsign