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

Google Cloud iot core sending commands to device with qos 0

ModifyCloudToDeviceConfig sends command with qos 1. Is there any other method to send command other than ModifyCloudToDeviceConfig.
0
votes
1 answer

IoT Core publish to topic on another registry

What I am trying to do is publish a message from a device in one registry to a device in another registry. What I found out is that you can only publish to topics in the registry your device is in and if you try to publish to a topic in another…
tyczj
  • 71,600
  • 54
  • 194
  • 296
0
votes
1 answer

Google IOT device telemetry to stackdriver

I'd like to use Google IOT to periodically send out custom telemetry which I'd like to ingest into Stackdriver for alerting purposes. Is this doable? As far as I can tell, I cannot seem to load up custom events or telemetry in Stackdriver. A naive…
7hacker
  • 1,928
  • 3
  • 19
  • 32
0
votes
2 answers

Connecting to IoT Core MQTT

I am trying to connect to Google's MQTT server but I am getting errors I created all the certificates and registered my device (Adafruit huzzah32) and the documentation says you connect to mqtt.googleapis.com:8883 So I do WiFiClientSecure…
tyczj
  • 71,600
  • 54
  • 194
  • 296
0
votes
1 answer

Google IOT core- http bridge "request is missing required authentication credential "

I'm trying to get started with google IOT core by posting a simple http request from the command line. I have set up my registry and device in Console, and added the public key. I set up a telemetry topic. I've generated the JWT using a Qt…
MikeE
  • 1
  • 2
0
votes
1 answer

Service Account Project ID is set to null when using ApplicationDefaultCredentials

I am trying to invoke Google IoT core APIs using java. When I use JSON file provided on console while creating the service account, to create GoogleCredentials object, it has serviceAccountProjectID field set to appropriate value, however when I use…
0
votes
1 answer

How to get device acknowledge time from modifyCloudToDeviceConfig in google iot core

I am using google iot core with firebase function. When i request client.projects.locations.registries.devices.modifyCloudToDeviceConfig i get response as :- { status: 200, statusText: 'OK', headers: { 'content-type': 'application/json;…
0
votes
1 answer

Sending config/state to device from firebase function via google iot with Qos 0

Is there any method to publish data to device from firebase function with qos 0.
0
votes
1 answer

Google IoT Core MQTT publish error

I have my own MQTT client that connect to Google IoT Core. When I send connect message I received connack, and successfully send pingreq and received pingresp, but when I send publish message my connection is broken and I have error: mqtt: User…
0
votes
1 answer

Unable to access Google Iot core v1beta1 discovery api

I am trying to access Google Iot core v1beta1 discovery api using the link https://cloudiot.googleapis.com/$discovery/rest?version=v1beta1. Whenever i try to access it shows { "error": { "code": 404, "message": "Discovery document not…
Honney Goyal
  • 247
  • 1
  • 5
  • 13
0
votes
3 answers

Authentication Error when Retrieving and Editing Device Configuration on IoT-Core

I'm trying to use a backend nodeJS server to access (and edit) the device configuration on IoT-Core referring to this API docs However, I keep getting error: code 401 with error message "message": "Request had invalid authentication credentials.…
jlyh
  • 681
  • 9
  • 32
0
votes
1 answer

How to change MQTT hostname for Google Iot Core

I am working on an iot device using google-cloud-iot-core, but i would like to have allow for 3rd party support, so i want to change the host name of the mqtt, how can it be done? Thanks in advance
Deep Vora
  • 318
  • 3
  • 13
0
votes
1 answer

Use MQTT to changedevice config in google cloud IoT

My application uses MQTT to subscribe to events topic. However, to change the device config, I need to use HTTP POST request…
vantubk
  • 5
  • 1
0
votes
2 answers

Google apis node library - cloudiot missing

I was looking for a way to manage cloud iot core devices with google cloud functions. After days of testing I can't figure out how I can add a device to a registry. I have tried to install googleapis module on my pc with npm but I can't find…
0
votes
3 answers

Google Cloud IoT core exercise

I am working on Google Cloud IoT core and there I came across a problem in one of the samples (end-to-end example) provided in the online docs: google cloud iot exercise There are two scripts, for Server and Device, and while running the device…
Aadhar Bhatt
  • 641
  • 6
  • 6
1 2 3
14
15