Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
---
title: Install and use Azure IoT explorer
description: Install the Azure IoT explorer tool and use it to interact with devices (including IoT Plug and Play devices) connected to your IoT hub.
author: dominicbetts
ms.author: dobett
ms.date: 10/14/2024
ms.update-cycle: 1095-days
ms.topic: how-to
ms.service: azure-iot
services: azure-iot
#Customer intent: As a solution builder, I want to use a GUI tool to interact with IoT Plug and Play devices connected to an IoT hub to test and verify their behavior.
---
# Install and use Azure IoT explorer
[!INCLUDE [iot-authentication-service-connection-string](../../includes/iot-authentication-service-connection-string.md)]
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. After installing the tool on your local machine, you can use it to connect to a hub. You can use the tool to view the telemetry the devices are sending, work with device properties, and invoke commands.
This article shows you how to:
- Install and configure the Azure IoT explorer tool.
- Use the tool to interact with and test your IoT Plug and Play devices.
For more general information about using the tool, see the GitHub [readme](https://github.com/Azure/azure-iot-explorer/blob/master/README.md).
To use the Azure IoT explorer tool, you need:
- An Azure IoT hub. There are many ways to add an IoT hub to your Azure subscription, such as [Creating an IoT hub by using the Azure CLI](../iot-hub/iot-hub-create-using-cli.md). You need the IoT hub connection string to run the Azure IoT explorer tool. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn) before you begin.
- A device registered in your IoT hub. You can use IoT Explorer to create and manage device registrations in your IoT Hub.
## Install Azure IoT explorer
Go to [Azure IoT explorer releases](https://github.com/Azure/azure-iot-explorer/releases) and expand the list of assets for the most recent release. Download and install the most recent version of the application. The installation package configures a way for you to launch the application on your platform. For example, in Windows you can launch the application from the Start menu.
>[!Important]
> Update to version 0.13.x or greater to resolve models from any repository based on [https://github.com/Azure/iot-plugandplay-models](https://github.com/Azure/iot-plugandplay-models)
## Use Azure IoT explorer
For a device, you can either connect your own device, or use one of the sample simulated devices.
### Connect to your hub
The first time you run Azure IoT explorer, you're prompted for your IoT hub's connection string. After you add the connection string, select **Connect**. You can use the tool's settings to switch to another IoT hub by updating the connection string.
The model definition for an IoT Plug and Play device is stored in either the public repository, the connected device, or a local folder. By default, the tool looks for your model definition in the public repository and your connected device. You can add and remove sources, or configure the priority of the sources in **Settings**:
To add a source:
1. Go to **Home/IoT Plug and Play Settings**
2. Select **Add** and choose your source, from a repository or local folder.
To remove a source:
1. Go to **Home/IoT Plug and Play Settings**
2. Find the source you want to remove.
3. Select **X** to remove it.
Change the source priorities:
You can drag and drop one of the model definition sources to a different ranking in the list.
### View devices
After the tool connects to your IoT hub, it displays the **Devices** list page that lists the device identities registered with your IoT hub. You can select any entry in the list to see more information.
On the **Devices** list page you can:
- Select **New** to register a new device with your hub. Then enter a device ID. Use the default settings to automatically generate authentication keys and enable the connection to your hub.
- Select a device and then select **Delete** to delete a device identity. Review the device details before you complete this action to be sure you're deleting the right device identity.
## Interact with a device
On the **Devices** list page, select a value in the **Device ID** column to view the detail page for the registered device. For each device there are two sections: **Device** and **Digital Twin**.
### Device
This section includes the **Device Identity**, **Device Twin**, **Telemetry**, **Direct method**, **Cloud-to-device message**, **Module Identity** tabs.
- You can view and update the [device identity](../iot-hub/iot-hub-devguide-identity-registry.md) information on the **Device identity** tab.
- You can access the [device twin](../iot-hub/iot-hub-devguide-device-twins.md) information on the **Device Twin** tab.
- If a device is connected and actively sending data, you can view the [telemetry](../iot-hub/iot-hub-devguide-messages-read-builtin.md) on the **Telemetry** tab.
- You can call a [direct method](../iot-hub/iot-hub-devguide-direct-methods.md) on the device on the **Direct method** tab.
- You can send a [cloud-to-device message](../iot-hub/iot-hub-devguide-messages-c2d.md) on the **Cloud-to-device messages** tab.
- You can access the [module twin](../iot-hub/iot-hub-devguide-module-twins.md) information.
### IoT Plug and Play components
If the device is connected to the hub using a **Model ID**, the tool shows the **IoT Plug and Play components** tab where you can see the **Model ID**.
If the **Model ID** is available in one of the configured sources - Public Repo or Local Folder, the list of components is displayed. Selecting a component shows the properties, commands, and telemetry available.
On the **Component** page, you can view the read-only properties, update writable properties, invoke commands, and see the telemetry messages produced by this component.
:::image type="content" source="media/howto-use-iot-explorer/components-iot-explorer.png" alt-text="View components in Azure IoT explorer":::
#### Properties
:::image type="content" source="media/howto-use-iot-explorer/properties-iot-explorer.png" alt-text="View properties in Azure IoT explorer":::
You can view the read-only properties defined in an interface on the **Properties (read-only)** tab. You can update the writable properties defined in an interface on the **Properties (writable)** tab:
1. Go to the **Properties (writable)** tab.
1. Select the property you'd like to update.
1. Enter the new value for the property.
1. Preview the payload to be sent to the device.
1. Submit the change.
After you submit a change, you can track the update status: **syncing**, **success**, or **error**. When the syncing is complete, you see the new value of your property in the **Reported Value** column. If you navigate to other pages before the syncing completes, the tool still notifies you when the update is complete. You can also use the tool's notification center to see the notification history.
#### Commands
To send a command to a device, go to the **Commands** tab:
1. Expand the command you want to trigger in the list of commands.
1. Enter any required values for the command.
1. Preview the payload to be sent to the device.
1. Submit the command.
#### Telemetry
To view the telemetry for the selected interface, go to its **Telemetry** tab. Select **Start** to begin receiving telemetry.
#### Known Issues
For a list of the IoT features supported by the latest version of the tool, see [Feature list](https://github.com/Azure/azure-iot-explorer/wiki).