nymea-plugins/gpio/integrationplugingpio.json

446 lines
19 KiB
JSON

{
"displayName": "Gpio Controller",
"name": "GpioController",
"id": "127ead55-996a-44ac-ba82-fc3c634e018a",
"vendors": [
{
"displayName": "Raspberry Pi",
"name": "raspberryPi",
"id": "f0d00b66-bbd8-4a07-8591-ea48a61b229e",
"thingClasses": [
{
"id": "3885c520-e202-4435-88f6-3c35c362b2e6",
"displayName": "GPIO Output",
"name": "gpioOutputRpi",
"createMethods": ["discovery"],
"interfaces": ["power"],
"paramTypes": [
{
"id": "9eda783f-6d9f-4d39-986d-d2cbfff5a7dd",
"name": "gpio",
"displayName": "GPIO",
"type": "int",
"defaultValue": -1
},
{
"id": "2204d278-7bc7-407f-ac82-ce3ae1d5779c",
"name": "pin",
"displayName": "Pin number",
"type": "int",
"defaultValue": -1
},
{
"id": "4dfddecc-d41c-4b31-bf4a-04297097bd5c",
"name": "activeLow",
"displayName": "Active low",
"type": "bool",
"defaultValue": false
},
{
"id": "504798eb-1faa-4703-a57a-2778e4bf9a67",
"name": "description",
"displayName": "Description",
"type": "QString",
"defaultValue": "-"
}
],
"stateTypes": [
{
"id": "06843766-358e-44b0-8d52-2b46ef98459a",
"name": "power",
"displayName": "Power",
"type": "bool",
"defaultValue": false,
"writable": true,
"displayNameEvent": "Power changed",
"displayNameAction": "Set power",
"ioType": "digitalOutput",
"cached": true
}
]
},
{
"id": "6aff228b-0410-4ef9-9593-51e8639aacea",
"displayName": "GPIO Input",
"name": "gpioInputRpi",
"createMethods": ["discovery"],
"paramTypes": [
{
"id": "b45ca4a8-c67a-411c-957c-0e78e1f12c0b",
"name": "gpio",
"displayName": "GPIO",
"type": "int",
"defaultValue": -1
},
{
"id": "efd3df4a-d2b6-44f3-9095-7bba07891735",
"name": "pin",
"displayName": "Pin number",
"type": "int",
"defaultValue": -1
},
{
"id": "d877b7cd-0440-4f49-a6d6-5c679d9f3cc3",
"name": "activeLow",
"displayName": "Active low",
"type": "bool",
"defaultValue": false
},
{
"id": "720bb37e-56e6-419e-878e-8c80aaf7ce32",
"name": "description",
"displayName": "Description",
"type": "QString",
"defaultValue": "-"
}
],
"stateTypes": [
{
"id": "57f1b7cc-26c8-434b-ba04-d3077dc886c8",
"name": "power",
"displayName": "Powered",
"type": "bool",
"defaultValue": false,
"displayNameEvent": "Powered changed",
"ioType": "digitalInput"
}
]
},
{
"id": "1abd4dad-0757-4160-8df1-75c45bd61e6e",
"displayName": "GPIO Button",
"name": "gpioButtonRpi",
"createMethods": [ "discovery" ],
"interfaces": [ "longpressbutton" ],
"paramTypes": [
{
"id": "234538be-710d-4a0b-9cb9-ac57b47ab14d",
"name": "gpio",
"displayName": "GPIO",
"type": "int",
"defaultValue": -1
},
{
"id": "90735212-d518-43c0-8fe9-aaa5362a512d",
"name": "pin",
"displayName": "Pin number",
"type": "int",
"defaultValue": -1
},
{
"id": "ad7b1641-bc7a-46d3-b029-d2f7628eb790",
"name": "activeLow",
"displayName": "Active low",
"type": "bool",
"defaultValue": false
},
{
"id": "5ea2fbf9-fd20-4bd7-b0ed-08f72f18157f",
"name": "description",
"displayName": "Description",
"type": "QString",
"defaultValue": "-"
}
],
"settingsTypes": [
{
"id": "d826f02e-7528-4ad5-ac71-f49df988114d",
"name": "repeateLongPressed",
"displayName": "Repeat long pressed",
"type": "bool",
"defaultValue": false
},
{
"id": "46a25783-3e96-4489-a3f0-15236d938f17",
"name": "longPressedTimeout",
"displayName": "Long pressed timeout [ms]",
"type": "uint",
"minValue": 200,
"defaultValue": 250
}
],
"eventTypes": [
{
"id": "28330833-158c-4f99-9f6e-407ee8f29a4e",
"name": "pressed",
"displayName": "Pressed"
},
{
"id": "5ad39e3d-b155-4091-a7ef-d843c00d75aa",
"name": "longPressed",
"displayName": "Long pressed"
}
]
},
{
"id": "75b13371-a064-47a7-bb82-e9d93a5b5027",
"displayName": "Counter",
"name": "counterRpi",
"createMethods": ["discovery"],
"interfaces": [],
"paramTypes": [
{
"id": "a6feb722-1dc9-4262-96b0-96489507508f",
"name": "gpio",
"displayName": "GPIO",
"type": "int",
"defaultValue": -1
},
{
"id": "b2c194bd-1aef-4851-a290-dd45269cc592",
"name": "pin",
"displayName": "Pin number",
"type": "int",
"defaultValue": -1
},
{
"id": "2b57c0ed-a7e5-4198-a82a-75c2cf3ca710",
"name": "activeLow",
"displayName": "Active low",
"type": "bool",
"defaultValue": false
},
{
"id": "f7b82516-ed2c-4d73-86fa-957b8b6737e4",
"name": "description",
"displayName": "Description",
"type": "QString",
"defaultValue": "-"
}
],
"stateTypes": [
{
"id": "891bc1ce-2f9b-4518-aed9-90e78bc2409e",
"name": "counter",
"displayName": "Counter",
"type": "int",
"defaultValue": 0,
"unit": "Hertz",
"displayNameEvent": "Counter changed"
}
]
}
]
},
{
"displayName": "Beaglebone Black",
"name": "beagleboneBlack",
"id": "7835d14b-b455-49bd-9f31-72c6e8c3033d",
"thingClasses": [
{
"id": "75d54a59-f9b0-4bc4-a86c-6b1fc47e0663",
"displayName": "GPIO Output",
"name": "gpioOutputBbb",
"createMethods": ["discovery"],
"interfaces": ["power"],
"paramTypes": [
{
"id": "62a9596d-fc7d-4554-9f45-9803635da619",
"name": "gpio",
"displayName": "GPIO",
"type": "int",
"defaultValue": -1
},
{
"id": "14f65be0-ee84-42e4-8fcb-d98a9926a247",
"name": "pin",
"displayName": "Pin number",
"type": "int",
"defaultValue": -1
},
{
"id": "c7114a64-b9de-4d51-a58d-9d5c604a6f32",
"name": "activeLow",
"displayName": "Active low",
"type": "bool",
"defaultValue": false
},
{
"id": "760aa4ed-d933-4188-aec8-16285d763aa5",
"name": "description",
"displayName": "Description",
"type": "QString",
"defaultValue": "-"
}
],
"stateTypes": [
{
"id": "82b567c6-a33c-484e-b5e7-e04795498d00",
"name": "power",
"displayName": "Power",
"type": "bool",
"defaultValue": false,
"writable": true,
"displayNameEvent": "Power changed",
"displayNameAction": "Set power",
"ioType": "digitalOutput",
"cached": true
}
]
},
{
"id": "ffd2aa29-55cc-4824-ba95-c311784f7824",
"displayName": "GPIO Input",
"name": "gpioInputBbb",
"createMethods": ["discovery"],
"paramTypes": [
{
"id": "20773255-4576-4c8e-8c8b-051902919761",
"name": "gpio",
"displayName": "GPIO",
"type": "int",
"defaultValue": -1
},
{
"id": "f383bf1d-3ac0-4808-a82c-18748baf085d",
"name": "pin",
"displayName": "Pin number",
"type": "int",
"defaultValue": -1
},
{
"id": "7b4b7c74-ed0d-4add-8e10-1a356a76c0e7",
"name": "activeLow",
"displayName": "Active low",
"type": "bool",
"defaultValue": false
},
{
"id": "da746cde-2380-4ee5-bf2c-017249fcdeef",
"name": "description",
"displayName": "Description",
"type": "QString",
"defaultValue": "-"
}
],
"stateTypes": [
{
"id": "22440876-417a-4d57-8e01-efe26ef9f235",
"name": "power",
"displayName": "Power",
"type": "bool",
"defaultValue": false,
"displayNameEvent": "Power changed",
"ioType": "digitalInput"
}
]
},
{
"id": "4a4b79b9-7e43-4fd7-840f-31108bef0ee2",
"displayName": "GPIO Button",
"name": "gpioButtonBbb",
"createMethods": [ "discovery" ],
"interfaces": [ "longpressbutton" ],
"paramTypes": [
{
"id": "7a5ad4d6-2aa3-496f-9fb9-ae46eb8b4376",
"name": "gpio",
"displayName": "GPIO",
"type": "int",
"defaultValue": -1
},
{
"id": "4c24d8f5-8b87-457f-a64b-aa52f7f81dc0",
"name": "pin",
"displayName": "Pin number",
"type": "int",
"defaultValue": -1
},
{
"id": "bd3fefb3-1204-41ed-8452-1b9d11f265a0",
"name": "activeLow",
"displayName": "Active low",
"type": "bool",
"defaultValue": false
},
{
"id": "fc7850b7-3b9c-4df9-8153-40f3582213ea",
"name": "description",
"displayName": "Description",
"type": "QString",
"defaultValue": "-"
}
],
"settingsTypes": [
{
"id": "292bf500-b7ab-428b-908c-2fedae295ee2",
"name": "repeateLongPressed",
"displayName": "Repeat long pressed",
"type": "bool",
"defaultValue": false
},
{
"id": "007be75a-bfcd-4039-b8ab-9bce25421894",
"name": "longPressedTimeout",
"displayName": "Long pressed timeout [ms]",
"type": "uint",
"minValue": 200,
"defaultValue": 250
}
],
"eventTypes": [
{
"id": "d02b16a8-a242-41f5-b4e0-d3209849f25e",
"name": "pressed",
"displayName": "Pressed"
},
{
"id": "11ffeeed-23fe-4cd7-bf15-c95c7250448c",
"name": "longPressed",
"displayName": "Long pressed"
}
]
},
{
"id": "3e311ef1-60c4-4b0e-a2fb-186bff9bd792",
"displayName": "Counter",
"name": "counterBbb",
"createMethods": ["discovery"],
"interfaces": [],
"paramTypes": [
{
"id": "68bc0f3b-18c3-4a60-a2df-85bc0605caec",
"name": "gpio",
"displayName": "GPIO",
"type": "int",
"defaultValue": -1
},
{
"id": "f9da4a22-b010-4823-9b1c-d1f422c3ad2b",
"name": "pin",
"displayName": "Pin number",
"type": "int",
"defaultValue": -1
},
{
"id": "8745fbd1-d904-4551-93f4-0f923fcee9b5",
"name": "activeLow",
"displayName": "Active low",
"type": "bool",
"defaultValue": false
},
{
"id": "cba6a527-9f5c-4c05-8602-60e0c920fd26",
"name": "description",
"displayName": "Description",
"type": "QString",
"defaultValue": "-"
}
],
"stateTypes": [
{
"id": "fb5181d0-644b-4ab7-afa0-b7ddc8951526",
"name": "counter",
"displayName": "Counter",
"type": "int",
"defaultValue": 0,
"unit": "Hertz",
"displayNameEvent": "Counter changed"
}
]
}
]
}
]
}