How are we doing? Please help us improve Google Cloud. Take our short survey

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
90 views

How to access IoT core devices from Google Apps Script?

I use a script that runs a Nest thermostat. It works well for me, but when I share it with another person with multiple thermostats, it does not work even though I set up the script to run only on one ...
0 votes
0 answers
18 views

Total number of messages through GCP IoT

We have a small-sized IoT project set up in the GCP IoT core. IoT devices (payment systems) send data to IoT core and then send it to BigQuary and Firestore before it sends to a web app. (this is not ...
  • 265
0 votes
0 answers
66 views

Unable to access Google Cloud IoT Core via Proxy

I have created an application in Go that connects device and Google Cloud IoT Core via MQTT. The device side is under Proxy environment and I want to connect to IoT Core through Proxy. I am using this ...
0 votes
3 answers
113 views

How to query devices using metadata in GCP IOT Core?

When I go to the IOT Core Registry page (on the GCP console) and select a device, I can edit it. There's a "Device metadata" section there, reading the following: You can set custom ...
  • 3,359
0 votes
0 answers
35 views

GCP IoT connection in bizarre state

I have a Google IoT app that's been running well for quite a while. The devices send telemetry, and occasionally receive commands from the cloud. One of my devices recently got into a state where it ...
0 votes
0 answers
113 views

GCP provided code snippets to both subscribe and publish mqtt in the same app doesn't work

In my Node.js app, I can successfully publish telemetry/state topics or subscribe to config/command topics, but can't both publish and subscribe. Both Node.js code snippets that appear below are from ...
  • 53
0 votes
0 answers
30 views

How do I tell my fulfillment service which device to communicate to?

I am working on making a module, which can be connected to a fireplace to add smart home functionality with Google Assistant. I have pretty much everything working, but there is a thing I can't quite ...
  • 1
1 vote
0 answers
89 views

Error: 7 PERMISSION_DENIED: The signature of device credential in position 0 could not be verified against any registry certificate

I am trying to register my IoT device using a generated Service account json credentials. The underlying library is a MQTT (bridge) and google-cloud/iot (nodejs) - this repo (https://github.com/balena-...
  • 2,202
0 votes
1 answer
86 views

Is there a hard limit on listeners to MQTT topics?

The Google IoT Core Registry page will not allow me to add more than 10 topics to create pubsub listeners. It has been my experience that in order to listen to events from the device, one requires all ...
0 votes
0 answers
51 views

Is it possible to intercept commands to a device in Google IOT?

Can someone verify for me what I believe I've discovered about Google IOT? iotClient.sendCommandToDevice(...) goes straight to the MQTT broker, and does not seem to involve itself with PubSub. PubSub ...
0 votes
1 answer
336 views

Dataflow resource usage

After following the dataflow tutorial, I used the pub/sub topic to big query template to parse a JSON record into a table. The Job has been streaming for 21 days. During that time I have ingested ...
  • 2,859
0 votes
1 answer
666 views

Google IoT Core - How to subscribe to a topic

I have developed a device that is able to connect to Google IoT Core through the MQTT protocol, I can publish MQTT messages on telemetry topics (/devices/DEVICE_ID/events). But I can't figure out how ...
0 votes
2 answers
112 views

how to add multiple devices in Google cloud Iot Core?

I am looking for a way to connect multiple devices about 1000 to the IoT Core at once. I am to adding one device at a time via the dashboard. I read the documentation here. I found the code below ...
  • 33
1 vote
0 answers
237 views

SIM800 MQTT publish to Google IoT Core

I'm trying to publish some data to Google Cloud using the SIM800 module together with ESP32. Google IoT Core provides its documentation on connecting MQTT clients here. It says: Associate the MQTT ...
0 votes
1 answer
358 views

Proxy in between device and Google IoT Core using MQTT?

I have a situation where I want to use Google IoT Core to support bi-directional communication between my devices and existing GCP stack. The trouble is, some of my devices cannot connect to GCP's ...
3 votes
0 answers
4k views

paho mqtt python client frequently disconnecting with error code 7 "The connection was lost" after sending state and events to GCP IoT Core

EDIT: In an initial version of this question I was using the Python paho-mqtt client version paho-mqtt 1.5.1. The error message I received with that version was on_disconnect 1: Out of memory. error ...
  • 41
0 votes
1 answer
322 views

Is there real documentation for @google-cloud/iot API?

The JavaScript module "@google-cloud/iot" doesn't seem to much resemble its documentation here (https://googleapis.dev/nodejs/iot/latest/index.html). For example, the function client....
2 votes
1 answer
346 views

Connect to Google IoT without the JWT token

I am working on an embedded device which is already able to communicate via MQTT with AWS and Azure for several years. Now our customers want to be able to use MQTT with Google IoT Cloud as well. I ...
0 votes
1 answer
627 views

How to use root CA certificate in google cloud iot

I develop embedded firmware, that works with google cloud iot. I used this example https://www.st.com/en/embedded-software/x-cube-gcp.html?ecmp=tt9470_gl_link_feb2019&rt=um&id=UM2441 as a base ...
  • 1
0 votes
0 answers
90 views

ESP32 Setting incorrect or missing a cyper for ssl

I've been trying to setup ESP32 to post to Google Cloud IoT core and use the Pub/Sub core to receive/transmit messages. However, there is a very strange issue I am facing. I have my laptop which I ...
0 votes
1 answer
152 views

Trigger Google Nest Camera to Take Image

I know this is a relatively simple question, but it is unclear to me if it is possible to schedule the google nest camera to take an image every 15 minutes and have it upload to the cloud. I have ...
0 votes
1 answer
64 views

Gateway couldn't subscribe more than 4 topics

I'm currently developing a gateway which connects with Google Cloud IoT core via MQTT bridge. I've selected association only when i created the gateway, as other non-gateway devices are Bluetooth ...
0 votes
1 answer
1k views

403 Forbidden error POST - Google Cloud IoT

Trying to access Google Cloud IoT API - POST method - Used this as reference as I am new to google cloud - https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/iot/api-client/manager ...
1 vote
1 answer
139 views

Add Google IOT Device to Google Home as Device

I read around 9 tutorials and 6 similar SO topics similar to what I ask, but none were conclusive or actually depicted what I need. So here goes. I have a raspberry pi setup with a DTH22 sensor to ...
  • 157
0 votes
1 answer
610 views

How to connect to mqtt.2030.ltsapis.goog?

For connecting to mqtt.2030.ltsapis.goog, do I use Server Authentication or Server/Client Authentication. If using Server/Client Authentication, I need to send client certificate and private key. ...
  • 1
-1 votes
1 answer
109 views

How to push Messages to ESP8266?

I'm quite new to MQTT/Pub/Sub and Core IoT. So please forgive me my limited skills. I managed to connect my ESP8266 to Core IoT by using this repository on GitHub. After the first telemetry was ...
  • 33
1 vote
1 answer
417 views

Where does data received from an IOT device get stored on Google Cloud?

I started playing with Google Cloud IOT Core today. I went through the tutorial and ran a script to send messages from the virtual device back to my topic (if this is the correct phrasing). If I want ...
0 votes
1 answer
186 views

Google IoT Core device monitoring using cloud monitoring with large number of devices?

We have a project using Google IoT core to manage devices and we want to create a monitoring system for the devices. We have a few thousands devices and for each individual device we want to record a ...
1 vote
1 answer
300 views

Using long-term MQTT domain mqtt.2030.ltsapis.goog with TLS_RSA_xx cipher suites

According to https://cloud.google.com/iot/docs/how-tos/mqtt-bridge#downloading_mqtt_server_certificates TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 using P-256 is recommended for mqtt.2030.ltsapis.goog ...
  • 13
0 votes
2 answers
105 views

How to using Cloud IoT core for device (IoT record sound) and save to cloud storage?

I'm a new user of the GCP and still learning. I want to ask about the concept of Cloud IoT core. So I want to make a project where an IoT device can record sound, then can send the sound to cloud ...
  • 3
3 votes
1 answer
227 views

Retrieving real-time data from Google Cloud IoT device in GET / "pull" fashion?

I have a need to poll for a close-to-real time reading from a serial device (using ESP32) from a web application. I am currently doing this using Particle Photons and the Particle Cloud API, and am ...
0 votes
0 answers
127 views

Moving existing mqtt-iot devices to work with Google cloud

I'm trying to fit two different previously designed iot devices to work with Google cloud, currently my devices are publishing it's telemetry using custom mqtt topics like: cloud to device: /devices/...
  • 1,971
0 votes
0 answers
558 views

Google Cloud Platform - Iot Core - The connection is closed because the server is shutting down, what is causing this and is their any documentation?

I'm trying to diagnose why my MQTT client is disconnecting from the Google Cloud Platform IoT Core. The device happily PINGREQing every 15 minutes as expected but occasionally the following error is ...
  • 13
1 vote
3 answers
345 views

IOT FW update process - Azure IOT vs Google IOT

I'm trying to create a unified process for managing firmware updates for groups of IOT devices. The catch: I've got devices in both Google & Azure clouds, utilizing both Google IOT Core & ...
  • 3,359
0 votes
1 answer
91 views

In Google Cloud Platform, is it require for each IOT Core device to have separate pub/sub topic?

I am publishing ESP data to Google Cloud IOT via MQTT to a particular topic. But If I have many devices data, then is it necessary to create different topic for each device? If Yes, then how can I ...
  • 3
0 votes
1 answer
144 views

How Google IoT Core does the MQTT Load Balancing

It is not possible to find any references on how Google Actually Load balance the MQTT within their IoT Core. Is it MQTT 3.1.1 spec called Shared Subscriptions which allow multiple clients to consume ...
  • 53
0 votes
0 answers
60 views

Can devices share data to each other through the gateway on Google cloud iot?

I have previously used a cloud iot service on amazon named greengrass core. And it was able to enable devices to share data to each other offline. And I just read the doc of the gateway of google ...
0 votes
1 answer
268 views

Is google cloud iot enabling devices to communicate locally as aws greengrass does?

So I have a product built using aws greengrass core and aws iot core. And I'm trying to migrate to Google Cloud Platform. I saw that basically, google cloud iot does the same thing as aws iot core. ...
0 votes
1 answer
119 views

Entries disappeared from google logging after using google cloud logging client

I am using The google logging client in python in order to retrieve some log from my google IoT Core service. Here is the code I use: client = self.create_client() log_filter: str = self....
  • 502
1 vote
1 answer
367 views

Google Cloud IoT- How to publish to the same topic with multiple IoT devices and process it by cloud functions

In my project multiple IoT devices need to publish to a single topic and cloud functions listening to that topic need to process data published by IoT devices. Multiple devices should be able to ...
1 vote
2 answers
437 views

How to get the device metadata info from google cloud iot core using listDevices

I would like to use listDevices to get all my devices under a registry. Google NodeJS Core IOT API spec I get an array back which seems to contain a metadata obj/json doc but it's empty. --- - ...
0 votes
0 answers
697 views

micropython - ESP32 - MQTT Exception 4 - Google Cloud IoT

I am looking to send sensor data through an ESP32 board using micropython to Google IoT Cloud. I found an implementation example here: https://nihal-pasham.medium.com/you-could-try-freezing-the-pyasn-...
0 votes
1 answer
244 views

How to Add device in google cloud registry using c#?

Hello want to ask how to add device in google cloud registry using google cloud iot core with C# i've tried the following code which is given on google console for adding device to registry but ...
0 votes
0 answers
291 views

How to properly use Google Cloud IoT Core over HTTPS regarding to SSL certificates?

I use Cloud IoT mqtt bridge via HTTPS as described here. I created public/private keys pair to sign JWT token. Everything is ok except one thing. As you can see the origin for the service is https://...
  • 3,484
3 votes
0 answers
237 views

Google PubSub message ordering for IoT Core

We'd like to use the new Message Ordering feature for Google Cloud PubSub, but for messages coming from IoT Devices hooked up to IoT Core. The documentation states that an orderingKey should be ...
  • 3,261
2 votes
2 answers
759 views

Trouble Connecting to Google Cloud IoT via MQTT with Node.js

I'm trying to create a MQTT client that'll connect to the Google Cloud IoT Core, but for some reason, it won't connect at all. Here's what I have so far mqtt = require("mqtt") fs = require(&...
0 votes
0 answers
32 views

Google Cloud IoT core upload images [duplicate]

The maximum payload size with IoT Core is 256kb and as such I can't use the HTTP Connection to upload photos from my raspberry pi. Is there any way I can use IoT Core to authorize my device to upload ...
0 votes
1 answer
235 views

Google Cloud IoT Core Node.js Client: How to get lastHeartbeatTime of a device in a google cloud function?

I use the DeviceManagerClient.listDevices function of the 2.1.1 API in cloud functions and it works right, apart from the fact that most of the properties of the got IDevices are null. The id, numId, ...
1 vote
0 answers
120 views

Unable to connect from remote ibeacon gateway device to Google Cloud IoT Core

I am trying to set up a beacon gateway against Google Cloud IoT Core with no luck at all. I think the problem is that the beacon gateway does not support JWT auth, so I'm setting up a gateway with the ...
1 vote
1 answer
825 views

Can we set custom message attribute publishing to pubsub over the mqtt bridge

I am using MQTT to send and receive messages from/to Google IoT Core (telemetry messages). Messages are then fowarded to different Pub/Sub Topic. I'd like to add custom attributes to my messages. The ...
  • 502

1
2 3 4 5