824 lines
38 KiB
JSON
824 lines
38 KiB
JSON
{
|
|
"name": "energyMocks",
|
|
"displayName": "Mock Devices for the Energy Experience",
|
|
"id": "a45e07fc-6ccc-40af-b7ad-bac4a003e775",
|
|
"vendors": [
|
|
{
|
|
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
|
|
"name": "nymea",
|
|
"displayName": "nymea",
|
|
"thingClasses": [
|
|
{
|
|
"name": "meter",
|
|
"displayName": "Mocked Meter",
|
|
"id": "2721a051-6e12-471a-baba-21d87c4cebc9",
|
|
"createMethods": ["user"],
|
|
"interfaces": ["energymeter", "connectable"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "7abcc8a1-08b1-45bc-9116-10f9848359f9",
|
|
"name": "port",
|
|
"displayName": "Port",
|
|
"type": "uint",
|
|
"defaultValue": 6655
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "3b393e45-594d-436a-bbd3-1f9b18ad9cfe",
|
|
"name": "connected",
|
|
"displayName": "Connected",
|
|
"type": "bool",
|
|
"cached": false,
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "db018146-0441-4dc0-9834-6d43ebaf8311",
|
|
"name": "voltagePhaseA",
|
|
"displayName": "Voltage phase A",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"defaultValue": 230
|
|
},
|
|
{
|
|
"id": "f0bae0af-2cde-4615-a36b-c81d7b233ebe",
|
|
"name": "voltagePhaseB",
|
|
"displayName": "Voltage phase B",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"defaultValue": 230
|
|
},
|
|
{
|
|
"id": "fb76f2a8-0ace-4655-b368-1508843a15c6",
|
|
"name": "voltagePhaseC",
|
|
"displayName": "Voltage phase C",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"defaultValue": 230
|
|
},
|
|
{
|
|
"id": "00668c48-8b12-449a-907b-6744d65b021e",
|
|
"name": "currentPhaseA",
|
|
"displayName": "Current phase A",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "6cd08b22-3a54-43a8-b828-b6ebb49678bb",
|
|
"name": "currentPhaseB",
|
|
"displayName": "Current phase B",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "c9e196ec-0b59-43df-9ca6-4e318a63bf0f",
|
|
"name": "currentPhaseC",
|
|
"displayName": "Current phase C",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "f0490dd9-79ac-41ff-a952-083ed683687d",
|
|
"name": "currentPower",
|
|
"displayName": "Current power",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "e9776745-6f43-408d-9a4c-e5d74c711800",
|
|
"name": "originalPower",
|
|
"displayName": "Original current power (simulation)",
|
|
"displayNameAction": "Set original current power (simulation)",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"writable": "true",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "ae450e65-2bbd-4054-84d6-b8f766b3d7cf",
|
|
"name": "currentPowerPhaseA",
|
|
"displayName": "Current power phase A",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "dde0c5cf-9ce7-4e0d-979c-56d52d31eb25",
|
|
"name": "currentPowerPhaseB",
|
|
"displayName": "Current power phase B",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "cfdc65bf-8e5a-40dd-acf3-79f3b86fd808",
|
|
"name": "currentPowerPhaseC",
|
|
"displayName": "Current power phase C",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "8945c576-1e13-4611-adc8-4123b18d3a70",
|
|
"name": "totalEnergyConsumed",
|
|
"displayName": "Total energy consumed",
|
|
"type": "double",
|
|
"unit": "KiloWattHour",
|
|
"defaultValue": 0.00
|
|
},
|
|
{
|
|
"id": "0420b758-e77f-4cf5-a30b-a6e1235b1efd",
|
|
"name": "totalEnergyProduced",
|
|
"displayName": "Total energy produced",
|
|
"type": "double",
|
|
"unit": "KiloWattHour",
|
|
"defaultValue": 0.00
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "charger",
|
|
"displayName": "Mocked charger",
|
|
"id": "5a3ae99f-c7da-46df-9104-f477be4606b7",
|
|
"createMethods": ["user"],
|
|
"interfaces": ["evcharger", "smartmeterconsumer", "connectable"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "652624a2-8f9a-4bc3-b34f-5e3492af4d30",
|
|
"name": "port",
|
|
"displayName": "Port",
|
|
"type": "uint",
|
|
"defaultValue": 6656
|
|
},
|
|
{
|
|
"id": "facd5c76-d15e-4e29-9929-5e1764ae05dc",
|
|
"name": "phases",
|
|
"displayName": "Phases connected",
|
|
"type": "QString",
|
|
"allowedValues": ["A", "B", "C", "AB", "BC", "AC", "ABC"],
|
|
"defaultValue": "A"
|
|
},
|
|
{
|
|
"id": "234c6676-1ec0-4eff-bed0-ecee7ce82074",
|
|
"name": "maxChargingCurrentUpperLimit",
|
|
"displayName": "Maximum charging current",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 32
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "6c18e134-0420-41b3-974c-869b5e7125e4",
|
|
"name": "connected",
|
|
"displayName": "Connected",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "13672543-9344-4d55-afd6-6393ae052f18",
|
|
"name": "power",
|
|
"displayName": "Charging enabled",
|
|
"displayNameAction": "Enable/disable charging",
|
|
"type": "bool",
|
|
"defaultValue": true,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "e7566b5b-8258-486e-b0ed-42a1bee332d9",
|
|
"name": "maxChargingCurrent",
|
|
"displayName": "Maximum charging current",
|
|
"displayNameAction": "Set maximum charging current",
|
|
"type": "uint",
|
|
"defaultValue":6,
|
|
"minValue": 6,
|
|
"maxValue": 32,
|
|
"unit": "Ampere",
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "aadf7384-5953-48b3-aedc-5c3835a61639",
|
|
"name": "totalEnergyConsumed",
|
|
"displayName": "Total consumed energy",
|
|
"type": "double",
|
|
"unit": "KiloWattHour",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "13f8f008-aa70-4772-9fb8-81a9674dd6ad",
|
|
"name": "pluggedIn",
|
|
"displayName": "Car is plugged in",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "63879844-6342-45ed-8e97-276e0f3092e5",
|
|
"name": "charging",
|
|
"displayName": "Charging",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "728aa4b2-0c90-40da-9a46-6f07ab6a1497",
|
|
"name": "phaseCount",
|
|
"displayName": "Active phases",
|
|
"type": "uint",
|
|
"minValue": 1,
|
|
"maxValue": 3,
|
|
"defaultValue": 1
|
|
},
|
|
{
|
|
"id": "cc3abc60-42e1-421d-b32e-37c2c9a113a3",
|
|
"name": "usedPhases",
|
|
"displayName": "Used phases",
|
|
"type": "QString",
|
|
"possibleValues": ["A", "B", "C", "AB", "BC", "AC", "ABC"],
|
|
"defaultValue": "A"
|
|
},
|
|
{
|
|
"id": "9eb201d2-9989-4516-82cb-f14aee15c580",
|
|
"name": "voltagePhaseA",
|
|
"displayName": "Voltage phase A",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"defaultValue": 230
|
|
},
|
|
{
|
|
"id": "06be3d4e-f4c9-4bd7-b584-b60e1decd91f",
|
|
"name": "voltagePhaseB",
|
|
"displayName": "Voltage phase B",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"defaultValue": 230
|
|
},
|
|
{
|
|
"id": "e327de62-c7da-4816-9bcd-1547ac704879",
|
|
"name": "voltagePhaseC",
|
|
"displayName": "Voltage phase C",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"defaultValue": 230
|
|
},
|
|
{
|
|
"id": "025298dc-863a-42f4-8834-ad6e6cf4a42f",
|
|
"name": "currentPhaseA",
|
|
"displayName": "Current phase A",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "ed7ee826-3a7b-451e-bec4-ac7a8ca7f367",
|
|
"name": "currentPhaseB",
|
|
"displayName": "Current phase B",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "7ab9b93a-e233-4fe2-9d2c-d03b347bc9b9",
|
|
"name": "currentPhaseC",
|
|
"displayName": "Current phase C",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "09e9a514-7e37-475b-8e17-abdddf49e8d7",
|
|
"name": "currentPowerPhaseA",
|
|
"displayName": "Current power phase A",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "4f27a8f1-5061-4de5-b639-93fd02814d16",
|
|
"name": "currentPowerPhaseB",
|
|
"displayName": "Current power phase B",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "859d3a00-5896-44a9-b1f4-e44757079c44",
|
|
"name": "currentPowerPhaseC",
|
|
"displayName": "Current power phase C",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "89d5bab8-3fad-41e4-a3cb-55cd673bbb6c",
|
|
"name": "currentPower",
|
|
"displayName": "Current power consumption",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
}
|
|
],
|
|
"actionTypes": [
|
|
{
|
|
"id": "924174ed-e2ed-4d28-b2de-750cf01e41e3",
|
|
"name": "update",
|
|
"displayName": "update"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "chargerPhaseSwitching",
|
|
"displayName": "Mocked charger with phase count switching",
|
|
"id": "9208d9f0-280c-469d-a145-106f3277470c",
|
|
"createMethods": ["user"],
|
|
"interfaces": ["evcharger", "smartmeterconsumer", "connectable"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "d4492038-51bf-4f3c-8b93-89af4d8edd6b",
|
|
"name": "port",
|
|
"displayName": "Port",
|
|
"type": "uint",
|
|
"defaultValue": 6660
|
|
},
|
|
{
|
|
"id": "fb64b557-d4ee-4a89-9141-0c585ee476c9",
|
|
"name": "phases",
|
|
"displayName": "Phases connected",
|
|
"type": "QString",
|
|
"allowedValues": ["A", "B", "C", "AB", "BC", "AC", "ABC"],
|
|
"defaultValue": "ABC"
|
|
},
|
|
{
|
|
"id": "7c1a941d-3eb2-4c6b-90b5-b0faf82dcb73",
|
|
"name": "maxChargingCurrentUpperLimit",
|
|
"displayName": "Maximum charging current",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 32
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "5e3a239f-32bf-4009-9c01-a58bd909ec1b",
|
|
"name": "connected",
|
|
"displayName": "Connected",
|
|
"displayNameAction": "Set connected",
|
|
"type": "bool",
|
|
"defaultValue": true,
|
|
"cached": false,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "a5af9817-71c4-4136-8bf0-15566b857d77",
|
|
"name": "power",
|
|
"displayName": "Charging enabled",
|
|
"displayNameAction": "Enable/disable charging",
|
|
"type": "bool",
|
|
"defaultValue": true,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "21733c46-f21b-4a7f-8c8e-2fcbc30dc696",
|
|
"name": "maxChargingCurrent",
|
|
"displayName": "Maximum charging current",
|
|
"displayNameAction": "Set maximum charging current",
|
|
"type": "uint",
|
|
"defaultValue":6,
|
|
"minValue": 6,
|
|
"maxValue": 32,
|
|
"unit": "Ampere",
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "9172ee24-b3fd-4a6a-805b-9c544b515b22",
|
|
"name": "totalEnergyConsumed",
|
|
"displayName": "Total consumed energy",
|
|
"type": "double",
|
|
"unit": "KiloWattHour",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "fdd5c075-72f8-48e1-bc07-5ec69bae6179",
|
|
"name": "pluggedIn",
|
|
"displayName": "Car is plugged in",
|
|
"displayNameAction": "Set car plugged in",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"cached": false,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "3dfa9094-15e7-476e-93d0-d63eeb35b75b",
|
|
"name": "charging",
|
|
"displayName": "Charging",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "b20fa067-3960-4cea-81a8-0ec4cbd71772",
|
|
"name": "phaseCount",
|
|
"displayName": "Active phases",
|
|
"type": "uint",
|
|
"minValue": 1,
|
|
"maxValue": 3,
|
|
"defaultValue": 1
|
|
},
|
|
{
|
|
"id": "fcb72b1d-9c22-491e-8b71-ac3cfb5999cc",
|
|
"name": "usedPhases",
|
|
"displayName": "Used phases",
|
|
"type": "QString",
|
|
"possibleValues": ["A", "B", "C", "AB", "BC", "AC", "ABC"],
|
|
"defaultValue": "A"
|
|
},
|
|
{
|
|
"id": "b3c4618a-223f-4c97-80e8-04a2fb490083",
|
|
"name": "desiredPhaseCount",
|
|
"displayName": "Desired number of charging phases",
|
|
"displayNameAction": "Set desired number of charging phases",
|
|
"type": "uint",
|
|
"possibleValues": [1, 3],
|
|
"defaultValue": 1,
|
|
"minValue": 1,
|
|
"maxValue": 3,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "9f26b3c4-49f9-4c8b-a817-83a89123fbfe",
|
|
"name": "voltagePhaseA",
|
|
"displayName": "Voltage phase A",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"defaultValue": 230
|
|
},
|
|
{
|
|
"id": "e594b053-7aca-492c-be24-db8f3317dde9",
|
|
"name": "voltagePhaseB",
|
|
"displayName": "Voltage phase B",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"defaultValue": 230
|
|
},
|
|
{
|
|
"id": "e8ce20ed-bb84-407c-8322-ad6e1db0be7b",
|
|
"name": "voltagePhaseC",
|
|
"displayName": "Voltage phase C",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"defaultValue": 230
|
|
},
|
|
{
|
|
"id": "2655e3ee-3796-478d-9300-45b040e1b2a8",
|
|
"name": "currentPhaseA",
|
|
"displayName": "Current phase A",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "b685bfca-09dd-4e92-b7a0-ce881a49c8a0",
|
|
"name": "currentPhaseB",
|
|
"displayName": "Current phase B",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "6455b33a-8d88-46e7-ae6a-7b7f6d5ee3c3",
|
|
"name": "currentPhaseC",
|
|
"displayName": "Current phase C",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "5e2eaa88-92f6-49c8-9d18-154339627d5d",
|
|
"name": "currentPowerPhaseA",
|
|
"displayName": "Current power phase A",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "3a6bcaa4-f126-486e-9749-6978e3765c92",
|
|
"name": "currentPowerPhaseB",
|
|
"displayName": "Current power phase B",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "acc9e040-5ed9-4813-843b-89fa974c9ed5",
|
|
"name": "currentPowerPhaseC",
|
|
"displayName": "Current power phase C",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "7456d821-3e1e-4e5e-901d-4b01a8ff60f3",
|
|
"name": "currentPower",
|
|
"displayName": "Current power consumption",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
}
|
|
],
|
|
"actionTypes": [
|
|
{
|
|
"id": "38f3c302-e0eb-4c8c-ba2f-86ca8576dee7",
|
|
"name": "update",
|
|
"displayName": "update"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "simpleCharger",
|
|
"displayName": "Mocked charger simple",
|
|
"id": "29bcf255-b654-4764-be92-399bc26fe7c3",
|
|
"createMethods": ["user"],
|
|
"interfaces": ["evcharger", "connectable"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "e94f863b-47a2-44e4-8103-bb4b8a817f47",
|
|
"name": "port",
|
|
"displayName": "Port",
|
|
"type": "uint",
|
|
"defaultValue": 6657
|
|
},
|
|
{
|
|
"id": "61943026-985b-4728-bfaa-299d0fbcdcae",
|
|
"name": "maxChargingCurrentUpperLimit",
|
|
"displayName": "Upper limit for maximum charging current",
|
|
"type": "double",
|
|
"unit": "Ampere",
|
|
"defaultValue": 32
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "3673e3bb-5b71-4e9c-86af-86c0b9501a91",
|
|
"name": "connected",
|
|
"displayName": "Connected",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "ef25740d-01d4-43d2-95b0-4885a1d3e098",
|
|
"name": "power",
|
|
"displayName": "Charging enabled",
|
|
"displayNameAction": "Enable/disable charging",
|
|
"type": "bool",
|
|
"defaultValue": true,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "1f54e72f-c815-4fea-b57d-ddde940bfca9",
|
|
"name": "maxChargingCurrent",
|
|
"displayName": "Maximum charging current",
|
|
"displayNameAction": "Set maximum charging current",
|
|
"type": "uint",
|
|
"defaultValue":6,
|
|
"minValue": 6,
|
|
"maxValue": 32,
|
|
"unit": "Ampere",
|
|
"writable": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "car",
|
|
"displayName": "Mocked car",
|
|
"id": "4513f801-836e-40a7-8784-c02650a9bdc6",
|
|
"createMethods": ["user"],
|
|
"interfaces": ["electricvehicle"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "29533bc8-d71e-4ce5-8ce3-bf87f0370391",
|
|
"name": "port",
|
|
"displayName": "Port",
|
|
"type": "uint",
|
|
"defaultValue": 6658
|
|
}
|
|
],
|
|
"settingsTypes": [
|
|
{
|
|
"id": "1bb8e350-0e9f-4ab5-b814-8fd4ac8900a0",
|
|
"name": "minChargingCurrent",
|
|
"displayName": "Minimum charging current",
|
|
"type": "uint",
|
|
"unit": "Ampere",
|
|
"minValue": 4,
|
|
"maxValue": 16,
|
|
"defaultValue": 6
|
|
},
|
|
{
|
|
"id": "0f76f85f-7c53-48ce-9396-ea19c5aa16aa",
|
|
"name": "capacity",
|
|
"displayName": "Capacity",
|
|
"type": "uint",
|
|
"unit": "KiloWattHour",
|
|
"minValue": 5,
|
|
"maxValue": 200,
|
|
"defaultValue": 50
|
|
},
|
|
{
|
|
"id": "01978cc7-ceed-4332-87ca-937f366c6d51",
|
|
"name": "phaseCount",
|
|
"displayName": "Phase count",
|
|
"type": "uint",
|
|
"minValue": 1,
|
|
"maxValue": 3,
|
|
"defaultValue": 1
|
|
},
|
|
{
|
|
"id": "08b07382-35a5-4b40-8e43-321e12fbd2ce",
|
|
"name": "chargingEnergyLoss",
|
|
"displayName": "Charging energy loss",
|
|
"type": "uint",
|
|
"unit": "Percentage",
|
|
"minValue": 5,
|
|
"maxValue": 35,
|
|
"defaultValue": 10
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "ce46c9d2-00d9-46f1-bc4f-9f2569393c70",
|
|
"name": "capacity",
|
|
"displayName": "Capacity",
|
|
"type": "double",
|
|
"unit": "KiloWattHour",
|
|
"defaultValue": 50
|
|
},
|
|
{
|
|
"id": "2d6308d4-6ac1-43af-a374-b0ff79dfcb46",
|
|
"name": "batteryCritical",
|
|
"displayName": "Battery level critical",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "8aeadf2e-4d5a-4a38-a5a5-299c5b751b9e",
|
|
"name": "batteryLevel",
|
|
"displayName": "Battery level",
|
|
"displayNameAction": "Set battery level",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"writable": true,
|
|
"minValue": 0,
|
|
"maxValue": 100,
|
|
"defaultValue": 100
|
|
},
|
|
{
|
|
"id": "2536227c-9b17-462d-8d87-df2fb80eb72c",
|
|
"name": "minChargingCurrent",
|
|
"displayName": "Minimum charging current",
|
|
"type": "uint",
|
|
"unit": "Ampere",
|
|
"minValue": 6,
|
|
"maxValue": 16,
|
|
"defaultValue": 6
|
|
},
|
|
{
|
|
"id": "96b9ce94-ed47-46db-bacd-2dcb5333031c",
|
|
"name": "phaseCount",
|
|
"displayName": "Phase count",
|
|
"type": "uint",
|
|
"minValue": 1,
|
|
"maxValue": 3,
|
|
"defaultValue": 1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "notification",
|
|
"displayName": "Mocked notification",
|
|
"id": "ee1871b8-46f9-4784-bbe1-e33db16b8753",
|
|
"createMethods": ["user"],
|
|
"interfaces": ["notifications"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "b3d60a6b-05f5-43f9-9ba0-04fb185c7825",
|
|
"name": "port",
|
|
"displayName": "Port",
|
|
"type": "uint",
|
|
"defaultValue": 6659
|
|
}
|
|
],
|
|
"stateTypes": [ ],
|
|
"actionTypes": [
|
|
{
|
|
"id": "28a02de9-0e93-42d7-88bf-539e024f8945",
|
|
"name": "notify",
|
|
"displayName": "notify",
|
|
"paramTypes": [
|
|
{
|
|
"id": "801eb856-9eb3-43f5-9528-ead363bf3fd5",
|
|
"name": "title",
|
|
"displayName": "title",
|
|
"type": "QString",
|
|
"inputType": "TextLine",
|
|
"defaultValue": ""
|
|
},
|
|
{
|
|
"id": "06b8bebc-1ed9-4c19-8146-b9bc032fbcb0",
|
|
"name": "body",
|
|
"displayName": "body",
|
|
"type": "QString",
|
|
"inputType": "TextArea",
|
|
"defaultValue": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "energyStorage",
|
|
"displayName": "Mocked energy storage",
|
|
"id": "d0d5bbf0-249c-46ed-ac6a-5f271b2b0b0f",
|
|
"createMethods": ["user"],
|
|
"interfaces": ["energystorage"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "b074a76f-6382-48b9-b101-1d13904f30c8",
|
|
"name": "port",
|
|
"displayName": "Port",
|
|
"type": "uint",
|
|
"defaultValue": 26659
|
|
},
|
|
{
|
|
"id": "fd56c49e-98e2-4373-bf23-fd8b5a58e339",
|
|
"name": "capacity",
|
|
"displayName": "Capacity",
|
|
"type": "uint",
|
|
"unit": "KiloWattHour",
|
|
"defaultValue": 10
|
|
},
|
|
{
|
|
"id": "769391a8-b801-42fc-af63-90367bf46bdf",
|
|
"name": "maxChargingPowerUpperLimit",
|
|
"displayName": "Upper limit for maximum charging power",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 5000
|
|
},
|
|
{
|
|
"id": "559d9434-9b31-4e0d-a654-2ea1e5f65a82",
|
|
"name": "maxDischargingPowerUpperLimit",
|
|
"displayName": "Upper limit for maximum discharging power",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 11500
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "dfa1f2d2-793e-46a4-8e54-b3ffa40e343e",
|
|
"name": "capacity",
|
|
"displayName": "Capacity",
|
|
"type": "double",
|
|
"unit": "KiloWattHour",
|
|
"defaultValue": 50
|
|
},
|
|
{
|
|
"id": "f218bb34-913a-4f7f-b811-e9d0324d8d37",
|
|
"name": "batteryLevel",
|
|
"displayName": "Battery level",
|
|
"displayNameAction": "Set battery level",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"writable": true,
|
|
"minValue": 0,
|
|
"maxValue": 100,
|
|
"defaultValue": 100
|
|
},
|
|
{
|
|
"id": "7577d0eb-2d4d-41e9-bd59-f750613c265a",
|
|
"name": "currentPower",
|
|
"displayName": "Current power consumption",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "602902a9-9487-4de8-bffb-58121bebd89a",
|
|
"name": "batteryCritical",
|
|
"displayName": "Battery level critical",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|