You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-operations/discover-manage-assets/howto-use-onvif-connector.md
+46-1Lines changed: 46 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.service: azure-iot-operations
7
7
ms.topic: how-to
8
8
ms.date: 07/23/2025
9
9
10
-
#CustomerIntent: As an industrial edge IT or operations user, I want configure my Azure IoT Operations environment so that I can disover and use media streams from an ONVIF compliant camera.
10
+
#CustomerIntent: As an industrial edge IT or operations user, I want configure my Azure IoT Operations environment so that I can discover and use media streams from an ONVIF compliant camera.
11
11
---
12
12
13
13
# Configure the connector for ONVIF (preview)
@@ -122,3 +122,48 @@ You can now use the discovered media device to create an asset that captures sna
122
122
:::image type="content" source="media/howto-use-onvif-connector/media-asset-created.png" alt-text="Screenshot that shows the media asset created in the operations experience." lightbox="media/howto-use-onvif-connector/media-asset-created.png":::
123
123
124
124
The media asset is now configured to capture snapshots from the ONVIF compliant camera and publish them to the MQTT broker.
125
+
126
+
## Create an ONVIF asset for event management and control
127
+
128
+
ONVIF compliant cameras can generate events such as motion detection and respond to control commands such as pan, tilt, and zoom. You can create an ONVIF asset from the discovered ONVIF device that captures these events and enables you to control the camera.
129
+
130
+
After you add an ONVIF device in the operations experience, a discovered ONVIF asset is created automatically:
131
+
132
+
:::image type="content" source="media/howto-use-onvif-connector/discovered-onvif-asset.png" alt-text="Screenshot that shows the ONVIF asset discovered from the ONVIF device." lightbox="media/howto-use-onvif-connector/discovered-onvif-asset.png":::
133
+
134
+
To create an ONVIF asset for event management and control:
135
+
136
+
1. Select the discovered asset and then select **Import and create asset**.
137
+
138
+
1. On the **Asset details** page, enter a name and description for the asset. The device inbound endpoint is already selected for you.
139
+
140
+
:::image type="content" source="media/howto-use-onvif-connector/discovered-onvif-asset-detail.png" alt-text="Screenshot that shows the detailed ONVIF asset discovered from the ONVIF device." lightbox="media/howto-use-onvif-connector/discovered-onvif-asset-detail.png":::
141
+
142
+
1. On the **Events** page, select **Manage event groups** to choose the types of event to capture from the camera. You can choose from event groups such as motion detection and camera tampering:
143
+
144
+
:::image type="content" source="media/howto-use-onvif-connector/manage-event-groups.png" alt-text="Screenshot that shows the manage event groups page for the ONVIF asset." lightbox="media/howto-use-onvif-connector/manage-event-groups.png":::
145
+
146
+
1. For each event group you keep, configure the MQTT topic it publishes to:
147
+
148
+
:::image type="content" source="media/howto-use-onvif-connector/event-group-detail.png" alt-text="Screenshot that shows how to configure an event group." lightbox="media/howto-use-onvif-connector/event-group-detail.png":::
149
+
150
+
1. On the **Actions** page, select **Manage management groups** to choose the actions, such as pan, tilt, and zoom, that you want to use to control the ONVIF camera.
151
+
152
+
:::image type="content" source="media/howto-use-onvif-connector/manage-management-groups.png" alt-text="Screenshot that shows the manage management groups page for the ONVIF asset." lightbox="media/howto-use-onvif-connector/manage-management-groups.png":::
153
+
154
+
1. For each management group you keep, configure the MQTT topic it subscribes to:
155
+
156
+
:::image type="content" source="media/howto-use-onvif-connector/management-group-detail.png" alt-text="Screenshot that shows how to configure a management group." lightbox="media/howto-use-onvif-connector/management-group-detail.png":::
157
+
158
+
1. Review the summary of the ONVIF asset configuration and then select **Create** to create the asset. After a few minutes, the **Assets** page shows the new asset.
159
+
160
+
## Manage and control the camera
161
+
162
+
To interact with the ONVIF camera, you can publish MQTT messages that the connector for ONVIF subscribes to. The message format is based on the [ONVIF network interface specifications](https://www.onvif.org/profiles/specifications/).
163
+
164
+
The [Azure IoT Operations connector for ONVIF PTZ Demo](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/aio-onvif-connector-ptz-demo) sample application shows how to use the connector for ONVIF to:
165
+
166
+
- Use the media asset definition to retrieve a profile token from the camera's media service.
167
+
- Use the profile token when you use the camera's PTZ capabilities control its position and orientation.
168
+
169
+
The sample application uses the Azure IoT Operations MQTT broker to send commands to interact with the connector for ONVIF. To learn more, see [Publish and subscribe MQTT messages using MQTT broker](../manage-mqtt-broker/overview-broker.md).
0 commit comments