1475 lines
67 KiB
JSON
1475 lines
67 KiB
JSON
{
|
|
"name": "PhilipsHue",
|
|
"displayName": "Philips Hue",
|
|
"id": "5f2e634b-b7f3-48ee-976a-b5ae22aa5c55",
|
|
"vendors": [
|
|
{
|
|
"id": "0ae1e001-2aa6-47ed-b8c0-334c3728a68f",
|
|
"name": "philips",
|
|
"displayName": "Philips",
|
|
"thingClasses": [
|
|
{
|
|
"id": "642aa4c7-19aa-45ed-ba06-aa1ae6c9edf7",
|
|
"name": "bridge",
|
|
"displayName": "Philips Hue Bridge",
|
|
"interfaces": ["gateway", "update"],
|
|
"providedInterfaces": ["light", "button", "presencesensor", "powersocket"],
|
|
"createMethods": ["discovery"],
|
|
"setupMethod": "pushButton",
|
|
"browsable": true,
|
|
"paramTypes": [
|
|
{
|
|
"id": "1845975b-1184-4440-bc0d-73d53a9f683c",
|
|
"name": "host",
|
|
"displayName": "host address",
|
|
"type" : "QString",
|
|
"inputType": "IPv4Address",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "a496feb0-3b7b-46cb-a63a-e063447d6b1d",
|
|
"name": "id",
|
|
"displayName": "id",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "15794d26-fde8-4a61-8f83-d7830534975f",
|
|
"name": "connected",
|
|
"displayName": "reachable",
|
|
"displayNameEvent": "reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "7a230e89-c4ce-4276-90e0-6a9ddb890603",
|
|
"name": "apiVersion",
|
|
"displayName": "api version",
|
|
"displayNameEvent": "api version changed",
|
|
"defaultValue": "-",
|
|
"type": "QString"
|
|
},
|
|
{
|
|
"id": "16a126f3-0cef-4931-bb2b-9e1b49bec7fc",
|
|
"name": "updateStatus",
|
|
"displayName": "update status",
|
|
"displayNameEvent": "update status changed",
|
|
"type": "QString",
|
|
"possibleValues": ["idle", "available", "updating"],
|
|
"defaultValue": "idle"
|
|
},
|
|
{
|
|
"id": "4c707b18-6604-4e6d-b6bc-4e27769c2adc",
|
|
"name": "currentVersion",
|
|
"displayName": "Software version",
|
|
"displayNameEvent": "Software version changed",
|
|
"defaultValue": "-",
|
|
"type": "QString"
|
|
}
|
|
],
|
|
"actionTypes": [
|
|
{
|
|
"id": "cca3f171-6318-44e7-a2ac-d841857c1c24",
|
|
"name": "searchNewDevices",
|
|
"displayName": "search devices",
|
|
"paramTypes": [
|
|
{
|
|
"id": "1924bdb5-f8f1-4dcd-bc09-21ad7c5ce377",
|
|
"name": "serial",
|
|
"displayName": "Serial Number (optional)",
|
|
"type": "QString"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "07a85e91-d064-4bce-b017-13fd0c320c0b",
|
|
"name": "checkForUpdates",
|
|
"displayName": "check updates"
|
|
},
|
|
{
|
|
"id": "6dfbc7c0-7372-42f6-82ba-e777cb32dc4c",
|
|
"name": "performUpdate",
|
|
"displayName": "Upgrade bridge"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "0edba26c-96ab-44fb-a6a2-c0574d19630e",
|
|
"name": "colorLight",
|
|
"displayName": "Hue color light",
|
|
"interfaces": ["colorlight", "colortemperaturelight", "alert", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "095a463b-f59e-46b1-989a-a71f9cbe3e30",
|
|
"name": "modelId",
|
|
"displayName": "model id",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "3f3467ef-4483-4eb9-bcae-84e628322f84",
|
|
"name": "type",
|
|
"displayName": "type",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "1a5129ca-006c-446c-9f2e-79b065de715f",
|
|
"name": "uuid",
|
|
"displayName": "uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "491dc012-ccf2-4d3a-9f18-add98f7374af",
|
|
"name": "lightId",
|
|
"displayName": "light id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "19bb8d10-1b28-4ba3-99b7-a634138dcfde",
|
|
"name": "connected",
|
|
"displayName": "reachable",
|
|
"displayNameEvent": "reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "90aaffe5-6a76-47d2-a14a-550f60390245",
|
|
"name": "power",
|
|
"displayName": "power",
|
|
"displayNameEvent": "power changed",
|
|
"displayNameAction": "Set power",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "c0f4206f-f219-4f06-93c4-4ca515a56f79",
|
|
"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": "d25423e7-b924-4b20-80b6-77eecc65d089",
|
|
"name": "color",
|
|
"displayName": "color",
|
|
"displayNameEvent": "color changed",
|
|
"displayNameAction": "Set color",
|
|
"type": "QColor",
|
|
"defaultValue": "#000000",
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "90e91f64-a208-468c-a5a2-7f47e08859e2",
|
|
"name": "brightness",
|
|
"displayName": "brightness",
|
|
"displayNameEvent": "brightness changed",
|
|
"displayNameAction": "Set brigtness",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100,
|
|
"writable": true
|
|
|
|
},
|
|
{
|
|
"id": "0b7cdd8d-4db8-4183-abe2-f3c01d1c9afc",
|
|
"name": "effect",
|
|
"displayName": "effect",
|
|
"displayNameEvent": "effect changed",
|
|
"displayNameAction": "Set effect",
|
|
"type": "QString",
|
|
"defaultValue": "none",
|
|
"possibleValues": [
|
|
"none",
|
|
"color loop"
|
|
],
|
|
"writable": true
|
|
}
|
|
],
|
|
"actionTypes": [
|
|
{
|
|
"id": "d25dcfbc-d28c-4905-80e3-300ffb1248f5",
|
|
"name": "alert",
|
|
"displayName": "flash",
|
|
"paramTypes": [
|
|
{
|
|
"id": "8ace6f8c-b2c7-4d0d-a407-52a54ad0ab05",
|
|
"name": "alert",
|
|
"displayName": "alert",
|
|
"type": "QString",
|
|
"defaultValue": "flash",
|
|
"allowedValues": [
|
|
"flash",
|
|
"flash 15 [s]"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "35f749f7-b60a-4922-bd25-1bdd2eddcbe3",
|
|
"name": "colorTemperatureLight",
|
|
"displayName": "Hue color temperature light",
|
|
"interfaces": ["colortemperaturelight", "alert", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "e944795b-7863-488c-805b-a112b836bfbf",
|
|
"name": "modelId",
|
|
"displayName": "model id",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "f52671c9-ab0b-4986-8d32-f03b8c289cf7",
|
|
"name": "type",
|
|
"displayName": "type",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "3db74bca-bd8e-4716-9ad1-4af41862a33e",
|
|
"name": "uuid",
|
|
"displayName": "uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "2705f25c-c9bc-40c4-bed2-835308986813",
|
|
"name": "lightId",
|
|
"displayName": "light id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "38f3ddea-ceb0-47ae-bbd8-e70b5a89b1bf",
|
|
"name": "connected",
|
|
"displayName": "reachable",
|
|
"displayNameEvent": "reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "4e579f6a-e4b3-4876-804a-9fcc066f90f9",
|
|
"name": "power",
|
|
"displayName": "power",
|
|
"displayNameEvent": "power changed",
|
|
"displayNameAction": "Set power",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "fee57738-45c7-48fe-a06b-1397376361f0",
|
|
"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": "bdf6f831-b448-4ff6-9f85-12e26b4e5534",
|
|
"name": "brightness",
|
|
"displayName": "brightness",
|
|
"displayNameEvent": "brightness changed",
|
|
"displayNameAction": "Set brigtness",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100,
|
|
"writable": true
|
|
}
|
|
],
|
|
"actionTypes": [
|
|
{
|
|
"id": "8818e8b9-14ed-4344-96fb-c852abc85921",
|
|
"name": "alert",
|
|
"displayName": "flash",
|
|
"paramTypes": [
|
|
{
|
|
"id": "07c94fe7-35ac-4dee-996e-8bd60dcabb05",
|
|
"name": "alert",
|
|
"displayName": "alert",
|
|
"type": "QString",
|
|
"defaultValue": "flash",
|
|
"allowedValues": [
|
|
"flash",
|
|
"flash 15 [s]"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4fa568ef-7a3a-422b-b0c0-206d37cb4eed",
|
|
"name": "dimmableLight",
|
|
"displayName": "Hue dimmable light",
|
|
"interfaces": ["dimmablelight", "alert", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "6fe78769-abef-4738-b968-2ff4c3b2a152",
|
|
"name": "modelId",
|
|
"displayName": "model id",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "0381053b-7ad6-4e67-baac-2b61248f08e3",
|
|
"name": "type",
|
|
"displayName": "type",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "90748a51-df5f-4e46-9841-d5782a9e7d58",
|
|
"name": "uuid",
|
|
"displayName": "uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "49df749a-9e67-4dc8-81d2-c521e7e8066e",
|
|
"name": "lightId",
|
|
"displayName": "light id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "57f80677-745e-4cb1-b894-87d8542a7e8c",
|
|
"name": "connected",
|
|
"displayName": "reachable",
|
|
"displayNameEvent": "reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "5995ecb7-b5e5-4f6a-b4d6-33c93497e5fb",
|
|
"name": "power",
|
|
"displayName": "power",
|
|
"displayNameEvent": "power changed",
|
|
"displayNameAction": "Set power",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"writable": true
|
|
},
|
|
{
|
|
"id": "2f062912-1159-423b-8143-48a8e69b9348",
|
|
"name": "brightness",
|
|
"displayName": "brightness",
|
|
"displayNameEvent": "brightness changed",
|
|
"displayNameAction": "Set brightness",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100,
|
|
"writable": true
|
|
|
|
}
|
|
],
|
|
"actionTypes": [
|
|
{
|
|
"id": "ab30a83a-539e-4b3a-860a-434e87ca165f",
|
|
"name": "alert",
|
|
"displayName": "flash",
|
|
"paramTypes": [
|
|
{
|
|
"id": "a546f129-e0e5-497b-9536-2f7a132434df",
|
|
"name": "alert",
|
|
"displayName": "alert",
|
|
"type": "QString",
|
|
"defaultValue": "flash",
|
|
"allowedValues": [
|
|
"flash",
|
|
"flash 15 [s]"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f720f31d-9523-4a74-9f10-19cbc9edeb58",
|
|
"name": "onOffLight",
|
|
"displayName": "Hue On/Off light",
|
|
"interfaces": ["light", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "2e4274e8-c810-4b1b-8b27-86239e0e8a12",
|
|
"name": "modelId",
|
|
"displayName": "model id",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "3b4b377a-de33-4b1f-a65f-c4915a797cde",
|
|
"name": "type",
|
|
"displayName": "type",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "c5b62efe-b18d-4e10-b8f3-8cbe5938cce5",
|
|
"name": "uuid",
|
|
"displayName": "uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "dfd0ed05-26b1-4906-b1a1-384d2340c236",
|
|
"name": "lightId",
|
|
"displayName": "light id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "111a5a4a-63d4-4d1d-ac72-b5b5a29fd0aa",
|
|
"name": "connected",
|
|
"displayName": "reachable",
|
|
"displayNameEvent": "reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "5dc5e71b-789e-4c68-abb6-1534c8af019e",
|
|
"name": "power",
|
|
"displayName": "power",
|
|
"displayNameEvent": "power changed",
|
|
"displayNameAction": "Set power",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"writable": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "bb482d39-67ef-46dc-88e9-7b181d642b28",
|
|
"name": "remote",
|
|
"displayName": "Hue Remote",
|
|
"interfaces": ["longpressmultibutton", "battery", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "5910da25-c1ad-417c-9130-8f04e8ef1e6e",
|
|
"name": "modelId",
|
|
"displayName": "model id",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "a12c0dbf-29e3-4580-96b0-728f8277514d",
|
|
"name": "type",
|
|
"displayName": "type",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "3cdf9de1-ae23-47dc-a8bd-056a6707060c",
|
|
"name": "uuid",
|
|
"displayName": "uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "2ddb571b-149f-4f08-a76a-78b7d3aa27e0",
|
|
"name": "sensorId",
|
|
"displayName": "sensor id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "9f9fac89-2dcd-4db6-b214-0065662af62a",
|
|
"name": "connected",
|
|
"displayName": "reachable",
|
|
"displayNameEvent": "reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "683e493a-9796-4d5e-b0e3-61cb178d5819",
|
|
"name": "batteryLevel",
|
|
"displayName": "battery",
|
|
"displayNameEvent": "battery changed",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100
|
|
},
|
|
{
|
|
"id": "f8516899-6312-4110-bb97-70ffa81dc530",
|
|
"name": "batteryCritical",
|
|
"displayName": "battery critical",
|
|
"displayNameEvent": "battery critical changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
}
|
|
],
|
|
"eventTypes": [
|
|
{
|
|
"id": "8da28cf1-2457-451e-953e-2685f8daeda8",
|
|
"name": "pressed",
|
|
"displayName": "Button pressed",
|
|
"paramTypes": [
|
|
{
|
|
"id": "e4e3eb3a-a7c4-49e3-9344-0b3f213e0b42",
|
|
"name": "buttonName",
|
|
"displayName": "Button name",
|
|
"type": "QString",
|
|
"allowedValues": ["ON", "OFF", "DIM UP", "DIM DOWN"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2c64561b-2381-4769-8e21-0e206c84bbcc",
|
|
"name": "longPressed",
|
|
"displayName": "Button longpressed",
|
|
"paramTypes": [
|
|
{
|
|
"id": "42a9df25-cadb-494f-b20c-fa874e214f4c",
|
|
"name": "buttonName",
|
|
"displayName": "Button name",
|
|
"type": "QString",
|
|
"allowedValues": ["ON", "OFF", "DIM UP", "DIM DOWN"]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2b40aea0-e0f3-4cde-b034-3ae8a69a5d9d",
|
|
"name": "dimmerSwitch2",
|
|
"displayName": "Hue Dimmer Switch V2",
|
|
"interfaces": ["longpressmultibutton", "battery", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "985fdf8a-e4a5-4a6e-bf2c-47559b32f395",
|
|
"name": "modelId",
|
|
"displayName": "model id",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "a821e27e-216e-4fd4-9105-15cd822ab6b2",
|
|
"name": "type",
|
|
"displayName": "type",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "200b5daa-1023-49cb-a933-bdd1ac7df4bd",
|
|
"name": "uuid",
|
|
"displayName": "uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "b8121363-321a-4569-bb34-a02f846aa9c5",
|
|
"name": "sensorId",
|
|
"displayName": "sensor id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "45f75511-7d72-410e-aed0-5720cc497bf8",
|
|
"name": "connected",
|
|
"displayName": "reachable",
|
|
"displayNameEvent": "reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "cb6e045c-e305-4950-9cd4-fb3989912156",
|
|
"name": "batteryLevel",
|
|
"displayName": "battery",
|
|
"displayNameEvent": "battery changed",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100
|
|
},
|
|
{
|
|
"id": "88cc3794-3e83-47d4-8889-0b3246336bf7",
|
|
"name": "batteryCritical",
|
|
"displayName": "battery critical",
|
|
"displayNameEvent": "battery critical changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
}
|
|
],
|
|
"eventTypes": [
|
|
{
|
|
"id": "b7a5b3df-2c60-4b97-bf99-b97e6012a194",
|
|
"name": "pressed",
|
|
"displayName": "Button pressed",
|
|
"paramTypes": [
|
|
{
|
|
"id": "562f2d4d-351e-4c2c-98bf-187b948587e4",
|
|
"name": "buttonName",
|
|
"displayName": "Button name",
|
|
"type": "QString",
|
|
"allowedValues": ["POWER", "HUE", "DIM UP", "DIM DOWN"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "d5052592-044d-42e8-b98a-d3fe9f2f53ae",
|
|
"name": "longPressed",
|
|
"displayName": "Button longpress",
|
|
"paramTypes": [
|
|
{
|
|
"id": "c03bb1ad-f8c9-4993-9d25-557ade2d2c13",
|
|
"name": "buttonName",
|
|
"displayName": "Button name",
|
|
"type": "QString",
|
|
"allowedValues": ["POWER", "HUE", "DIM UP", "DIM DOWN"]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "58e579b4-f917-478c-9006-f1f8d4df2ded",
|
|
"name": "tapDial",
|
|
"displayName": "Hue Tap Dial",
|
|
"interfaces": ["longpressmultibutton", "battery", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "de566aaa-2a5f-4e31-bce1-5924014fbd6a",
|
|
"name": "modelId",
|
|
"displayName": "model id",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "e2365a3c-cdf3-4b1e-b908-e7642e467f20",
|
|
"name": "uuid",
|
|
"displayName": "uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "dead7cf0-3ecc-4332-8fc6-42d4e71f508c",
|
|
"name": "idRotary",
|
|
"displayName": "Rotary dial id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "267bcb24-b5c1-421d-bc6a-9b8fc7b43696",
|
|
"name": "uuidRotary",
|
|
"displayName": "Rotary dial uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "5269c70c-49e6-4090-aa57-3c89ee328b1e",
|
|
"name": "idSwitch",
|
|
"displayName": "Switch id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "ae7ce90a-9bfb-45e4-90e4-8e491b374249",
|
|
"name": "uuidSwitch",
|
|
"displayName": "Switch uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"settingsTypes": [
|
|
{
|
|
"id": "045f8a6a-e8de-4780-a4d3-60a986130977",
|
|
"name": "stepSize",
|
|
"displayName": "Step size",
|
|
"type": "uint",
|
|
"defaultValue": 5,
|
|
"minValue": 1,
|
|
"maxValue": 50
|
|
},
|
|
{
|
|
"id": "30342d23-b2c1-4969-85f1-1b0f58eeb8ce",
|
|
"name": "largeStepSize",
|
|
"displayName": "Large Step size",
|
|
"type": "uint",
|
|
"defaultValue": 10,
|
|
"minValue": 1,
|
|
"maxValue": 50
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "7c81af92-3643-4211-9d62-407cbc596619",
|
|
"name": "connected",
|
|
"displayName": "reachable",
|
|
"displayNameEvent": "reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "9d0d190f-2898-4c9a-a423-ec7187bfcb5e",
|
|
"name": "batteryLevel",
|
|
"displayName": "battery",
|
|
"displayNameEvent": "battery changed",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100
|
|
},
|
|
{
|
|
"id": "79efe477-2757-4457-bdfb-a3fbeb198e7a",
|
|
"name": "batteryCritical",
|
|
"displayName": "battery critical",
|
|
"displayNameEvent": "battery critical changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "23528402-b98f-49b8-90cf-7b68f251ad59",
|
|
"name": "level",
|
|
"displayName": "Level",
|
|
"displayNameEvent": "Level changed",
|
|
"unit": "Percentage",
|
|
"type": "uint",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100
|
|
}
|
|
],
|
|
"eventTypes": [
|
|
{
|
|
"id": "9ff8853f-b1fe-44ac-bcfe-193303397012",
|
|
"name": "pressed",
|
|
"displayName": "Button pressed",
|
|
"paramTypes": [
|
|
{
|
|
"id": "73863657-b7fa-4c83-827c-6dec46278671",
|
|
"name": "buttonName",
|
|
"displayName": "Button name",
|
|
"type": "QString",
|
|
"allowedValues": ["•", "••", "•••", "••••"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4c1bac9f-291e-4bd2-aa2e-c8ecc182c300",
|
|
"name": "longPressed",
|
|
"displayName": "Button longpress",
|
|
"paramTypes": [
|
|
{
|
|
"id": "ce015b27-2ffb-4d8b-bb66-63013c4e2f52",
|
|
"name": "buttonName",
|
|
"displayName": "Button name",
|
|
"type": "QString",
|
|
"allowedValues": ["•", "••", "•••", "••••"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "11edf456-4484-45f3-8638-01162fb47609",
|
|
"name": "increase",
|
|
"displayName": "Increase"
|
|
},
|
|
{
|
|
"id": "1b951b52-240d-437c-ae8d-c40298993acb",
|
|
"name": "decrease",
|
|
"displayName": "Decrease"
|
|
},
|
|
{
|
|
"id": "8d8aa384-e408-4365-8381-ac763168788b",
|
|
"name": "largeIncrease",
|
|
"displayName": "Large Increase"
|
|
},
|
|
{
|
|
"id": "d1415f84-c4cc-478d-89a4-bd7a5c9761e5",
|
|
"name": "largeDecrease",
|
|
"displayName": "Large Decrease"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1e34a056-9f37-4741-b249-a5eca7a4ab4e",
|
|
"name": "smartButton",
|
|
"displayName": "Hue Smart Button",
|
|
"interfaces": ["longpressbutton", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "9271179f-5fe1-4005-9f97-ccde33b1b2c4",
|
|
"name": "modelId",
|
|
"displayName": "Model ID",
|
|
"type": "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "7221aacc-1420-43f2-a05a-448a0f783713",
|
|
"name": "type",
|
|
"displayName": "Type",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "2378a06d-b748-445b-94e2-4dd885a54f22",
|
|
"name": "uuid",
|
|
"displayName": "UUID",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "54744fcc-c052-4c16-a857-fbe0b791e538",
|
|
"name": "sensorId",
|
|
"displayName": "Sensor ID",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "b449cca5-19a0-483f-b4bd-b9b43b4f8ed4",
|
|
"name": "connected",
|
|
"displayName": "Reachable",
|
|
"displayNameEvent": "Reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "a0a1b480-6822-49bc-b1b1-50c39764d255",
|
|
"name": "batteryLevel",
|
|
"displayName": "Battery level",
|
|
"displayNameEvent": "Battery level changed",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100
|
|
},
|
|
{
|
|
"id": "7c1fd7c1-f322-4be7-9c22-7d14d0ec38ea",
|
|
"name": "batteryCritical",
|
|
"displayName": "Battery critical",
|
|
"displayNameEvent": "Battery critical changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
}
|
|
],
|
|
"eventTypes": [
|
|
{
|
|
"id": "c809179e-effa-4717-9172-11df7e80d109",
|
|
"name": "pressed",
|
|
"displayName": "Button pressed"
|
|
},
|
|
{
|
|
"id": "25803922-37f1-47c8-ac00-2d3acb9eb634",
|
|
"name": "longPressed",
|
|
"displayName": "Long pressed"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "e967027f-f8fc-410c-8b48-6ac4c42e2777",
|
|
"name": "wallSwitch",
|
|
"displayName": "Hue Wall Switch Module",
|
|
"interfaces": ["multibutton", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "71c2c485-6a09-4bcd-80e5-24cdc45d323f",
|
|
"name": "modelId",
|
|
"displayName": "Model ID",
|
|
"type": "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "08606780-2251-4c15-bb7d-7506535e14ed",
|
|
"name": "type",
|
|
"displayName": "Type",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "4cdab881-5d2d-4443-816a-231bbb331f22",
|
|
"name": "uuid",
|
|
"displayName": "UUID",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "62a9df8c-51b5-434f-9d5d-5fa97144076a",
|
|
"name": "sensorId",
|
|
"displayName": "Sensor ID",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "b51071af-1290-41f1-b2eb-e84527342ade",
|
|
"name": "connected",
|
|
"displayName": "Reachable",
|
|
"displayNameEvent": "Reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "b025cab6-d128-43eb-ba63-b16861d6ab10",
|
|
"name": "batteryLevel",
|
|
"displayName": "Battery level",
|
|
"displayNameEvent": "Battery level changed",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100
|
|
},
|
|
{
|
|
"id": "7fcf84e4-5638-46ce-9a7c-85b8bd466b38",
|
|
"name": "batteryCritical",
|
|
"displayName": "Battery critical",
|
|
"displayNameEvent": "Battery critical changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
}
|
|
],
|
|
"eventTypes": [
|
|
{
|
|
"id": "4623b5ff-b999-4200-ba38-89435d78fcae",
|
|
"name": "pressed",
|
|
"displayName": "Button pressed",
|
|
"paramTypes": [
|
|
{
|
|
"id": "adb4ec5e-e48f-4697-a876-e56e8458987a",
|
|
"name": "buttonName",
|
|
"displayName": "Button name",
|
|
"type": "QString",
|
|
"allowedValues": ["ONE", "TWO"]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2b8c1fb8-67ee-42e9-947b-16e0a09f0d4e",
|
|
"name": "tap",
|
|
"displayName": "Hue Tap",
|
|
"interfaces": ["multibutton", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "62d92175-db3a-4da2-a72b-f58f34cb6911",
|
|
"name": "modelId",
|
|
"displayName": "Model ID",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "eace85b9-5369-466f-89eb-46c4de718305",
|
|
"name": "type",
|
|
"displayName": "Type",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "25cf4167-6c28-4497-9fa9-3d02faf4f3ed",
|
|
"name": "uuid",
|
|
"displayName": "UUID",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "5eca2b24-8986-4487-bc12-50e91d023d97",
|
|
"name": "sensorId",
|
|
"displayName": "Sensor ID",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "5e21b032-1230-4e93-8543-0c4773da17d3",
|
|
"name": "connected",
|
|
"displayName": "Reachable",
|
|
"displayNameEvent": "Reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
}
|
|
],
|
|
"eventTypes": [
|
|
{
|
|
"id": "c45dd703-7cbd-48f7-88dc-31045cc3d39c",
|
|
"name": "pressed",
|
|
"displayName": "Button pressed",
|
|
"paramTypes": [
|
|
{
|
|
"id": "8ed643c0-1b8a-4709-8abf-717cf213f4a4",
|
|
"name": "buttonName",
|
|
"displayName": "Button name",
|
|
"type": "QString",
|
|
"allowedValues": ["•", "••", "•••", "••••"]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "692bc4be-07b8-4b77-ab0b-a36185b17d76",
|
|
"name": "foh",
|
|
"displayName": "Friends of Hue Switch",
|
|
"interfaces": ["multibutton", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "664c7091-12eb-4402-8239-31da85f73d38",
|
|
"name": "modelId",
|
|
"displayName": "Model ID",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "16ca2ee1-d738-4f51-8f9a-53547d3d824e",
|
|
"name": "type",
|
|
"displayName": "Type",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "2ca66286-1caf-4e09-8e18-05bb7d7df314",
|
|
"name": "uuid",
|
|
"displayName": "UUID",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "7559d16c-b56b-42e2-8347-65582fa276c0",
|
|
"name": "sensorId",
|
|
"displayName": "Sensor ID",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "840b220c-656b-4f56-bbaa-ce818cffad64",
|
|
"name": "connected",
|
|
"displayName": "Reachable",
|
|
"displayNameEvent": "Reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
}
|
|
],
|
|
"eventTypes": [
|
|
{
|
|
"id": "2cc68bd3-ad73-4bf3-9905-639870d071bd",
|
|
"name": "pressed",
|
|
"displayName": "Button pressed",
|
|
"paramTypes": [
|
|
{
|
|
"id": "f1da229e-fce2-4329-8850-1c92b5bc5925",
|
|
"name": "buttonName",
|
|
"displayName": "Button name",
|
|
"type": "QString",
|
|
"allowedValues": ["UPPER LEFT", "LOWER LEFT", "UPPER RIGHT", "LOWER RIGHT"]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "32dc6390-600f-4eb4-b349-cc2d6796a82a",
|
|
"name": "outdoorSensor",
|
|
"displayName": "Hue Outdoor Sensor",
|
|
"interfaces": ["presencesensor", "temperaturesensor", "lightsensor", "battery", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "3ca8632d-7bd1-45a9-86af-c856e006c334",
|
|
"name": "modelId",
|
|
"displayName": "Model id",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "4a15f861-cad6-464a-b250-08793c68ae30",
|
|
"name": "uuid",
|
|
"displayName": "Uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "c732fefd-ca6b-4e27-a6d2-11595c4aab3e",
|
|
"name": "sensorIdTemperature",
|
|
"displayName": "Temperature sensor id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "2fdb34e8-25ca-4c5d-85c9-9a12bd48dbed",
|
|
"name": "sensorUuidTemperature",
|
|
"displayName": "Temperature sensor uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "3ca82a24-5eca-4285-83c2-f862d387c3bc",
|
|
"name": "sensorIdPresence",
|
|
"displayName": "Presence sensor id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "7d55ed97-3a32-41e9-9112-8cc5b44aab23",
|
|
"name": "sensorUuidPresence",
|
|
"displayName": "Presence sensor uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "22a164fc-fa6e-427a-9a60-7a1872901fd6",
|
|
"name": "sensorIdLight",
|
|
"displayName": "Light sensor id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "db678144-de2b-4767-a2f6-9ada8377b96c",
|
|
"name": "sensorUuidLight",
|
|
"displayName": "Light sensor uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"settingsTypes": [
|
|
{
|
|
"id": "21d461b2-b4dd-4a70-b3d5-aaedc88605a4",
|
|
"name": "timeout",
|
|
"displayName": "Time period",
|
|
"type": "uint",
|
|
"unit": "Seconds",
|
|
"defaultValue": 10,
|
|
"minValue": 10
|
|
}
|
|
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "9fe43e6b-3c29-43a9-bb96-3b80eacc10db",
|
|
"name": "connected",
|
|
"displayName": "Reachable",
|
|
"displayNameEvent": "Reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "19b18531-61e5-4998-89d1-765d740e24eb",
|
|
"name": "batteryLevel",
|
|
"displayName": "Battery",
|
|
"displayNameEvent": "Battery changed",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100
|
|
},
|
|
{
|
|
"id": "617aa352-789c-46e7-bf55-7455b1e5018e",
|
|
"name": "batteryCritical",
|
|
"displayName": "Battery critical",
|
|
"displayNameEvent": "Battery critical changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "88f5b708-65bb-41a7-885f-01be46074713",
|
|
"name": "temperature",
|
|
"displayName": "Temperature",
|
|
"displayNameEvent": "Temperature changed",
|
|
"unit": "DegreeCelsius",
|
|
"type": "double",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "4fb12c06-981c-4c42-b55c-46bdfe68681a",
|
|
"name": "lightIntensity",
|
|
"displayName": "Ambient light",
|
|
"displayNameEvent": "Ambient light changed",
|
|
"unit": "Lux",
|
|
"type": "double",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "680f79cf-c17c-4ffd-96fa-a5b286e2c117",
|
|
"name": "isPresent",
|
|
"displayName": "Person is present",
|
|
"displayNameEvent": "Person is present changed",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "6fa16fb2-053c-4c3c-a39b-9548c1b15089",
|
|
"name": "lastSeenTime",
|
|
"displayName": "Last seen time",
|
|
"displayNameEvent": "Last seen time changed",
|
|
"type": "int",
|
|
"unit": "UnixTime",
|
|
"defaultValue": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "25b79fff-4b88-4af8-b06c-2fe246238790",
|
|
"name": "motionSensor",
|
|
"displayName": "Hue Motion Sensor",
|
|
"interfaces": ["presencesensor", "temperaturesensor", "lightsensor", "battery", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "9cb488b7-a76f-4389-a6b5-b36250246f2b",
|
|
"name": "modelId",
|
|
"displayName": "Model id",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "3e9aad4c-1dff-42c0-bbd4-cdd8635c01a7",
|
|
"name": "uuid",
|
|
"displayName": "Uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "c9e81e29-f8d4-4370-ada2-f48b32def1fe",
|
|
"name": "sensorIdTemperature",
|
|
"displayName": "Temperature sensor id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "aa29b5f1-5589-4fa9-bbd4-8869723c037c",
|
|
"name": "sensorUuidTemperature",
|
|
"displayName": "Temperature sensor uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "337b2c6c-e3bf-495c-943c-b45fa08add37",
|
|
"name": "sensorIdPresence",
|
|
"displayName": "Presence sensor id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "3829bddb-e722-4724-be36-3a8402738581",
|
|
"name": "sensorUuidPresence",
|
|
"displayName": "Presence sensor uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "04fba73e-730e-437a-b6f2-10df21296af5",
|
|
"name": "sensorIdLight",
|
|
"displayName": "Light sensor id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "171cc2e7-7a95-4116-986c-66d75e3e23eb",
|
|
"name": "sensorUuidLight",
|
|
"displayName": "Light sensor uuid",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"settingsTypes": [
|
|
{
|
|
"id": "beedc4af-c107-4c53-be25-fd01a349fd35",
|
|
"name": "timeout",
|
|
"displayName": "Time period",
|
|
"type": "uint",
|
|
"unit": "Seconds",
|
|
"defaultValue": 10,
|
|
"minValue": 10
|
|
}
|
|
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "19c28b69-a9c2-4908-8255-7681f72c2d92",
|
|
"name": "connected",
|
|
"displayName": "Reachable",
|
|
"displayNameEvent": "Reachable changed",
|
|
"defaultValue": false,
|
|
"type": "bool",
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "ac463b30-24af-4352-84da-19a3ffc906bd",
|
|
"name": "batteryLevel",
|
|
"displayName": "Battery",
|
|
"displayNameEvent": "Battery changed",
|
|
"type": "int",
|
|
"unit": "Percentage",
|
|
"defaultValue": 0,
|
|
"minValue": 0,
|
|
"maxValue": 100
|
|
},
|
|
{
|
|
"id": "d7c4e143-6f03-411e-a12e-dd22806270fd",
|
|
"name": "batteryCritical",
|
|
"displayName": "Battery critical",
|
|
"displayNameEvent": "Battery critical changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "63ee79f7-702b-48c1-86cf-8ddebb78bae6",
|
|
"name": "temperature",
|
|
"displayName": "Temperature",
|
|
"displayNameEvent": "Temperature changed",
|
|
"unit": "DegreeCelsius",
|
|
"type": "double",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "064f48c1-f86d-4a0a-bdae-3420123dff3f",
|
|
"name": "lightIntensity",
|
|
"displayName": "Ambient light",
|
|
"displayNameEvent": "Ambient light changed",
|
|
"unit": "Lux",
|
|
"type": "double",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "e38ee39c-c77f-40b5-b122-4efc411da0ed",
|
|
"name": "isPresent",
|
|
"displayName": "Person is present",
|
|
"displayNameEvent": "Person is present changed",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"cached": false
|
|
},
|
|
{
|
|
"id": "ef2e564e-2443-448f-bcd9-f85a1126ee6a",
|
|
"name": "lastSeenTime",
|
|
"displayName": "Last seen time",
|
|
"displayNameEvent": "Last seen time changed",
|
|
"type": "int",
|
|
"unit": "UnixTime",
|
|
"defaultValue": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "01438844-0048-4276-91f8-c93ac0a5171d",
|
|
"name": "smartPlug",
|
|
"displayName": "Hue Smart plug",
|
|
"interfaces": ["powersocket", "wirelessconnectable"],
|
|
"createMethods": ["auto"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "a5441712-5a4a-43a7-b797-3806cba86e1a",
|
|
"name": "modelId",
|
|
"displayName": "model id",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "87cf0d7a-9ac2-4694-9f5f-1c9c6692a6c5",
|
|
"name": "type",
|
|
"displayName": "type",
|
|
"type" : "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "5b8a02b9-3a2b-4178-914d-c62d03281d00",
|
|
"name": "uuid",
|
|
"displayName": "Uuid",
|
|
"type": "QString",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"id": "90791861-bb27-4ade-8551-306af322b12d",
|
|
"name": "lightId",
|
|
"displayName": "light id",
|
|
"type" : "int",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "77198588-cfd0-44ea-beb5-3a7ce06d4c1d",
|
|
"name": "power",
|
|
"displayName": "Powered",
|
|
"displayNameEvent": "Switched on or off",
|
|
"displayNameAction": "Switch",
|
|
"type": "bool",
|
|
"defaultValue": false,
|
|
"writable": true,
|
|
"ioType": "digitalOutput"
|
|
},
|
|
{
|
|
"id": "6fdf4b26-6b93-4db9-9ff4-e755f5da0a3c",
|
|
"name": "connected",
|
|
"displayName": "Reachable",
|
|
"displayNameEvent": "Reachable changed",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |