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

3.9.7 still work? #20

Closed dtomcat closed 6 years ago

dtomcat commented 6 years ago

Hello, I just tried setting this up and it seems homebridge is working; however, after adding this plugin and setting up config.json... it does nothing. I do not see any cameras when trying to add accessories... and when booting homebridge, I do not see it say anything about find cameras... I can see where it loads the plug in

pi@raspberrypi:~ $ DEBUG=camera-ffmpeg-ufv homebridge -D [2018-7-3 00:40:34] Loaded config.json with 0 accessories and 0 platforms. [2018-7-3 00:40:34] --- [2018-7-3 00:40:34] Loaded plugin: homebridge-camera-ffmpeg-ufv [2018-7-3 00:40:34] Registering platform 'homebridge-camera-ffmpeg-ufv.camera-ffmpeg-ufv' [2018-7-3 00:40:34] --- Load homebridge-camera-ffmpeg-ufv.camera-ffmpeg-ufv Setup Payload:...

and that's all i can see other than the QR Code and manual code... says homebridge is running on port.....

Not sure what else to try? running on a raspberry pi 2. I compiled FFmpeg to work with OMX. thanks for any help! (not sure if it's an issue or not as never had a working version... so may be UFV 3.9.7)

dtomcat commented 6 years ago

Here is my config.json

{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "012-34-567" },

"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",

"platform": "camera-ffmpeg-ufv",
"name": "UniFi Video (ffmpeg)",
"nvrs": [
  {
    "apiHost": "192.168.0.169",
    "apiPort": 7443,
    "apiProtocol": "https",
    "apiKey": "<actual api is here>"
  }

] }

jnanes commented 6 years ago

I'm running 3.9.7 and am functioning with no issues.

dtomcat commented 6 years ago

Thanks for the reply! not sure what the issue is then? I have it all setup like everything says (i am running on a UAS-XG and not a NVR appliance... think that makes a difference?

dtomcat commented 6 years ago

Would you (or anyone) mind showing your config.json? I just noticed on a full debug of homebridge it displays: Loaded config.json with 0 accessories and 0 platforms

so it's not seeing my "platform"

jnanes commented 6 years ago

Im running on a ubuntu VM, I dont think it does. On Jul 2, 2018, 9:13 PM -0400, dtomcat notifications@github.com, wrote:

Thanks for the reply! not sure what the issue is then? I have it all setup like everything says (i am running on a UAS-XG and not a NVR appliance... think that makes a difference? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

dtomcat commented 6 years ago

config.json was it!

i needed a "platforms": [

Thanks for helping!