O'Reilly logo

Google Cloud Platform Cookbook by Legorie Rajan PS

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

In this recipe, we'll see how a hypothetical temperature sensor sends data to IoT Core and how we'll be able to read the telemetry data from the linked Pub/Sub topic:

  1. Navigate to the Google Cloud Console's IoT Core module and click on Create device registry:
  1. Enter the details to create a device registry:
    1. Enter a Registry ID and select the Cloud region as us-central1.
    2. Leave both the protocols selected though we'll send messages via HTTP for this recipe.
    3. For the Default telemetry topic, click on Create a topic.
    4. Enter a new topic name and click on CREATE on the Create a topic pop-up screen:
  1. The Device state topic is optional. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required