nymea-plugins-genericthings/genericgarages/integrationplugingenericgar...

177 lines
7.7 KiB
JSON

{
"name": "genericGarages",
"displayName": "Generic garages",
"id": "5049e7d8-bed7-43c6-9107-b0c1c558ae35",
"vendors": [
{
"name": "nymea",
"displayName": "nymea",
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
"thingClasses": [
{
"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",
"unit": "Percentage",
"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"
}
]
}
]
}
]
}