{
    "id": "02319cfc-8b55-49ba-99bc-0588bbfab063",
    "name": "fronius",
    "displayName": "Fronius Solar",
    "vendors": [
        {
            "id": "2286fc38-afd9-4128-ab7e-0fba527d53ba",
            "name": "Fronius",
            "displayName": "Fronius",
            "thingClasses": [
                {
                    "id": "4fd79fed-42f1-4df9-be64-3df7b2e0bda2",
                    "name": "datalogger",
                    "displayName": "Fronius Solar Connection",
                    "createMethods": ["discovery", "user"],
                    "interfaces": ["gateway"],
                    "paramTypes": [
                        {
                            "id": "52da0197-4b78-4fec-aa72-70f949e26edc",
                            "name": "loggerHost",
                            "displayName": "Host address",
                            "type": "QString",
                            "inputType": "IPv4Address",
                            "defaultValue": "88.117.152.99"
                        },
                        {
                            "id": "2237972e-385b-4458-b5d3-1d1fb4ae8756",
                            "name": "loggerMac",
                            "displayName": "MAC address",
                            "type": "QString",
                            "defaultValue": "00:00:00:00:00:00"
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "98e4476f-e745-4a7f-b795-19269cb70c40",
                            "name": "connected",
                            "displayName": "Reachable",
                            "displayNameEvent": "logger reachable changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "b22052ef-14da-43d2-982b-f2c2d8c03206",
                            "name": "productid",
                            "displayName": "Product ID",
                            "displayNameEvent": "Product ID changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "65c068e6-4a0b-4672-9724-ae95216c4c9c",
                            "name": "platformid",
                            "displayName": "Platform ID",
                            "displayNameEvent": "Platform ID changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "3b4206e5-74c7-4708-96b8-2abfab0c41d6",
                            "name": "hwversion",
                            "displayName": "Hardware version",
                            "displayNameEvent": "Hardware version changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "31743ca5-4353-4f26-b2ad-5da43e5b9d86",
                            "name": "swversion",
                            "displayName": "Software version",
                            "displayNameEvent": "Software version changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "d034f59d-dc34-450a-a6f3-68264767a3e4",
                            "name": "tzoneloc",
                            "displayName": "Timezone location",
                            "displayNameEvent": "Timezone location changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "6bdfeeda-7a47-4043-a011-5eb96308a7d6",
                            "name": "tzone",
                            "displayName": "Time zone",
                            "displayNameEvent": "Time zone changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "18b250e2-080a-4991-b368-177c4da83eca",
                            "name": "defaultlang",
                            "displayName": "Default language",
                            "displayNameEvent": "Default language changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "bc18595b-17c7-4a1f-8002-b908a3d9239d",
                            "name": "cashfactor",
                            "displayName": "Cash factor",
                            "displayNameEvent": "Cash factor changed",
                            "type": "double",
                            "defaultValue": "-"
                        },
                        {
                            "id": "84da30c8-a7fb-49c6-884c-9521f9f62bbc",
                            "name": "cashcurrency",
                            "displayName": "Cash currency",
                            "displayNameEvent": "Cash Currency changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "8ab01225-7be5-4482-a99b-314108ae0e2b",
                            "name": "co2factor",
                            "displayName": "CO2 factor",
                            "displayNameEvent": "CO2 factor changed",
                            "type": "double",
                            "defaultValue": "-"
                        },
                        {
                            "id": "b0e655f8-27d0-4add-918b-461cadc8efcc",
                            "name": "co2unit",
                            "displayName": "CO2 unit",
                            "displayNameEvent": "CO2 unit changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "b217acf6-0c5e-4a3e-a50c-4c0133c871c2",
                            "name": "powerManagmentRelay",
                            "displayName": "Power management relay",
                            "displayNameEvent": "Power management relay status changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "5650ce9b-0d7d-4c52-b410-ea618889b4bb",
                            "name": "powerManagmentRelayReason",
                            "displayName": "Power management relay reason",
                            "displayNameEvent": "Power management relay reason changed",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ],
                    "actionTypes": [
                        {
                            "id": "c217fdc1-de18-41dc-b5d8-8072f84e7b6c",
                            "name": "searchDevices",
                            "displayName": "Search new devices"
                        }
                    ]
                },
                {
                    "id": "540aa956-8b8f-4982-9f58-343a76cea846",
                    "name": "inverter",
                    "displayName": "Fronius Solar Inverter",
                    "createMethods": ["auto"],
                    "interfaces" : ["solarinverter", "connectable"],
                    "paramTypes": [
                        {
                            "id": "f2f8c2f5-dd6a-4786-b336-82fc84e5bb98",
                            "name": "id",
                            "displayName": "Device ID",
                            "type": "QString",
                            "inputType": "TextLine",
                             "readOnly": true
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "eda29c50-73ac-40e0-9c92-26fee352e688",
                            "name": "connected",
                            "displayName": "Reachable",
                            "displayNameEvent": "Reachable changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "e763baa7-5eaf-438c-83f0-4fa6c0f7eeb0",
                            "name": "active",
                            "displayName": "Inverter active",
                            "displayNameEvent": "Inverter active changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "788accbc-b86e-471b-b37f-14c9c6411526",
                            "name": "currentPower",
                            "displayName": "Current power",
                            "displayNameEvent": "Current power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": "0"
                        },
                        {
                            "id": "b6af1bf5-753d-47b6-a151-e4d801fe6ff8",
                            "name": "eday",
                            "displayName": "Energy of current day",
                            "displayNameEvent": "Energy of day changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": "0"
                        },
                        {
                            "id": "7fd2fa28-9bcc-4f01-a823-459437d185f6",
                            "name": "eyear",
                            "displayName": "Energy of current year",
                            "displayNameEvent": "Energy of year changed",
                            "type": "int",
                            "unit": "KiloWattHour",
                            "defaultValue": "0"
                        },
                        {
                            "id": "d6dbb879-4cbc-4db3-830e-b92ba91a13e5",
                            "name": "totalEnergyProduced",
                            "displayName": "Total produced energy",
                            "displayNameEvent": "Total produced energy changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": "0"
                        }
                    ]
                },
                {
                    "id": "c3cb53a4-32dd-434d-9d9c-aada41f8129c",
                    "name": "meter",
                    "displayName": "Fronius smart meter",
                    "createMethods": ["auto"],
                    "interfaces": [ "smartmeterconsumer", "smartmeterproducer", "connectable" ],
                    "paramTypes": [
                        {
                            "id": "cf3a7025-d368-475a-8f48-efc1344a8409",
                            "name": "id",
                            "displayName": "Device ID",
                            "type": "QString",
                            "inputType": "TextLine",
                            "readOnly": true
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "b70b61a4-54cb-47ec-b62a-b498eb1f650e",
                            "name": "connected",
                            "displayName": "Reachable",
                            "displayNameEvent": "Reachable changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "e5056ea1-88a2-410b-9c5e-6322aca4cb17",
                            "name": "currentPower",
                            "displayName": "Current power usage",
                            "displayNameEvent": "Current power usage changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": "0"
                        },
                        {
                            "id": "ca14cca5-d9f0-49c5-a8f7-907d4c0825f0",
                            "name": "totalEnergyProduced",
                            "displayName": "Energy produced",
                            "displayNameEvent": "Energy production changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": "0"
                        },
                        {
                            "id": "f3451818-48d2-42a5-94fd-ad094c06967f",
                            "name": "totalEnergyConsumed",
                            "displayName": "Energy Consumed",
                            "displayNameEvent": "Energy consumption changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": "0"
                        }
                    ]
                },
                {
                    "id": "b00139fa-7386-48b1-8697-2fdd21a57ced",
                    "name": "storage",
                    "displayName": "Fronius solar storage",
                    "createMethods": ["auto"],
                    "interfaces": [ "battery", "connectable" ],
                    "paramTypes": [
                        {
                            "id": "9665c38b-c13a-428f-b741-1470239c63dc",
                            "name": "manufacturer",
                            "displayName": "Manufacturer",
                            "type": "QString",
                            "defaultValue": "TextLine",
                            "readOnly": true
                        },
                        {
                            "id": "59a68e91-1aad-46b7-b351-03b7b2216366",
                            "name": "capacity",
                            "displayName": "Maxmimum capacity",
                            "type": "QString",
                            "defaultValue": "TextLine",
                            "readOnly": true
                        },
                        {
                            "id": "49087f31-abf5-4bb8-946b-a3626ee80566",
                            "name": "id",
                            "displayName": "Device ID",
                            "type": "QString",
                            "inputType": "TextLine",
                            "readOnly": true
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "2f7e1267-b0be-4b78-9aa3-832b86c4efad",
                            "name": "connected",
                            "displayName": "Reachable",
                            "displayNameEvent": "Reachable changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "2de34a1f-de2e-43ad-8998-8a5460dff9ae",
                            "name": "charging",
                            "displayName": "Charging",
                            "displayNameEvent": "Charging changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "be90d35c-081c-485b-b4cc-8271e7da5796",
                            "name": "discharging",
                            "displayName": "Discharging",
                            "displayNameEvent": "Discharging changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "5c6da672-9662-41bc-8c8c-aa0f32481251",
                            "name": "batteryLevel",
                            "displayName": "Battery level",
                            "displayNameEvent": "Battery level changed",
                            "type": "int",
                            "unit": "Percentage",
                            "defaultValue": "0",
                            "minValue": 0,
                            "maxValue": 100
                        },
                        {
                            "id": "4417499c-1757-4309-868a-be5cf3455c4a",
                            "name": "cellTemperature",
                            "displayName": "Cell temperature",
                            "displayNameEvent": "Cell temperature changed",
                            "type": "double",
                            "unit": "DegreeCelsius",
                            "defaultValue": "0"
                        },
                        {
                            "id": "e5396312-b50e-4d6f-b628-5b51448971d3",
                            "name": "batteryCritical",
                            "displayName": "Battery level critical",
                            "displayNameEvent": "Battery level critical changed",
                            "type": "bool",
                            "defaultValue": false
                        }
                    ]
                }
            ]
        }
    ]
}
