{ "name": "genericEnergy", "displayName": "Generic energy devices", "id": "b3188696-2585-4806-bf98-30ab576ce5c8", "vendors": [ { "name": "nymea", "displayName": "nymea", "id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6", "thingClasses": [ { "id": "4e7261af-a27b-4446-8346-914ea59f7547", "name": "socket", "displayName": "Generic power socket", "createMethods": ["user"], "interfaces": ["powersocket"], "stateTypes": [ { "id": "018038d7-1d02-4b17-8fe3-babca044b087", "name": "power", "displayName": "Power", "displayNameEvent": "Power changed", "displayNameAction": "Set power", "type": "bool", "defaultValue": false, "writable": true, "ioType": "digitalInput" } ] }, { "id": "c3123967-f741-4fe1-a0d4-9a3e405d7e52", "name": "impulseSmartMeter", "displayName": "Impulse based energy meter", "createMethods": ["user"], "interfaces": ["smartmeterconsumer"], "settingsTypes": [ { "id": "c361732b-68eb-447e-a434-e84031231871", "name": "impulsePerKwh", "displayName": "Impulse/kWh", "type": "int", "minValue": 1, "maxValue": 1000000, "defaultValue": 1000 }, { "id": "73c9acc3-8f76-40d7-a79b-a1f08bb308d4", "name": "impulseTimeframe", "displayName": "Timeframe for power calculation", "type": "int", "unit": "Seconds", "minValue": 1, "maxValue": 600, "defaultValue": 10 } ], "stateTypes": [ { "id": "5983d714-5f80-42d8-bee2-9228b6382b3b", "name": "currentPower", "displayName": "Current Power usage", "displayNameEvent": "Current Power usage changed", "type": "double", "defaultValue": 0.00, "unit": "Watt" }, { "id": "5821edb7-e6cb-4e5a-9d0b-3375126d3367", "name": "totalEnergyConsumed", "displayName": "Energy", "displayNameEvent": "Energy changed", "type": "double", "defaultValue": 0.00, "unit": "KiloWattHour" }, { "id": "9cd7e5ca-f8f8-48d5-9785-911ae75158c3", "name": "impulseInput", "displayName": "Impulse input", "displayNameEvent": "Impulse input changed", "displayNameAction": "Set impulse input", "type": "bool", "defaultValue": false, "writable": true, "ioType": "digitalOutput" } ] }, { "id": "81418556-cae3-4803-aa0c-9c4b3304a3eb", "name": "battery", "displayName": "Generic battery", "createMethods": ["user"], "interfaces": ["battery"], "settingsTypes": [ { "id": "8d875cb7-3a14-42d1-bf1b-759e5fd95a8f", "name": "criticalLevel", "displayName": "Critical battery level", "type": "int", "minValue": 0, "maxValue": 100, "defaultValue": 10 } ], "stateTypes": [ { "id": "d37eed4a-befc-40d4-b435-40a761f99314", "name": "batteryLevel", "displayName": "Battery level", "displayNameEvent": "Battery level changed", "type": "int", "unit": "Percentage", "defaultValue": 0, "minValue": 0, "maxValue": 100 }, { "id": "3336f0c2-158b-4353-b74f-f1bb9c4e8447", "name": "batteryLevelControl", "displayName": "Battery level control", "displayNameEvent": "Battery level control changed", "displayNameAction": "Set battery level", "type": "double", "minValue": 0, "maxValue": 100, "defaultValue": 0, "unit": "Percentage", "writable": true, "ioType": "analogOutput" }, { "id": "a61c0328-b982-46a5-9cc0-b4fa4d0ab84d", "name": "charging", "displayName": "Charging", "displayNameEvent": "Charging started or stopped", "displayNameAction": "Set charging", "type": "bool", "defaultValue": false, "writable": true, "ioType": "digitalOutput" }, { "id": "e95dc037-002d-40a2-8c15-cd5489bd354a", "name": "batteryCritical", "displayName": "Battery critical", "displayNameEvent": "Battery entered or left critical state", "type": "bool", "defaultValue": false } ] }, { "id": "c26478b3-dd64-445f-9859-8ef816025cb9", "name": "smartMeterConsumer", "displayName": "Generic smart meter consumer", "createMethods": ["user"], "interfaces": ["smartmeterconsumer"], "stateTypes": [ { "id": "5a083458-e476-487d-ab8f-75e92cf16489", "name": "currentPower", "displayName": "Current Power usage", "displayNameEvent": "Current Power usage changed", "displayNameAction": "Set current power usage", "type": "double", "defaultValue": 0.00, "unit": "Watt", "writable": true }, { "id": "ba10ef2c-e41f-4de2-a620-dff2ec5f025a", "name": "totalEnergyConsumed", "displayName": "Consumed energy", "displayNameEvent": "Consumed energy changed", "displayNameAction": "Set total consumed energy", "type": "double", "defaultValue": 0.00, "unit": "KiloWattHour", "writable": true } ] }, { "id": "986acf96-3cdd-4a8d-8f5c-2ffe12fef1c9", "name": "smartMeterProducer", "displayName": "Generic smart meter producer", "createMethods": ["user"], "interfaces": ["smartmeterproducer"], "stateTypes": [ { "id": "8fd67ad4-322d-46d7-a0fd-20fdbfc12bc5", "name": "currentPower", "displayName": "Current Power production", "displayNameEvent": "Current Power production changed", "displayNameAction": "Set current power production", "type": "double", "defaultValue": 0.00, "unit": "Watt", "writable": true }, { "id": "58a1212c-ab6e-4631-b08d-712cdde295c7", "name": "totalEnergyProduced", "displayName": "Produced energy", "displayNameEvent": "Produced energy changed", "displayNameAction": "Set total produced energy", "type": "double", "defaultValue": 0.00, "unit": "KiloWattHour", "writable": true } ] } ] } ] }