kopiro / homebridge-tapo-camera

Homebridge plugin for TP-Link TAPO security cameras
ISC License
127 stars 11 forks source link

I can't access a feed on Homekit #61

Closed Neiloh closed 1 year ago

Neiloh commented 2 years ago

Describe Your Problem: I am not able to view my camera on homkit any help would be appreciated

Logs: [9/4/2022, 8:03:36 PM] [homebridge-tapo-camera] [liv] FFmpeg process creation failed: spawn ffmpeg ENOENT [9/4/2022, 8:03:36 PM] [homebridge-tapo-camera] [liv] Stopped video stream. [9/4/2022, 8:03:37 PM] [homebridge-tapo-camera] [liv] Starting video stream: native x native, native fps, ??? kbps (AAC-eld) [9/4/2022, 8:03:37 PM] [homebridge-tapo-camera] [liv] FFmpeg process creation failed: spawn ffmpeg ENOENT [9/4/2022, 8:03:37 PM] [homebridge-tapo-camera] [liv] Stopped video stream. [9/4/2022, 8:03:40 PM] [homebridge-tapo-camera] [liv] FFmpeg process creation failed: spawn ffmpeg ENOENT [liv 6A0A] Snapshot request handler provided empty image buffer! [9/4/2022, 8:03:50 PM] [homebridge-tapo-camera] [liv] FFmpeg process creation failed: spawn ffmpeg ENOENT [liv 6A0A] Snapshot request handler provided empty image buffer!

Show the Homebridge logs here, remove any sensitive information.[9/4/2022, 8:03:36 PM] [homebridge-tapo-camera] [liv] FFmpeg process creation failed: spawn ffmpeg ENOENT
[9/4/2022, 8:03:36 PM] [homebridge-tapo-camera] [liv] Stopped video stream.
[9/4/2022, 8:03:37 PM] [homebridge-tapo-camera] [liv] Starting video stream: native x native, native fps, ??? kbps (AAC-eld)
[9/4/2022, 8:03:37 PM] [homebridge-tapo-camera] [liv] FFmpeg process creation failed: spawn ffmpeg ENOENT
[9/4/2022, 8:03:37 PM] [homebridge-tapo-camera] [liv] Stopped video stream.
[9/4/2022, 8:03:40 PM] [homebridge-tapo-camera] [liv] FFmpeg process creation failed: spawn ffmpeg ENOENT
[liv 6A0A] Snapshot request handler provided empty image buffer!
[9/4/2022, 8:03:50 PM] [homebridge-tapo-camera] [liv] FFmpeg process creation failed: spawn ffmpeg ENOENT
[liv 6A0A] Snapshot request handler provided empty image buffer!

**Plugin Config:**

```json
        {
            "cameras": [
                {
                    "name": "Front Door",
                    "ipAddress": "xxxx",
                    "password": "xxx",
                    "streamUser": "xxx",
                    "streamPassword": "xxx",
                    "debug": true,
                    "lowQuality": true
                },
                {
                    "name": "liv",
                    "ipAddress": "xxxx",
                    "password": "xxxx",
                    "streamUser": "xxxx",
                    "streamPassword": "xxxx",
                    "debug": true
                }
            ],
            "_bridge": {
                "username": "0E:95:AC:82:6F:66",
                "port": 57826
            },
            "platform": "tapo-camera"
        }
    ]
}

Screenshots:

Environment:

roger-marin commented 1 year ago

Same problem

[12/8/2022, 11:39:17 AM] Please add [Living 97EE] manually in Home app. Setup Code: 749-51-706 [12/8/2022, 11:39:26 AM] [homebridge-tapo-camera] [Living] Failed to fetch snapshot. [Living 97EE] Snapshot request handler provided empty image buffer! [12/8/2022, 11:39:30 AM] [homebridge-tapo-camera] [Living] Failed to fetch snapshot. [Living 97EE] Snapshot request handler provided empty image buffer! [12/8/2022, 11:39:31 AM] [homebridge-tapo-camera] [Living] Starting video stream: native x native, native fps, ??? kbps (AAC-eld) [12/8/2022, 11:39:32 AM] [homebridge-tapo-camera] [Living] FFmpeg exited with code: 1 and signal: null (Error) [12/8/2022, 11:39:32 AM] [homebridge-tapo-camera] [Living] Stopped video stream.

Smartb3rry commented 1 year ago

Hi ! I had the same problem with an install onsynology DSM 7, after further researchs, i found out i was missing an ffmpeg running on my DSM which is a recommended post install for Synology. Maybe it can help you. this is the link : https://github.com/oznu/homebridge-syno-spk/wiki/DSM-7:-ffmpeg-with-libfdk_aac