{
    "name": "SunSpec",
    "displayName": "sunspec",
    "id": "cb4bdec6-cf2c-4a0f-9709-42d951ca2d8b",
    "paramTypes":[
        {
            "id": "52da5222-9a94-47a2-9adc-004541d2f5ed",
            "name": "updateInterval",
            "displayName": "Update interval",
            "type": "int",
            "unit": "Seconds",
            "defaultValue": 1
        },
        {
            "id": "1a8895a0-c746-48af-9307-3a4636f24cc2",
            "name": "timeout",
            "displayName": "Timout",
            "type": "uint",
            "unit": "MilliSeconds",
            "defaultValue": 500
        },
        {
            "id": "9a4bfe01-315f-4ee7-98a9-f16b08ba12ad",
            "name": "numberOfRetries",
            "displayName": "Number of retries",
            "type": "uint",
            "defaultValue": 3,
            "minValue": 1,
            "maxValue": 10
        }
    ],
    "vendors": [
        {
            "name": "sunspec",
            "displayName": "SunSpec",
            "id": "c143a7b4-a16c-4fff-86a3-9ffab3d6841d",
            "thingClasses": [
                {
                    "name": "sunspecConnection",
                    "displayName": "SunSpec Generic",
                    "id": "f51853f3-8815-4cf3-b337-45cda1f3e6d5",
                    "createMethods": [ "User", "Discovery" ],
                    "discoveryType": "weak",
                    "interfaces": ["gateway"],
                    "providedInterfaces": [ "solarinverter", "energymeter", "energystorage"],
                    "paramTypes": [
                        {
                            "id": "6be6abc4-e2b2-4687-9343-0e5164ed0ab2",
                            "name":"ipAddress",
                            "displayName": "IP address",
                            "type": "QString",
                            "defaultValue": "127.0.0.1"
                        },
                        {
                            "id": "1fa4fc9c-f6be-47c7-928a-bcefc1142eec",
                            "name":"port",
                            "displayName": "Port",
                            "type": "int",
                            "defaultValue": 502
                        },
                        {
                            "id": "f65d6c36-1672-44cb-b52a-62d71837ae67",
                            "name":"macAddress",
                            "displayName": "MAC address",
                            "type": "QString",
                            "defaultValue": "00:00:00:00:00:00"
                        },
                        {
                            "id": "953064e0-4675-4538-a9a2-fa22ce2f347c",
                            "name":"slaveId",
                            "displayName": "Slave ID",
                            "type": "int",
                            "defaultValue": 1
                        }
                    ],
                    "stateTypes":[
                        {
                            "id": "3e767ad0-b4b3-4398-94c1-00579ea09ca8",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        }
                    ]
                },
                {
                    "name": "sunspecSinglePhaseInverter",
                    "displayName": "SunSpec single phase inverter",
                    "id": "c5d5204e-3375-4b92-8128-fab77a671fed",
                    "createMethods": [ "Auto" ],
                    "interfaces": [ "solarinverter", "connectable" ],
                    "paramTypes": [
                        {
                            "id": "41715d00-a947-4f43-a475-cea05790e01d",
                            "name":"modelId",
                            "displayName": "Model",
                            "type": "int",
                            "readOnly": true
                        },
                        {
                            "id": "26ae9050-7090-453a-85a3-307bfebe6fed",
                            "name":"modbusAddress",
                            "displayName": "Modbus address",
                            "type": "uint",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "5fbb0b62-e0f9-4aee-aba7-fd00ae8b0a5d",
                            "name":"manufacturer",
                            "displayName": "Manufacturer",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "12f1b02c-033d-423f-a217-955ddb995dd5",
                            "name":"deviceModel",
                            "displayName": "Device model",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "59b85218-f144-4ce8-95f7-19a1dc2e2a8d",
                            "name":"serialNumber",
                            "displayName": "Serial number",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        }
                    ],
                    "stateTypes":[
                        {
                            "id": "48bf31c4-fda7-41e5-a3ef-3011bf96e104",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "f02d1c99-9b43-45a6-8a06-2ed4d6e5d497",
                            "name": "totalCurrent",
                            "displayName": "Total AC current",
                            "displayNameEvent": "Total AC current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "4ca086e9-82b9-461c-b168-1d61b542b884",
                            "name": "phaseVoltage",
                            "displayName": "Phase voltage",
                            "displayNameEvent": "Phase volatage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "f49591d6-d759-4be3-bafc-b6a7a72cf023",
                            "name": "currentPower",
                            "displayName": "AC power",
                            "displayNameEvent": "AC power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "611df2ce-2b9c-49f3-9fa7-5706776e812c",
                            "name": "frequency",
                            "displayName": "Frequency",
                            "displayNameEvent": "Frequency changed",
                            "type": "double",
                            "unit": "Hertz",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "4c0407b3-5cd5-438d-bfa8-9a8d6695b458",
                            "name": "totalEnergyProduced",
                            "displayName": "AC energy",
                            "displayNameEvent": "AC energy changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "157376b8-19ae-415f-b693-cb0a9ba88863",
                            "name": "voltageDc",
                            "displayName": "DC voltage",
                            "displayNameEvent": "DC volatage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "79bd1748-b540-467d-b6fa-b0cc56d9775a",
                            "name": "currentDc",
                            "displayName": "DC current",
                            "displayNameEvent": "DC current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "852a8c28-b14d-492e-b2b3-f22219f4ed36",
                            "name": "currentPowerDc",
                            "displayName": "DC power",
                            "displayNameEvent": "DC power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "51461bde-1a6b-4aa1-94cc-59829ea0a7c8",
                            "name": "cabinetTemperature",
                            "displayName": "Cabinet temperature",
                            "displayNameEvent": "Cabinet temperature changed",
                            "type": "double",
                            "unit": "DegreeCelsius",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "47543a7f-425f-406b-a458-b79c36b65f6c",
                            "name": "operatingState",
                            "displayName": "Operating state",
                            "displayNameEvent": "Operating state changed",
                            "type": "QString",
                            "possibleValues": [
                                "Off",
                                "Sleeping",
                                "Starting",
                                "MPPT",
                                "Throttled",
                                "Shutting down",
                                "Fault",
                                "Standby"
                            ],
                            "defaultValue": "Off"
                        },
                        {
                            "id": "49240259-d82a-4fe6-b3f5-1cd6a67c87a7",
                            "name": "error",
                            "displayName": "Error",
                            "displayNameEvent": "Error changed",
                            "type": "QString",
                            "defaultValue": ""
                        },
                        {
                            "id": "f4439de3-a461-42d6-b4c9-aa35f696a420",
                            "name": "version",
                            "displayName": "Version",
                            "displayNameEvent": "Version changed",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ]
                },
                {
                    "name": "sunspecSplitPhaseInverter",
                    "displayName": "SunSpec split phase inverter",
                    "id": "61b38f93-d331-42bf-b1ef-d3fb16ad1230",
                    "createMethods": [ "Auto" ],
                    "interfaces": [ "solarinverter", "connectable" ],
                    "paramTypes": [
                        {
                            "id": "c42fb50e-210f-4b53-88eb-fa216e15f88f",
                            "name":"modelId",
                            "displayName": "Model",
                            "type": "int",
                            "readOnly": true
                        },
                        {
                            "id": "37582a96-f2f2-4845-abef-973c7dd0ad57",
                            "name":"modbusAddress",
                            "displayName": "Modbus address",
                            "type": "uint",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "c2c35b68-1c0f-47cc-b09f-49d9cf67c0ff",
                            "name":"manufacturer",
                            "displayName": "Manufacturer",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "d40b1b9d-994d-422c-8a41-b98cf03c1678",
                            "name":"deviceModel",
                            "displayName": "Device model",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "8afdd256-0393-4610-9477-7c4541c92ffe",
                            "name":"serialNumber",
                            "displayName": "Serial number",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        }
                    ],
                    "stateTypes":[
                        {
                            "id": "27b49640-f58b-466e-a225-a4663cf3ed96",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "9dbd8da7-dc22-4c3a-b941-47520fde705f",
                            "name": "totalCurrent",
                            "displayName": "Total AC current",
                            "displayNameEvent": "Total AC current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "be7b86b4-aeeb-49ba-9b6b-9792dceed6b5",
                            "name": "phaseACurrent",
                            "displayName": "Phase A current",
                            "displayNameEvent": "Phase A current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "fc5df18d-cf2f-4944-97b7-e57dabef8778",
                            "name": "phaseBCurrent",
                            "displayName": "Phase B current",
                            "displayNameEvent": "Phase B current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "17c24cfc-cb41-4873-82b4-19a20d6be146",
                            "name": "phaseANVoltage",
                            "displayName": "Phase AN voltage",
                            "displayNameEvent": "Phase AN volatage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "f8645ee2-a1e6-4d09-8c20-f6fd02a9e896",
                            "name": "phaseBNVoltage",
                            "displayName": "Phase BN voltage",
                            "displayNameEvent": "Phase BN voltage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "9235eb4b-906c-4557-8e18-bca268a367cc",
                            "name": "currentPower",
                            "displayName": "AC power",
                            "displayNameEvent": "AC power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "874f5e4a-a009-4c28-b211-2af90a24b2ac",
                            "name": "frequency",
                            "displayName": "Line frequency",
                            "displayNameEvent": "Line frequency changed",
                            "type": "double",
                            "unit": "Hertz",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "fe3f8a65-121a-4ae1-b22a-ae325dc3e7e6",
                            "name": "totalEnergyProduced",
                            "displayName": "AC energy",
                            "displayNameEvent": "AC energy changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "d36bcaba-1e77-431e-89dc-af8ac6172d7d",
                            "name": "voltageDc",
                            "displayName": "DC voltage",
                            "displayNameEvent": "DC volatage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "68e7239f-d7b2-4ab2-9cf3-e769fb5ddfc0",
                            "name": "currentDc",
                            "displayName": "DC current",
                            "displayNameEvent": "DC current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "560b5ec8-1b2c-47d3-b55e-40f4d0aebfe0",
                            "name": "currentPowerDc",
                            "displayName": "DC power",
                            "displayNameEvent": "DC power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "6d314d50-b990-4a58-a37f-4a3da42c4407",
                            "name": "cabinetTemperature",
                            "displayName": "Cabinet temperature",
                            "displayNameEvent": "Cabinet temperature changed",
                            "type": "double",
                            "unit": "DegreeCelsius",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "6c1e2929-bc9a-4ce9-a405-6df2633a5131",
                            "name": "operatingState",
                            "displayName": "Operating state",
                            "displayNameEvent": "Operating state changed",
                            "type": "QString",
                            "possibleValues": [
                                "Off",
                                "Sleeping",
                                "Starting",
                                "MPPT",
                                "Throttled",
                                "Shutting down",
                                "Fault",
                                "Standby"
                            ],
                            "defaultValue": "Off"
                        },
                        {
                            "id": "5cbfccc9-6afb-404c-a85e-e0323659a25f",
                            "name": "error",
                            "displayName": "Error",
                            "displayNameEvent": "Error changed",
                            "type": "QString",
                            "defaultValue": ""
                        },
                        {
                            "id": "2986cac4-f4ac-4299-ac9e-48339e2a54ef",
                            "name": "version",
                            "displayName": "Version",
                            "displayNameEvent": "Version changed",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ]
                },
                {
                    "name": "sunspecThreePhaseInverter",
                    "displayName": "SunSpec three phase inverter",
                    "id": "2e4122ea-96a5-415c-b5e2-7d6012265a83",
                    "createMethods": [ "Auto" ],
                    "interfaces": [ "solarinverter", "connectable" ],
                    "paramTypes": [
                        {
                            "id": "8d5b2b58-ce46-406d-844e-f53136afcf09",
                            "name":"modelId",
                            "displayName": "Model",
                            "type": "int",
                            "readOnly": true
                        },
                        {
                            "id": "e5465ede-9d3d-4558-b614-40dda743ddae",
                            "name":"modbusAddress",
                            "displayName": "Modbus address",
                            "type": "uint",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "640b71ba-2ccd-40d6-bf45-8271a9046f81",
                            "name":"manufacturer",
                            "displayName": "Manufacturer",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "938b6555-e0af-4222-b85b-90bc1bc78c8f",
                            "name":"deviceModel",
                            "displayName": "Device model",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "ee169df5-475c-4dfb-870a-0785899b7dc1",
                            "name":"serialNumber",
                            "displayName": "Serial number",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        }
                    ],
                    "stateTypes":[
                        {
                            "id": "4401468c-0385-40a9-b436-daf7ed6a50d5",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "26560dd8-6de4-445e-ba55-391d7241c370",
                            "name": "totalCurrent",
                            "displayName": "Total AC current",
                            "displayNameEvent": "Total AC current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "3140ccd3-40cf-46c8-8bb2-8c3ea4582f84",
                            "name": "phaseACurrent",
                            "displayName": "Phase A current",
                            "displayNameEvent": "Phase A current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "7ea1a53a-6fd9-4914-8283-b57aa1aaaebf",
                            "name": "phaseBCurrent",
                            "displayName": "Phase B current",
                            "displayNameEvent": "Phase B current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "aa4b4cf5-43d0-4be5-9505-403918b5371d",
                            "name": "phaseCCurrent",
                            "displayName": "Phase C current",
                            "displayNameEvent": "Phase C current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "f08521aa-9c38-4c31-95e1-acb616f6e9c6",
                            "name": "phaseANVoltage",
                            "displayName": "Phase AN voltage",
                            "displayNameEvent": "Phase AN volatage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "739b8805-d522-4406-bede-d1e4200a3aa9",
                            "name": "phaseBNVoltage",
                            "displayName": "Phase BN voltage",
                            "displayNameEvent": "Phase BN voltage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "949b797d-5566-4667-8982-e430d23548e2",
                            "name": "phaseCNVoltage",
                            "displayName": "Phase CN voltage",
                            "displayNameEvent": "Phase CN voltage changed",
                            "type": "int",
                            "unit": "Volt",
                            "defaultValue": 0,
                            "filter": "adaptive"
                        },
                        {
                            "id": "14036f44-25fd-4e93-8e8c-c677b06a2c34",
                            "name": "currentPower",
                            "displayName": "AC power",
                            "displayNameEvent": "AC power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "faa45cae-ed28-4150-9036-fceddf9d6776",
                            "name": "frequency",
                            "displayName": "Frequency",
                            "displayNameEvent": "Frequency changed",
                            "type": "double",
                            "unit": "Hertz",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "d493880d-eb58-4530-8010-8ea4f6d63387",
                            "name": "totalEnergyProduced",
                            "displayName": "AC energy",
                            "displayNameEvent": "AC energy changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "8c1c71c4-28fd-472a-83a6-3e96ab03d677",
                            "name": "voltageDc",
                            "displayName": "DC voltage",
                            "displayNameEvent": "DC volatage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "81a989aa-4104-438e-bfc5-4f44ce5ceeaf",
                            "name": "currentDc",
                            "displayName": "DC current",
                            "displayNameEvent": "DC current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "1397d935-1206-4ceb-883d-1fcf41ba6214",
                            "name": "currentPowerDc",
                            "displayName": "DC power",
                            "displayNameEvent": "DC power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "44b0320f-89a7-4248-bad4-288ef898a5cc",
                            "name": "cabinetTemperature",
                            "displayName": "Cabinet temperature",
                            "displayNameEvent": "Cabinet temperature changed",
                            "type": "double",
                            "unit": "DegreeCelsius",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "cebdce98-42d1-4a28-8834-8960efc0e83f",
                            "name": "operatingState",
                            "displayName": "Operating state",
                            "displayNameEvent": "Operating state changed",
                            "type": "QString",
                            "possibleValues": [
                                "Off",
                                "Sleeping",
                                "Starting",
                                "MPPT",
                                "Throttled",
                                "Shutting down",
                                "Fault",
                                "Standby"
                            ],
                            "defaultValue": "Off"
                        },
                        {
                            "id": "4479af96-c499-4f15-abd6-4afdb18a9e09",
                            "name": "error",
                            "displayName": "Error",
                            "displayNameEvent": "Error changed",
                            "type": "QString",
                            "defaultValue": ""
                        },
                        {
                            "id": "3b543b60-d8f6-4bc0-a79f-cb9cb20e4bb8",
                            "name": "version",
                            "displayName": "Version",
                            "displayNameEvent": "Version changed",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ]
                },
                {
                    "name": "sunspecSinglePhaseMeter",
                    "displayName": "SunSpec single phase meter",
                    "id": "7ffa43b8-b56f-4435-8509-980e9d81dfa8",
                    "createMethods": [ "Auto" ],
                    "interfaces": [ "energymeter", "connectable" ],
                    "paramTypes": [
                        {
                            "id": "7d6fcafb-c62e-4a21-aae2-f4041c487149",
                            "name":"modelId",
                            "displayName": "Model",
                            "type": "int",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "30b90ec0-429b-4e6c-88e9-155aa4bcad47",
                            "name":"modbusAddress",
                            "displayName": "Modbus address",
                            "type": "uint",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "811de380-848a-448c-8446-daa0e0fd8e50",
                            "name":"manufacturer",
                            "displayName": "Manufacturer",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "e31333c8-746d-4955-af0a-ae18d7100de7",
                            "name":"deviceModel",
                            "displayName": "Device model",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "581fa623-0005-448f-a5b1-8db1043795a3",
                            "name":"serialNumber",
                            "displayName": "Serial number",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        }
                    ],
                    "stateTypes":[
                        {
                            "id": "d960e7b1-d4aa-4cab-8f54-6bcfdbb8be36",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "93cf8c6a-2620-42ed-9070-e0726d7b1dbc",
                            "name": "currentPower",
                            "displayName": "Total real power",
                            "displayNameEvent": "Total real power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "ba275bdf-f418-4ef0-afbe-ac425c6f6783",
                            "name": "totalEnergyProduced",
                            "displayName": "Total real energy exported",
                            "displayNameEvent": "Total real energy exported changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "c51dc6cb-5c05-4078-b11a-26afb2f85541",
                            "name": "totalEnergyConsumed",
                            "displayName": "Total real energy imported",
                            "displayNameEvent": "Total real energy imported changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "4a058e36-0b45-4388-9a26-0615f7aafa0d",
                            "name": "currentPhaseA",
                            "displayName": "Phase A current",
                            "displayNameEvent": "Phase A current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "5e7a65a5-b740-4395-87fa-ffbe8fe1c823",
                            "name": "voltagePhaseA",
                            "displayName": "Phase A voltage",
                            "displayNameEvent": "Phase A voltage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "3a2ce51d-7fa0-4188-bbd6-00d25de90e15",
                            "name": "frequency",
                            "displayName": "Frequency",
                            "displayNameEvent": "Frequency changed",
                            "type": "double",
                            "unit": "Hertz",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "94adff6f-f672-4e4e-a72c-cd6cd7e8721a",
                            "name": "version",
                            "displayName": "Version",
                            "displayNameEvent": "Version changed",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ]
                },
                {
                    "name": "sunspecSplitPhaseMeter",
                    "displayName": "SunSpec split phase meter",
                    "id": "b8a18e45-5ff5-4f43-915f-04ee216c809d",
                    "createMethods": [ "Auto" ],
                    "interfaces": [ "energymeter", "connectable" ],
                    "paramTypes": [
                        {
                            "id": "89aeec6d-abeb-48b5-9594-214ad5db2d03",
                            "name":"modelId",
                            "displayName": "Model",
                            "type": "int",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "a56f198d-ed86-429f-b839-8e11a32da8c1",
                            "name":"modbusAddress",
                            "displayName": "Modbus address",
                            "type": "uint",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "ecbdee01-8be7-42bf-9e1a-a0f700669b09",
                            "name":"manufacturer",
                            "displayName": "Manufacturer",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "6bc978cb-a779-4f5f-87a4-3cbbe2a55ca8",
                            "name":"deviceModel",
                            "displayName": "Device model",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "fb7cc04b-91cb-4f3d-a444-201cca57934a",
                            "name":"serialNumber",
                            "displayName": "Serial number",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        }
                    ],
                    "stateTypes":[
                        {
                            "id": "34e34ec9-dab0-438c-9493-a3068bc401de",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "8a63bd73-0546-4636-8da2-23238cc06fb2",
                            "name": "totalEnergyProduced",
                            "displayName": "Total real energy exported",
                            "displayNameEvent": "Total real energy exported changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "51ffb2ae-3920-40df-8290-bbf5b6e1a68f",
                            "name": "totalEnergyConsumed",
                            "displayName": "Total real energy imported",
                            "displayNameEvent": "Total real energy imported changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "ef4bc0f8-f516-49b7-aba8-d5f987485aca",
                            "name": "currentPower",
                            "displayName": "Total real power",
                            "displayNameEvent": "Total real power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "481b9895-1c3e-4e74-9418-ee51dae80a63",
                            "name": "energyConsumedPhaseA",
                            "displayName": "Energy consumed phase A",
                            "displayNameEvent": "Energy consumed phase A changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "10245c6c-4b0d-44b4-be10-72026b842c86",
                            "name": "energyConsumedPhaseB",
                            "displayName": "Energy consumed phase B",
                            "displayNameEvent": "Energy consumed phase B changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "2dc76576-561c-4bce-8799-fadc55e84aee",
                            "name": "energyProducedPhaseA",
                            "displayName": "Energy produced phase A",
                            "displayNameEvent": "Energy produced phase A changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "b1489efd-ece0-419e-ab1c-d3d25ab6b958",
                            "name": "energyProducedPhaseB",
                            "displayName": "Energy produced phase B",
                            "displayNameEvent": "Energy produced phase B changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "e85024af-5376-4ff1-813e-5a56990c11cc",
                            "name": "totalCurrent",
                            "displayName": "Total AC current",
                            "displayNameEvent": "Total AC current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "57c0f5ba-a104-424b-b8d4-8bab90acf009",
                            "name": "currentPowerPhaseA",
                            "displayName": "Current power phase A",
                            "displayNameEvent": "Current power phase A changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "456f7cdf-9756-49b8-9084-f212199d4014",
                            "name": "currentPowerPhaseB",
                            "displayName": "Current power phase B",
                            "displayNameEvent": "Current power phase B changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "e8c0f4bf-a704-46f2-80a0-cf490bd7871b",
                            "name": "currentPhaseA",
                            "displayName": "Phase A current",
                            "displayNameEvent": "Phase A current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "4281f6fc-d5a0-4a22-ac61-6bec88efbc80",
                            "name": "currentPhaseB",
                            "displayName": "Phase B current",
                            "displayNameEvent": "Phase B current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "0ac79508-07c3-4d01-97a3-6edf121bdf32",
                            "name": "lnACVoltage",
                            "displayName": "Line to Neutral AC Voltage",
                            "displayNameEvent": "Line to Neutral AC Voltage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "1bd7e53e-abf8-4d62-b87c-2c84c283567b",
                            "name": "voltagePhaseA",
                            "displayName": "Phase A voltage",
                            "displayNameEvent": "Phase A volatage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "377b5279-ddb6-451d-8377-a9389c749393",
                            "name": "voltagePhaseB",
                            "displayName": "Phase B voltage",
                            "displayNameEvent": "Phase B voltage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "db977c04-a3e1-436f-a0cd-9ce5b7bc6b89",
                            "name": "frequency",
                            "displayName": "Frequency",
                            "displayNameEvent": "Frequency changed",
                            "type": "double",
                            "unit": "Hertz",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "85c5087c-77b4-4ac8-bdff-020f6242bd57",
                            "name": "version",
                            "displayName": "Version",
                            "displayNameEvent": "Version changed",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ]
                },
                {
                    "name": "sunspecThreePhaseMeter",
                    "displayName": "SunSpec three phase meter",
                    "id": "68f822f9-ff30-4275-b229-39a3674fead7",
                    "createMethods": [ "Auto" ],
                    "interfaces": [ "energymeter", "connectable" ],
                    "paramTypes": [
                        {
                            "id": "a1960821-155c-4176-86fa-974429039182",
                            "name":"modelId",
                            "displayName": "Model",
                            "type": "int",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "6d5dbd35-1bf6-46db-bee9-90c679421b89",
                            "name":"modbusAddress",
                            "displayName": "Modbus address",
                            "type": "uint",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "462552de-af84-4893-9132-81c1adce67ad",
                            "name":"manufacturer",
                            "displayName": "Manufacturer",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "00d308dc-e9a3-40e4-acad-3cad2ca3590f",
                            "name":"deviceModel",
                            "displayName": "Device model",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "97bbcc98-f4ec-4060-bac2-31b40720862c",
                            "name":"serialNumber",
                            "displayName": "Serial number",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        }
                    ],
                    "stateTypes":[
                        {
                            "id": "36f861c7-afc1-4725-b41f-67113200d78f",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "01a69b2c-cc96-4925-9b1c-a2f204ef0837",
                            "name": "totalEnergyProduced",
                            "displayName": "Total real energy exported",
                            "displayNameEvent": "Total real energy exported changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "0a98b229-7625-4811-8bf8-ed22be2db3fb",
                            "name": "totalEnergyConsumed",
                            "displayName": "Total real energy imported",
                            "displayNameEvent": "Total real energy imported changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "47780b0a-68b7-46c3-bb98-79ec9a57fd69",
                            "name": "currentPower",
                            "displayName": "Total real power",
                            "displayNameEvent": "Total real power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "cc0fd197-22ed-4461-8bba-47460396798a",
                            "name": "energyConsumedPhaseA",
                            "displayName": "Energy consumed phase A",
                            "displayNameEvent": "Energy consumed phase A changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "e928fde3-b35b-4884-9810-1cd083725e1c",
                            "name": "energyConsumedPhaseB",
                            "displayName": "Energy consumed phase B",
                            "displayNameEvent": "Energy consumed phase B changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "2a12a991-d6c8-4665-bcc8-ea2685f7f0d4",
                            "name": "energyConsumedPhaseC",
                            "displayName": "Energy consumed phase C",
                            "displayNameEvent": "Energy consumed phase C changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "fe7caa7e-cf37-4550-833e-7f9d35001fdd",
                            "name": "energyProducedPhaseA",
                            "displayName": "Energy produced phase A",
                            "displayNameEvent": "Energy produced phase A changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "edbe64a5-121e-4c96-9dc8-bbc2a33dfdb7",
                            "name": "energyProducedPhaseB",
                            "displayName": "Energy produced phase B",
                            "displayNameEvent": "Energy produced phase B changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "a26790c0-7378-471c-80ba-67021352415d",
                            "name": "energyProducedPhaseC",
                            "displayName": "Energy produced phase C",
                            "displayNameEvent": "Energy produced phase C changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "0e3e8870-3d59-4ee8-b7aa-33bda68b6ae3",
                            "name": "currentPowerPhaseA",
                            "displayName": "Current power phase A",
                            "displayNameEvent": "Current power phase A changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "453d046c-3a66-4590-882c-1283882918fc",
                            "name": "currentPowerPhaseB",
                            "displayName": "Current power phase B",
                            "displayNameEvent": "Current power phase B changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "ba4e94de-9136-48a7-aad8-3d5cd0e7d968",
                            "name": "currentPowerPhaseC",
                            "displayName": "Current power phase C",
                            "displayNameEvent": "Current power phase C changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "46ae5c40-f389-4f7e-a59f-8947d7dc9f3f",
                            "name": "currentPhaseA",
                            "displayName": "Phase A current",
                            "displayNameEvent": "Phase A current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "efc75436-ac51-4fee-81f1-65a726416980",
                            "name": "currentPhaseB",
                            "displayName": "Phase B current",
                            "displayNameEvent": "Phase B current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "618cbcc5-2efe-49d2-9c5c-53fb3eaa3a9d",
                            "name": "currentPhaseC",
                            "displayName": "Phase C current",
                            "displayNameEvent": "Phase C current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "4ff342de-f0b7-475a-99e4-3a926326d1b7",
                            "name": "voltagePhaseA",
                            "displayName": "Phase A voltage",
                            "displayNameEvent": "Phase A volatage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "cc8434f1-02fe-41ad-bc8a-94e57293f8fc",
                            "name": "voltagePhaseB",
                            "displayName": "Phase B voltage",
                            "displayNameEvent": "Phase B voltage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "fbd673cf-8891-4aef-b112-2829f5fcfe06",
                            "name": "voltagePhaseC",
                            "displayName": "Phase C voltage",
                            "displayNameEvent": "Phase C voltage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00,
                            "filter": "adaptive"
                        },
                        {
                            "id": "66734fc7-b3e4-48d4-8cb7-f0a9f7cef88a",
                            "name": "frequency",
                            "displayName": "Frequency",
                            "displayNameEvent": "Frequency changed",
                            "type": "double",
                            "unit": "Hertz",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "3d908dd2-4a93-4b62-8cbb-2fa9ef4d28fa",
                            "name": "version",
                            "displayName": "Version",
                            "displayNameEvent": "Version changed",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ]
                },
                {
                    "name": "sunspecStorage",
                    "displayName": "SunSpec Storage",
                    "id": "9a643ba8-346c-4127-a2f8-956a7133d75e",
                    "createMethods": [ "Auto" ],
                    "interfaces": ["battery", "connectable"],
                    "paramTypes": [
                        {
                            "id": "219beb96-b9fe-4dd2-a386-ecfbbab8786d",
                            "name":"modelId",
                            "displayName": "Model",
                            "type": "int",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "3f107844-00c5-4f39-86e5-485b3d1f5c1a",
                            "name":"modbusAddress",
                            "displayName": "Modbus address",
                            "type": "uint",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "7ee31b97-caec-4cdb-80c9-71e232c5fb22",
                            "name":"manufacturer",
                            "displayName": "Manufacturer",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "2abf786d-18be-46cb-b4a3-7e0934a4c3fd",
                            "name":"deviceModel",
                            "displayName": "Device model",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "5cf43b80-3e65-4f69-8bf5-91810da0ead4",
                            "name":"serialNumber",
                            "displayName": "Serial number",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        }
                    ],
                    "stateTypes":[
                        {
                            "id": "25a1fb10-a6b9-4037-b7cf-ad481a65beb4",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "3171a6e0-43a7-4de8-8e20-f748e44af7ac",
                            "name": "batteryCritical",
                            "displayName": "Battery critical",
                            "displayNameEvent": "Battery critical changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "0bf53f80-97f8-488b-b514-58f9fe08c183",
                            "name": "batteryLevel",
                            "displayName": "Battery level",
                            "displayNameEvent": "Battery level changed",
                            "type": "int",
                            "unit": "Percentage",
                            "minValue": 0,
                            "maxValue": 100,
                            "defaultValue": 0
                        },
                        {
                            "id": "da2b19c5-0f48-49d1-93f0-abdc0051407d",
                            "name": "storageStatus",
                            "displayName": "Status",
                            "displayNameEvent": "Status changed",
                            "type": "QString",
                            "possibleValues": [
                                "Off",
                                "Empty",
                                "Discharging",
                                "Charging",
                                "Full",
                                "Holding",
                                "Testing"
                            ],
                            "defaultValue": "Off"
                        },
                        {
                            "id": "f6178427-8e04-45c7-abec-27d04dd5ff04",
                            "name": "chargingState",
                            "displayName": "Charging state",
                            "displayNameEvent": "Charging state changed",
                            "type": "QString",
                            "possibleValues": ["idle", "charging", "discharging"],
                            "defaultValue": "idle"
                        },
                        {
                            "id": "221a2ef6-0a92-4ff0-87fe-7bd920dbec0b",
                            "name": "gridCharging",
                            "displayName": "Grid charging",
                            "displayNameEvent": "Grid charging changed",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true,
                            "displayNameAction": "Set grid charging"
                        },
                        {
                            "id": "1f530f79-c0d2-466b-90e1-79149e34d92f",
                            "name": "enableCharging",
                            "displayName": "Charging",
                            "displayNameEvent": "Charging changed",
                            "displayNameAction": "Enable charging",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true
                        },
                        {
                            "id": "bc99a159-815a-40ab-a6e8-b46f315305f7",
                            "name": "enableDischarging",
                            "displayName": "Discharging",
                            "displayNameEvent": "Discharging changed",
                            "displayNameAction": "Enable discharging",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true
                        },
                        {
                            "id": "7f469bbc-64a5-4045-8d5f-9a1a85039851",
                            "name": "chargingRate",
                            "displayName": "Charging rate",
                            "displayNameEvent": "Charging rate changed",
                            "type": "int",
                            "minValue": 0,
                            "maxValue": 100,
                            "unit": "Percentage",
                            "defaultValue": false,
                            "writable": true,
                            "displayNameAction": "Set charging rate"
                        },
                        {
                            "id": "6068f030-acce-44a2-b95f-bd00dd5ca760",
                            "name": "dischargingRate",
                            "displayName": "Discharging rate",
                            "displayNameEvent": "Discharging rate changed",
                            "type": "int",
                            "minValue": 0,
                            "maxValue": 100,
                            "unit": "Percentage",
                            "defaultValue": false,
                            "writable": true,
                            "displayNameAction": "Set discharging rate"
                        },
                        {
                            "id": "fca0c151-d8fa-4d6e-a5d7-b3bc965abc09",
                            "name": "version",
                            "displayName": "Version",
                            "displayNameEvent": "Version changed",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "solarEdge",
            "displayName": "SolarEdge",
            "id": "addd7dd8-13e1-405b-ba61-b2d82eaf0426",
            "thingClasses": [
                {
                    "name": "solarEdgeConnection",
                    "displayName": "SolarEdge",
                    "id": "7a92bf65-b443-4491-a012-2bec35eb5bf0",
                    "createMethods": [ "User", "Discovery" ],
                    "interfaces": ["gateway"],
                    "providedInterfaces": [ "solarinverter", "energymeter", "energystorage" ],
                    "paramTypes": [
                        {
                            "id": "94f6ba3c-6b8b-47a9-a5cb-73a091ae4cf7",
                            "name":"ipAddress",
                            "displayName": "IP address",
                            "type": "QString",
                            "defaultValue": "127.0.0.1"
                        },
                        {
                            "id": "bb395c12-54d6-4139-b0a6-e31b28bc4d2e",
                            "name":"macAddress",
                            "displayName": "MAC address",
                            "type": "QString",
                            "defaultValue": "00:00:00:00:00:00"
                        },
                        {
                            "id": "1bcede48-d167-4ced-8f1b-bea6302dd43f",
                            "name":"port",
                            "displayName": "Port",
                            "type": "int",
                            "defaultValue": 502
                        },
                        {
                            "id": "b9cc58cf-ad15-447a-a94d-17b9204313bc",
                            "name":"slaveId",
                            "displayName": "Slave ID",
                            "type": "int",
                            "defaultValue": 1
                        }
                    ],
                    "stateTypes":[
                        {
                            "id": "f51d4e5a-24ea-41f9-a453-d2bdd68d804c",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        }
                    ]
                },
                {
                    "name": "solarEdgeBattery",
                    "displayName": "SolarEdge battery",
                    "id": "7900471a-da3f-4f03-98be-3e3d9c841546",
                    "createMethods": [ "Auto" ],
                    "interfaces": ["energystorage", "connectable"],
                    "paramTypes": [
                        {
                            "id": "7413cce6-48c1-4924-89bc-915beed67b57",
                            "name":"modbusAddress",
                            "displayName": "Modbus address",
                            "type": "uint",
                            "readOnly": true,
                            "defaultValue": 0
                        },
                        {
                            "id": "8a4b19a9-ee14-42aa-9146-fa84e15970ee",
                            "name":"manufacturer",
                            "displayName": "Manufacturer",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "e90a3833-1eb6-43ed-a72a-0cf7cb8015ca",
                            "name":"deviceModel",
                            "displayName": "Device model",
                            "type": "QString",
                            "defaultValue": "Unkown"
                        },
                        {
                            "id": "efd99fe4-3a48-4208-829d-14e062015ee7",
                            "name":"serialNumber",
                            "displayName": "Serial number",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ],
                    "stateTypes":[
                        {
                            "id": "8addf8aa-f879-4afa-935d-4d2ffa38d05e",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "897616db-e815-4cda-b890-13b37a94ad17",
                            "name": "batteryCritical",
                            "displayName": "Battery critical",
                            "displayNameEvent": "Battery critical changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "a4b0c8c9-44f0-43e2-ab25-63fdc9772fb8",
                            "name": "batteryLevel",
                            "displayName": "Battery level",
                            "displayNameEvent": "Battery level changed",
                            "type": "int",
                            "unit": "Percentage",
                            "minValue": 0,
                            "maxValue": 100,
                            "defaultValue": 0
                        },
                        {
                            "id": "815b0826-c392-4249-a271-19e92ebe46e0",
                            "name": "chargingState",
                            "displayName": "Charging state",
                            "displayNameEvent": "Charging state changed",
                            "type": "QString",
                            "possibleValues": ["idle", "charging", "discharging"],
                            "defaultValue": "idle"
                        },
                        {
                            "id": "f6c6f548-8a12-4a62-a641-08bb003c55fa",
                            "name": "ratedEnergy",
                            "displayName": "Rated energy",
                            "displayNameEvent": "Rated energy changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "f46298e5-d06c-4ebe-869a-d9feff1a4689",
                            "name": "averageTemperature",
                            "displayName": "Average temperature",
                            "displayNameEvent": "Average temperature changed",
                            "type": "double",
                            "unit": "DegreeCelsius",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "9d17defb-fc6e-4c10-af53-14b796222a14",
                            "name": "instantaneousVoltage",
                            "displayName": "Instantaneous voltage",
                            "displayNameEvent": "Instantaneous voltage changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "89f58155-ca0c-48a8-aa7f-6e4d1b1bad36",
                            "name": "instantaneousCurrent",
                            "displayName": "Instantaneous current",
                            "displayNameEvent": "Instantaneous current changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "caccf9fd-0f83-4dd5-ae48-a497f13d2a2e",
                            "name": "currentPower",
                            "displayName": "Instantaneous power",
                            "displayNameEvent": "Instantaneous power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "d8cc799d-9709-4342-8766-52ff5f12aecc",
                            "name": "maxEnergy",
                            "displayName": "Maximum energy",
                            "displayNameEvent": "Maximum energy changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "7ac7ccd1-b5d1-488b-a99b-98ef000b7d03",
                            "name": "capacity",
                            "displayName": "Available energy",
                            "displayNameEvent": "Available energy changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "24b501db-f301-422d-ad58-f16ca025f6ee",
                            "name": "stateOfHealth",
                            "displayName": "State of health (SOH)",
                            "displayNameEvent": "State of health (SOH) changed",
                            "type": "double",
                            "unit": "Percentage",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "9c24b27a-3ea1-4db1-8868-6c999aad0a18",
                            "name": "batteryStatus",
                            "displayName": "Battery status",
                            "displayNameEvent": "Battery status changed",
                            "type": "QString",
                            "possibleValues": [
                                "Off",
                                "Standby",
                                "Init",
                                "Charging",
                                "Discharging",
                                "Fault",
                                "Holding",
                                "Idle"
                            ],
                            "defaultValue": "Idle"
                        },
                        {
                            "id": "db2e0304-4f0e-461f-8bab-c63fcb5deb1b",
                            "name": "version",
                            "displayName": "Version",
                            "displayNameEvent": "Version changed",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ]
                }
            ]
        }
    ]
}
