{
    "name": "EVBox",
    "displayName": "EVBox",
    "id": "3362ac5c-5e2f-43c0-b3fc-70a98773e119",
    "vendors": [
        {
            "name": "evbox",
            "displayName": "EVBox",
            "id": "435d8843-887a-4642-b2f5-cd27d18bdb95",
            "thingClasses": [
                {
                    "id": "d73a14e3-10af-47bc-9bc7-a5ff6e52f72c",
                    "name": "elviMid",
                    "displayName": "Elvi + MID meter",
                    "createMethods": ["discovery"],
                    "discoveryType": "weak",
                    "setupMethod": "justadd",
                    "interfaces": [ "evcharger", "smartmeterconsumer", "connectable" ],
                    "paramTypes": [
                        {
                            "id": "bce7c412-c19a-4e60-a11f-fe8308408abf",
                            "name":"serialPort",
                            "displayName": "Serial port",
                            "type": "QString",
                            "readOnly": true
                        },
                        {
                            "id": "abc607a7-7dc5-48d4-b3d0-1545ddc63592",
                            "name":"serialNumber",
                            "displayName": "Serial number",
                            "type": "QString",
                            "readOnly": true
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "5ef06038-9fa9-4d5d-8d9b-0375b8aa343a",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "e3ed9334-68bf-47eb-bd9a-d9a800529bce",
                            "name": "power",
                            "displayName": "Charging enabled",
                            "displayNameAction": "Enable/disable charging",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true
                        },
                        {
                            "id": "cc9ae86d-fc86-473f-ae90-d9eb20d7a011",
                            "name": "maxChargingCurrent",
                            "displayName": "Maximum charging current",
                            "displayNameAction": "Set maximum charging current",
                            "type": "double",
                            "writable": true,
                            "unit": "Ampere",
                            "minValue": "6",
                            "maxValue": "32",
                            "stepSize": 1.0,
                            "defaultValue": 6
                        },
                        {
                            "id": "8d3c80b7-f1f1-48de-8b7a-f99b9bc688b7",
                            "name": "currentPower",
                            "displayName": "Current power consumption",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0,
                            "cached": false
                        },
                        {
                            "id": "9fd15d14-c228-4af6-85af-4cb171d6f9f0",
                            "name": "totalEnergyConsumed",
                            "displayName": "Total consumed energy",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0
                        },
                        {
                            "id": "6439fdba-dc03-454f-bc33-0f6e2619d2ab",
                            "name": "charging",
                            "displayName": "Charging",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "1120abe3-1878-4301-a701-014b24fd1e41",
                            "name": "phaseCount",
                            "displayName": "Used phases",
                            "type": "uint",
                            "minValue": 1,
                            "maxValue": 3,
                            "defaultValue": 1
                        }
                    ]
                },
                {
                    "id": "81df1344-3861-4554-972c-6cd4b2ec97a7",
                    "name": "elvi",
                    "displayName": "Elvi",
                    "createMethods": ["discovery"],
                    "discoveryType": "weak",
                    "setupMethod": "justadd",
                    "interfaces": [ "evcharger", "connectable" ],
                    "paramTypes": [
                        {
                            "id": "159fec55-e73d-4a9d-bbde-b2b44fe7f363",
                            "name":"serialPort",
                            "displayName": "Serial port",
                            "type": "QString",
                            "readOnly": true
                        },
                        {
                            "id": "987ddd33-cbcd-4716-bdaa-6824a5295d22",
                            "name":"serialNumber",
                            "displayName": "Serial number",
                            "type": "QString",
                            "readOnly": true
                        }
                    ],
                    "settingsTypes": [
                        {
                            "id": "3b44ed38-5cfe-4f61-8ad4-a4fe282944ac",
                            "name": "phaseCount",
                            "displayName": "Connected phases",
                            "type": "uint",
                            "minValue": 1,
                            "maxValue": 3,
                            "defaultValue": 3
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "e763b450-e180-4afb-9fcf-c75ad2f3d7c7",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "d9875cbf-3736-484c-bf07-08a1d7f9cc89",
                            "name": "power",
                            "displayName": "Charging enabled",
                            "displayNameAction": "Enable/disable charging",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true
                        },
                        {
                            "id": "186d792a-5bab-4144-837a-cbf5027de4fb",
                            "name": "maxChargingCurrent",
                            "displayName": "Maximum charging current",
                            "displayNameAction": "Set maximum charging current",
                            "type": "double",
                            "writable": true,
                            "unit": "Ampere",
                            "minValue": "6",
                            "maxValue": "32",
                            "stepSize": 1.0,
                            "defaultValue": 6
                        },
                        {
                            "id": "91093627-ddae-4ba2-83f1-0241ea01aa01",
                            "name": "charging",
                            "displayName": "Charging",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "46781438-2a31-48d3-a140-11593888b268",
                            "name": "phaseCount",
                            "displayName": "Used phases",
                            "type": "uint",
                            "minValue": 1,
                            "maxValue": 3,
                            "defaultValue": 1
                        }
                    ]
                }
            ]
        }
    ]
}
