gozoinks / homebridge-camera-ffmpeg-ufv

UniFi Video plugin for Homebridge
https://www.npmjs.com/package/homebridge-camera-ffmpeg-ufv
Other
76 stars 20 forks source link

"Published 2 camera accessories" that I can't find anywhere? #44

Closed taitems closed 4 years ago

taitems commented 4 years ago

Hardware: RPi Zero W Software: HOOBS

The plugin appears to connect to the NVR and discover the cameras well enough, but they never appear in the accessories list? ffmpeg and node-ffmpeg appear to have installed correctly. Any ideas?

[Homebridge] [2/1/2020, 3:17:58 AM] Got SIGINT, shutting down service...
[Homebridge] [2/1/2020, 3:18:02 AM] Loaded config.json with 1 accessories and 1 platforms.
[Homebridge] [2/1/2020, 3:18:04 AM] Loaded plugin: "homebridge-camera-ffmpeg-ufv"
[Homebridge] [2/1/2020, 3:18:04 AM] Registering platform "homebridge-camera-ffmpeg-ufv.camera-ffmpeg-ufv"
[Homebridge] [2/1/2020, 3:18:08 AM] Loaded plugin: "homebridge-mi-gateway"
[Homebridge] [2/1/2020, 3:18:08 AM] Registering accessory "homebridge-mi-gateway.MiGateway"
[Homebridge] [2/1/2020, 3:18:08 AM] Loaded plugin: "homebridge-mi-outlet"
[Homebridge] [2/1/2020, 3:18:08 AM] Loading 1 platforms...
[Homebridge] [2/1/2020, 3:18:08 AM] [UniFi Video (ffmpeg)] Initializing camera-ffmpeg-ufv platform...
[Homebridge] [2/1/2020, 3:18:08 AM] Loading 1 accessories...
[Homebridge] [2/1/2020, 3:18:08 AM] [MiGateway] Initializing MiGateway accessory...
[Homebridge] [2/1/2020, 3:18:09 AM] Load homebridge-camera-ffmpeg-ufv.camera-ffmpeg-ufv
[Homebridge] [2/1/2020, 3:18:09 AM] API launched
[Homebridge] [2/1/2020, 3:18:09 AM] [UniFi Video (ffmpeg)] Published 2 camera accessories.
[Homebridge] [2/1/2020, 3:18:09 AM] [Driveway] is running on port 45141.
[Homebridge] [2/1/2020, 3:18:09 AM] [Front Door] is running on port 45445.
[Homebridge] [2/1/2020, 3:18:09 AM] Service is running on port 51826.
taitems commented 4 years ago

So this was super embarrassing, it turns out they were always there but you had to use the "can't find an accessory" prompt. The Homebridge code to add all accessories wasn't finding them by default.