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
40
votes
7 answers

What is the difference between Azure IoT Hub and Azure IoT Central?

I used Azure IoT Hub earlier and now I found a new topic Azure IoT Central which looks as same as the Azure IoT Hub. I am confused with the difference between these IoT Services, Can anyone explain me the difference and which one is better between…
lazyCoder
  • 2,544
  • 3
  • 22
  • 41
19
votes
4 answers

How to test Messages arriving in Azure IoTHub

I have an event generator connected and publishing messages into an IoT hub. How do I check what message have arrived? I'd be interested in different ways to determine (programmatically, dashboard, etc)
Brig
  • 10,211
  • 12
  • 47
  • 71
18
votes
1 answer

Why Primary key and Secondary key in Azure IoT hub?

When creating a shared access policy or registering a device in Azure IoT hub, there will be a Primary key and Secondary key pair generated. And I noticed I can connect a device to IoT hub using either Primary key or Secondary key. So, what's the…
Shuping
  • 5,388
  • 6
  • 43
  • 66
15
votes
2 answers

TCP support in Azure IoT Hub

Azure IoT Hub Supports AMQP, MQTT, HTTP protocols. In order to customize these protocols we have Azure IoT protocol gateway. I can find good samples on MQTT protocol customization. I need some sample codes for TCP based protocol customization using…
arun thatham
  • 500
  • 1
  • 4
  • 13
13
votes
1 answer

purpose of Azure iot hub device-to-cloud partitions

When creating a new Azure IOT Hub you are asked how many device-to-cloud partitions you need. You can select between 2-32 partitions for standard tiers. I understand that the SKU and number of units determine the maximum daily quota of…
GHariz
  • 336
  • 2
  • 11
12
votes
1 answer

Integration test in python

I have a python project that I want to test. I already have unit test with unittest but I need to do integration tests. For that, I have two applications: the real one that I have to test, and a "testing" application that will send requests to the…
iAmoric
  • 1,787
  • 3
  • 31
  • 64
11
votes
4 answers

Azure IoT Hub - Save telemetry best practice

I am working on a IoT solution that will save weather data. I have googled for some days now on how to set up the backend. I am going to use Azure IoT Hub for handling communication, but the next step is the problem. I want to store the telemetry to…
9
votes
4 answers

Azure Functions - how to set up IoTHubTrigger for my IoTHub messages?

How do I setup and configure an IoTHubTrigger correctly to trigger an Azure Function (C#) for my IoTHub messages? Where and how do I plug in my IoTHub's connection string?
Stefan Wick MSFT
  • 13,600
  • 1
  • 32
  • 51
8
votes
3 answers

Azure IoT Edge vs Protocol Gateway (IoT Hub)

Our existing IoT Platform uses Azure Protocol Gateway and is working well. I just realized that MS Azure has launched a newer version for Protocol Gateway called IoT Edge. I was just looking for the new feature available in IoT Edge and now I'm…
DSA
  • 720
  • 2
  • 9
  • 30
8
votes
3 answers

Azure IoT Hub, EventHub and Functions

I have an IoTHub with a route that points to an EventHub which triggers a Functions. I'm having problem getting the DeviceId and other IoT Hub properties from the event object without adding those explicitly to the payload. If I set the input type…
Kimmen
  • 717
  • 6
  • 18
7
votes
0 answers

Arduino MKR1000 How to send Message to Azure IoT Hub

I am trying to setup a basic example of sending a message from the Arduino MKR1000 to the Azure IOT Event Hub but can't seem to get any of the online examples to work and I am new to Arduino. Any pointers for a simple working example? I tried this…
Andrew
  • 9,967
  • 10
  • 64
  • 103
7
votes
2 answers

Azure Function Event Hub Trigger reliability

I'm a bit confused regarding the EventHubTrigger for Azure functions. I've got an IoT Hub, and am using its eventhub-compatible endpoint to trigger an Azure function that is going to process and store the received data. However, if my function fails…
Schweder
  • 1,464
  • 2
  • 13
  • 19
7
votes
1 answer

High CPU Azure Worker Role

so this is a fairly broad question but have run out of ideas. We are currently running 2 worker role instances that does the following : Monitors and processes IoT Hub events by spawning N threads for each batch. Monitors and processes…
David
  • 693
  • 7
  • 20
7
votes
1 answer

Azure IoT hub is taking more than 2 sec to push messages to mqtt device

We have a number of devices (around 50-60 devices) connecting via MQTT to IoTHub. To save battery, our devices wake up once every 5 min, stay awake for 1 sec to get any messages and if there is nothing they goes back to sleep. This was working fine…
Has AlTaiar
  • 4,052
  • 2
  • 36
  • 37
7
votes
3 answers

Streaming Analytics job not receiving inputs from IOT hub

I followed a IOT Hub tutorial and got it working. I then created a Stream Analytics job and used the above as an Input (which upon test connection works). However I do not see any inputs being received. When running a sample test I get the…
dataEng
  • 83
  • 2
  • 7
1
2 3
99 100