I am using a Node.js client to integrate with Google Smart Home.
The following error occurs when the number of requests to Google Smart Home API exceeds 100~150 per minute.
FetchError: request to https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed, reason: socket hang up
It seems like we hit the API rate limit, but I saw the docs say: "Default limit of 6,000 requests per 60 seconds per Actions project”, though Our Node.js client never post such a lot of requests. https://developers.google.com/assistant/smarthome/quotas
Does anyone know any clues to solve this?
Libraries
- @googleapis/homegraph: 3.0.2
- Nodejs: 18.4.0