nymea-plugins-genericthings/genericthings/integrationplugingenericthi...

1037 lines
47 KiB
JSON

{
"name": "GenericThings",
"displayName": "Generic Things",
"id": "b3188696-2585-4806-bf98-30ab576ce5c8",
"vendors": [
{
"name": "nymea",
"displayName": "nymea",
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
"thingClasses": [
{
"id": "9e69585f-90ba-44e4-ad90-5b4bffbe345a",
"name": "awning",
"displayName": "Generic awning",
"createMethods": ["user"],
"interfaces": ["awning"],
"stateTypes": [
{
"id": "4bb951a4-ea23-4cf0-9269-41d2c4eaf5a4",
"name": "openingOutput",
"displayName": "Opening output",
"displayNameEvent": "Opening output changed",
"displayNameAction": "Set opening output",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput",
"writable": true
},
{
"id": "59bfd575-709f-4e43-9726-de26e6d4ca8b",
"name": "closingOutput",
"displayName": "Closing output",
"displayNameEvent": "Closing output changed",
"displayNameAction": "Set closing output",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput",
"writable": true
},
{
"id": "ff6f2565-2a2e-4d34-b10f-d3f73b676399",
"name": "status",
"displayName": "Status",
"displayNameEvent": "Status changed",
"type": "QString",
"possibleValues": [
"Opening",
"Stopped",
"Closing"
],
"defaultValue": "Stopped"
}
],
"actionTypes": [
{
"id": "979e9c51-5a93-4635-85e3-01874306b229",
"name": "open",
"displayName": "Open"
},
{
"id": "555cafe4-bd12-42c6-bab1-8cd59af6468e",
"name": "stop",
"displayName": "Stop"
},
{
"id": "53b5ba77-9a34-4cd6-ad24-fb01fc465f98",
"name": "close",
"displayName": "Close"
}
]
},
{
"id": "17ee3657-6ad8-4ae2-8959-3cf66cec8d13",
"name": "blind",
"displayName": "Generic blind",
"createMethods": ["user"],
"interfaces": ["blind"],
"stateTypes": [
{
"id": "b2dbf25c-27e5-4f7e-a57d-2ef6d087fa2b",
"name": "openingOutput",
"displayName": "Opening output",
"displayNameEvent": "Opening output changed",
"displayNameAction": "Set opening output",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput",
"writable": true
},
{
"id": "9b673430-572d-4a9c-85d3-dafadbe541cd",
"name": "closingOutput",
"displayName": "Closing output",
"displayNameEvent": "Closing output changed",
"displayNameAction": "Set closing output",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput",
"writable": true
},
{
"id": "5fdec1e0-51f6-48b9-b743-ba572504b2c1",
"name": "status",
"displayName": "Status",
"displayNameEvent": "Status changed",
"type": "QString",
"possibleValues": [
"Opening",
"Stopped",
"Closing"
],
"defaultValue": "Stopped"
}
],
"actionTypes": [
{
"id": "120dc265-dbbb-4f19-9d31-c372c23479c0",
"name": "open",
"displayName": "Open"
},
{
"id": "1a924c9a-5dcb-4b1c-8fd6-ab101098e007",
"name": "stop",
"displayName": "Stop"
},
{
"id": "86e9cf21-7487-47c4-b4be-4a940d7235fb",
"name": "close",
"displayName": "Close"
}
]
},
{
"id": "40aa9f3c-a23c-4f7f-8786-fcf3554f3e19",
"name": "extendedBlind",
"displayName": "Generic blind with position control",
"createMethods": ["user"],
"interfaces": ["extendedblind"],
"settingsTypes": [
{
"id": "27a95b8d-7f97-441b-a3be-0646c517cb06",
"name": "closingDuration",
"displayName": "Closing duration [ms]",
"type": "uint",
"minValue": 1000,
"defaultValue": 5000
}
],
"stateTypes": [
{
"id": "e559f077-e904-4bbc-8ec3-344b814d2eab",
"name": "openingOutput",
"displayName": "Opening output",
"displayNameEvent": "Opening output changed",
"displayNameAction": "Set opening output",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput",
"writable": true
},
{
"id": "1a4a5839-a30d-4239-a124-63bfdc74a8f6",
"name": "closingOutput",
"displayName": "Closing output",
"displayNameEvent": "Closing output changed",
"displayNameAction": "Set closing output",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput",
"writable": true
},
{
"id": "c2354d7e-198a-43ae-aa5f-c6710010c7e1",
"name": "status",
"displayName": "Status",
"displayNameEvent": "Status changed",
"type": "QString",
"possibleValues": [
"Opening",
"Stopped",
"Closing"
],
"defaultValue": "Stopped"
},
{
"id": "941d1e1f-8dd7-4493-812f-6cefefd88c2e",
"name": "moving",
"type": "bool",
"displayName": "Moving",
"displayNameEvent": "Moving changed",
"defaultValue": false
},
{
"id": "181df603-d45f-4d3d-a358-97aa3e4ac0bd",
"name": "percentage",
"displayName": "Percentage",
"displayNameEvent": "Percentage changed",
"displayNameAction": "Set percentage",
"type": "int",
"minValue": 0,
"maxValue": 100,
"defaultValue": 0,
"unit": "Percentage",
"writable": true
}
],
"actionTypes": [
{
"id": "5a7599fa-8351-4ed6-9b98-fa2f3be54304",
"name": "open",
"displayName": "Open"
},
{
"id": "ab67e4bf-c7b6-489b-9b49-3e0a1c7d33ca",
"name": "stop",
"displayName": "Stop"
},
{
"id": "97d6351d-7440-47f3-bdba-a31bb15368ac",
"name": "close",
"displayName": "Close"
}
]
},
{
"id": "e6b96ced-8d50-45da-91c8-792d364d2795",
"name": "venetianBlind",
"displayName": "Venetian blind",
"createMethods": ["user"],
"interfaces": ["venetianblind"],
"settingsTypes": [
{
"id": "4c0bf07d-aaab-4f67-af65-00ceaefbaa84",
"name": "closingDuration",
"displayName": "Closing duration [ms]",
"minValue": 1000,
"type": "uint",
"defaultValue": 5000
},
{
"id": "6c8340bf-7fd3-43e3-a75b-dfa2f6426e11",
"name": "angleTime",
"displayName": "Angle end to end time [ms]",
"minValue": 1,
"type": "uint",
"defaultValue": 1000
}
],
"stateTypes": [
{
"id": "6041dacf-5303-4dc0-ba3c-7ecaa438f2dd",
"name": "openingOutput",
"displayName": "Opening output",
"displayNameEvent": "Opening output changed",
"displayNameAction": "Set opening output",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput",
"writable": true
},
{
"id": "84dd2fa1-85fe-47f3-9e32-e6083432d39c",
"name": "closingOutput",
"displayName": "Closing output",
"displayNameEvent": "Closing output changed",
"displayNameAction": "Set closing output",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput",
"writable": true
},
{
"id": "6fb7826e-b6d8-42f8-b712-719496046436",
"name": "status",
"displayName": "Status",
"displayNameEvent": "Status changed",
"type": "QString",
"possibleValues": [
"Opening",
"Stopped",
"Closing"
],
"defaultValue": "Stopped"
},
{
"id": "6234c07e-4200-4f2c-8cbd-bff24c38c243",
"name": "moving",
"type": "bool",
"displayName": "Moving",
"displayNameEvent": "Moving changed",
"defaultValue": false
},
{
"id": "33dc8019-336d-4d50-8d60-dff8508338ca",
"name": "percentage",
"displayName": "Percentage",
"displayNameEvent": "Percentage changed",
"displayNameAction": "Set percentage",
"type": "int",
"minValue": 0,
"maxValue": 100,
"defaultValue": 0,
"unit": "Percentage",
"writable": true
},
{
"id": "fcb700c4-5da8-4385-85b0-6616e807974e",
"name": "angle",
"displayName": "Angle",
"displayNameEvent": "Angle changed",
"displayNameAction": "Set angle",
"type": "int",
"unit": "Degree",
"minValue": -90,
"maxValue": 90,
"defaultValue": 0,
"writable": true
}
],
"actionTypes": [
{
"id": "3e728e50-3d45-4035-b215-1e604cf3159b",
"name": "open",
"displayName": "Open"
},
{
"id": "6e3eeb5d-d7ed-4175-9795-e76451e0a00b",
"name": "stop",
"displayName": "Stop"
},
{
"id": "1c71f050-f6cb-4929-9c9d-7c262f77c143",
"name": "close",
"displayName": "Close"
}
]
},
{
"id": "7917c2e7-d7d2-4c47-a38d-41f7dd7693d9",
"name": "shutter",
"displayName": "Generic shutter",
"createMethods": ["user"],
"interfaces": ["shutter"],
"stateTypes": [
{
"id": "cc547728-b309-4695-b355-49748ef2521c",
"name": "openingOutput",
"displayName": "Opening output",
"displayNameEvent": "Opening output changed",
"displayNameAction": "Set opening output",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput",
"writable": true
},
{
"id": "1c35df0e-4c41-455f-893a-0145377952a0",
"name": "closingOutput",
"displayName": "Closing output",
"displayNameEvent": "Closing output changed",
"displayNameAction": "Set closing output",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput",
"writable": true
},
{
"id": "6d6e72dc-4d2b-4ec1-82c2-54405a682711",
"name": "status",
"displayName": "Status",
"displayNameEvent": "Status changed",
"type": "QString",
"possibleValues": [
"Opening",
"Stopped",
"Closing"
],
"defaultValue": "Stopped"
}
],
"actionTypes": [
{
"id": "9deb662d-2378-4345-a898-8742d41e43c1",
"name": "open",
"displayName": "Open"
},
{
"id": "db5f3332-1f4e-4f9e-84d2-93c5d7de315c",
"name": "stop",
"displayName": "Stop"
},
{
"id": "cf5303f1-67c7-4cef-b11c-eb9de6fc8a87",
"name": "close",
"displayName": "Close"
}
]
},
{
"id": "d6699a12-f4a6-4c50-951c-f4f1cd0501dc",
"name": "impulseGaragedooor",
"displayName": "Impulse based garage door",
"createMethods": ["user"],
"interfaces": ["impulsegaragedoor"],
"settingsTypes": [
{
"id": "962b356c-e975-4d33-b114-10f655eaf74c",
"name": "impulseDuration",
"displayName": "Impulse duration",
"type": "uint",
"defaultValue": "200"
}
],
"actionTypes": [
{
"id": "ff5461c6-70fc-435e-8424-96fa59ed321e",
"name": "triggerImpulse",
"displayName": "Operate"
}
],
"stateTypes": [
{
"id": "5ccaf0aa-01a4-441f-b6ca-18940da096a5",
"name": "impulse",
"displayName": "Impulse",
"displayNameEvent": "Impulse changed",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput"
}
]
},
{
"id": "572403b1-bc22-4620-8170-53147a546033",
"name": "simpleGaragedoor",
"displayName": "Simple garage door",
"createMethods": ["user"],
"interfaces": ["simplegaragedoor"],
"actionTypes": [
{
"id": "3edb25af-ad51-495b-9ac9-ab97669339b7",
"name": "open",
"displayName": "Open"
},
{
"id": "1111c0ed-69b6-480c-9fd5-15292600d4f4",
"name": "close",
"displayName": "Close"
},
{
"id": "f346766f-44ee-452b-bb9c-e89ec0f56016",
"name": "stop",
"displayName": "Stop"
}
],
"stateTypes": [
{
"id": "fcd421eb-54f2-4195-bdef-ffa69e9dcc57",
"name": "openingOutput",
"displayName": "Opening output",
"displayNameEvent": "Opening output changed",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput"
},
{
"id": "44ef060a-e6fc-4f33-84d2-b24ac7d31ff1",
"name": "closingOutput",
"displayName": "Closing output",
"displayNameEvent": "Closing output changed",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput"
}
]
},
{
"id": "7341e689-4495-4422-851a-3e7c790394b8",
"name": "extendedStatefulGaragedoor",
"displayName": "Garage door with position control",
"createMethods": ["user"],
"interfaces": ["extendedstatefulgaragedoor"],
"settingsTypes": [
{
"id": "04fb7724-a870-4df9-a79e-fab693931238",
"name": "openingDuration",
"displayName": "Opening duration [ms]",
"type": "uint",
"minValue": 1000,
"defaultValue": 5000
}
],
"stateTypes": [
{
"id": "0cc74edb-7116-47cf-953a-409933f26557",
"name": "state",
"displayName": "State",
"displayNameEvent": "State changed",
"type": "QString",
"possibleValues": ["open", "closed", "opening", "closing", "intermediate"],
"defaultValue": "closed"
},
{
"id": "963bed3d-2ccb-4dd0-b609-c7e9f25d32d6",
"name": "moving",
"displayName": "Moving",
"displayNameEvent": "Moving changed",
"type": "bool",
"defaultValue": false
},
{
"id": "f9244c14-0bc9-49ce-90a5-437e66245594",
"name": "percentage",
"displayName": "Open position",
"displayNameEvent": "Open position changed",
"displayNameAction": "Set open position",
"type": "int",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100,
"writable": true
},
{
"id": "ecc799c7-4d74-4d1f-94e5-2d74e77493ae",
"name": "openingOutput",
"displayName": "Opening output",
"displayNameEvent": "Opening output changed",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput"
},
{
"id": "e1c14bcd-6131-494b-8dd1-46738e9c8f5e",
"name": "closingOutput",
"displayName": "Closing output",
"displayNameEvent": "Closing output changed",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput"
}
],
"actionTypes": [
{
"id": "4a3a3b88-47e9-436f-86be-b5955f3fc2f7",
"name": "open",
"displayName": "Open"
},
{
"id": "2420fcdb-03d3-4edb-aa89-e3b93c7d6d18",
"name": "close",
"displayName": "Close"
},
{
"id": "109c3eaf-26a0-4121-8be2-1363253178fd",
"name": "stop",
"displayName": "Stop"
}
]
},
{
"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": "c50d3216-f307-4f9f-8190-4391510c385c",
"name": "light",
"displayName": "Generic light",
"createMethods": ["user"],
"interfaces": ["light"],
"stateTypes": [
{
"id": "8b6e4a67-6522-408b-b676-8d2f09ed2d54",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Power changed",
"displayNameAction": "Set power",
"type": "bool",
"defaultValue": false,
"writable": true,
"ioType": "digitalInput"
}
]
},
{
"id": "392854c4-3d14-4cf8-96cd-d933526bd197",
"name": "heating",
"displayName": "Generic heating",
"createMethods": ["user"],
"interfaces": ["heating"],
"stateTypes": [
{
"id": "409b635e-a754-4b5c-b3f0-d1c5a0fb3f03",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Power changed",
"displayNameAction": "Set power",
"type": "bool",
"defaultValue": false,
"writable": true,
"ioType": "digitalInput"
}
]
},
{
"id": "57daa147-dd6f-4673-a757-d8f01a2054c7",
"name": "powerSwitch",
"displayName": "Generic power switch",
"createMethods": ["user"],
"interfaces": ["power"],
"stateTypes": [
{
"id": "08087af6-6a3b-4e4a-ac6d-56f23ce63edf",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Powered on/off",
"displayNameAction": "Power on/off",
"type": "bool",
"defaultValue": false,
"writable": true,
"ioType": "digitalInput"
}
]
},
{
"id": "d013b980-20d5-4791-9c4f-b411c39241d7",
"name": "irrigation",
"displayName": "Generic irrigation",
"createMethods": ["user"],
"interfaces": ["irrigation"],
"stateTypes": [
{
"id": "0212a287-c5ae-4644-8803-adfdd8caeb9a",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Turned on or off",
"displayNameAction": "Turn on or off",
"type": "bool",
"defaultValue": false,
"writable": true,
"ioType": "digitalInput"
}
]
},
{
"id": "24af8dd3-ddf0-47f0-bf09-70fdfd8dceab",
"name": "ventilation",
"displayName": "Generic ventilation",
"createMethods": ["user"],
"interfaces": ["ventilation"],
"stateTypes": [
{
"id": "846711b7-ea5a-4c66-a267-001c60406509",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Turned on or off",
"displayNameAction": "Turn on or off",
"type": "bool",
"defaultValue": false,
"writable": true,
"ioType": "digitalInput"
}
]
},
{
"id": "cf3d65db-6f68-457b-968c-cfb66cbd5311",
"name": "temperatureSensor",
"displayName": "Generic temperature sensor",
"createMethods": ["user"],
"interfaces": ["temperaturesensor"],
"settingsTypes": [
{
"id": "c86ae5d3-9335-4b6e-8231-bf3ed6670dff",
"name": "minTemp",
"displayName": "Minimum temperature",
"type": "double",
"defaultValue": -20,
"unit": "DegreeCelsius"
},
{
"id": "8b5947ab-127f-4995-853b-eeeb628811e3",
"name": "maxTemp",
"displayName": "Maximum temperature",
"type": "double",
"defaultValue": 50,
"unit": "DegreeCelsius"
},
{
"id": "3b543c3a-1fc0-45b5-8c07-600a6045f82e",
"name": "accuracy",
"displayName": "Accuracy (decimal places)",
"type": "uint",
"minValue": 0,
"maxValue": 5,
"defaultValue": 1
}
],
"stateTypes": [
{
"id": "d0b6c4be-339e-4b0f-a234-0611b7565395",
"name": "temperature",
"displayName": "Temperature",
"displayNameEvent": "Temperature changed",
"type": "double",
"unit": "DegreeCelsius",
"defaultValue": 0
},
{
"id": "fed37466-1264-4ac1-84fd-aff3a1f7ff04",
"name": "input",
"displayName": "Input value",
"displayNameEvent": "Input value changed",
"displayNameAction": "Set input value",
"type": "double",
"defaultValue": 0,
"minValue": 0,
"maxValue": 1,
"writable": true,
"ioType": "analogOutput"
}
]
},
{
"id": "d295bc64-773c-42a9-83e2-80db5fa0d1ce",
"name": "humiditySensor",
"displayName": "Generic humidity sensor",
"createMethods": ["user"],
"interfaces": ["humiditysensor"],
"settingsTypes": [
{
"id": "0218ffa9-3d49-4b25-a59f-c8831f190432",
"name": "minHumidity",
"displayName": "Minimum humidity",
"type": "double",
"defaultValue": 0,
"unit": "Percentage"
},
{
"id": "10afc387-68d1-47ea-a816-0d1acad47b3c",
"name": "maxHumidity",
"displayName": "Maximum humidity",
"type": "double",
"defaultValue": 100,
"unit": "Percentage"
},
{
"id": "38064841-6121-4862-a639-08fb0b778511",
"name": "accuracy",
"displayName": "Accuracy (decimal places)",
"type": "uint",
"minValue": 0,
"maxValue": 5,
"defaultValue": 1
}
],
"stateTypes": [
{
"id": "925225d9-2965-444a-9c42-63c2873700fb",
"name": "humidity",
"displayName": "Humidity",
"displayNameEvent": "Humidity changed",
"type": "double",
"unit": "Percentage",
"defaultValue": 0,
"minValue": 0,
"maxValue": 100
},
{
"id": "a8223e65-e704-4f84-9bbe-d8fc42597047",
"name": "input",
"displayName": "Input value",
"displayNameEvent": "Input value changed",
"displayNameAction": "Set input value",
"type": "double",
"defaultValue": 0,
"minValue": 0,
"maxValue": 100,
"writable": true,
"ioType": "analogOutput"
}
]
},
{
"id": "33e610cf-ff30-481b-9f0b-d6857bcd41a5",
"name": "moistureSensor",
"displayName": "Generic soil moisture sensor",
"createMethods": ["user"],
"interfaces": ["moisturesensor"],
"settingsTypes": [
{
"id": "32153786-f1ae-4aa4-a84c-b9054102eb92",
"name": "minMoisture",
"displayName": "Minimum moisture",
"type": "double",
"defaultValue": 0,
"unit": "Percentage"
},
{
"id": "3426817d-065e-4cfc-aa21-bb434de684d6",
"name": "maxMoisture",
"displayName": "Maximum moisture",
"type": "double",
"defaultValue": 100,
"unit": "Percentage"
},
{
"id": "3c967a68-9951-4c9a-b019-79b913e762b6",
"name": "accuracy",
"displayName": "Accuracy (decimal places)",
"type": "uint",
"minValue": 0,
"maxValue": 5,
"defaultValue": 1
}
],
"stateTypes": [
{
"id": "7a62e1d2-92f2-424c-876c-870478a4b2bd",
"name": "moisture",
"displayName": "Soil moisture",
"displayNameEvent": "Soil moisture changed",
"type": "double",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 0
},
{
"id": "ce64a425-d990-4fc1-966b-be6de445792b",
"name": "input",
"displayName": "Input value",
"displayNameEvent": "Input value changed",
"displayNameAction": "Set input value",
"type": "double",
"defaultValue": 0,
"minValue": 0,
"maxValue": 100,
"writable": true,
"ioType": "analogOutput"
}
]
},
{
"id": "9a8d804b-d1dc-450a-8c41-be491e5cdda0",
"name": "pressureSensor",
"displayName": "Generic pressure sensor",
"createMethods": ["user"],
"interfaces": ["pressuresensor"],
"settingsTypes": [
{
"id": "035e2619-f9c2-4e8f-95dd-f124ad9402d0",
"name": "minPressure",
"displayName": "Minimum pressure",
"type": "double",
"defaultValue": 0,
"unit": "MilliBar"
},
{
"id": "06e21251-8b4f-44a1-8504-6b51f8526bd0",
"name": "maxPressure",
"displayName": "Maximum pressure",
"type": "double",
"defaultValue": 2000,
"unit": "MilliBar"
},
{
"id": "021a17d8-9e5e-4dd6-835d-1a3e1ffd6b23",
"name": "accuracy",
"displayName": "Accuracy (decimal places)",
"type": "uint",
"minValue": 0,
"maxValue": 5,
"defaultValue": 1
}
],
"stateTypes": [
{
"id": "e645a979-1465-4592-b8b0-f4c123db0800",
"name": "pressure",
"displayName": "Pressure",
"displayNameEvent": "Pressure changed",
"type": "double",
"unit": "MilliBar",
"defaultValue": 0
},
{
"id": "c320577c-371a-442b-ac80-b692ff2064c9",
"name": "input",
"displayName": "Input value",
"displayNameEvent": "Input value changed",
"displayNameAction": "Set input value",
"type": "double",
"defaultValue": 0,
"minValue": 0,
"maxValue": 100,
"writable": true,
"ioType": "analogOutput"
}
]
},
{
"id": "a58a2dae-4148-4a4d-ab34-2a11124454a0",
"name": "co2Sensor",
"displayName": "Generic CO2 sensor",
"createMethods": ["user"],
"interfaces": ["co2Sensor"],
"settingsTypes": [
{
"id": "a0d8a6ec-599a-4ded-ae03-2950561f0b72",
"name": "minCO2",
"displayName": "Minimum CO2",
"type": "double",
"defaultValue": 0,
"unit": "PartsPerMillion"
},
{
"id": "a3029bee-8b13-4aed-8ebd-eaceb603f8ef",
"name": "maxCO2",
"displayName": "Maximum CO2",
"type": "double",
"defaultValue": 2000,
"unit": "PartsPerMillion"
},
{
"id": "236831a8-a455-4e38-a9cd-eabbebaa3f67",
"name": "accuracy",
"displayName": "Accuracy (decimal places)",
"type": "uint",
"minValue": 0,
"maxValue": 5,
"defaultValue": 1
}
],
"stateTypes": [
{
"id": "755c4c7f-093e-41dd-a38d-9ee18c9890d6",
"name": "co2",
"displayName": "CO2",
"displayNameEvent": "CO2 changed",
"type": "double",
"unit": "PartsPerMillion",
"defaultValue": 0
},
{
"id": "7dc765f8-fa9b-4199-8f21-49ed452f226d",
"name": "input",
"displayName": "Input value",
"displayNameEvent": "Input value changed",
"displayNameAction": "Set input value",
"type": "double",
"defaultValue": 0,
"minValue": 0,
"maxValue": 100,
"writable": true,
"ioType": "analogOutput"
}
]
},
{
"id": "c3123967-f741-4fe1-a0d4-9a3e405d7e52",
"name": "extendedSmartMeterConsumer",
"displayName": "Impulse based energy meter",
"createMethods": ["user"],
"interfaces": ["extendedsmartmeterconsumer"],
"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": "Power",
"displayNameEvent": "Power 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"
}
]
}
]
}
]
}