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

Persistent device connection status over MQTT with JWT, using GCP IoT Core

I have a few devices that produce data over MQTT sent to GCP IoT core. I want to monitor if the device is currently connected or disconnected from the MQTT broker. This was already answered elsewhere on SO and this is the approach I'm currently…
alexm
  • 460
  • 5
  • 14
1
vote
1 answer

There is a problem to connect GCP IoT core with BG96

Before, I succeed to connect AWS IoT Core with BG96(LTE module). And now I'm trying to connect GCP IoT Core with BG96. However, there are some problems. I followed the guideline of IoT Core and downloaded MQTT server certificates(complete Goolge…
phil
  • 21
  • 3
1
vote
1 answer

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

I am quite new to google cloud services and I'm trying to get the device metadata that I have added to devices under a registry, but it doesn't seem to work. device.firebase_id is unknown where the device is my device and firebase_id is the added…
Javad Moradi
  • 866
  • 7
  • 18
1
vote
1 answer

How to fix google sub module import error?

I'm trying to run the following command in cloud sdk to send a command to cloud IOT python3 main.py --send_command="$RESPONSE" --registry=REGISTRY NAME --device=DEVICE NAME --cloud_region=europe-west1 --project_id=PROJECT ID send-command I am…
1
vote
1 answer

Sending big data amount to Google cloud IOT core

I am developing a project with the esp32, that is measuring sensor data, saving this data to an sd and also publishes the data to the web (to Google cloud IOT core). The measuring and saving of the data works already very well, but I am facing some…
ledtom
  • 19
  • 1
1
vote
1 answer

Why can't receive messages using gateway in MQTT Google IoT Core?

I am using the Cloud IoT Core module to send messages from a device to the cloud using MQTT. The device uses a gateway to send these messages and the gateway is configured with the Association only method. For this, the MQTT Client is configured…
pvi
  • 11
  • 1
1
vote
1 answer

subFolder is empty when using a Google IoT Core gateway and Pub/Sub

I have a device publishing through a gateway on the events topic (/devices//events/motion) to PubSub. It's landing in PubSub correctly but subFolder is just an empty string. On the gateway I'm publishing using the code below.…
1
vote
1 answer

How does GCP iot-device-sdk-embedded-c work on MIPS(uclibc)?

I download source code iot-device-sdk-embedded-c from github. I only change config for tool-chain and then compiler it successfully. But it stop in connect step(iotc_connect_to), when I run example "iot_core_mqtt_client" in my device(MIPS+uclibc).…
Zona
  • 11
  • 2
1
vote
1 answer

HTTP request to HTTP Cloud Function from Device(Google Cloud IoT Core)?

How can i make a "HTTP requests" to a Google Cloud Function from a device(with CLOUD IOT CORE AUTHORIZATION)? e.g. right now i have a device which is registered in Cloud IoT core already. In order to communicate i send the data via Pub/Sub Mqtt to…
1
vote
0 answers

Sending MQTT commands with QOS1 via GCP Cloud IOT

We are currently trying to communicate with Edge devices using MQTT. We use the config topic for defining the algorithms to use, the version of software and so on. We would like to use commands for sending "calculation results" back to the devices.…
Pipo
  • 43
  • 1
  • 5
1
vote
0 answers

Google Cloud IoT sendCommandToDevice node.js sends command but catches error

I have this in Google's App Engine (node.js). My device gets all the commands but I still get the Could not send command. Is the device connected? error. BTW, already tried this: Await for function before end() And same result. Trying to follow this…
1x2x3x4x
  • 592
  • 8
  • 26
1
vote
1 answer

"Invalid gcp.key" from Mongoose OS when connecting ESP32 to Google Cloud Platform

I am trying to connect my ESP32 device to Google Cloud Platform (GCP) with Mongoose OS. I am new to Mongoose OS, but have got as far as to build and flash code as well as connection to wifi. But I get problems when I add info to the mos.yml file to…
1
vote
1 answer

Connecting ESP32 to Google Cloud IoT Core (using Google Cloud IoT Device SDK and ESP-IDF)

I am trying to send data from Google Cloud Firestore (via Google Cloud IoT Core) to an ESP32 device. I have followed this guide, using the option of using Google approved way of Google Cloud IoT Device SDK and ESP-IDF. This is covered in the linked…
Ingrid
  • 516
  • 6
  • 18
1
vote
1 answer

Cloud IoT Core and Gateway

I am confused about the difference between gateway and Cloud IoT Core. Here are the instruction and the illustration. It looks like a gateway is optional. If so, what is the purpose of adding a gateway? What are the different roles played by the…
ycenycute
  • 688
  • 4
  • 10
  • 20
1
vote
2 answers

Many "MQTT disconnect - ALREADY_EXISTS" error in Google Cloud IoT console log

I use Google IoT Core in my project as MQTT broker to connect IoT embedded devices based on Atmel MCU to Goole Cloud Plattform. In the plattform log, i experience many "MQTT DISCONNECT" errors. jsonPayload: { disconnectType: "SERVER" …