This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/plugins/deviceplugins/dollhouse/deviceplugindollhouse.json

118 lines
4.5 KiB
JSON

{
"name": "Smart Dollhouse",
"idName": "Dollhouse",
"id": "ee62716c-64b5-4ec5-a877-9a8d9c1042cb",
"vendors": [
{
"name": "guh",
"idName": "guh",
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
"deviceClasses": [
{
"name": "Dollhouse Connection",
"idName": "connection",
"deviceClassId": "44e12a1c-9711-4780-9913-53bb38264e1e",
"createMethods": ["user"],
"basicTags": [
"Device",
"Gateway"
],
"paramTypes": [
{
"name": "name",
"type": "QString",
"index": 0,
"defaultValue": "Dollhouse Connection"
},
{
"name": "RPL address",
"type": "QString",
"index": 1,
"inputType": "TextLine",
"defaultValue": "fdaa:e9b8:d03a::ff:fe00:1"
}
]
},
{
"name": "Dollhouse Light",
"idName": "light",
"deviceClassId": "b4dd5f10-36d4-4232-867a-6d3b04a08bad",
"createMethods": ["auto"],
"criticalStateTypeId": "93c539b4-50d8-431e-8be4-5ebba89452b7",
"basicTags": [
"Device",
"Lighting"
],
"paramTypes": [
{
"name": "name",
"type": "QString",
"index": 0,
"defaultValue": "Dollhouse Light"
},
{
"name": "address",
"type": "QString",
"index": 1
},
{
"name": "light id",
"type": "int",
"index": 2,
"defaultValue": 0,
"readOnly": true
},
{
"name": "connection uuid",
"type": "QString",
"index": 3,
"inputType": "TextLine",
"readOnly": true
}
],
"stateTypes": [
{
"id": "e4885a73-9fe1-48ca-b773-aeb93f34cd54",
"idName": "color",
"name": "color",
"index": 0,
"type": "QColor",
"defaultValue": "#fff30a",
"writable": true
},
{
"id": "e78c9136-c10a-45c9-b6bc-2d937f09cdec",
"idName": "brightness",
"name": "brightness",
"index": 1,
"type": "int",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100,
"writable": true
},
{
"id": "f6ac30a0-77b8-4f1f-8c44-4c2e6d542663",
"idName": "power",
"name": "power",
"index": 2,
"type": "bool",
"defaultValue": false,
"writable": true
},
{
"id": "93c539b4-50d8-431e-8be4-5ebba89452b7",
"idName": "reachable",
"name": "reachable",
"index": 3,
"type": "bool",
"defaultValue": false
}
]
}
]
}
]
}