Sunoo / homebridge-camera-ffmpeg

Homebridge Plugin Providing FFmpeg-based Camera Support
https://sunoo.github.io/homebridge-camera-ffmpeg/
Apache License 2.0
1.08k stars 225 forks source link

can't add cameras to homekit #1450

Closed KennyVB closed 1 week ago

KennyVB commented 1 month ago

i had a camera going for long time now, now i removed it, added 2 new cameras, links works in browser. but can't add them to homekit.

i made like usual: add camera in control-x-ui, made them unbridged, links the child bridge, nothing shows up after, no accessory nothing. i can see in log there are there. but homekit just doesnt show them. i tried with code, QR nothing.

i was in unpair/birtdge and remove them secveral times, removed from homekit, renamed, changed macID in json all the tricks. nothing to gain

[1.8.2024, 00.08.17] Got SIGTERM, shutting down Homebridge... [1.8.2024, 00.08.17] Got SIGTERM, shutting down child bridge process... [1.8.2024, 00.08.17] Got SIGTERM, shutting down child bridge process... [1.8.2024, 00.08.17] Got SIGTERM, shutting down child bridge process... [1.8.2024, 00.08.17] Got SIGTERM, shutting down child bridge process... [1.8.2024, 00.08.17] Got SIGTERM, shutting down child bridge process... [1.8.2024, 00.08.22] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [1.8.2024, 00.08.27] [HB Supervisor] Restarting Homebridge... [1.8.2024, 00.08.27] [HB Supervisor] Starting Homebridge with extra flags: -I [1.8.2024, 00.08.27] [HB Supervisor] Started Homebridge v1.8.1 with PID: 14746 [1.8.2024, 00.08.31] Loaded config.json with 5 accessories and 7 platforms. [1.8.2024, 00.08.31] Loaded 0 cached accessories from cachedAccessories. [1.8.2024, 00.08.31] --- [1.8.2024, 00.08.35] Loaded plugin: homebridge-bravia-tvos@5.0.8 [1.8.2024, 00.08.37] Registering platform 'homebridge-bravia-tvos.BraviaOSPlatform' [1.8.2024, 00.08.37] --- [1.8.2024, 00.08.37] Loaded plugin: homebridge-camera-ffmpeg@3.1.4 [1.8.2024, 00.08.37] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg' [1.8.2024, 00.08.37] --- [1.8.2024, 00.08.38] Loaded plugin: homebridge-cmd-television@1.0.3 [1.8.2024, 00.08.38] Registering accessory 'homebridge-cmd-television.cmd-television' [1.8.2024, 00.08.38] --- [1.8.2024, 00.08.38] Loaded plugin: homebridge-config-ui-x@4.56.4 [1.8.2024, 00.08.38] Registering platform 'homebridge-config-ui-x.config' [1.8.2024, 00.08.38] --- [1.8.2024, 00.08.38] Disabled plugin: homebridge-dummy@0.9.0 [1.8.2024, 00.08.38] --- [1.8.2024, 00.08.48] Loaded plugin: homebridge-hue@0.13.70 [1.8.2024, 00.08.48] Registering platform 'homebridge-hue.Hue' [1.8.2024, 00.08.48] --- [1.8.2024, 00.08.48] Disabled plugin: homebridge-samsung-tizen@5.2.7 [1.8.2024, 00.08.48] --- [1.8.2024, 00.08.49] Loaded plugin: homebridge-samsungtvht@1.0.14 [1.8.2024, 00.08.49] Registering platform 'homebridge-samsungtvht.samsungtvht' [1.8.2024, 00.08.49] --- [1.8.2024, 00.08.50] Disabled plugin: homebridge-smartglass@1.0.4 [1.8.2024, 00.08.50] --- [1.8.2024, 00.08.50] Loaded plugin: homebridge-wol@6.0.1 [1.8.2024, 00.08.50] Registering accessory 'homebridge-wol.NetworkDevice' [1.8.2024, 00.08.50] --- [1.8.2024, 00.08.50] Loading 7 platforms... [1.8.2024, 00.08.50] Ignoring config for the platform "SamsungTizen" in your config.json as the plugin "homebridge-samsung-tizen" has been disabled. [1.8.2024, 00.08.50] [BraviaTVOS] Initializing BraviaOSPlatform platform... [1.8.2024, 00.08.50] [BraviaTVOS] Initializing child bridge 0E:E8:03:6B:93:69 [1.8.2024, 00.08.50] Ignoring config for the platform "Smartglass" in your config.json as the plugin "homebridge-smartglass" has been disabled. [1.8.2024, 00.08.50] [Samsung TV HT] Initializing samsungtvht platform... [1.8.2024, 00.08.50] [Samsung TV HT] Initializing child bridge 0E:59:48:9D:6E:72 [1.8.2024, 00.08.50] [Hue] Initializing Hue platform... [1.8.2024, 00.08.50] [Hue] Initializing child bridge 0E:1B:15:A5:55:73 [1.8.2024, 00.08.50] [3D camera] Initializing Camera-ffmpeg platform... [1.8.2024, 00.08.50] [3D camera] Initializing child bridge 0E:8A:01:40:34:9A [1.8.2024, 00.08.50] Loading 5 accessories... [1.8.2024, 00.08.50] [Bedroom TV] Initializing cmd-television accessory... [1.8.2024, 00.08.50] [Asus] Initializing NetworkDevice accessory... [1.8.2024, 00.08.50] [Asus] Initializing child bridge 0E:46:88:B9:66:95 [1.8.2024, 00.08.50] Ignoring config for the accessory "DummySwitch" in your config.json as the plugin "homebridge-dummy" has been disabled. [1.8.2024, 00.08.50] Ignoring config for the accessory "DummySwitch" in your config.json as the plugin "homebridge-dummy" has been disabled. [1.8.2024, 00.08.50] Ignoring config for the accessory "DummySwitch" in your config.json as the plugin "homebridge-dummy" has been disabled. Setup Payload: Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 401-95-734 │     
└────────────┘     

[1.8.2024, 00.08.50] Homebridge v1.8.1 (HAP v0.12.0) (Homebridge) is running on port 51555. [1.8.2024, 00.08.57] [Samsung TV HT] Launched child bridge with PID 14791 [1.8.2024, 00.08.58] [3D camera] Launched child bridge with PID 14793 [1.8.2024, 00.08.58] [Hue] Launched child bridge with PID 14792 [1.8.2024, 00.08.58] [BraviaTVOS] Launched child bridge with PID 14790 [1.8.2024, 00.08.58] Registering platform 'homebridge-samsungtvht.samsungtvht' [1.8.2024, 00.08.59] [Asus] Launched child bridge with PID 14799 [1.8.2024, 00.08.59] [Samsung TV HT] Loaded homebridge-samsungtvht v1.0.14 child bridge successfully [1.8.2024, 00.08.59] Loaded 0 cached accessories from cachedAccessories.0E59489D6E72. [1.8.2024, 00.08.59] [Samsung TV HT] homebridge-samsungtvht v1.0.14, node v20.12.2, homebridge v1.8.1 [1.8.2024, 00.08.59] [Samsung TV HT] Loading device 1: Samsung TV 10.0.2.141 [1.8.2024, 00.08.59] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg' [1.8.2024, 00.08.59] [3D camera] Loaded homebridge-camera-ffmpeg v3.1.4 child bridge successfully [1.8.2024, 00.08.59] Registering accessory 'homebridge-wol.NetworkDevice' [1.8.2024, 00.08.59] [Asus] Loaded homebridge-wol v6.0.1 child bridge successfully [1.8.2024, 00.09.00] Loaded 0 cached accessories from cachedAccessories.0E8A0140349A. [1.8.2024, 00.09.00] Loaded 0 cached accessories from cachedAccessories.0E4688B96695. [1.8.2024, 00.09.00] [3D camera] [Voron V2.7226 Top] Configuring unbridged accessory... [1.8.2024, 00.09.00] [3D camera] [Voron V2.7226 Bed] Configuring unbridged accessory... [1.8.2024, 00.09.00] Homebridge v1.8.1 (HAP v0.12.0) (3D camera) is running on port 42818. [1.8.2024, 00.09.00] Voron V2.7226 Top 409D is running on port 35659. [1.8.2024, 00.09.00] Please add [Voron V2.7226 Top 409D] manually in Home app. Setup Code: 401-95-734 [1.8.2024, 00.09.00] Voron V2.7226 Bed A09A is running on port 45379. [1.8.2024, 00.09.00] Please add [Voron V2.7226 Bed A09A] manually in Home app. Setup Code: 401-95-734 [1.8.2024, 00.09.01] Homebridge v1.8.1 (HAP v0.12.0) (Samsung TV HT) is running on port 36814. [1.8.2024, 00.09.01] Homebridge v1.8.1 (HAP v0.12.0) (Asus) is running on port 57997. [1.8.2024, 00.09.01] [Asus] [NetworkDevice] Device went from status "Offline" to "Online" [1.8.2024, 00.09.01] Samsung TV 8AD3 is running on port 40345. [1.8.2024, 00.09.01] Please add [Samsung TV 8AD3] manually in Home app. Setup Code: 401-95-734 [1.8.2024, 00.09.01] Registering platform 'homebridge-bravia-tvos.BraviaOSPlatform' [1.8.2024, 00.09.02] [BraviaTVOS] Loaded homebridge-bravia-tvos v5.0.8 child bridge successfully [1.8.2024, 00.09.02] Loaded 0 cached accessories from cachedAccessories.0EE8036B9369. [1.8.2024, 00.09.02] [BraviaTVOS] Sony Tv: Initializing Television... [1.8.2024, 00.09.02] Homebridge v1.8.1 (HAP v0.12.0) (BraviaTVOS) is running on port 37539. [1.8.2024, 00.09.08] [Samsung TV HT] Samsung TV: Media state changed from 0 PLAY to 2 STOP [1.8.2024, 00.09.12] Registering platform 'homebridge-hue.Hue' [1.8.2024, 00.09.13] [Hue] Loaded homebridge-hue v0.13.70 child bridge successfully [1.8.2024, 00.09.13] Loaded 0 cached accessories from cachedAccessories.0E1B15A55573. [1.8.2024, 00.09.13] [Hue] homebridge-hue v0.13.70, node v20.12.2, homebridge v1.8.1 [1.8.2024, 00.09.13] [Hue] warning: recommended version: node v20.10.0 LTS [1.8.2024, 00.09.13] [Hue] warning: recommended version: homebridge v1.7.0 [1.8.2024, 00.09.13] [Hue] searching bridges and gateways [1.8.2024, 00.09.14] [BraviaTVOS] Sony Tv: Configuring new accessory... [1.8.2024, 00.09.14] Sony Tv 098D is running on port 46137. [1.8.2024, 00.09.14] Please add [Sony Tv 098D] manually in Home app. Setup Code: 401-95-734 [1.8.2024, 00.09.18] [Hue] Hue Bridge: Signify Netherlands B.V. BSB002 bridge v1965111030, api v1.65.0 [1.8.2024, 00.09.18] [Hue] Hue Bridge: warning: not using recommended Hue bridge api version 1.61.0 [1.8.2024, 00.09.19] [Hue] Hue Bridge: 6 accessories [1.8.2024, 00.09.19] [Hue] masked debug info dumped to /var/lib/homebridge/homebridge-hue.json.gz [1.8.2024, 00.09.19] Initializing platform accessory 'Hue Bridge'... [1.8.2024, 00.09.19] [Hue] Hue Bridge: 2 services [1.8.2024, 00.09.19] Initializing platform accessory 'Pc'... [1.8.2024, 00.09.19] Initializing platform accessory 'Custom group for $lights'... [1.8.2024, 00.09.19] Initializing platform accessory 'Custom group for $lights'... [1.8.2024, 00.09.19] Initializing platform accessory 'Entertainment area'... [1.8.2024, 00.09.19] Initializing platform accessory 'On/Off plug 1'... [1.8.2024, 00.09.19] Homebridge v1.8.1 (HAP v0.12.0) (Hue) is running on port 47190. [1.8.2024, 00.09.20] [Hue] Hue Bridge: event stream connected to https://10.0.2.190/eventstream/clip/v2 [1.8.2024, 00.09.21] [Hue] Pc: set homekit supported transition configuration to {"configuration":[{"iid":13,"characteristic":1},{"iid":15,"characteristic":2}]} [1.8.2024, 00.09.21] [Hue] Custom group for $lights: set homekit supported transition configuration to {"configuration":[{"iid":12,"characteristic":1},{"iid":14,"characteristic":2}]} [1.8.2024, 00.09.21] [Hue] Custom group for $lights: set homekit supported transition configuration to {"configuration":[{"iid":12,"characteristic":1},{"iid":14,"characteristic":2}]} [1.8.2024, 00.09.21] [Hue] Entertainment area: set homekit supported transition configuration to {"configuration":[{"iid":13,"characteristic":1},{"iid":15,"characteristic":2}]}


{
    "name": "3D camera",
    "cameras": [
        {
            "name": "Voron V2.7226 Top",
            "unbridge": true,
            "videoConfig": {
                "source": "-i http://10.0.2.5:4408/webcam2/?action=stream",
                "stillImageSource": "-i http://10.0.2.5:4408/webcam2/?action=snapshot"
            }
        },
        {
            "name": "Voron V2.7226 Bed",
            "unbridge": true,
            "videoConfig": {
                "source": "-i http://10.0.2.5:4408/webcam/?action=stream",
                "stillImageSource": "-i http://10.0.2.5:4408/webcam/?action=snapshot"
            }
        }
    ],
    "platform": "Camera-ffmpeg",
    "_bridge": {
        "username": "0E:8A:01:40:34:9A",
        "port": 42818
    }
}

and they show up as microphone in homebridge uix???

![image](https://github.com/user-attachments/assets/d1c6f5b1-0011-4392-b424-4047dbe6460e)
github-actions[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.