{
    "name": "Kostal",
    "displayName": "Kostal",
    "id": "51a2c7d5-084d-4474-a65a-e0447ab9ac45",
    "vendors": [
        {
            "name": "kostal",
            "displayName": "KOSTAL Solar Electric",
            "id": "862d1ebf-cb78-4c55-89b2-819fddfd9acd",
            "thingClasses": [
                {
                    "name": "kostalInverter",
                    "displayName": "KOSTAL Inverter",
                    "id": "7dc6db14-6f5a-4ac8-9684-4c6a526bd0de",
                    "createMethods": ["discovery", "user"],
                    "interfaces": ["solarinverter", "connectable", "networkdevice"],
                    "providedInterfaces": [ "energymeter", "energystorage"],
                    "discoveryParamTypes": [
                        {
                            "id": "6cf2cb34-dc61-4ad1-9ae1-1177785f2d4a",
                            "name":"port",
                            "displayName": "Port",
                            "type": "int",
                            "defaultValue": 1502
                        },
                        {
                            "id": "2a6d75d9-286d-48cb-83fd-acfb99258ba7",
                            "name":"slaveId",
                            "displayName": "Slave ID",
                            "type": "int",
                            "defaultValue": 71
                        }
                    ],
                    "paramTypes": [
                        {
                            "id": "906f6099-d0e1-4297-a2b3-f8ec4482c578",
                            "name":"macAddress",
                            "displayName": "MAC address",
                            "type": "QString",
                            "inputType": "MacAddress",
                            "defaultValue": ""
                        },
                        {
                            "id": "c922c2ec-40d9-40cd-81dd-68141b178a0c",
                            "name": "hostName",
                            "displayName": "Host name",
                            "type": "QString",
                            "inputType": "TextLine",
                            "defaultValue": ""
                        },
                        {
                            "id": "b8aeb35e-06e9-4e52-90ce-dd8712fb7527",
                            "name": "address",
                            "displayName": "IP address",
                            "type": "QString",
                            "inputType": "IPv4Address",
                            "defaultValue": ""
                        },
                        {
                            "id": "7c701af9-a172-47a0-bb7b-30f37f63ac95",
                            "name": "serialNumber",
                            "displayName": "serialNumber",
                            "type": "QString",
                            "defaultValue": ""
                        },
                        {
                            "id": "9d2175af-afb9-4b31-b3dc-e53a369bad9e",
                            "name":"port",
                            "displayName": "Port",
                            "type": "int",
                            "defaultValue": 1502
                        },
                        {
                            "id": "b3e04cb0-8f9a-4c9f-9c67-5c08da0273e3",
                            "name":"slaveId",
                            "displayName": "Slave ID",
                            "type": "int",
                            "defaultValue": 71
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "8d64954a-855d-44ea-8bc9-88a71ab47b6b",
                            "name": "connected",
                            "displayName": "Connected",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "bd68fa44-2628-4e4e-ac9b-5f2cf563eb4d",
                            "name": "currentPower",
                            "displayName": "Active power",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0,
                            "cached": false
                        },
                        {
                            "id": "5c1546d2-92be-4809-bc56-8bbdaab436d2",
                            "name": "totalEnergyProduced",
                            "displayName": "Total energy produced",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.0,
                            "cached": true
                        },
                        {
                            "id": "567bb3c2-4a0c-4194-a86e-b8dc29815092",
                            "name": "phaseACurrent",
                            "displayName": "Phase A current",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "84e9282a-b72b-4dbf-9e4b-99083e5539a5",
                            "name": "phaseBCurrent",
                            "displayName": "Phase B current",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "4f7c308f-2cb2-4327-8a68-77222f920e61",
                            "name": "phaseCCurrent",
                            "displayName": "Phase C current",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "7fcade2d-9243-4694-a29f-36a517f54844",
                            "name": "voltagePhaseA",
                            "displayName": "Voltage phase A",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "8f1b229d-af39-47ec-b005-eecd6f174294",
                            "name": "voltagePhaseB",
                            "displayName": "Voltage phase B",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "51e0d1c7-e75a-4bc4-a7e4-6170a959e6cc",
                            "name": "voltagePhaseC",
                            "displayName": "Voltage phase C",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "aed44263-d15e-46d6-b6a3-66005ceb53c9",
                            "name": "currentPowerPhaseA",
                            "displayName": "Current power phase A",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "8d8cd634-00dd-46c8-b34b-bbff552d0121",
                            "name": "currentPowerPhaseB",
                            "displayName": "Current power phase B",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "95f1ad78-0cb1-44cf-87b2-03e28b115f00",
                            "name": "currentPowerPhaseC",
                            "displayName": "Current power phase C",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "634a4659-5c73-40e9-a77d-4f2e555d05bb",
                            "name": "frequency",
                            "displayName": "Frequency",
                            "type": "double",
                            "unit": "Hertz",
                            "defaultValue": 0.00,
                            "cached": false
                        }
                    ],
                    "actionTypes": [ ]
                },
                {
                    "name": "kostalMeter",
                    "displayName": "KOSTAL Meter",
                    "id": "61af1e07-6a59-4465-a563-3cbf4a9fcbc3",
                    "createMethods": ["auto"],
                    "interfaces": [ "energymeter", "connectable"],
                    "paramTypes": [
                    ],
                    "stateTypes": [
                        {
                            "id": "5c510989-d6e1-4b06-b10f-f8b9e52a254c",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "992b0da8-e6bd-47ab-af60-be8802fc7ecf",
                            "name": "currentPower",
                            "displayName": "Current power",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "902ce047-ef6b-4868-9f7c-61a2ebe61a5b",
                            "name": "totalEnergyProduced",
                            "displayName": "Total returned energy",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00,
                            "cached": true
                        },
                        {
                            "id": "f40e8bd9-db0e-4f69-8fa1-f1cfd4b144f3",
                            "name": "totalEnergyConsumed",
                            "displayName": "Total imported energy",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00,
                            "cached": true
                        },
                        {
                            "id": "1681ee7d-5d22-4794-8cfe-febaa1ddf29f",
                            "name": "currentPhaseA",
                            "displayName": "Phase A current",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "b54e7182-6cb2-4184-96c5-2324e8139b6e",
                            "name": "currentPhaseB",
                            "displayName": "Phase B current",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "546eeb76-b17f-4c51-a9fa-01e7403913cd",
                            "name": "currentPhaseC",
                            "displayName": "Phase C current",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "2b1250eb-4c22-4025-ba7c-c3e8f27af3dc",
                            "name": "currentPowerPhaseA",
                            "displayName": "Current power phase A",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "0c43d20d-843c-4edd-9955-dafab6caecf6",
                            "name": "currentPowerPhaseB",
                            "displayName": "Current power phase B",
                            "displayNameEvent": "Current power phase B changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "a1e46df0-43e5-42f0-846a-5d2f24808a67",
                            "name": "currentPowerPhaseC",
                            "displayName": "Current power phase C",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "10a34381-cfb1-4aeb-a25f-e6b0d8b96510",
                            "name": "voltagePhaseA",
                            "displayName": "Voltage phase A",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "b0be1395-c7d2-449e-9632-5b6bf3298797",
                            "name": "voltagePhaseB",
                            "displayName": "Voltage phase B",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "b422d7a9-4c43-4827-be39-e4694f2cab64",
                            "name": "voltagePhaseC",
                            "displayName": "Voltage phase C",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "7c86ea72-505b-4924-80ef-3cf3ff31a380",
                            "name": "frequency",
                            "displayName": "Frequency",
                            "type": "double",
                            "unit": "Hertz",
                            "defaultValue": 0.00,
                            "cached": false
                        }
                    ],
                    "actionTypes": [ ]
                },
                {
                    "name": "kostalBattery",
                    "displayName": "KOSTAL Battery",
                    "id": "d6dbdfe8-adbb-47d8-840d-9b787683fc69",
                    "createMethods": ["auto"],
                    "interfaces": [ "energystorage", "connectable"],
                    "paramTypes": [
                    ],
                    "stateTypes": [
                        {
                            "id": "4a5a5a38-b623-4024-b557-410a46ebc495",
                            "name": "connected",
                            "displayName": "Connected",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "897616db-e815-4cda-b890-13b37a94ad17",
                            "name": "batteryCritical",
                            "displayName": "Battery critical",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "a4b0c8c9-44f0-43e2-ab25-63fdc9772fb8",
                            "name": "batteryLevel",
                            "displayName": "Battery level",
                            "type": "int",
                            "unit": "Percentage",
                            "minValue": 0,
                            "maxValue": 100,
                            "defaultValue": 0
                        },
                        {
                            "id": "6d72ccea-7761-4f00-b43f-463d05cbe559",
                            "name": "currentPower",
                            "displayName": "Total real power",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "176420b8-64b6-42e1-beea-9ce2a12f3261",
                            "name": "voltage",
                            "displayName": "Voltage",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "47b07030-57eb-4c79-a469-87b2474eb312",
                            "name": "temperature",
                            "displayName": "Temperature",
                            "type": "double",
                            "unit": "DegreeCelsius",
                            "defaultValue": 0.00,
                            "cached": false
                        },
                        {
                            "id": "98099dbd-3f66-43b3-8192-f2e3fdcd5d62",
                            "name": "capacity",
                            "displayName": "Capacity",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "829173e8-7535-4aba-b403-d498ff68250e",
                            "name": "chargingState",
                            "displayName": "Charging state",
                            "type": "QString",
                            "possibleValues": ["idle", "charging", "discharging"],
                            "defaultValue": "idle"
                        }
                    ],
                    "actionTypes": [ ]
                }
            ]
        }
    ]
}
