Requires controller software version 20240917122343.
Generated on studio.asyncapi.com with YAML file.
Information about controller
Accepts the following message:
{
"unitId": "BPH6VH9LR18IVUBC",
"unitIFormattedd": "BPH6-VH9L-R18I-VUBC",
"CPUSerial": "1651664208c13299",
"EMMCSerial": "45010044473430303801f0e4b30d5671",
"ethernetMAC": "80:34:28:36:0b:25",
"wirelessMAC": "",
"osVersion": "20221110094021",
"softwareVersion": "20230119111529",
"hwVersion": "1",
"hasWifiModule": false,
"dso": {
"entity": {
"id": 0,
"name": "string",
"country": null
}
},
"brand": {
"type": {
"id": 0,
"name": "string",
"enumeration": "string"
}
}
}
Controller periodically sends keep alive ad unix timestamp in milliseconds
Accepts the following message:
Readout interval in milliseconds
Accepts the following message:
Set readout interval in milliseconds
Accepts the following message:
Keep alive interval in milliseconds
Accepts the following message:
Set keep alive interval in milliseconds
Accepts the following message:
Re-publish all metadata from controller to MQTT
Accepts the following message:
Reboot the controller
Accepts the following message:
List of all devices on controller
Accepts the following message:
[
{
"id": 1,
"name": "Electricity meter",
"type": {
"id": 1,
"name": "Iskraemeco WM3x6"
},
"category": {
"id": 6,
"name": "Grid",
"enumeration": "GRID"
},
"energyLocation": {
"id": 1,
"name": "Main",
"enumeration": "MAIN"
},
"energyDirection": {
"id": 3,
"name": "Consumption and production",
"enumeration": "CONSUMPTION_AND_PRODUCTION"
},
"pollingDelayRead": 1000,
"pollingDelayWrite": 1000,
"persistSchedule": "*/5 * * * *",
"importExportInvert": false,
"dataTypes": [
{
"id": 0,
"name": "Current L1",
"unit": "A",
"valueType": "FLOAT",
"measurementType": "PERIODIC",
"extType": "NORMAL",
"aggregationType": "NONE",
"enumeration": "CURRENT_L1"
}
]
}
]
Information about device on controller
Accepts the following message:
{
"id": 1,
"name": "Electricity meter",
"type": {
"id": 1,
"name": "Iskraemeco WM3x6"
},
"category": {
"id": 6,
"name": "Grid",
"enumeration": "GRID"
},
"energyLocation": {
"id": 1,
"name": "Main",
"enumeration": "MAIN"
},
"energyDirection": {
"id": 3,
"name": "Consumption and production",
"enumeration": "CONSUMPTION_AND_PRODUCTION"
},
"pollingDelayRead": 1000,
"pollingDelayWrite": 1000,
"persistSchedule": "*/5 * * * *",
"importExportInvert": false,
"dataTypes": [
{
"id": 0,
"name": "Current L1",
"unit": "A",
"valueType": "FLOAT",
"measurementType": "PERIODIC",
"extType": "NORMAL",
"aggregationType": "NONE",
"enumeration": "CURRENT_L1"
}
]
}
Readout of measurements from device
Accepts the following message:
{
"time": "1674129782728",
"values": [
{
"deviceId": 0,
"dataTypeId": 0,
"dataTypeEnum": "IMPORT_ENERGY_ACTIVE",
"time": "1674129782728",
"value": 0
}
]
}
Setpoints for device
Accepts the following message:
{
"values": [
{
"action": "SET",
"type": "POWER_ACTIVE",
"location": "DEFAULT",
"target": "MIN",
"phaseType": "L1",
"value": 1000,
"priority": 0,
"validForTime": 0
}
]
}
Set setpoints for device
Accepts the following message:
{
"values": [
{
"action": "SET",
"type": "POWER_ACTIVE",
"location": "DEFAULT",
"target": "MIN",
"phaseType": "L1",
"value": 1000,
"priority": 0,
"validForTime": 0
}
]
}
List of all strategies on controller
Accepts the following message:
[
{
"id": 1,
"name": "Limit solar power plant grid export",
"type": {
"id": 1,
"name": "Solar power plant production management"
},
"persistSchedule": "*/5 * * * *",
"priority": 100,
"active": true,
"dataTypes": [
{
"id": 0,
"name": "Solar plant - export active power",
"unit": "W",
"valueType": "FLOAT",
"measurementType": "PERIODIC",
"extType": "NORMAL",
"enumeration": "CURRENT_L1",
"parameter": false
}
]
}
]
Information about strategies on controller
Accepts the following message:
{
"id": 1,
"name": "Limit solar power plant grid export",
"type": {
"id": 1,
"name": "Solar power plant production management"
},
"persistSchedule": "*/5 * * * *",
"priority": 100,
"active": true,
"dataTypes": [
{
"id": 0,
"name": "Solar plant - export active power",
"unit": "W",
"valueType": "FLOAT",
"measurementType": "PERIODIC",
"extType": "NORMAL",
"enumeration": "CURRENT_L1",
"parameter": false
}
]
}
Readout of measurements from strategy
Accepts the following message:
{
"time": "1674129782728",
"values": [
{
"strategyId": 0,
"dataTypeId": 0,
"dataTypeEnum": "MAIN_CURRENT_L1",
"time": "1674129782728",
"value": 0
}
]
}
Parameters for strategy
Accepts the following message:
Set value for strategy parameter
Accepts the following message:
Parameters for strategy
Accepts the following message:
{
"id": 0,
"name": "Solar plant - export active power",
"unit": "W",
"valueType": "FLOAT",
"measurementType": "PERIODIC",
"extType": "NORMAL",
"enumeration": "CURRENT_L1",
"parameter": false
}
Status of strategy (active/inactive)
Accepts the following message:
true
false
Status of strategy (active/inactive)
Accepts the following message:
true
false
Unix timestamp in milliseconds