173 lines
7.8 KiB
JSON
173 lines
7.8 KiB
JSON
{
|
|
"displayName": "WS2812FX",
|
|
"name": "ws2812fx",
|
|
"id": "5a3c8ca5-4ef7-47a3-bf3f-c257b9f11ef0",
|
|
"vendors": [
|
|
{
|
|
"name": "nymea",
|
|
"displayName": "nymea",
|
|
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
|
|
"thingClasses": [
|
|
{
|
|
"id": "24364e36-b199-4e35-b468-c44da58c009c",
|
|
"name": "ws2812fx",
|
|
"displayName": "WS2812FX",
|
|
"createMethods": ["user", "discovery"],
|
|
"interfaces": ["colorlight", "connectable"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "ed49f7d8-ab18-4c37-9b80-1004b75dcb91",
|
|
"name": "serialPort",
|
|
"displayName": "Serial port",
|
|
"type": "QString",
|
|
"inputType": "TextLine",
|
|
"defaultValue": "ttyAMC0"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "ee2c35ca-4236-43aa-aa7c-a5639c6dcf86",
|
|
"name": "connected",
|
|
"displayName": "reachable",
|
|
"displayNameEvent": "reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"id": "00db76b4-86b3-4a3f-b4e8-ceded6891282",
|
|
"name": "power",
|
|
"displayName": "power",
|
|
"displayNameEvent": "power changed",
|
|
"displayNameAction": "Set power",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "3de39d75-a775-43f1-b439-0fe326b4ba51",
|
|
"name": "colorTemperature",
|
|
"displayName": "color temperature",
|
|
"displayNameEvent": "color temperature changed",
|
|
"displayNameAction": "Set color temperature",
|
|
"type": "int",
|
|
"unit": "Mired",
|
|
"defaultValue": 170,
|
|
"minValue": 153,
|
|
"maxValue": 500,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "8490bab0-1fdc-4acc-81e4-e7cc91d9ce1d",
|
|
"name": "color",
|
|
"displayName": "color",
|
|
"displayNameEvent": "color changed",
|
|
"displayNameAction": "Set color",
|
|
"type": "QColor",
|
|
"defaultValue": "#000000",
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "05f2a002-6ce5-4811-bd79-44f15e981f5a",
|
|
"name": "brightness",
|
|
"displayName": "brightness",
|
|
"displayNameEvent": "brightness changed",
|
|
"displayNameAction": "Set brigtness",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "f1a37e73-1154-4f05-9444-d07566723c5a",
|
|
"name": "speed",
|
|
"displayName": "speed",
|
|
"displayNameEvent": "speed changed",
|
|
"displayNameAction": "Set speed",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "ebfb4bc6-b1dc-4a5c-a495-077cba4fec1a",
|
|
"name": "effectMode",
|
|
"displayName": "Effect mode",
|
|
"displayNameEvent": "Effect mode changed",
|
|
"displayNameAction": "Set effect mode",
|
|
"type": "QString",
|
|
"defaultValue": "Static",
|
|
"possibleValues": [
|
|
"Static",
|
|
"Blink",
|
|
"Breath",
|
|
"Color Wipe",
|
|
"Color Wipe Inverse",
|
|
"Color Wipe Reverse",
|
|
"Color Wipe Reverse Inverse",
|
|
"Color Wipe Random ",
|
|
"Random Color",
|
|
"Single Dynamic",
|
|
"Multi Dynamic",
|
|
"Rainbow",
|
|
"Rainbow Cycle",
|
|
"Scan",
|
|
"Dual Scan",
|
|
"Fade",
|
|
"Theater Chase",
|
|
"Theater Chase Rainbow",
|
|
"Running Lights",
|
|
"Twinkle",
|
|
"Twinkle Random",
|
|
"Twinkle Fade",
|
|
"Twinkle Fade Random",
|
|
"Sparkle",
|
|
"Flash Sparkle",
|
|
"Hyper Sparkle",
|
|
"Strobe",
|
|
"Strobe Rainbow",
|
|
"Multi Strobe",
|
|
"Blink Rainbow",
|
|
"Chase White",
|
|
"Chase Color",
|
|
"Chase Random",
|
|
"Chase Rainbow",
|
|
"Chase Flash",
|
|
"Chase Flash Random",
|
|
"Chase Rainbow White",
|
|
"Chase Blackout",
|
|
"Chase Blackout Rainbow",
|
|
"Color Sweep Random",
|
|
"Running Color",
|
|
"Running Red Blue",
|
|
"Running Random",
|
|
"Larson Scanner",
|
|
"Comet",
|
|
"Fireworks",
|
|
"Fireworks Random",
|
|
"Merry Christmas",
|
|
"Fire Flicker",
|
|
"Fire Flicker (soft)",
|
|
"Fire Flicker (intense)",
|
|
"Circus Combustus",
|
|
"Halloween",
|
|
"Bicolor Chase",
|
|
"Tricolor Chase",
|
|
"ICU",
|
|
"Custom 0",
|
|
"Custom 1",
|
|
"Custom 2",
|
|
"Custom 3"
|
|
],
|
|
"writable": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|