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

ERROR: (gcloud.pubsub.subscriptions.create) Error parsing [subscription]. The [subscription] resource is not properly specified. Failed to find attribute [project]. The attribute can be set in the following ways: - provide the argument `subscription` on the command line with a fully specified name - provide the argument `--project` on the command line - set the property `core/project` -bash: Created: command not found #44

Closed NoahC1986 closed 1 year ago

NoahC1986 commented 1 year ago

I have tried to read through the other threads and looked online as much as I can. I am very new to all of this so please forgive me. I have been trying to follow the subscribe to events step and can't get back the create a pull subscription. The gcp-project-name is the same as the project ID from the google cloud correct ? The project ID is the same as the SDM project ID from the UI entries as well? And what do I need to put for the subscription name. It makes it seem like you can put whatever you like but it also mentions it needs to have the topic ID as well?

I also tried utilizing the pub/sub area to create a subscription but that still gives me a error for initialization in homebridge. Again I know from what ive read through the other issues that you don't support google issues but id really appreciate the help.

potmat commented 1 year ago

Hi @NoahC1986, did you follow the advice in the FAQ first?

"The Nest plugin for Home Assistant uses much the same process (don't forget the "ONE IMPORTANT DIFFERENCE" section above). It has an illustrated guide that you may find helpful. You can also try reaching out to others on Discord or Reddit, some people there may be able to help.

NoahC1986 commented 1 year ago

I tried to follow each step as best as I could.

orangewinger commented 1 year ago

I had this problem today, If you're using the GCloud Shell then make sure you select the correct project in the droplist at the top as that will automatically set the project id for you in a new shell.

potmat commented 1 year ago

@NoahC1986: Did this resolve your issue?