Azure IoT Hub is a fully managed Microsoft service that enables reliable and secure bi-directional communications between millions of IoT devices and a solution backend.
Questions tagged [azure-iot-hub]
2008 questions
3
votes
2 answers
Register Device using rest API of Azure device provisioning service?
I have to register a device on IoT hub using DPS service. I cannot use the .net SDK as device firmware does not support so we decided to use the REST based API's to do the same.
With C# SDK all I need are the .PFX file with password, DPS_IDSCOPE and…

JARVIS
- 765
- 1
- 8
- 28
3
votes
1 answer
IoTEdge module gives timeout
I have an IoTEdge module which runs a deep learning model on a Raspberry Pi 3 and runs well but then somehow returns this error:
Error: Time:Mon Jan 28 22:45:21 2019 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_mqtt_common.c…

Alvin Chin
- 51
- 3
3
votes
1 answer
Azure IoT Hub MQTT failure
I'm attempting to connect a Quectel BG96 cellular modem to Azure IoT Hub using MQTT directly (no SDK), but keep getting disconnected immediately after attempting to connect.
I've tested:
Connecting to my IoT Hub using a python paho MQTT…

djp
- 31
- 1
3
votes
1 answer
Get the IOT hub connection string from Azure Device Provision Service
How can I get the IOT hub connection string in device using auto provisioning via Azure Device Provisioning Service. I am doing a group enrollment and that was a success but how can I get the assigned hub connection string to the device. I do get…

sadik
- 107
- 10
3
votes
3 answers
Subscribe to Azure IoT Hub Device Events
I want to read the "Microsoft.Devices.DeviceConnected" events (https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-event-grid#event-types) from Azure IoT Hub. The only examples I found deals with Azure Event Grid but I'd rather like to use the…

binaryguy
- 1,167
- 3
- 12
- 29
3
votes
1 answer
Azure Time series Insights visualization in html web application using javascript
I have IoT sensor Data in IoT Hub connected I can see Azure Time Series Insights where i can Query Data by DeviceId and avg and sum .
How can i make it available in my HTML website show data in as web-socket continuously.
I have designed the chart…

Amjath Khan
- 185
- 11
3
votes
1 answer
Create IOT Device Edge Python Sdk
How can create IOT Edge Device?
Actually i use azure sdk service iot and created normal device, but i can't figure out how create iot edge device with azure service client sdk.

Kaliros
- 31
- 1
3
votes
0 answers
Automate the process of creating a private key, a CSR and a final Signed Certificate in .NET Core
Someone provided me with a intermediate certificate (signed by a root cert) and its password. In order to connect securely to an SSL enpoint I need to provide a signed certificate.
Here is what I do:
Create a private key
Create a CSR with that…

binaryguy
- 1,167
- 3
- 12
- 29
3
votes
1 answer
How to set device's twin properties without Etag?
I am using the API:
RegistryManager.UpdateTwinAsync(string deviceId, Twin twinPatch, string etag);
However, it need to call device's twin first:
Twin twin= await _registryManager.GetTwinAsync(deviceId);
var etag = twin.Etag
So I need to 2 I/O…

Phat Huynh
- 43
- 3
3
votes
2 answers
Devices reconnect to Azure IoT Hub every 65 minutes
We have devices connected to IoT Hub via MQTT (default settings) and they all keep reconnecting precisely every 65 minutes (to the millisecond).
Device app details:
.net Core 2.1
Libraries:
Microsoft.Azure.Devices…

erichste
- 759
- 4
- 16
3
votes
1 answer
How to filter Azure Timeseries Insights events consumed from IoT Hub by Device ID
We have the following architecture configured:
IoT Hub consumes telemetry from devices;
Devices do not send their ID in the telemetry data. They only send sensor data;
Timeseries Insights is set up to auto consume events from IoT Hub;
A back-end…

Vladislav
- 2,772
- 1
- 23
- 42
3
votes
2 answers
azure iot-hub device twin remove desired properties
Following is my device twin payload, By mistake I have added "someKey" property to it.
{
desired: {
"state": {
"processor": "running",
"light": "on"
},
"someKey": "someValue"
}
}
I want to remove…

vikram eklare
- 800
- 7
- 25
3
votes
1 answer
real-time Streaming of string variables in Power BI
I'm beginner with MS Azure and Power BI. So, I took the example from microsoft (https://azure-samples.github.io/raspberry-pi-web-simulator/#Getstarted) and I configured the IoT Hub and MS stream analytics jobs in order to get a visualization of my…

Margarita Gonzalez
- 1,127
- 7
- 20
- 39
3
votes
1 answer
Azure Iothub-Explorer epoch error?
I'm trying to look at messages that are being sent from my esp8266 module via iothub-explorer but I'm getting the following error.
The command I'm running
iothub-explorer monitor-events DeviceID --login…

Jim
- 373
- 5
- 18
3
votes
1 answer
How can I get the public IP address of a device on Azure IoT Hub?
I'm interested by getting the public IP address of a connected device on Azure IoT Hub.
I've checked the SDK's but I cannot see any method to get it.
My purpose is to geolocate the device by IP (That's not accurate, but works for me!).
Any clues?

datoga
- 103
- 8