Brandawg93 / homebridge-nest-cam_old

Use your Nest Cam as IP camera in HomeKit.
Apache License 2.0
89 stars 14 forks source link

Camera doesn't appear in Home / Eve #29

Open spdustin opened 6 years ago

spdustin commented 6 years ago

To start, I reset my persist and accessories directories, and changed Homebridge's username config property to force Homekit to see everything as brand-spanking new. Then, I ran homebridge in debug mode to see full logs. I have two platforms installed: Nest (for Motion Sensor support, and for Nest Thermostat/Protect support) and Nest-cam (this one, intending to use it for camera video support)

The camera is detected by Homebridge

[7/2/2018, 1:19:40 PM] [Nest-cam] Create camera - Front Door
  Accessory [Front Door] Creating new AccessoryInfo for our HAP server +0ms
  Accessory [Front Door] Creating new IdentifierCache +2ms
  EventedHTTPServer Server listening on port 52783 +7ms
[7/2/2018, 1:19:40 PM] Front Door is running on port 52783.

I can then add Homebridge to Home.app, and see the accessories added by the Nest platform (including the motion sensor type device it creates for the camera).

I do not see the accessory for the camera from the Nest-cam platform. I try manually adding the accessory, but it doesn't appear, and Homebridge's debug logging doesn't appear to show the attempt to find it.

An AccessoryInfo.IDENTIFIER.json appears in the ~/.homebridge/accessories/ directory. Its contents (edited to remove potential identifiers/keys):

{
    "displayName": "Front Door",
    "category": 17,
    "pincode": "###-##-###",
    "signSk": "###KEY###",
    "signPk": "###KEY###",
    "pairedClients": {},
    "configVersion": 2,
    "configHash": "###HASH###",
    "setupID": "GCOK",
    "relayEnabled": false,
    "relayState": 2,
    "relayAccessoryID": "",
    "relayAdminID": "",
    "relayPairedControllers": {},
    "accessoryBagURL": ""
}

Any tips on getting my camera to appear? Anything else I can do to debug?

KhaosT commented 6 years ago

You can’t see an camera accessory separately in the add accessory screen?

spdustin commented 6 years ago

That's right, I only see Homebridge

seannymurrs commented 6 years ago

I'm having this same issue. Ironically, I used to have the plugin installed and it worked fine. I uninstalled it a few weeks ago, but today decided to install it again. I'm seeing the camera being mentioned in the Homebridge logs, but I can't add the accessory. I'm following the same procedures I did the first time, but the Home app isn't finding the camera.

KhaosT commented 6 years ago

Can you try use Bonjour browser to scan the network and see if that sees the camera?

seannymurrs commented 6 years ago

What should I be seeing in Bonjour Browser? Below is a screenshot of what shows up when I open the app.

screen shot 2018-08-04 at 9 10 19 pm
seannymurrs commented 6 years ago

Could this be it? My camera is named "Front Door".

screen shot 2018-08-04 at 9 10 55 pm
KhaosT commented 6 years ago

Yeah this one should be it. If you expand it, what does sf say?

seannymurrs commented 6 years ago
screen shot 2018-08-04 at 9 12 03 pm
seannymurrs commented 6 years ago

Just realized you were asking for a specific thing in that list. sf=0

KhaosT commented 6 years ago

sf = 0 means the accessory is paired, which is why HomeKit can’t see the accessory again. In this situation, try remove the accessory info file under .homebridge folder to make it rediscoverable again.

Sent from my iPhone

On Aug 4, 2018, at 6:27 PM, Sean Murray notifications@github.com wrote:

Just realized you were asking for a specific thing in that list. sf=0

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

seannymurrs commented 6 years ago

That worked. Thanks.

-- Sean Murray

"Run like a bravery. Sleep like a baby. Dream like a crazy. Replace can’t with maybe."

bassguitarplayer commented 6 years ago

I'm having the same issue. I've deleted my accessories and persist folder and it let's me install the hub "home bridge" but it doesn't show the cameras and let me add them. It just shows 1 of 2 (the home bridge hub), and the 2 of 2 (done). Here is what bonjour browser shows for one of the cameras.

screen shot 2018-10-27 at 7 59 24 pm
dvlamoen commented 5 years ago

My solution to above problem was:

Relaunch Homekit and add Nest cam.

gadgetfreak98 commented 5 years ago

I know this exchange has gone dormant for a while... I have two of three Nest cameras showing up fine, but could never get the third. If I do all of the suggestions in dvlamoen's list, do I lose all my configurations, room placement, etc?