potmat / homebridge-google-nest-sdm

A Homebridge plugin for Google Nest devices that uses the Google Smart Device Management API. Supports Cameras, Doorbells, Displays, and Thermostats. Includes support for HomeKit Secure Video.
ISC License
155 stars 17 forks source link

Status and Notifications are not coming through #28

Closed casperstorm closed 2 years ago

casperstorm commented 2 years ago

First of all, thanks for a great plugin. Much appreciated.

I recently bought a Nest Doorbell (battery), and just got it connected through this plugin. It is... almost... working: i see it in the dashboard (with a google G placeholder) and pressing it shows a live view. However, no notification or chime is coming through the Home app, only through Google Home. Under Status and Notifications most is enabled, also Doorbell notifications and Doorbell Chime.

Anyone have a suggestion to what the issue might be?

EDIT

I missed the logs in Homebridge. The error was:

Plugin initialization failed, there was a failure with event subscription. Did you read the readme: https://github.com/potmat/homebridge-google-nest-sdm#where-do-the-config-values-come-from StatusError: Cloud Pub/Sub API has not been used in project REDACTED before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/pubsub.googleapis.com/overview?project=REDACTED then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.

This solved it.

potmat commented 2 years ago

Thanks for posting the solution @casperstorm !