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
142 stars 17 forks source link

PubSub Subscription ID #2

Closed bradhs closed 2 years ago

bradhs commented 2 years ago

There was a failure with event subscription. Did you read the readme: https://github.com/potmat/homebridge-google-nest-sdm/blob/master/README.md StatusError: Invalid resource name given

I confirmed I have the right resource name, and that it is enabled but it still fails.

EDIT: You have to manually create a subscription then use that in the config.

parkr commented 1 year ago

I ran into this too. It required me to run through this: https://developers.google.com/nest/device-access/subscribe-to-events#create_a_pull_subscription