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
1 answer

Azure IotHub Module's twin property change detection

I have an Azure IOThub that contains one edge device. Within this edge device I have several modules running and I can change the twin property of any individual module by connecting to it with it's connection string. Now I would like the module to…
Rana
  • 1,675
  • 3
  • 25
  • 51
3
votes
3 answers

pass environment variables in iot edge module

I am building a Microsoft IoT edge python module for my Linux arm device. I have to access the environment variables in the python module from my deployment.template.json file. The file shows how the environment variables are passed from the…
Hassan Abbas
  • 1,166
  • 20
  • 47
3
votes
2 answers

How to read IoT Hub message 'application properties' in Stream Analytics?

I have enriched the IoT Hub message based on Microsoft documentation and routing it to the built-in endpoint, and then having Stream Analytics access the messages by providing IoT Hub as the input to it. IoT Hub message enrichment adds the…
Govind
  • 31
  • 2
3
votes
1 answer

Get all devices from IoT Azure Hub

I would like to obtain all devices into my Azure IoT Hub system (connected, not connected, it doesn't matter). I've read the documentation about the system itself with no result but Get a list of devices from Azure IoT Hub has become obsolete. Is…
Istorn
  • 485
  • 1
  • 5
  • 23
3
votes
2 answers

Azure IoT Hub: What happens when sending data if daily message limit is exceeded?

We are using Azure's IoT Hub as backend for our IoT solution. We noticed that we had an unexpected spike in message amount during one day, and we exceeded our daily limit of 400k messages. From client application's logs we couldn't find anything out…
3
votes
2 answers

Sending cloud-to-device message Azure IoT Hub with REST api, endpoint

I'm trying to send a message to my device from the cloud, using Azure IoT Hub and REST api (not using the Azure IoT hub python SDK). I can successfully send a message (POST request) to the hub from the device with uri…
Edvin444
  • 31
  • 5
3
votes
4 answers

How to delete all devices from Azure IoT Hub using Azure CLI?

I have an Azure IoT Hub with a bunch of devices that our team's E2E tests generate. I want to purge the Hub every once in a while using the Azure CLI. I am running the Azure CLI locally on Powershell, using the Azure IoT extension. From my…
yodama
  • 659
  • 1
  • 9
  • 21
3
votes
1 answer

How to add JArray inside a Json string

I have the following code : string messageString1 = JsonConvert.SerializeObject(thisComputer); var data = new { deviceid = "info1", devicetype = "info2", data = messageString1}; My goal is to add messageString1 into data . thisComputer is a class…
Lopes
  • 45
  • 6
3
votes
1 answer

How to retrieve properties of IoT hub data and not only the actual payload

I have a iot-hub that receives both JSON and non-json (hex) messages. These all go to my Java function app to decode. Based on the device-id I'm calling a different decoder. I'm trying to get the actual iothub-connection-device-id of the message I'm…
54m
  • 719
  • 2
  • 7
  • 18
3
votes
2 answers

How to create a device in IoT Hub via REST API or SDK

I want to create a device in the IoT Hub when I add a device in my application. I'm looking for REST Endpoints available for performing operation. Or any SDK available to do this.
Ramesh Gurusamy
  • 138
  • 1
  • 6
3
votes
2 answers

How many numbers of device can be registered by Azure IoT Hub?

Is there any max numbers of device registering by Azure IoT Hub? I find this article but there are informations only for the total number of messages Same question for the service Device Provisioning.
davide.ferrari
  • 221
  • 2
  • 10
3
votes
1 answer

How to add a new Kafka topic for every new producer from IoT Hub?

I'm working on Azure cloud solution. I'm using IoT Hub connected to Kafka in order to process data coming from various IoT devices. What I'm facing is that all the data coming from multiple devices are stored in the same topic . However, I want to…
3
votes
2 answers

Azure Logic App - How can I re-started my operations failed?

I have many operations failed in my Azure Logic App. I see that if you click on a single operation on the Azure portal you can re-started the operation: Is it possible to select ALL of these failed operations, and re-run all together? Thanks a lot…
davide.ferrari
  • 221
  • 2
  • 10
3
votes
1 answer

Explicitly opening connection to IoT Hub from DeviceClient or opening it when a message is sent?

Are there any significant differences between explicitly opening a connection with DeviceClient at application initialisation or leaving it to open the connection itself when a message is sent? What I mean by this is: await deviceClient.OpenAsync();…
user9993
  • 5,833
  • 11
  • 56
  • 117
3
votes
1 answer

Does multiple units means multiple connection strings in Azure IoT hub and Event hub?

Are connection strings independent of the number of units we create in IoT hub and throughput units in Event hub? Will there be only one connection string for single IoT hub and multiple units are create only when scaling is necessary?
Yatin Gaikwad
  • 1,140
  • 1
  • 13
  • 23