Siemens MindConnect Nano System Manual page 96

Insights hub
Hide thumbs Also See for MindConnect Nano:
Table of Contents

Advertisement

Remote functions
6.2 Send commands for MindConnect Nano
Commanding Device via API
In order to command the device, there are 3 critical id's that needs to be get from the system.
Those id's are deviceId, datasourceId and datapointId. To get the id's, follow these steps:
Getting deviceId
You can "GET" the "id" of your device using the "id" of your asset with a below request.
/api/devicemanagement/v3/devices?assetId={id} In the response, device id will be displayed. For
more information,
Getting datasourceId and datapointId
In the second step, we need to make a request to mindconnectdevicemanagment service to
"GET" the id of the datasource and the datapoint.
/api/mindconnectdevicemanagement/v3/devices/{assetId}/dataConfig
In the response of this request the id's will be displayed and should be exdtracted for the final api
call. Below is the response for the above request. The "id" field in dataSource item represents the
datasourceId and the dataPointId represents the "id" of the datapoint.
{
"id": "392fe515-5b61-439d-814d-b37b9fa7ef7b",
"agentId": "25137086d6c141b682d9fcb135c8168e",
"uploadCycle": "10",
"configurationId": "1650623649731",
"dataSources": [
{
"id": "326340f5-88c6-409a-a5d9-03e95ce7af94",
"name": "WindTurbine",
"description": "datasource_description",
"protocol": "S7",
MindConnect Nano
System Manual 7/2023
Device Management Service
see documentation.
96

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mindconnect iot2040

Table of Contents