nymea-plugins/boblight/integrationpluginboblight.json

139 lines
6.0 KiB
JSON

{
"id": "d5271bea-1362-4cc6-888f-2ebe80bad46a",
"name": "Boblight",
"displayName": "Boblight",
"vendors": [
{
"id": "f0c9dd91-c2b0-4cd0-b161-a17fee9d2303",
"name": "boblight",
"displayName": "Boblight",
"thingClasses": [
{
"id": "f267a7f4-ed75-4026-9b97-98884d7f4399",
"name": "boblightServer",
"displayName": "Boblight server",
"createMethods": ["user"],
"interfaces": ["gateway", "connectable"],
"paramTypes": [
{
"id": "de82ea8c-2f1e-4b93-b85a-f6a0b7f87e4a",
"name": "hostAddress",
"displayName": "Host Address",
"type" : "QString",
"inputType": "IPv4Address",
"defaultValue": "127.0.0.1"
},
{
"id": "8cbe5ef8-6b45-441e-9051-08d48f3948da",
"name": "port",
"displayName": "Port",
"type" : "int",
"defaultValue": 19333
},
{
"id": "277f2458-d932-4a6e-a7bb-58814ab99663",
"name": "channels",
"displayName": "Channels",
"type": "int",
"defaultValue": 1
}
],
"stateTypes": [
{
"id": "638fb9ec-4797-4ef6-a9b6-d935f1c49e17",
"name": "connected",
"displayName": "connected",
"displayNameEvent": "Connected changed",
"defaultValue": false,
"type": "bool"
},
{
"id": "60d345e8-757c-4bc2-a96b-31121fc84356",
"name": "priority",
"displayName": "Priority",
"displayNameEvent": "Priority changed",
"displayNameAction": "Set priority",
"type": "int",
"defaultValue": 128,
"minValue": 0,
"maxValue": 256,
"writable": true
}
]
},
{
"id": "05347200-416e-4b75-b4e3-6f913a2a7e76",
"name": "boblight",
"displayName": "Boblight",
"createMethods": ["auto"],
"interfaces": ["colorlight", "connectable"],
"paramTypes": [
{
"id": "7b5b784d-d623-4a2e-b081-9be84b1ce1a8",
"name": "channel",
"displayName": "Channel",
"type": "int",
"defaultValue": -1
}
],
"stateTypes": [
{
"id": "bb40f1bd-62b9-485e-86a1-b0c820a93b8a",
"name": "connected",
"displayName": "connected",
"defaultValue": false,
"displayNameEvent": "Connected changed",
"type": "bool"
},
{
"id": "95aec7b5-247a-42a2-8748-273b034b988c",
"name": "power",
"displayName": "Power",
"defaultValue": false,
"type": "bool",
"displayNameEvent": "Power changed",
"displayNameAction": "Set power",
"writable": true
},
{
"id": "0a92eab5-233c-4081-840b-15578091365c",
"name": "brightness",
"displayName": "Brightness",
"defaultValue": 100,
"type": "int",
"displayNameEvent": "Brightness changed",
"displayNameAction": "Set brightness",
"writable": true,
"minValue": 0,
"maxValue": 100
},
{
"id": "b6f24e6f-d2a8-4f22-b40f-3a0e38bdabe0",
"name": "colorTemperature",
"displayName": "Color Temperature",
"defaultValue": 0,
"type": "int",
"displayNameEvent": "Color Temperature changed",
"displayNameAction": "Set color temperature",
"writable": true,
"minValue": 0,
"maxValue": 100
},
{
"id": "a213d2d1-bd29-4a16-8459-520aa919ae67",
"name": "color",
"displayName": "Color",
"defaultValue": "#ffffff",
"type": "QColor",
"displayNameEvent": "Color changed",
"displayNameAction": "Set color",
"writable": true
}
]
}
]
}
]
}