344 lines
14 KiB
JSON
344 lines
14 KiB
JSON
{
|
|
"displayName": "UniPi",
|
|
"name": "UniPi",
|
|
"id": "26cba644-35ae-40a6-9c48-924198893a5f",
|
|
"paramTypes": [
|
|
{
|
|
"id": "5329655d-7e91-4b16-9abf-2abc82bf1b3c",
|
|
"name": "port",
|
|
"displayName": "Port",
|
|
"type": "int",
|
|
"defaultValue": "8080"
|
|
}
|
|
],
|
|
"vendors": [
|
|
{
|
|
"displayName": "UniPi",
|
|
"name": "unipi",
|
|
"id": "c82bfe27-d14d-40bd-b12f-ddba214b5fc5",
|
|
"deviceClasses": [
|
|
{
|
|
"id": "58f9db7f-fd33-45af-8c98-047b67ae5267",
|
|
"name": "relayOutput",
|
|
"displayName": "Relay output",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": ["power"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "7a09e3ad-452c-4bf4-a00c-f8114ed9a7a1",
|
|
"name": "number",
|
|
"displayName": "Relay number",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "f9c01e7b-0523-4cac-905a-d5b20028e021",
|
|
"name": "power",
|
|
"displayName": "Power",
|
|
"displayNameEvent": "Relay power changed",
|
|
"displayNameAction": "Set relay power",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"writable": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "0bec278a-98f1-416b-b496-6d00740f178a",
|
|
"name": "digitalInput",
|
|
"displayName": "Digital input",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": [ ],
|
|
"paramTypes": [
|
|
{
|
|
"id": "9c84d9b8-fdc7-41c1-9559-08f061ffc7a6",
|
|
"name": "number",
|
|
"displayName": "Input number",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "fa4f2764-b7ff-45e7-993b-b6af1840fd3d",
|
|
"name": "inputStatus",
|
|
"displayName": "Digital input",
|
|
"displayNameEvent": "Digital input changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "71e03d00-1b62-412b-b55d-ab90ad2eddff",
|
|
"name": "dimmerSwitch",
|
|
"displayName": "Dimmer switch",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": ["longpressbutton"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "2344dedb-3e21-4f59-a016-0fc6233a38ac",
|
|
"name": "inputNumber",
|
|
"displayName": "Input number",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "b39a84ff-45c8-4ec1-b3a9-b99aeefc7221",
|
|
"name": "status",
|
|
"displayName": "Digital input",
|
|
"displayNameEvent": "Digital input changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "3e566b7c-11e6-4e97-9d9f-9636c465639e",
|
|
"name": "dimValue",
|
|
"displayName": "Dim value",
|
|
"displayNameEvent": "Dim value changed",
|
|
"type": "int",
|
|
"defaultValue": 0,
|
|
"unit": "Percentage"
|
|
}
|
|
],
|
|
"eventTypes": [
|
|
{
|
|
"id": "44be91cd-cbeb-477b-bb8c-6a6d4f9aaaf3",
|
|
"name": "pressed",
|
|
"displayName": "Pressed"
|
|
},
|
|
{
|
|
"id": "a4748afe-dcd6-45ea-8574-7b9c0e925f35",
|
|
"name": "longPressed",
|
|
"displayName": "Long pressed"
|
|
},
|
|
{
|
|
"id": "7e7b36f5-b871-43a3-a7f0-6cef1e550ad7",
|
|
"name": "doublePressed",
|
|
"displayName": "Double pressed"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f3a3c5ed-461a-4ca8-930b-df3af821b9e0",
|
|
"name": "digitalOutput",
|
|
"displayName": "Digital output",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": ["power"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "c01d5bde-de5d-42c5-b462-79745827875a",
|
|
"name": "number",
|
|
"displayName": "Output number",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "470a0e30-a170-47ed-9ed3-c41db919555f",
|
|
"name": "power",
|
|
"displayName": "Power",
|
|
"displayNameAction": "set digital output",
|
|
"displayNameEvent": "digital output changed",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"writable": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "9094a69f-f475-4050-a345-5ab52cb19774",
|
|
"name": "analogOutput",
|
|
"displayName": "Analog output",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": [ ],
|
|
"paramTypes": [
|
|
{
|
|
"id": "46e606cc-67ee-4891-bc39-8fb0565c87da",
|
|
"name": "outputNumber",
|
|
"displayName": "Analog output number",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "6d825eb8-6d2a-4ac3-9125-9df8173116c9",
|
|
"name": "outputValue",
|
|
"displayName": "Analog output",
|
|
"displayNameEvent": "Analog output changed",
|
|
"displayNameAction": "Set analog output",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"minValue": 0.00,
|
|
"maxValue": 10.00,
|
|
"defaultValue": 0.00,
|
|
"writable": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "06abd6a4-e655-4243-bc9c-9bd4ef5be2e6",
|
|
"name": "analogInput",
|
|
"displayName": "Analog Input",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": [ ],
|
|
"paramTypes": [
|
|
{
|
|
"id": "cc6eb664-9fd2-457d-9d0d-0eb9703db4a2",
|
|
"name": "inputNumber",
|
|
"displayName": "Analog input number",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "2296f575-cc53-48ef-9086-6a412abfdde5",
|
|
"name": "inputValue",
|
|
"displayName": "Analog input",
|
|
"displayNameEvent": "Analog input changed",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"defaultValue": 0.00
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "eadddc99-ce7d-4169-a2f9-a829fa105ad2",
|
|
"name": "blind",
|
|
"displayName": "Blind",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": ["blind"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "7878ef4b-2395-4995-b17d-b69cb7d280e1",
|
|
"name": "outputOpen",
|
|
"displayName": "Output open",
|
|
"type": "QString"
|
|
},
|
|
{
|
|
"id": "4aa113d0-294b-403d-9dd1-ad0abe833176",
|
|
"name": "outputClose",
|
|
"displayName": "Output close",
|
|
"type": "QString"
|
|
},
|
|
{
|
|
"id": "a030f030-4f26-4f33-aadf-ec3c3a5141a7",
|
|
"name": "outputTypeOpen",
|
|
"displayName": "Output type open",
|
|
"type": "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "fde509c5-8db1-411b-9e71-36997c39ee6b",
|
|
"name": "outputTypeClose",
|
|
"displayName": "Output type close",
|
|
"type": "QString",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes":[
|
|
{
|
|
"id": "b8955f33-780a-48a5-9c50-c1bccf09918f",
|
|
"name": "status",
|
|
"displayName": "Status",
|
|
"displayNameEvent": "Status changed",
|
|
"type": "QString",
|
|
"possibleValues":[
|
|
"opening",
|
|
"stopped",
|
|
"closing"
|
|
],
|
|
"defaultValue": "stopped"
|
|
}
|
|
],
|
|
"actionTypes":[
|
|
{
|
|
"id": "cc8a13ae-2a3d-440a-a127-962fb912e511",
|
|
"name": "open",
|
|
"displayName": "Open"
|
|
},
|
|
{
|
|
"id": "19bda8bb-1a78-4f2f-9927-ff543012462e",
|
|
"name": "stop",
|
|
"displayName": "Stop"
|
|
},
|
|
{
|
|
"id": "7dc32e36-6a5c-46e1-8507-d9283067ac21",
|
|
"name": "close",
|
|
"displayName": "Close"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "34fc941e-3465-4618-acf6-dda9c7242e27",
|
|
"name": "light",
|
|
"displayName": "Light",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": ["light"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "e1375def-edd6-4886-8e87-73cf3ebc819d",
|
|
"name": "output",
|
|
"displayName": "Output",
|
|
"type": "QString"
|
|
},
|
|
{
|
|
"id": "5853de25-94c6-4f50-95cd-f1e3ef2ebc59",
|
|
"name": "outputType",
|
|
"displayName": "Output Type",
|
|
"type": "QString",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes":[
|
|
{
|
|
"id": "3d0d6abc-87b9-42af-820e-e3bc7bde1743",
|
|
"name": "power",
|
|
"displayName": "Power",
|
|
"displayNameEvent": "Power changed",
|
|
"displayNameAction": "Set power",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"writable": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4f0b3cfd-603a-47ec-9719-2db7eeae1143",
|
|
"name": "temperatureSensor",
|
|
"displayName": "Temperature sensor",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": ["temperaturesensor", "connectable"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "4684cee2-674e-4aa4-823d-096bd49f18ee",
|
|
"name": "address",
|
|
"displayName": "Address",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes":[
|
|
{
|
|
"id": "7641d379-b832-40fc-a29b-7d32bba79236",
|
|
"name": "connected",
|
|
"displayName": "Connected",
|
|
"displayNameEvent": "Connection changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "7fd10e94-f11d-4084-8d03-414fd5592b6a",
|
|
"displayName": "Temperature",
|
|
"displayNameEvent": "Temperature changed",
|
|
"name": "temperature",
|
|
"type": "double",
|
|
"defaultValue": 0.00
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|