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
2
votes
0 answers

How to get image url from gcp storage to data studio table report

I want that in my data studio report I can add the link of images uploaded from my device to google cloud storage bucket. I know how to manually achieve the goal, I need to know that when my data is loaded from bigquery to data studio in realtime;…
2
votes
1 answer

Google IoT core Device metadata

What's the purpose of Metadata for device config? I see when I create a device and add metadata, it comes to PubSub as a message attribute. It's very useful, for instance for Dataflow processing, I can make some aggregation and build additional…
Ilya K.
  • 241
  • 2
  • 9
2
votes
1 answer

Google iot MQTT - ESP32 Connects the first time and only reconnects after 30m

I'm working with google Iot cloud with ESP32, I am sending fake values just to make a test with the MQTT data PUB/SUB, Apparently I'm succeeding in publishing the values, sometimes, I can't reconnect to google iot. I don't know why it keeps checking…
2
votes
1 answer

Can we get RSA public key associated with device from google iot core

Actually, I have a device and its associated public key on Google IoT Core. Is it possible to get that public key from any script using the service account (and respective registry). Is it restricted keys on google-iot-core?
r_batra
  • 400
  • 3
  • 14
2
votes
1 answer

IOTC_CONNECTION_RESET_BY_PEER_ERROR in iot-device-sdk-embedded-c

I am using iot-device-sdk-embedded-c/examples/iot_core_mqtt_client to Google Cloud IoT Core and push data to it. I am using this SDK on ESP32 platform. So, I have done minor modifications. However the general code looks like the one in the below…
2
votes
1 answer

How to connect to "Google Cloud BigQuery" public dataset from "Google Cloud functions"

I modified the default hello_pubsub (Python3.7) function of "Google Cloud functions" service, for connecting to a dataset table which I have created in the "Google Cloud BigQuery" service. But, after many different approaches, I'm clueless on, how…
2
votes
1 answer

GCP IoT connection closed because MQTT keep-alive check failed

GCP IoT Core showing error: mqtt: SERVER: The connection was closed because MQTT keep-alive check failed." Error Message: [link] https://i.stack.imgur.com/2MsLG.jpg Under the monitoring tab, I can see data sent/received, however I believe the above…
agc
  • 173
  • 1
  • 16
2
votes
3 answers

Google IoT Core: how do I know which device the message is coming from?

In Google Cloud, I am having an IoT Core Registry with a number of devices (connected over MQTT) and 2 Pub/Sub topics: events topic (for device telemetry events) and state topic (for device state events). I am processing messages from the events…
2
votes
1 answer

Google Cloud IoT : How to connect to MQTT bridge from iOS applications written in Swift?

I couldn't find any documents on how to connect to Google Cloud IoT MQTT bridge from Swift-based applications. Is it possible to connect? Any references or links or samples would be appreciated.
Shobhana Sriram
  • 394
  • 1
  • 2
  • 14
2
votes
1 answer

Google IoT Core registry with additional telemetry topic and wildcard in subfolder?

I want to add telemetry topics to a registry and distribute telemetry streams to different pubsub topics. Since our MQTT topics on the devices use more than one subfolder, the registry's subfolder string does not match exactly to the pubsub…
2
votes
2 answers

Google IOT - device subscribe to something else than /devices/XXXX/config

I am trying Google IOT and Google PubSub. I am sending MQTT messages from device to a pubsub queue on which I have subribed (with something I will call "the server"). From the google cloud console, I update device setting and I get the setting…
Nicolas N
  • 21
  • 2
2
votes
0 answers

OpenWRT mosquitto_pub version appears to not support TLS but my MQTT broker requires TLS

I solved my problem, please see the end of this question for my solution. Am a Mosquitto|MQTT noob so my apologies for all that follows. Installed mosquitto on e.g. Ubuntu and everything works, I can do this to my heart's content: mosquitto_pub…
DazWilkin
  • 32,823
  • 5
  • 47
  • 88
2
votes
2 answers

Google Cloud IoT - Invalid MQTT publish topic

I am using a Python client with paho-mqtt to publish in this specific topic of Google Cloud IoT: projects/my_project/topics/sm1. My code is below, based on examples of the Google IoT documentation: import paho.mqtt.client as mqtt import ssl, random,…
Dalton Cézane
  • 3,672
  • 2
  • 35
  • 60
2
votes
2 answers

Is it possible to connect to the Google IOTCore MQTT Bridge via Javascript?

I've been trying to use the javacscript version of the Eclipse Paho MQTT client to access the Google IOTCore MQTT Bridge, as suggested here: https://cloud.google.com/iot/docs/how-tos/mqtt-bridge However, whatever I do, any attempt to connect with…
2
votes
2 answers

Does Google IoT Core support HTTP compression?

Using the HTTP protocol, is it possible to leverage of HTTP compression (i.e. Content-Encoding: gzip) in order to reduce the body size of a publishEvent, reducing the total cost of IoT core?
maurocchi
  • 640
  • 1
  • 6
  • 14
1
2
3
14 15