Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Um die angeschlossenen Komponenten an einer Anlage abfragen zu können, nutzen Sie bitte folgenden API Call

{{baseURL}}/api/v1/{{portal}}/datasource/plant/{{plant}}/components/{{date}}

Das Datum muss folgendes Format YYYY-MM-DD haben.
Zum Beispiel 2022-03-24.

Die erwartete Antwort sieht z.B. so aus:

[
    {
        "id": "{uuid}",
        "mpptrackers": [
            {
                "id": "{uuid}",
                "moduleString": null,
                "trackerindex": 1,
                "moduleField": {
                    "id": "{uuid}",
                    "label": "1",
                    "index": 1,
                    "orientation": null,
                    "tilt": null,
                    "monitored": true
                },
                "size": 9000,
                "name": "MPPT 1",
                "visualizationChannels": [
                    "ProdPdc",
                    "ProdPdcNorm",
                    "ProdUdc",
                    "ProdIdc"
                ]
            },
            {
                "id": "{uuid}",
                "moduleString": null,
                "trackerindex": 2,
                "moduleField": {
                    "id": "{uuid}",
                    "label": "1",
                    "index": 1,
                    "orientation": null,
                    "tilt": null,
                    "monitored": true
                },
                "size": 9000,
                "name": "MPPT 2",
                "visualizationChannels": [
                    "ProdPdc",
                    "ProdPdcNorm",
                    "ProdUdc",
                    "ProdIdc"
                ]
            },
            {
                "id": "{uuid}",
                "moduleString": null,
                "trackerindex": 3,
                "moduleField": {
                    "id": "{uuid}",
                    "label": "1",
                    "index": 1,
                    "orientation": null,
                    "tilt": null,
                    "monitored": true
                },
                "size": 9000,
                "name": "MPPT 3",
                "visualizationChannels": [
                    "ProdPdc",
                    "ProdPdcNorm",
                    "ProdUdc",
                    "ProdIdc"
                ]
            },
            {
                "id": "{uuid}",
                "moduleString": null,
                "trackerindex": 4,
                "moduleField": {
                    "id": "{uuid}",
                    "label": "1",
                    "index": 1,
                    "orientation": null,
                    "tilt": null,
                    "monitored": true
                },
                "size": 9000,
                "name": "MPPT 4",
                "visualizationChannels": [
                    "ProdPdc",
                    "ProdPdcNorm",
                    "ProdIdc",
                    "ProdUdc"
                ]
            }
        ],
        "moduleStrings": [],
        "moduleField": null,
        "errorDetectionSettings": {
            "id": "{uuid}",
            "active": 1,
            "deviation": 10,
            "notificationEmail": true,
            "notificationSms": false,
            "notificationRelais": false,
            "notificationLed": false,
            "production": 20,
            "faultduration": 1800,
            "alerts": 3,
            "snow": false,
            "periodstart": "11:00",
            "periodend": "13:00"
        },
        "componentstatuserrors": [
            {
                "id": "{uuid}",
                "dataIndex": 0,
                "type": "error",
                "coderangefrom": 1,
                "coderangeto": 199,
                "notification": 1,
                "faultduration": 600,
                "notificationlimit": 1,
                "active": true
            },
            {
                "id": "{uuid}",
                "dataIndex": 1,
                "type": "none",
                "coderangefrom": 0,
                "coderangeto": 0,
                "notification": 0,
                "faultduration": 30,
                "notificationlimit": 0,
                "active": false
            },
            {
                "id": "{uuid}",
                "dataIndex": 2,
                "type": "none",
                "coderangefrom": 0,
                "coderangeto": 0,
                "notification": 0,
                "faultduration": 30,
                "notificationlimit": 0,
                "active": false
            },
            {
                "id": "{uuid}",
                "dataIndex": 3,
                "type": "none",
                "coderangefrom": 0,
                "coderangeto": 0,
                "notification": 0,
                "faultduration": 30,
                "notificationlimit": 0,
                "active": false
            }
        ],
        "type": "Inverter",
        "dataindex": 0,
        "sortOrder": 0,
        "name": "WR 1",
        "manufacturer": "Huawei",
        "size": 36000,
        "acPower": 40000,
        "connectionAddress": "6/21010730236TJ7902054",
        "interface": "RS485-B",
        "classes": [
            "production"
        ],
        "minimumIrradiationThreshold": 60,
        "visualizationChannels": [
            "ProdPac",
            "ProdPacNorm",
            "ProdPdc",
            "ProdPdcNorm",
            "ProdEtotal",
            "Temp",
            "ProdUac",
            "ProdIac",
            "TechAv"
        ]
    },
    {
        "id": "{uuid}",
        "mpptrackers": [
            {
                "id": "{uuid}",
                "moduleString": null,
                "trackerindex": 1,
                "moduleField": {
                    "id": "{uuid}",
                    "label": "1",
                    "index": 1,
                    "orientation": null,
                    "tilt": null,
                    "monitored": true
                },
                "size": 9000,
                "name": "MPPT 1",
                "visualizationChannels": [
                    "ProdPdc",
                    "ProdPdcNorm",
                    "ProdUdc",
                    "ProdIdc"
                ]
            },
            {
                "id": "{uuid}",
                "moduleString": null,
                "trackerindex": 2,
                "moduleField": {
                    "id": "{uuid}",
                    "label": "1",
                    "index": 1,
                    "orientation": null,
                    "tilt": null,
                    "monitored": true
                },
                "size": 9000,
                "name": "MPPT 2",
                "visualizationChannels": [
                    "ProdPdc",
                    "ProdPdcNorm",
                    "ProdUdc",
                    "ProdIdc"
                ]
            },
            {
                "id": "{uuid}",
                "moduleString": null,
                "trackerindex": 3,
                "moduleField": {
                    "id": "{uuid}",
                    "label": "1",
                    "index": 1,
                    "orientation": null,
                    "tilt": null,
                    "monitored": true
                },
                "size": 9000,
                "name": "MPPT 3",
                "visualizationChannels": [
                    "ProdPdc",
                    "ProdPdcNorm",
                    "ProdUdc",
                    "ProdIdc"
                ]
            },
            {
                "id": "{uuid}",
                "moduleString": null,
                "trackerindex": 4,
                "moduleField": {
                    "id": "{uuid}",
                    "label": "1",
                    "index": 1,
                    "orientation": null,
                    "tilt": null,
                    "monitored": true
                },
                "size": 9000,
                "name": "MPPT 4",
                "visualizationChannels": [
                    "ProdPdc",
                    "ProdPdcNorm",
                    "ProdIdc",
                    "ProdUdc"
                ]
            }
        ],
        "moduleStrings": [],
        "moduleField": null,
        "errorDetectionSettings": {
            "id": "{uuid}",
            "active": 1,
            "deviation": 10,
            "notificationEmail": true,
            "notificationSms": false,
            "notificationRelais": false,
            "notificationLed": false,
            "production": 20,
            "faultduration": 1800,
            "alerts": 3,
            "snow": false,
            "periodstart": "11:00",
            "periodend": "13:00"
        },
        "componentstatuserrors": [
            {
                "id": "{uuid}",
                "dataIndex": 0,
                "type": "error",
                "coderangefrom": 1,
                "coderangeto": 199,
                "notification": 1,
                "faultduration": 600,
                "notificationlimit": 1,
                "active": true
            },
            {
                "id": "{uuid}",
                "dataIndex": 1,
                "type": "none",
                "coderangefrom": 0,
                "coderangeto": 0,
                "notification": 0,
                "faultduration": 30,
                "notificationlimit": 0,
                "active": false
            },
            {
                "id": "{uuid}",
                "dataIndex": 2,
                "type": "none",
                "coderangefrom": 0,
                "coderangeto": 0,
                "notification": 0,
                "faultduration": 30,
                "notificationlimit": 0,
                "active": false
            },
            {
                "id": "{uuid}",
                "dataIndex": 3,
                "type": "none",
                "coderangefrom": 0,
                "coderangeto": 0,
                "notification": 0,
                "faultduration": 30,
                "notificationlimit": 0,
                "active": false
            }
        ],
        "type": "Inverter",
        "dataindex": 1,
        "sortOrder": 1,
        "name": "WR 2",
        "manufacturer": "Huawei",
        "size": 36000,
        "acPower": 40000,
        "connectionAddress": "7/21010730236TJ7902094",
        "interface": "RS485-B",
        "classes": [
            "production"
        ],
        "minimumIrradiationThreshold": 60,
        "visualizationChannels": [
            "ProdPac",
            "ProdPacNorm",
            "ProdPdc",
            "ProdPdcNorm",
            "ProdEtotal",
            "Temp",
            "ProdUac",
            "ProdIac",
            "TechAv"
        ]
    }
]

TitleCreatorModified
Postman vorbereitenBenjamin GroetznerJul 02, 2024
ClientSecret und ClientID erstellenBenjamin GroetznerMar 19, 2024
Verfügbare API DatenpunkteBenjamin GroetznerNov 29, 2023
Daten mit xComponentIds abfragenBenjamin GroetznerSept 20, 2023
Mehrere Komponenten in einem API Call abfragenBenjamin GroetznerAug 10, 2023
Epochen und CrossEpochenBenjamin GroetznerJun 27, 2023
Angeschlossene Komponenten abfragenBenjamin GroetznerJun 27, 2023
Importieren von Umgebungsdatei und CollectionBenjamin GroetznerFeb 03, 2023
Parameter für itemsPerPage ändernBenjamin GroetznerMar 18, 2022
Pagination von API callsBenjamin GroetznerMar 18, 2022
  • No labels