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
4
votes
2 answers
Debug .NET apps on Raspberry Pi - dotnet has exited with code 0
I have a question regarding debugging in VS Code. I have created simple console app. I deployed the solution to a Raspberry PI, connected via SSH, and ran the app. It worked.
I would like to use the debugger with this solution. I tried to…

Maciej Skuratowski
- 43
- 3
4
votes
1 answer
Microsoft Azure IoT Python SDK Can Successfully Provision but Not Connect with Same Credentials
I am using Python 3.8.2 on Linux and the azure iot python sdk version 2. I have setup device provisioning in the Azure Portal and can successfully provision my device using the following code.
Provisioning code:
# Imports for Azure
from…

PhilBot
- 748
- 18
- 85
- 173
4
votes
1 answer
Azure IoT-Hub Device Twin with Azure Digital Twin using DTDL: are they complements or alternatives? How?
There is some confusion between two aspects of Azure IoT-Hub. I see here that Azure Digital Twins (with DTDL) simplify device state management (reported, desired properties) when compared to Azure IoT-Hub Device Twins. However, I see here that they…

GGleGrand
- 1,565
- 1
- 20
- 45
4
votes
1 answer
Are DeviceClient Methods Thread-Safe?
Are the instance methods on Microsoft.Azure.Devices.Client.DeviceClient thread-safe? For example, is it safe to have a single instance of DeviceClient, and execute its methods concurrently from multiple threads?
Our current code base makes multiple…

Timothy
- 41
- 1
4
votes
1 answer
Azure function shows 0 executions on azure portal
I am an azure novice. My setup is as follows. I've got an IoT Hub, An Event Hub, an Azure function.
The idea is to send messages to the IoT hub, route them to the Event Hub based on a certain message type, handle these events with the use of the…

Miraj Mohajireen
- 39
- 1
- 4
4
votes
0 answers
C++ using CPPRestSDK ("Casablanca") to authenticate to azure IoT Hub
EDIT: I managed to get a c# version working (below)
Original Question:
I'm trying to connect to Azure's IoT Hub through the cpprestsdk and POST a json-structured obj to it. However, i cant find anything regarding authentication anywhere.
I've…

Joel
- 5,732
- 4
- 37
- 65
4
votes
0 answers
Sensor data to Azure IoT Hub and then to a web client using SignalR on ASP.net Core 2.1
Despite my efforts, I did not find any tutorials on how to get live sensor data via Azure IoT Hub to a web client using SignalR, where the web backend is running on ASP.net Core. I somehow get it running, so here's what I did, and a couple…

Pal-B
- 139
- 1
- 7
4
votes
1 answer
Reading & parsing Azure IoT Hub Telemetry from a storage account blob
I have a IoT Hub with 2 IoT devices both sending environmental data (Temperature and Humidity) I created a custom endpoint and route to my Azure Storage Account, it gets saved there so I can look back. The problem is it sends raw telemetry data…

Typically
- 41
- 1
- 8
4
votes
1 answer
Connect to Azure IoT/Event hub from browser side
Is there any javascript sdk or library available to connect to Azure IoT or Event hub from Browser side?
I would like to avoid the latency involved in the redirection of the messages from Web application to browser in connecting to the Event hub…

KDR
- 478
- 6
- 19
4
votes
0 answers
Cannot connect to IoT hub with EventProcessorHost in .net Core
I'm trying to connect to an Azure IoT hub from a .NET Core application using the following tutorial as a guide Get started receiving messages with the Event Processor Host in .NET Standard
However I am getting an error when trying to register the…

John Hunter
- 4,042
- 4
- 26
- 35
4
votes
2 answers
How can I process IoTHub file upload notifications in an Azure Function
We currently have devices which are sending files to Azure through an Azure IoTHub using the file upload functionality.
Ideally we would have an Azure Function which gets triggered when there is a new File uploaded. We are aware of the…

Wessel Kranenborg
- 1,400
- 15
- 38
4
votes
4 answers
Azure IOT Hub Rest API Unauthorized
I am trying to use Azure Iot hub REST API to create device by following links
Create a new device identity
Control access to IoT Hub
And my http data is like
{
"status":"connected",
"authentication":{ "symmetricKey":{
…

ddfish
- 41
- 1
- 4
4
votes
1 answer
Simcom SIM 808 SIM900 Azure Iot Hub - authorization header not possible to add
I am using Simcom SIM 808 to post data to Azure Iot Hub. My problem is that Azure Iot Hub requires a SAS string in the Authorization header, but I can not find a way to add this header. Anyone have experience with sim 808 and Azure iot? Is it…

toupilsner
- 51
- 1
- 3
4
votes
2 answers
Updating firmware using the Azure IoT Hub
I intend to use the IoT Hub to update firmware of my Edison device utilising its bi-directional capability although I am not sure of where to look for detailed instructions on how to do it. The only information I have found on the subject is HERE…

BrentA
- 172
- 8
3
votes
2 answers
Azure Service to Publish and Subscribe on custom topic same as available in AWS IoT
I am working on a software, where I need to send a JSON payload to a wide range of clients. Here the client is a windows PC, where my software is running. On some event, I need to trigger some actions on the client.
To achieve this I was using AWS…

HarisH Sharma
- 1,101
- 1
- 11
- 38