etm-powersync-plugins/onewire/devicepluginonewire.json
2019-09-15 13:35:32 +02:00

156 lines
6.4 KiB
JSON

{
"displayName": "One Wire",
"name": "OneWire",
"id": "2c697fb7-0645-466d-9cb9-aa1922c85bee",
"vendors": [
{
"displayName": "One wire",
"name": "oneWire",
"id": "cecc5fae-29cf-40c0-b1f8-0af2dc8e8a63",
"deviceClasses": [
{
"id": "c36c68d9-6182-4ae1-972d-b8b5e0cf185f",
"name": "oneWireInterface",
"displayName": "One wire interface",
"interfaces": ["connectable"],
"createMethods": ["user"],
"paramTypes": [
{
"id": "a0e773ff-fd19-499e-96f0-830168229cd3",
"name": "path",
"displayName": "Path",
"type": "QString",
"defaultValue": "/dev/ttyS0"
}
],
"stateTypes": [
{
"id": "d0ded173-c382-4ee3-8e24-3647b4e16afa",
"name": "connected",
"displayName": "connected",
"displayNameEvent": "connected changed",
"defaultValue": false,
"type": "bool"
},
{
"id": "64baf50e-8ed4-4526-8b92-7e4662d6fa39",
"name": "autoAdd",
"displayName": "Auto add one wire devices",
"displayNameAction": "Set auto add mode",
"displayNameEvent": "Auto add one wire devices changed",
"defaultValue": false,
"type": "bool",
"writable": true
}
]
},
{
"id": "e13beb24-953c-48b3-9262-7cde31d42ef5",
"name": "temperatureSensor",
"displayName": "Temperature Sensor",
"interfaces": ["temperaturesensor"],
"createMethods": ["discovery"],
"paramTypes": [
{
"id": "b4368f34-d9bb-496f-84ba-091bd4b6a332",
"name": "address",
"displayName": "Address",
"type": "QString",
"readOnly": true
},
{
"id": "5005822d-6a32-4bb8-9b77-f79da7382f76",
"name": "type",
"displayName": "Type",
"type": "QString",
"inputType": "TextLine",
"readOnly": true
}
],
"stateTypes": [
{
"id": "b04ee2a5-9b27-4ffc-9e12-7e05f5a41690",
"name": "temperature",
"displayName": "temperature",
"displayNameEvent": "temperature changed",
"unit": "DegreeCelsius",
"type": "double",
"defaultValue": 0
}
]
},
{
"id": "71691119-3bda-4424-b853-1a00f21086e1",
"name": "switch",
"displayName": "Switch",
"interfaces": [ ],
"createMethods": ["discovery"],
"paramTypes": [
{
"id": "e3e6e596-0cd4-42a3-8401-ccf6349314b7",
"name": "address",
"displayName": "Address",
"type": "QString",
"readOnly": true
},
{
"id": "34c8f771-4141-4183-9eaf-becbaf362ac8",
"name": "type",
"displayName": "Type",
"type": "QString",
"inputType": "TextLine",
"readOnly": true
}
],
"stateTypes": [
{
"id": "78fa12c0-246c-4112-8be6-5943d3c3cda5",
"name": "digitalOutput",
"displayName": "Digital output",
"displayNameEvent": "Digital output changed",
"displayNameAction": "Set digital output",
"type": "bool",
"defaultValue": false,
"writable": true
}
]
},
{
"id": "22aff41f-0f48-40f2-aa4e-bb251723be1c",
"name": "iButton",
"displayName": "iButton",
"interfaces": [ ],
"createMethods": ["discovery"],
"paramTypes": [
{
"id": "759e919c-8af2-43dd-af99-9b8c59321050",
"name": "address",
"displayName": "Address",
"type": "QString",
"readOnly": true
},
{
"id": "5ca8d942-4ef2-47be-8ac9-be2ee19e168d",
"name": "type",
"displayName": "Type",
"type": "QString",
"inputType": "TextLine",
"readOnly": true
}
],
"stateTypes": [
],
"eventTypes": [
{
"id": "61d69bec-c948-4703-9686-8762381d0ae4",
"name": "authenticated",
"displayName": "Authenticated"
}
]
}
]
}
]
}