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.
1,970
questions
0
votes
1
answer
23
views
Export two or more devices to event hub
I have two devices to export from iot central to event hub.
I would like to know how could I export two devices on the same export.
Follow my devices bellow:
Thank you!
-1
votes
0
answers
18
views
I'm trying to communicate with the iot hub via an edge gateway device [closed]
I'm trying to send data via an edge gateway device. I have set up my edge device which is a linux machine, now I need to send data from an esp32 device to the iot hub via the edge gateway device.
The ...
0
votes
2
answers
43
views
Azure IOT Hub, is it possible to have multiple devices that uses the same authentication credentials?
I was successfully connect to Azure Iot Hub using both X.509 CA method and shared keys.
For using certificates, it's clear, each device shall have unique cert/keys inside, signed by Root CA. This is ...
0
votes
1
answer
25
views
Azure IoT Hub and its SDK message overhead
I'm trying to use the Azure IoT Hub to store data sent over MQTT from a sensor, the problem I'm running into is that it is quite a bit slower then I would have expected.
From what I understand I ...
0
votes
1
answer
43
views
How to get the route messaging details in IOT hub in python?
I want to know the Python sdk that could be used to get the route messagine details in IOT hub.
Basically whatever is shown in the tabular column under Message Routing Tab, is what I need. But I am ...
0
votes
1
answer
68
views
Device Update for IoT : I am able to import the changes but not seeing Updates Available under 'Groups And Deployment' Tab, anyone can please help me
I have configured the Device Update Agent into IoT Device.
Imported multiple Updates via 'Import a new Update' Option but inside 'Groups and Deployment' Tab I am not seeing any new update.
Can some ...
0
votes
0
answers
42
views
Trying to install the last firmware for the Percept DK. Getting errors. No Support from Microsoft [closed]
I am following Microsoft documentation here https://dlcdnets.asus.com/pub/ASUS/mb/Embedded_IPC/DKSC-101/Unsupported_SoM_Update_Azure_Percept_DK_Camera_and_Audio_SoMs.pdf?model=DKSC-101.
I am at the ...
0
votes
1
answer
44
views
How to get dt-subject system property from Azure IoT Hub into Azure Stream Analytics
Background: I am using Azure Stream Analytics to process telemetry events from IoT Hub. The telemetry messages themselves include a dt-subject system property, because the telemetry corresponds to a ...
-1
votes
0
answers
46
views
How can I read data from Azure IoT Hub device via ESP8266 or Arduino? [closed]
I am sending telemetry messeges from my local system to the Azure IOT HUB device, using primary connection string. Using that data I want to control ESP8266 pins for some LED's.
How can I establish ...
0
votes
1
answer
35
views
Ingesting Azure IoT Hub events to multiple Azure Digital Twins models
I am having an issue with my Iot Hub to Digital Twins ingest function app. I am trying to update properties across multiple unique models with either a single or multiple ingestion functions but I can'...
-1
votes
1
answer
109
views
Azure IoT Hub simple publish/subscribe in node.js
Hello I am trying to create a simple communication using Azure IoT hub in node.js.
I am using mqtt library. With the help of the similar problem I was able to connect to the IoT hub, but I do not ...
0
votes
2
answers
154
views
generating test data and sending it to the azure iot cloud using python
I have to generate test data periodically like every 6 minute and send it to azure iot cloud using python, And use that data to manipulate or control my other device both physical(esp8266 or arduino) ...
0
votes
0
answers
40
views
Looking for a battery-powered GPS tracking device with Nbiot/Ltem/4g connectivity and Azure IoT Hub compatibility
I'm looking for a GPS tracking device that meets the following requirements:
Battery powered
Uses Nbiot or Ltem or 4g connectivity
Can be connected to Azure IoT Hub without the need for a middle ware ...
0
votes
1
answer
45
views
Does my device need to always have status = connected to export data from IoT Central to blob,event hubs,data explorer?
I am trying to export data with my device disconnected but not working for me. I would like to know if my device needs to be always with status = connected to export data from IoT Central to blob, ...
0
votes
1
answer
47
views
Azure IoT central does not exporting data to Blob Storage or event Hubs
I am trying to export data from IoT central to blob storage or event hubs. It seens I've setup destination and source correctly:
But, when I will check output on destinations ( Event Hubs and Blob ...
1
vote
0
answers
88
views
Get no connection message iothub from OPC publisher
I am using OPC publisher to read values from an OPC ua server (siemens s7-1200) at a given interval, this works fine but when there is no connection between the server and the client I don't recieve ...
0
votes
3
answers
48
views
Which VM size to use for the azure iot-edege quickstart linux tutorial?
I am following the instructions at https://learn.microsoft.com/en-us/azure/iot-edge/quickstart-linux?view=iotedge-1.4
When running
az deployment group create \
--resource-group IoTEdgeResources \
-...
0
votes
1
answer
38
views
Is there a way to connect power Bi to Azure IoT Services?
Hi I would like to know how to connect PowerBI to IoT Services.
Thank You
0
votes
1
answer
47
views
Try to export Iot Services .json Data to Azure Blob Storage
When I export .json data from Azure IoT services to Blob storage , the blob storage save the source files without extension instead of .json . Is there a way to fix that? I am Following this way ...
0
votes
1
answer
53
views
Is it not possible to create a route for Azure IOT hub in the free trial?
I'm trying to implement the IOT hub using Azure portal. This is the link from which I followed the instructions: https://learn.microsoft.com/en-us/azure/iot-hub/how-to-routing-portal?tabs=eventhubs .
...
0
votes
1
answer
107
views
Azure IoT Device Provisioning Service: Empty Logs
I'm trying to provision a device with Azure IoT DPS via an X.509 certificate. This currently fails with a 401 status code so I would like to consult the DPS logs to determine what is going on.
I have ...
-1
votes
1
answer
68
views
Connect Azure Iot Hub message route with Azure function Event Hub
Is it possible to connect a message route set as event to an azure function. I have only managed to connect to event hub compatible endpoint but not with a specific message route
I have set "...
0
votes
2
answers
123
views
Can't link IoT Hub Device Provisioning Service to IoTHub not found
I just created an IoTHub with a Device Provisioning Service and I get an error when I try to link the two together.
The Azure portal sends me back
There was a problem updating your Device Provisioning ...
0
votes
1
answer
41
views
Retrieve device id from Service Bus Message in Azure Functions
Is it possible to retrieve the deviceId from the Service Bus Message in the Azure Function? I am currently using ServiceBusReceivedMessage.
Here is the message route:
Device sends message to Iothub
...
0
votes
0
answers
49
views
Azure SDK for C IoTHub client fails to get clientID for device ID's in certain format
I am using the Azure SDK for C and I am trying to connect a device to IoTHub. I noticed that I can connect with no issues if I use a device ID like this "testDevice". But if I use something ...
0
votes
3
answers
114
views
Routing device to cloud messages from Azure IoT Hub to Azure Blob Storage
I have an IoT device sending messages to Azure IoT Hub every 5 minutes. I would like to save every message inside an Azure Blob Storage Container. Inside the azure portal, in the Message routing ...
0
votes
1
answer
111
views
Memory issue establishing connection to IoT Hub via DeviceClient
I've created a simple test app that tries to open a connection to iot hub that doesn't exists with a custom 15 seconds retry policy. After 3 minutes, it's gone through all of my 32gb memory.
The same ...
0
votes
1
answer
57
views
IoT Edge: SimulatedTemperatureSensor not working on my Raspberry 3 A+
I have a Raspberry Pi 3 A+ and I downloaded Raspberry Pi OS 32 bit to my hardware. I have installed IoT edge in accordance to these instructions: Create and provision an IoT Edge device on Linux using ...
0
votes
1
answer
55
views
Using HTTP2 as a protocol for device-side communication in an Azure IoT device
I was reading the documentation for Azure IoT Hub "Choose a device communication protocol" and curious about this paragraph:
Consider the following points when you choose your protocol for
...
0
votes
1
answer
47
views
how can we calculate heat rate and SPO2 using ECG/PPG sensor?
We are getting records in bytes [] from IoT sensors and don't know how to get the heart rate or SPO2 records so someone please suggest to me the best suitable way.
We are using xamarin forms so need ...
0
votes
1
answer
66
views
How to get inputs message to IoT edge device using node-red module?
I managed to deploy the node-red device and get the message from it via node-red output module using the following tutorial.
Now I would like to send from Azure IoT Hub portal to IoT edge device "...
0
votes
1
answer
74
views
Add custom properties to MQTT message for sending to Azure IoT Hub
I have sent messages from device to Azure IoT Hub using MQTT client (like mosquitto). But I want to add custom properties to these messages like the standard SDK of Microsoft.
Is there any suggestion ...
1
vote
1
answer
33
views
Hello i would like to connect an opcua server to and iotedge device and use the iothub direct methods to configure it
Hello is there a tutorial or a sample i can follow to get an opc ua server configuration setup using the direct methods from an iot hub?
I have tried with the normal configuration using the published ...
0
votes
1
answer
64
views
Azure IoT Explorer No Longer Getting Device Telemetry
My Azure IoT Explorer used to work but all of a sudden it stopped working. The device says its connected in Connection State but it is no longer Receiving Telemetry Data in the Telemetry.
I know that ...
0
votes
1
answer
48
views
Not able to override consumer config in azure iot hub sink connector
I'm making an AzureIoT Hub sink connector using the Microsoft connector class. I am using an AVRO converter on the connector.
I want to use KafkaAvroDeserializer, on the consumer to deserialize the ...
0
votes
1
answer
186
views
How to get Azure IoT Hub Device's connection string programatically using .Net C#
I've an scenario where need to get Azure IoT Hub device's connection string by passing device id programmatically using .NET C#.
We can connect to Azure IoT Hub using connection string using Microsoft....
0
votes
1
answer
54
views
Azure IoT module twin update gets reverted back
My layered deployment (single module) properties read as follows:
"properties": {
"desired": {
"PublishInterval": 2000,
"...
0
votes
1
answer
165
views
How can I receive messages to a C# Console app from an Azure IoT Hub device, using the Azure IoT Hub SDK
I am currently writing logic to test receiving data from an Azure IoT hub device into my console app. I've got the IoT Hub connected to a container so I can see messages entering the container, but ...
0
votes
1
answer
90
views
Is there a way to configure azure iot hub to allow public inbound traffic but only allow provate outbound traffic
Like mentioned in the title, I would like to configure my azure iot hub to allow public inbound traffic but only allow private outbound traffic.
My current infrastructure is that an iot device will ...
1
vote
1
answer
75
views
Terraform Create Azure IoT Device Provisioning Service Enrollment Group
I've been trying to create an Azure IoT Hub Device Provisioning Servince along with Enrollment Group that is using X509 Certificates.
As far as I can see there's no way to do it using azurerm provider....
-1
votes
1
answer
57
views
Should my IoT hub be in a private vnet? And if so how do I implement it into my infrastructure?
I have Raspberry Pi which sends data to my IoT hub, which will then use an azure stream analytics job to send data to the SQL database, and finally the data will be used by my app service to visualize ...
0
votes
0
answers
68
views
Unable to bulk import devices with Private Storage account
I am working on stress testing for our IoT Usecase.
For testing, I need to create 100 devices.
So, I have developed one azure function to use IoTHubs Import Device feature as per MSFT docs.
When I ...
0
votes
0
answers
133
views
Python function to upload files to storage failing with 403 TooManyDevicesError
I have a python app running on an embedded linux device. The app runs async code that connects an iothub device client. I have a class called device_client_wrapper that uses a semaphore to ensure that ...
0
votes
1
answer
121
views
How to send data from Raspberry Pi to Azure IoT Hub using x.509 certificate
I am trying to send data from my Raspberry Pi to an Azure IoT Hub with the code in this GitHub repository (https://github.com/Azure-Samples/azure-iot-samples-node/tree/master/iot-hub/Tutorials/...
0
votes
1
answer
81
views
The message from Azure IoT hub is reaching partially to Stream Analytics and thereby SQL db
The message from Azure IoT edge device installed on Raspberry Pi is sent to the cloud.
In the logs of IoT edge device on Azure Portal the message sent to the cloud is seen (in the troubleshoot section)...
0
votes
1
answer
65
views
Routing Query Not Working in Azure IoT Hub Event Grid
I created a device simulator with the following code:
private static async void SendDeviceToCloudMessagesAsync()
{
while (true)
{
var tdsLevel = Rand....
0
votes
1
answer
96
views
Process Telemetry from Azure IoT Hub via Azure Event Hub Trigger Function
I created an Azure IoT Hub and created a simulated device as well. The simulated Device is working as I used IoT Explorer to validate. I would like to use an Azure Event Hub
Trigger function this time ...
0
votes
1
answer
84
views
Sending payload to IoT Hub for using in Azure Digital Twin using an Azure Function
Apologies for any incorrect formatting, long time since I posted anything on stack overflow.
I'm looking to send a json payload of data to Azure IoT Hub which I am then going to process using an Azure ...
0
votes
2
answers
108
views
Is IoT hub message feedback absolute confirmation?
I'm working Azure Function that sends data to few devices via IoT hub. I'm trying to log whole process and I am unsure if my current solution is sufficient.
So far I'm using message feedback(as ...
1
vote
2
answers
50
views
What is the good design to handle messages in a same process and send it to cloud without a data loss?
I am working on designing a solution for sending data from windows based devices to the cloud.
Here is the high level
Device Software: The device software is currently written in C, C++ or C# ...