I installed the Nest binding last night with the goal of integrating my wired Nest doorbell.
I’m running 3.3 snapshot build #2860.
I made it through the SDM and Pub/Sub setup process without issues. I added the SDM account thing, and it discovered my doorbell. After adding the doorbell thing from the inbox, it seemed to run ok for a while, then I started getting authentication errors every 20-30 msec. It ran for several hours that way, and I fear it hammered the Google API with well over 50k pub/sub API calls. My logs contain 44,561 of these errors about 30 msec apart, and I believe a few log files already have rolled off the system. Here’s the error:
2022-05-05 15:05:34.237 [DEBUG] [rg.openhab.binding.nest.internal.sdm.api.PubSubAPI] - Pulling messages for 'openhab-nest-binding-pubsub' subscription
2022-05-05 15:05:34.242 [DEBUG] [rg.openhab.binding.nest.internal.sdm.api.PubSubAPI] - Posting JSON to: https://pubsub.googleapis.com/v1/projects/openhab-XXXXXXX/subscriptions/openhab-nest-binding-pubsub:pull
2022-05-05 15:05:34.269 [DEBUG] [rg.openhab.binding.nest.internal.sdm.api.PubSubAPI] - Response: {
"error": {
"code": 401,
"message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"status": "UNAUTHENTICATED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED",
"metadata": {
"service": "pubsub.googleapis.com",
"method": "google.pubsub.v1.Subscriber.Pull"
}
}
]
}
}
I’m not quite sure what I should do next. @wborn would you suggest I start over from scratch by deleting the Nest things, as well as the Google OAuth configs.