274 lines
11 KiB
JSON
274 lines
11 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",
|
|
"deviceIcon": "Power",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": [ ],
|
|
"basicTags": ["Device"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "7a09e3ad-452c-4bf4-a00c-f8114ed9a7a1",
|
|
"name": "relayNumber",
|
|
"displayName": "Relay number",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "f9c01e7b-0523-4cac-905a-d5b20028e021",
|
|
"name": "relayStatus",
|
|
"displayName": "Relay",
|
|
"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",
|
|
"deviceIcon": "Switch",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": [ ],
|
|
"basicTags": ["Sensor"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "9c84d9b8-fdc7-41c1-9559-08f061ffc7a6",
|
|
"name": "digitalInputNumber",
|
|
"displayName": "Input number",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "fa4f2764-b7ff-45e7-993b-b6af1840fd3d",
|
|
"name": "digitalInputStatus",
|
|
"displayName": "Digital input",
|
|
"displayNameEvent": "Digital input changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f3a3c5ed-461a-4ca8-930b-df3af821b9e0",
|
|
"name": "digitalOutput",
|
|
"displayName": "Digital output",
|
|
"deviceIcon": "Power",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": [ ],
|
|
"basicTags": ["Device"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "c01d5bde-de5d-42c5-b462-79745827875a",
|
|
"name": "digitalOutputNumber",
|
|
"displayName": "Output number",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "470a0e30-a170-47ed-9ed3-c41db919555f",
|
|
"name": "digitalOutputStatus",
|
|
"displayName": "digital output",
|
|
"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",
|
|
"deviceIcon": "Power",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": [ ],
|
|
"basicTags": ["Device"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "46e606cc-67ee-4891-bc39-8fb0565c87da",
|
|
"name": "analogOutputNumber",
|
|
"displayName": "Analog output number",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "6d825eb8-6d2a-4ac3-9125-9df8173116c9",
|
|
"name": "analogOutputValue",
|
|
"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",
|
|
"deviceIcon": "Power",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": [ ],
|
|
"basicTags": ["Sensor"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "cc6eb664-9fd2-457d-9d0d-0eb9703db4a2",
|
|
"name": "analogInputNumber",
|
|
"displayName": "Analog input number",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "2296f575-cc53-48ef-9086-6a412abfdde5",
|
|
"name": "analogInputValue",
|
|
"displayName": "Analog input",
|
|
"displayNameEvent": "Analog input changed",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"defaultValue": 0.00
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "eadddc99-ce7d-4169-a2f9-a829fa105ad2",
|
|
"name": "shutter",
|
|
"displayName": "Shutter",
|
|
"deviceIcon": "RollerShutter",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": ["shutter"],
|
|
"basicTags": ["Actuator"],
|
|
"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":[
|
|
"open",
|
|
"stop",
|
|
"close"
|
|
],
|
|
"defaultValue": "stop"
|
|
}
|
|
],
|
|
"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",
|
|
"deviceIcon": "LightBulb",
|
|
"createMethods": ["discovery"],
|
|
"interfaces": ["light"],
|
|
"basicTags": ["Actuator"],
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|