225 lines
9.1 KiB
JSON
225 lines
9.1 KiB
JSON
{
|
|
"displayName": "uni pi",
|
|
"name": "UniPi",
|
|
"id": "26cba644-35ae-40a6-9c48-924198893a5f",
|
|
"vendors": [
|
|
{
|
|
"displayName": "UniPi",
|
|
"name": "unipi",
|
|
"id": "c82bfe27-d14d-40bd-b12f-ddba214b5fc5",
|
|
"deviceClasses": [
|
|
{
|
|
"id": "f1663756-657d-4dbd-9568-e2edf513589f",
|
|
"name": "neuron",
|
|
"displayName": "Neuron",
|
|
"deviceIcon": "Gateway",
|
|
"createMethods": ["user"],
|
|
"interface": [],
|
|
"basicTags": [
|
|
"Device",
|
|
"Gateway"
|
|
],
|
|
"paramTypes": [
|
|
{
|
|
"id": "5329655d-7e91-4b16-9abf-2abc82bf1b3c",
|
|
"name": "port",
|
|
"displayName": "port",
|
|
"type": "int",
|
|
"defaultValue": "8080"
|
|
}
|
|
],
|
|
"actionTypes": [
|
|
],
|
|
"stateTypes": [
|
|
]
|
|
},
|
|
{
|
|
"id": "58f9db7f-fd33-45af-8c98-047b67ae5267",
|
|
"name": "relayOutput",
|
|
"displayName": "Relay Output",
|
|
"deviceIcon": "Power",
|
|
"createMethods": ["auto"],
|
|
"interface": [],
|
|
"basicTags": [
|
|
"Device"
|
|
],
|
|
"paramTypes": [
|
|
{
|
|
"id": "7a09e3ad-452c-4bf4-a00c-f8114ed9a7a1",
|
|
"name": "relayNumber",
|
|
"displayName": "relay number",
|
|
"type": "QString"
|
|
},
|
|
{
|
|
"id": "ebbf4c9c-25a9-45c1-be72-cc01aaea959c",
|
|
"name": "parentId",
|
|
"displayName": "parent ID",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "f9c01e7b-0523-4cac-905a-d5b20028e021",
|
|
"name": "relayStatus",
|
|
"displayName": "relay",
|
|
"type": "bool",
|
|
"displayNameAction": "set relay",
|
|
"displayNameEvent": "relay changed",
|
|
"defaultValue": false,
|
|
"writable": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "0bec278a-98f1-416b-b496-6d00740f178a",
|
|
"name": "digitalInput",
|
|
"displayName": "digital input",
|
|
"deviceIcon": "Switch",
|
|
"createMethods": ["auto"],
|
|
"interface": [],
|
|
"basicTags": [
|
|
"Sensor"
|
|
],
|
|
"paramTypes": [
|
|
{
|
|
"id": "9c84d9b8-fdc7-41c1-9559-08f061ffc7a6",
|
|
"name": "digitalInputNumber",
|
|
"displayName": "input number",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"id": "ebbf4c9c-25a9-45c1-be72-cc01aaea959c",
|
|
"name": "parentId",
|
|
"displayName": "parent ID",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "fa4f2764-b7ff-45e7-993b-b6af1840fd3d",
|
|
"name": "digitalInputStatus",
|
|
"displayName": "input",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"displayNameEvent": "input changed"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f3a3c5ed-461a-4ca8-930b-df3af821b9e0",
|
|
"name": "digitalOutput",
|
|
"displayName": "digital output",
|
|
"deviceIcon": "Power",
|
|
"createMethods": ["auto"],
|
|
"interface": [],
|
|
"basicTags": [
|
|
"Device"
|
|
],
|
|
"paramTypes": [
|
|
{
|
|
"id": "c01d5bde-de5d-42c5-b462-79745827875a",
|
|
"name": "digitalOutputNumber",
|
|
"displayName": "input number",
|
|
"type": "QString"
|
|
},
|
|
{
|
|
"id": "ebbf4c9c-25a9-45c1-be72-cc01aaea959c",
|
|
"name": "parentId",
|
|
"displayName": "parent ID",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "470a0e30-a170-47ed-9ed3-c41db919555f",
|
|
"name": "digitalOutputStatus",
|
|
"displayName": "digital output",
|
|
"type": "bool",
|
|
"displayNameAction": "set digital output",
|
|
"displayNameEvent": "digital output changed",
|
|
"defaultValue": false,
|
|
"writable": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "9094a69f-f475-4050-a345-5ab52cb19774",
|
|
"name": "analogOutput",
|
|
"displayName": "Analog Output",
|
|
"deviceIcon": "Power",
|
|
"createMethods": ["auto"],
|
|
"interface": [],
|
|
"basicTags": [
|
|
"Device"
|
|
],
|
|
"paramTypes": [
|
|
{
|
|
"id": "46e606cc-67ee-4891-bc39-8fb0565c87da",
|
|
"name": "analogOutputNumber",
|
|
"displayName": "analog output number",
|
|
"type": "QString"
|
|
},
|
|
{
|
|
"id": "ebbf4c9c-25a9-45c1-be72-cc01aaea959c",
|
|
"name": "parentId",
|
|
"displayName": "parent ID",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "6d825eb8-6d2a-4ac3-9125-9df8173116c9",
|
|
"name": "analogOutputValue",
|
|
"displayName": "analog output",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"displayNameAction": "set analog output",
|
|
"displayNameEvent": "analog output changed",
|
|
"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": ["auto"],
|
|
"interface": [],
|
|
"basicTags": [
|
|
"Sensor"
|
|
],
|
|
"paramTypes": [
|
|
{
|
|
"id": "cc6eb664-9fd2-457d-9d0d-0eb9703db4a2",
|
|
"name": "analogInputNumber",
|
|
"displayName": "analog input number",
|
|
"type": "QString"
|
|
},
|
|
{
|
|
"id": "ebbf4c9c-25a9-45c1-be72-cc01aaea959c",
|
|
"name": "parentId",
|
|
"displayName": "parent ID",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "2296f575-cc53-48ef-9086-6a412abfdde5",
|
|
"name": "analogInputValue",
|
|
"displayName": "analog output",
|
|
"type": "double",
|
|
"unit": "Volt",
|
|
"displayNameEvent": "analog input changed",
|
|
"defaultValue": 0.00
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|