Can we test the Azure IoT Hub without using IoT device?

Priyansh Kumar 1 Reputation point
2022-11-03T13:31:49.467+00:00

Maybe it's a silly question, but we want to know that can we work on Azure IoT Hub without using the IoT Device?

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
379 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Dom 1,466 Reputation points Microsoft Employee
    2022-11-03T13:39:46.537+00:00

    If you mean without using a physical device (such as a Raspberry Pi), then yes.

    There are plenty of ways to simulate the behaviour of an IoT device - you can run all the IoT Hub quickstarts on a Windows or Linux desktop: https://learn.microsoft.com/en-us/azure/iot-develop/quickstart-send-telemetry-iot-hub?toc=%2Fazure%2Fiot-hub%2Ftoc.json&bc=%2Fazure%2Fiot-hub%2Fbreadcrumb%2Ftoc.json&pivots=programming-language-ansi-c

    0 comments No comments

  2. Roman Kiss 2,241 Reputation points
    2022-11-03T16:30:36.35+00:00

    Hi @Priyansh Kumar ,

    Have a look at the Azure IoT Hub Tester. It allows to create a virtual Plug and Play device in isolated app domain and simulate its device model to the Azure IoT Hub directly using the MQTT protocol.

    256891-image.png

    Also,, have a look at the mobil version Azure IoT Central Tester, small tool for exploring Azure IoT Central with Android Phone as a virtual Plug and Play Device (PnP Device).

    Thanks
    Roman

    0 comments No comments

  3. Sander van de Velde 28,386 Reputation points MVP
    2022-11-04T01:07:19.68+00:00

    Hello @Priyansh Kumar ,

    yes, for most customers we build simulations first.

    Most of the time because development is not done near the location of the actual devices to be connected to the cloud.

    This is also used for incidental load testing.

    We mostly build custom simulations but there are already a number of simple device simulations for Azure IoT Hub.

    The most simple one (I think) is this Raspberry PI simulation.

    If you are planning to use Azure IoT Edge, the temperature simulation module is a good starting point.

    If you want to do more elaborate testing, check out this Azure IoT Device Telemetry Simulator. It can also be used for testing at scale.

    0 comments No comments

  4. QuantumCache 20,031 Reputation points
    2023-02-27T06:04:53.9533333+00:00

    Hi,

    Adding few more helpful suggestions!!

    Install and use Azure IoT explorer

    The Azure IoT explorer is a graphical tool for interacting with devices connected to your IoT hub. This article focuses on using the tool to test your IoT Plug and Play devices.

    Use Azure IoT explorer

    For a device, you can either connect your own device, or use one of the sample simulated devices. For some example simulated devices written in different languages, see the Connect a sample IoT Plug and Play device application to IoT Hub tutorial.

    User's image

    Alternatively, you can also use Azure IoT Hub's REST APIs or Azure IoT SDKs to send and receive data from the IoT Hub. With these APIs and SDKs, you can create a simulated IoT device using any programming language of your choice.

    Please comment in the below section for further help in this matter.

    0 comments No comments