{
    "name": "bgeTech",
    "displayName": "B+G E-Tech",
    "id": "e373f492-4527-4d5f-aa48-34d38c55b0d6",
    "paramTypes":[ ],
    "vendors": [
        {
            "name": "bgetech",
            "displayName": "B+G E-Tech",
            "id": "215035fe-95e8-43d8-a52e-0a31b787d902",
            "thingClasses": [
                {
                    "name": "sdm630",
                    "displayName": "SDM630",
                    "id": "f37597bb-35fe-48f2-9617-343dd54c0903",
                    "createMethods": ["discovery"],
                    "interfaces": ["energymeter", "connectable"],
                    "discoveryParamTypes": [
                        {
                            "id": "6ab43559-53ec-47ba-b8a0-8d3b7f8d90c2",
                            "name": "slaveAddress",
                            "displayName": "Slave address",
                            "type": "int",
                            "defaultValue": 1
                        }
                    ],
                    "paramTypes": [
                        {
                            "id": "ac77ea98-b006-486e-a3e8-b30a483f26c1",
                            "name": "slaveAddress",
                            "displayName": "Modbus slave address",
                            "type": "uint",
                            "defaultValue": 1
                        },
                        {
                            "id": "d90e9292-d03c-4f2a-957e-5d965018c9c9",
                            "name": "modbusMasterUuid",
                            "displayName": "Modbus RTU master",
                            "type": "QUuid",
                            "defaultValue": "",
                            "readOnly": true
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "8050bd0b-1dad-4a7e-b632-c71ead3c9f8b",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "cached": false,
                            "defaultValue": false
                        },
                        {
                            "id": "db018146-0441-4dc0-9834-6d43ebaf8311",
                            "name": "voltagePhaseA",
                            "displayName": "Voltage phase A",
                            "displayNameEvent": "Voltage phase A changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0
                        },
                        {
                            "id": "406f6d02-d5eb-49b3-87da-3247568e6054",
                            "name": "voltagePhaseB",
                            "displayName": "Voltage phase B",
                            "displayNameEvent": "Voltage phase B changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0
                        },
                        {
                            "id": "ace6294d-deaa-4d9a-af78-d64379bcb229",
                            "name": "voltagePhaseC",
                            "displayName": "Voltage phase C",
                            "displayNameEvent": "Voltage phase C changed",
                            "type": "double",
                            "unit": "Volt",
                            "defaultValue": 0
                        },
                        {
                            "id": "4baf1d08-5ffa-49cf-95ef-9527b0c6f081",
                            "name": "currentPhaseA",
                            "displayName": "Current phase A",
                            "displayNameEvent": "Current phase A changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0
                        },
                        {
                            "id": "99e47d06-0a6a-4bfd-b164-61ecb6ba2818",
                            "name": "currentPhaseB",
                            "displayName": "Current phase B",
                            "displayNameEvent": "Current phase B changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0
                        },
                        {
                            "id": "4a092a66-352d-4d60-90ab-6ac5f58b92fe",
                            "name": "currentPhaseC",
                            "displayName": "Current phase C",
                            "displayNameEvent": "Current phase C changed",
                            "type": "double",
                            "unit": "Ampere",
                            "defaultValue": 0
                        },
                        {
                            "id": "c824e97b-a6d1-4030-9d7a-00af6fb8e1c3",
                            "name": "currentPower",
                            "displayName": "Current power",
                            "displayNameEvent": "Current power changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0
                        },
                        {
                            "id": "3982fb12-b179-40f7-9b27-36adb1cadd37",
                            "name": "currentPowerPhaseA",
                            "displayName": "Current power phase A",
                            "displayNameEvent": "Current power phase A changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0
                        },
                        {
                            "id": "2a231c58-b095-4037-8394-a730431e70b8",
                            "name": "currentPowerPhaseB",
                            "displayName": "Current power phase B",
                            "displayNameEvent": "Current power phase B changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0
                        },
                        {
                            "id": "ee8c4f0c-2b69-4210-9966-1553a592b06d",
                            "name": "currentPowerPhaseC",
                            "displayName": "Current power phase C",
                            "displayNameEvent": "Current power phase C changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0
                        },
                        {
                            "id": "ab24f26c-dc15-4ec3-8d76-06a48285440b",
                            "name": "frequency",
                            "displayName": "Frequency",
                            "displayNameEvent": "Frequency changed",
                            "type": "double",
                            "unit": "Hertz",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "98d858a8-22e8-4262-b5c7-25bb027942ad",
                            "name": "totalEnergyConsumed",
                            "displayName": "Total energy consumed",
                            "displayNameEvent": "Total energy consumed changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "e469b3ff-a4c2-42da-af35-ccafaef214af",
                            "name": "totalEnergyProduced",
                            "displayName": "Total energy produced",
                            "displayNameEvent": "Total energy produced changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "6ca06c81-fe75-4448-a22f-47c303421440",
                            "name": "energyConsumedPhaseA",
                            "displayName": "Energy consumed phase A",
                            "displayNameEvent": "Energy consumed phase A changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "fa2b879b-2a81-4bc8-9577-98082c4d9330",
                            "name": "energyConsumedPhaseB",
                            "displayName": "Energy consumed phase B",
                            "displayNameEvent": "Energy consumed phase B changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "4c084c9e-7a5d-42d1-96b2-a8a4b4a25713",
                            "name": "energyConsumedPhaseC",
                            "displayName": "Energy consumed phase C",
                            "displayNameEvent": "Energy consumed phase C changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "308fa88e-6054-4c79-b12a-be2d0a404ef6",
                            "name": "energyProducedPhaseA",
                            "displayName": "Energy produced phase A",
                            "displayNameEvent": "Energy produced phase A changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "48ab6e61-dfb4-4f85-b5cc-9d89e53c6b39",
                            "name": "energyProducedPhaseB",
                            "displayName": "Energy produced phase B",
                            "displayNameEvent": "Energy produced phase B changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        },
                        {
                            "id": "6b3ddf15-3d4b-4dc1-8e5a-84fbf90b49ff",
                            "name": "energyProducedPhaseC",
                            "displayName": "Energy produced phase C",
                            "displayNameEvent": "Energy produced phase C changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0.00
                        }
                    ]
                }
            ]
        }
    ]
}
