Questions tagged [google-cloud-iot]

Google Cloud IoT Core is a fully managed service to easily and securely connect, manage, and ingest data from globally dispersed devices.

Google Cloud IoT Core is a fully managed service to easily and securely connect, manage, and ingest data from globally dispersed devices.

  • Connect all devices and gateways to Google Cloud Platform over standard protocols, such as MQTT, HTTP, through the protocol endpoints and manage all your devices as a single global system.
  • Enable end-to-end security using asymmetric key authentication over TLS 1.2; CA signed certificates can be used to verify device ownership.
  • Use REST APIs to automatically manage the registration, deployment, and operation of devices at scale. Also, use the APIs to retrieve and update device properties and state even when the devices are not connected.
215 questions
1
vote
1 answer

GCP IoTCore won't parse payload using Gateways and HTTP bridge

Steps taken so far Create a new key pair and use it for the gateway that is about to be created Create a gateway, let's call it 'my_first_gateway' Create a new device, let's call it 'gw_device_1' Associate gw_device_1 with my_first_gateway Works…
Florian Hansen
  • 746
  • 7
  • 19
1
vote
1 answer

Why do we need to enable an API, for adding a registry in IoT core

I am working on google cloud IoT core. I created a new project and associated a billing account to it. But when I wanted to add a registry to my project. In order to do that, it said, you need to enable the API first. I know what an API is in…
saikumar
  • 179
  • 1
  • 3
  • 12
1
vote
0 answers

COM Port not available on Mongoose OS for IoT sensor device TI CC3200

Just want to build Google IOT core with mongoose OS running for sensing temperature data on google PUBSUB. I have a problem starting from beginning while not able to the connect via an approved google Core IOT Device - "TI CC3200". Its not able to…
1
vote
1 answer

Reduce Required Root Certificate List For Constrained Devices

I'm developing a memory constrained IoT device and would like to connect it to Google IoT Core via MQTT. The list of required root certificates that must be trusted to allow for server TLS certificate validation is very long. I am seeking a smaller…
ja_mescher
  • 31
  • 5
1
vote
1 answer

Send a command to multiple devices in Google Cloud IoT Core with MQTT

How can I send a command to all the devices in a registry using MQTT and Google Cloud IoT Core? All the examples I've seen till now just send the command to a single device. Do I have to loop on my devices and send a message to each of them? Thanks…
Sergio Morstabilini
  • 2,035
  • 21
  • 28
1
vote
2 answers

What's the difference between the two ways of creating client in Google Cloud IoT Core?

For making a client in Google Cloud IoT Core, I initially just use: client = mqtt.Client(client_id=('projects/{}/locations/{}/registries/{}/devices/{}' .format(args.project_id, args.cloud_region, …
Ishita Roy
  • 25
  • 5
1
vote
1 answer

Key rotation with a secure element

I have a basic question about key rotation for IoT devices. We are planning on using a secure element (example) to generate the key pairs. The key pairs are therefore generated on the chip, on the IoT device. After the public key is initially…
smörkex
  • 336
  • 3
  • 18
1
vote
1 answer

Google Cloud - Detecting Offline Devices

I am rather new to Google Cloud IoT Core and the associated services, and have come across a problem for which I can find no "best practice" solution. Using Google Cloud IoT Core to receive telemetry data from IoT Devices, what is the best way to…
Morten
  • 311
  • 4
  • 8
1
vote
1 answer

Number of telemetry topics bound to a Google IoT core device registry limited to 10?

I see that the number of telemetry topics that can be configured are limited to 10 . Is there a way to increase that if not any plan to increase this limit?
1
vote
2 answers

Google Cloud IoT sendCommandToDevice from cloud funcctions showing Service Unavailable

I tried sending the command from cloud functions, I am getting Error: The service is currently unavailable. Package.JSON "dependencies": { "firebase-admin": "~6.0.0", "firebase-functions": "^2.0.3", "googleapis": "34.0.0" } const…
1
vote
2 answers

Google Cloud IoT - sendCommandToDevice - Service Unavailable

The sendCommandToDevice endpoint seems to be unavailable. I tried sending the command directly from the cloud console on the device page. The notification at the bottom left said, Command sent to device, but the inspector on chrome showed a 503…
1
vote
2 answers

Google Cloud IoT Core Config and Commands

Upon using the Google Cloud IoT Core platform, it seems to be built around the idea of sending configurations down to the device and receiving states back from it. Google's own documentation suggests using that approach instead of building around…
Alexandre Thenorio
  • 2,288
  • 3
  • 31
  • 50
1
vote
1 answer

Google IoT JWT expiration

Which is the maximun life of a JWT to use with Google Cloud IoT? I have seen this JWT but i'm not sure about how to use this: The maximum lifetime of a token is 24 hours + skew Thanks
IoT user
  • 1,222
  • 4
  • 22
  • 49
1
vote
1 answer

Slow function execution from google iot core MQTT modifyCloudToDeviceConfig()

I am using google iot core with google cloud functions. When I try update iot device config remotely with modifyCloudToDeviceConfig() function, I get an update in the device after 5-10 sec. I run in firestorm cloud function onUpdate(). To execute…
1
vote
0 answers

How to publish and receive data from Android Studio and have it on Google Cloud IoT Core?

I'm a student doing an Android Things project, which is about connecting Rasperi pi with an Accelerometer sensor to get acceleration data, I finished the coding part in Android Studio and the sensor is working fine, then I tried to connect my…
Alkhalil
  • 61
  • 8