Subscribe to real-time Nest SDM device events via Google Cloud Pub/Sub

domain: developers.google.com/nest/device-access · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. In the Device Access project console, enable Events; Google provisions and manages exactly one Pub/Sub topic per Device Access project (you cannot supply your own topic).
  2. In your linked GCP project, create a pull subscription to that Google-managed topic and grant its service account the Pub/Sub Subscriber role.
  3. Trigger the event stream by making an initial devices.list REST call against the SDM API.
  4. Pull the subscription for resource/relation update events (JSON payloads describing trait changes) using OAuth2-authenticated requests, not a bare API key.
  5. Acknowledge and delete processed messages promptly, and reconcile event order using each message's timestamp field rather than arrival order.

Known gotchas

Related routes

Publish and subscribe to device events using the Particle Device Cloud API and webhooks
docs.particle.io · 6 steps · unrated
Subscribe to Salesforce Pub/Sub API events via gRPC to receive high-throughput Platform Events
developer.salesforce.com · 6 steps · unrated
Publish and consume Google Pub/Sub messages with ordering keys
cloud.google.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans