mirror of https://github.com/nymea/nymea.git
128 lines
5.1 KiB
JSON
128 lines
5.1 KiB
JSON
{
|
|
"id": "9be90b21-778c-4080-93c9-84ae1ab60734",
|
|
"name": "pyMock",
|
|
"displayName": "Python mock plugin",
|
|
"paramTypes": [
|
|
{
|
|
"id": "1d3422cb-fcdd-4ab5-ac6e-056288439343",
|
|
"name": "autoThingCount",
|
|
"displayName": "Number of auto things",
|
|
"type": "int",
|
|
"defaultValue": 0
|
|
}
|
|
],
|
|
"vendors": [
|
|
{
|
|
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
|
|
"name": "nymea",
|
|
"displayName": "nymea GmbH",
|
|
"thingClasses": [
|
|
{
|
|
"id": "727d3e73-505d-4118-adf4-6408b46a5d48",
|
|
"name": "pyMockAuto",
|
|
"displayName": "Auto Python mock thing",
|
|
"createMethods": ["auto"],
|
|
"setupMethod": "justAdd",
|
|
"paramTypes": [
|
|
{
|
|
"id": "8733557e-c599-4169-bcfa-5cc033c17b85",
|
|
"name": "param1",
|
|
"displayName": "Param 1",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "12c82472-56b0-4229-b324-4aaa6850320e",
|
|
"name": "state1",
|
|
"displayName": "State 1",
|
|
"displayNameEvent": "State 1 changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1761c256-99b1-41bd-988a-a76087f6a4f1",
|
|
"name": "pyMock",
|
|
"displayName": "Python mock thing",
|
|
"createMethods": ["user"],
|
|
"setupMethod": "justAdd",
|
|
"stateTypes": [
|
|
{
|
|
"id": "24714828-93ec-41a7-875e-6a0b5b57d25c",
|
|
"name": "state1",
|
|
"displayName": "State 1",
|
|
"displayNameEvent": "State 1 changed",
|
|
"displayNameAction": "Set state 1",
|
|
"type": "int",
|
|
"defaultValue": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "248c5046-847b-44d0-ab7c-684ff79197dc",
|
|
"name": "pyMockDiscoveryPairing",
|
|
"displayName": "Python mock thing with discovery and pairing",
|
|
"createMethods": ["discovery"],
|
|
"setupMethod": "userAndPassword",
|
|
"discoveryParamTypes": [
|
|
{
|
|
"id": "ef5f6b90-e9d8-4e77-a14d-6725cfb07116",
|
|
"name": "resultCount",
|
|
"displayName": "Result count",
|
|
"type": "int",
|
|
"defaultValue": 2
|
|
}
|
|
],
|
|
"paramTypes": [
|
|
{
|
|
"id": "69328949-13ad-4bf4-b664-e7ee409ee51d",
|
|
"name": "param1",
|
|
"displayName": "Param 1",
|
|
"type": "int",
|
|
"defaultValue": 0
|
|
}
|
|
],
|
|
"settingsTypes": [
|
|
{
|
|
"id": "d2312d00-22f5-4e2c-a6cc-8e4cade2d58b",
|
|
"name": "setting1",
|
|
"displayName": "Setting 1",
|
|
"type": "QString",
|
|
"defaultValue": "hello"
|
|
}
|
|
],
|
|
"eventTypes": [
|
|
{
|
|
"id": "e6b98ef6-7922-48e6-b508-238d178b86ca",
|
|
"name": "event1",
|
|
"displayName": "Event 1",
|
|
"paramTypes": [
|
|
{
|
|
"id": "7c265a6a-f0ae-4822-a14f-e6a090f5a310",
|
|
"name": "param1",
|
|
"displayName": "Event param 1",
|
|
"type": "QString"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "99d0af17-9e8c-42bb-bece-a5d114f051d3",
|
|
"name": "state1",
|
|
"displayName": "State 1",
|
|
"displayNameEvent": "State 1 changed",
|
|
"displayNameAction": "Set state 1",
|
|
"type": "int",
|
|
"defaultValue": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|