{
    "id": "0c5c64dd-52b4-4afe-8438-83997f3485f9",
    "name": "AbbB2x",
    "displayName": "ABB B2x",
    "vendors": [
        {
            "id": "c112c5ba-6680-400a-9e67-3333ba6e3bd2",
            "name": "abb",
            "displayName": "ABB",
            "thingClasses": [
                {
                    "id": "bd391ff1-ce19-48ba-8080-d74b8b88dfa2",
                    "name": "abbB2x",
                    "displayName": "ABB B2x energy meter",
                    "createMethods": ["discovery", "user"],
                    "interfaces": ["energymeter", "connectable"],
                    "providedInterfaces": [],
                    "discoveryParamTypes": [
                        {
                            "id": "4d716b9c-3dab-4827-abdf-2bd394dabe6d",
                            "name": "slaveAddress",
                            "displayName": "Modbus slave address",
                            "type": "uint",
                            "minValue": 1,
                            "maxValue": 254,
                            "defaultValue": 1
                        }
                    ],
                    "paramTypes": [
                        {
                            "id": "54faf3d6-b243-4111-ace8-18eef6192e14",
                            "name": "slaveAddress",
                            "displayName": "Modbus slave address",
                            "type": "uint",
                            "minValue": 1,
                            "maxValue": 254,
                            "defaultValue": 1,
                            "readOnly": true
                        },
                        {
                            "id": "3c10aac2-e125-40d8-8a7e-23185d3a7667",
                            "name": "modbusMasterUuid",
                            "displayName": "Modbus RTU master",
                            "type": "QString",
                            "inputType": "TextLine",
                            "defaultValue": "",
                            "readOnly": true
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "0ef1e287-b5c0-4011-9887-eb549a9d0e19",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "01fd9397-5a66-4a67-8144-ebad166ce926",
                            "name": "currentPower",
                            "displayName": "Current power",
                            "displayNameEvent": "Current power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0
                        },
                        {
                            "id": "aa41495d-f4b9-44e3-a98c-1e6b83cb57d6",
                            "name": "totalEnergyConsumed",
                            "displayName": "Total energy consumed",
                            "displayNameEvent": "Total energy consumed changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0
                        },
                        {
                            "id": "975a11da-40f0-4b7a-af2b-b96b2dba6eb4",
                            "name": "totalEnergyProduced",
                            "displayName": "Total energy produced",
                            "displayNameEvent": "Total energy produced changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0
                        },
                        {
                            "id": "d7f3752b-b653-42c7-89aa-cf20cb06e69c",
                            "name": "frequency",
                            "displayName": "Frequency",
                            "displayNameEvent": "Frequency changed",
                            "type": "double",
                            "unit": "Hertz",
                            "defaultValue": 0
                        },
                        {
                            "id": "a1a68363-072b-497b-bbb0-6f946198de26",
                            "name": "voltagePhaseA",
                            "displayName": "Voltage phase A",
                            "displayNameEvent": "Voltage phase A changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0
                        },
                        {
                            "id": "69c25429-c4cf-4eb8-ace4-b43b9bb42777",
                            "name": "voltagePhaseB",
                            "displayName": "Voltage phase B",
                            "displayNameEvent": "Voltage phase B changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0
                        },
                        {
                            "id": "c15752c6-7321-4c74-a65e-18ee3eb0cd13",
                            "name": "voltagePhaseC",
                            "displayName": "Voltage phase C",
                            "displayNameEvent": "Voltage phase C changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0
                        },
                        {
                            "id": "78ce9dad-6432-4c53-b9bf-0a20ffaf8203",
                            "name": "currentPhaseA",
                            "displayName": "Current phase A",
                            "displayNameEvent": "Current phase A changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0
                        },
                        {
                            "id": "13cd360e-3f25-4c73-b5fe-72aa9ec96b9a",
                            "name": "currentPhaseB",
                            "displayName": "Current phase B",
                            "displayNameEvent": "Current phase B changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0
                        },
                        {
                            "id": "542b90dd-b5c7-4b9e-ba3a-c7416386f9a1",
                            "name": "currentPhaseC",
                            "displayName": "Current phase C",
                            "displayNameEvent": "Current phase C changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0
                        },
                        {
                            "id": "ec52d2f1-af43-4268-8d9e-16bfbe089259",
                            "name": "currentPowerPhaseA",
                            "displayName": "Current power phase A",
                            "displayNameEvent": "Current power phase A changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0
                        },
                        {
                            "id": "0e9a9a3d-4df1-4531-aff3-63b21e560f40",
                            "name": "currentPowerPhaseB",
                            "displayName": "Current power phase B",
                            "displayNameEvent": "Current power phase B changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0
                        },
                        {
                            "id": "93c9329d-fbda-4d79-bc24-c133b3763b9b",
                            "name": "currentPowerPhaseC",
                            "displayName": "Current power phase C",
                            "displayNameEvent": "Current power phase C changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0
                        }
                    ]
                }
            ]
        }
    ]
}
