Questions tagged [azure-iot-hub]

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.

2008 questions
3
votes
2 answers

Azure IoT Central architecture - how are Digital Twins implemented and managed?

I have a system with IoT Hub to ingests events from devices and Device Provisioning Service to provision devices. IoT Hub C# SDKs are used for the management of device tags and desired properties (IoT Hub device twins), and to invoke direct methods…
OverflowStack
  • 825
  • 1
  • 14
  • 30
3
votes
1 answer

Azure IOT Decode Amqp Messages From Web Socket (Hexadecimal string)

I'm trying to decode AMQP messages sended and revived between Azure IoT Edge and Azure Hub. At this moment I can read the data inside the socket, having something like this: Now, I'd like to see this packages as json or object or something that a…
user1060082
  • 63
  • 2
  • 7
3
votes
0 answers

IoTHub Trigger function does not execute when new telemetry arrives

I have an IoTHub Trigger (Event Hub Trigger) function that appears to operate for a period of time, and will then stop executing. Restarting the Function App will show the buffered messages being processed as expected, but then the function will no…
buckindb
  • 103
  • 1
  • 3
3
votes
1 answer

X509_check_private_key:key values mismatch error: DPS ,IOT hub

I am not able to create Devices on IOT hub in node.js. I have replaced provisioning host with the Global Device Endpoint, idScope with the ID Scope of my DPS. I am using group enrollment with x.509 certificates, so i am using certificate's subject…
3
votes
1 answer

Querying Iothub device twin tags using string methods

I wants to get list of devices which starts with 'test' word. Or something like, get all devices where tags.email starts with 'test'. I have gone through documentation, but as per my findings it only supports querying with exact match and also…
3
votes
1 answer

What is the definition of successful deployment in Azure IOT

Backgrounds We are testing Azure IoT edge for the deployment of our modules into the edge device. We are interested to understand whatever the module was deployment successfully. According to azure IoT doc The deployment status can be seen…
oak
  • 2,898
  • 2
  • 32
  • 65
3
votes
0 answers

Is there anyway to label or store other information in a message in Azure IoT Hub?

Recently I've created an Azure IoT Hub and try to send telemetry message from hardware sensor to IoT Hub then to 1 function app to do post-data processing then to storage. It is a simple flow, however, in order to proceed post-data processing, I…
Sivvie Lim
  • 784
  • 2
  • 14
  • 43
3
votes
1 answer

When I'm going through azure iot hub tutorial, creating end with error partition count 4 - why?

Depending on tutorial at microsoft website for IoT Hub if you type in second step: az iot hub create --resource-group MyResourceGroup --name {YourIoTHubName} in your cli, error comes up: *Invalid PartitionCount 4 - value must be between 2 and 2. If…
kurtanamo
  • 1,808
  • 22
  • 27
3
votes
1 answer

How to use "Azure IoT Hub Device Provisioning Service" from Android Application to register device and send telemetry reading to Azure IoT Hub?

We need to connect Android Application with Azure IoT Hub to send the telemetry readings at continuous intervals. For this communication, we would need to register the device with Azure IoT Hub. This process is easy and smooth if we have few handful…
Amnesh Goel
  • 2,617
  • 3
  • 28
  • 47
3
votes
2 answers

Getting deviceId from iothub in azure function

I am in the middle of a project where I having to connect some IoT devices to azure using IoTHub. I have been following this guide:…
Shadesfear
  • 749
  • 4
  • 17
3
votes
1 answer

Device registration (using DPS) and Device to IOT Hub Communication without SDK

Need pointers on how to do device registration using Azure DPS (x509 cert) and communicate to IOT hub without using azure SDK libraries. Is it possible via MQTT? any server (iot hun/DPS) listening to client who can send MQTT messages without using…
Bhupal
  • 67
  • 3
3
votes
2 answers

Is it possible to reuse Connections on Azure Functions when sending Device-to-Cloud messages to IoTHub?

I have an Azure IoTHub with thousands of devices registered. These devices communicate through a Telco provider who sends messages through an Azure Storage Queue. This Storage Queue triggers an Azure Function which needs to parse the messages and…
Has AlTaiar
  • 4,052
  • 2
  • 36
  • 37
3
votes
2 answers

Read Azure IoT Hub Telemetry from HttpTrigger Function

Use case I have an Iot Hub device which sends telemetry data to IoT Hub. I want to process the telemetry, e.g storing to a database, using a Function. Funtion I created the following function in VS2019 and published it to…
Sam
  • 314
  • 3
  • 8
3
votes
1 answer

Is there a direct way to send container logs to azure log analytics workspace from iot edge device?

I am looking for a solution to send the application logs generated on iot edge devices to an azure log analytics workspace. I have tried using the Microsoft Monitoring agent using which I was able to send logs generated by running docker containers.…
harika
  • 65
  • 6
3
votes
1 answer

Suspending Azure function until Entity Framework makes changes

I have an Azure function (Iot hub trigger) that: selects a top 1 record ordered by time in descending order compares with a new record that comes writes the coming record only if it differs from the selected one (some fields are different) The…