Samfox2 / homebridge-videodoorbell

Video-Doorbell plugin based on homebridge-camera-ffmpeg for Homebridge.
Apache License 2.0
97 stars 17 forks source link

Fails to load up camera #8

Closed brownad closed 6 years ago

brownad commented 6 years ago

Hi,

I'm using the original plugin with no issues, but failing to get the camera to show up:

[1/9/2018, 8:00:11 PM] Loaded plugin: homebridge-videodoorbell [1/9/2018, 8:00:11 PM] Registering platform 'homebridge-videodoorbell.Video-doorbell' [1/9/2018, 8:00:11 PM] --- [1/9/2018, 8:00:11 PM] Loaded config.json with 0 accessories and 1 platforms. [1/9/2018, 8:00:11 PM] --- [1/9/2018, 8:00:11 PM] Loading 1 platforms... [1/9/2018, 8:00:11 PM] [Video-doorbell] Initializing Video-doorbell platform...

Config is valid (copy of my existing camera config plus the port you've added). Is there any scenario where it can be added but there's no camera? I created a new Home to test it and load this one in with it to no avail.

Samfox2 commented 6 years ago

Have you tried to change the name and port entries in config.json?

brownad commented 6 years ago

No difference, it adds homebridge but no camera shown. I was able to test the curl commands and saw them work in the running terminal..

brownad commented 6 years ago

Running on a mac if that makes a difference, also I loaded up ffmpeg, from brew

Samfox2 commented 6 years ago

If ffmpeg plugin is working this should also work. Could you try to change both name and username in your config json and delete persist folder? What happens if you put the address in your web browser: IP:PORT

brownad commented 6 years ago

No difference there either.

Just adds homebridge with nothing under homebridge.

Sent from my iPhone

On 9 Jan 2018, at 21:32, Samfox2 notifications@github.com wrote:

If ffmpeg plugin is working this should also work. Could you try to change both name and username in your config json and delete persist folder?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Samfox2 commented 6 years ago

Just to make it sure, you have to add the camera by yourself, did you do that? It appears after hitting the plus button at the top right in home app and you have to use the same pin as your running homebridge uses.

brownad commented 6 years ago

Awesome, been a while since I setup a test rig :( thanks for the basic reminder.

closing the chat.

Samfox2 commented 6 years ago

Good to hear that it`s working now.