nymea/plugins/deviceplugins/philipshue/devicepluginphilipshue.json

81 lines
3.1 KiB
JSON

{
"name": "Philips Hue",
"id": "5f2e634b-b7f3-48ee-976a-b5ae22aa5c55",
"vendors": [
{
"id": "0ae1e001-2aa6-47ed-b8c0-334c3728a68f",
"name": "Philips",
"deviceClasses": [
{
"deviceClassId": "d8f4c397-e05e-47c1-8917-8e72d4d0d47c",
"idName": "hue",
"name": "Hue",
"createMethods": ["discovery", "auto"],
"setupMethod": "pushButton",
"pairingInfo": "Please press the button on the Hue bridge and then press OK",
"paramTypes": [
{
"name": "name",
"type" : "QString",
"inputType": "TextLine"
},
{
"name": "ip",
"type" : "QString",
"inputType": "IPv4Address",
"readOnly": true
},
{
"name": "username",
"type" : "QString",
"inputType": "TextLine",
"readOnly": true
},
{
"name": "lightId",
"type" : "int",
"readOnly": true
}
],
"stateTypes": [
{
"id": "15794d26-fde8-4a61-8f83-d7830534975f",
"idName": "hueReachable",
"name": "reachable",
"type": "bool"
},
{
"id": "d25423e7-b924-4b20-80b6-77eecc65d089",
"idName": "hueColor",
"name": "color",
"type": "QColor",
"defaultValue": "#000000",
"writable": true
},
{
"id": "90aaffe5-6a76-47d2-a14a-550f60390245",
"idName": "huePower",
"name": "power",
"type": "bool",
"defaultValue": false,
"writable": true
},
{
"id": "90e91f64-a208-468c-a5a2-7f47e08859e2",
"idName": "hueBrightness",
"name": "brightness",
"type": "int",
"minValue": 0,
"maxValue": 100,
"unit": "Percentage",
"defaultValue": 0,
"writable": true
}
]
}
]
}
]
}