hyperion.ng/libsrc/leddevice/schemas/schema-philipshue.json
2023-09-02 22:23:01 +02:00

302 lines
6.8 KiB
JSON

{
"type": "object",
"required": true,
"properties": {
"host": {
"type": "string",
"format": "hostname_or_ip",
"title": "edt_dev_spec_targetIpHost_title",
"default": "",
"propertyOrder": 1
},
"port": {
"type": "integer",
"title": "edt_dev_spec_port_title",
"default": 0,
"minimum": 0,
"maximum": 65535,
"access": "expert",
"propertyOrder": 2
},
"username": {
"type": "string",
"title": "edt_dev_spec_username_title",
"default": "",
"propertyOrder": 3
},
"clientkey": {
"type": "string",
"title": "edt_dev_spec_clientKey_title",
"default": "",
"options": {
"dependencies": {
"useEntertainmentAPI": true
}
},
"propertyOrder": 4
},
"useAPIv2": {
"type": "boolean",
"format": "checkbox",
"title": "edt_dev_spec_useAPIv2_title",
"default": false,
"options": {
"hidden": true
},
"access": "expert",
"propertyOrder": 5
},
"useEntertainmentAPI": {
"type": "boolean",
"format": "checkbox",
"title": "edt_dev_spec_useEntertainmentAPI_title",
"default": true,
"options": {
"hidden": true
},
"propertyOrder": 6
},
"switchOffOnBlack": {
"type": "boolean",
"format": "checkbox",
"title": "edt_dev_spec_switchOffOnBlack_title",
"default": false,
"options": {
"dependencies": {
"useAPIv2": false
}
},
"propertyOrder": 7
},
"restoreOriginalState": {
"type": "boolean",
"format": "checkbox",
"title": "edt_dev_spec_restoreOriginalState_title",
"default": false,
"propertyOrder": 8
},
"blackLevel": {
"type": "number",
"format": "stepper",
"title": "edt_dev_spec_brightnessThreshold_title",
"default": 0.009,
"step": 0.01,
"minimum": 0.001,
"maximum": 1.0,
"options": {
"dependencies": {
"useAPIv2": false
}
},
"propertyOrder": 9
},
"onBlackTimeToPowerOff": {
"type": "integer",
"format": "stepper",
"step": 50,
"title": "edt_dev_spec_onBlackTimeToPowerOff",
"append": "edt_append_ms",
"minimum": 100,
"maximum": 100000,
"default": 600,
"required": true,
"options": {
"dependencies": {
"useAPIv2": false
}
},
"propertyOrder": 10
},
"onBlackTimeToPowerOn": {
"type": "integer",
"format": "stepper",
"step": 50,
"title": "edt_dev_spec_onBlackTimeToPowerOn",
"append": "edt_append_ms",
"minimum": 100,
"maximum": 100000,
"default": 300,
"required": true,
"options": {
"dependencies": {
"useAPIv2": false
}
},
"propertyOrder": 11
},
"candyGamma": {
"type": "boolean",
"format": "checkbox",
"title": "edt_dev_spec_candyGamma_title",
"default": true,
"options": {
"dependencies": {
"useAPIv2": false
}
},
"propertyOrder": 12
},
"lightIds": {
"type": "array",
"title": "edt_dev_spec_lightid_title",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"minimum": 0,
"title": "edt_dev_spec_lightid_itemtitle"
},
"options": {
"dependencies": {
"useEntertainmentAPI": false
}
},
"propertyOrder": 13
},
"groupId": {
"type": "string",
"title": "edt_dev_spec_groupId_title",
"default": "",
"options": {
"dependencies": {
"useEntertainmentAPI": true
}
},
"options": {
"dependencies": {
"useAPIv2": false
}
},
"propertyOrder": 14
},
"brightnessFactor": {
"type": "number",
"format": "stepper",
"title": "edt_dev_spec_brightnessFactor_title",
"default": 1.0,
"step": 0.25,
"minimum": 0.5,
"maximum": 10.0,
"access": "advanced",
"options": {
"dependencies": {
"useAPIv2": false
}
},
"propertyOrder": 15
},
"handshakeTimeoutMin": {
"type": "number",
"format": "stepper",
"title": "edt_dev_spec_sslHSTimeoutMin_title",
"default": 600,
"step": 100,
"minimum": 100,
"maximum": 30000,
"access": "expert",
"append": "edt_append_ms",
"required": true,
"options": {
"dependencies": {
"useEntertainmentAPI": true
}
},
"propertyOrder": 16
},
"handshakeTimeoutMax": {
"type": "number",
"format": "stepper",
"title": "edt_dev_spec_sslHSTimeoutMax_title",
"default": 1000,
"step": 100,
"minimum": 100,
"maximum": 30000,
"access": "expert",
"append": "edt_append_ms",
"required": true,
"options": {
"dependencies": {
"useEntertainmentAPI": true
}
},
"propertyOrder": 17
},
"verbose": {
"type": "boolean",
"format": "checkbox",
"title": "edt_dev_spec_verbose_title",
"default": false,
"access": "expert",
"propertyOrder": 18
},
"transitiontime": {
"type": "number",
"title": "edt_dev_spec_transistionTime_title",
"default": 1,
"minimum": 0,
"maximum": 100000,
"required": true,
"append": "x100ms",
"options": {
"dependencies": {
"useEntertainmentAPI": false
}
},
"propertyOrder": 19
},
"blackLightsTimeout": {
"type": "number",
"title": "edt_dev_spec_blackLightsTimeout_title",
"default": 5000,
"options": {
"dependencies": {
"useAPIv2": false
}
},
"propertyOrder": 20
},
"brightnessThreshold": {
"type": "number",
"title": "edt_dev_spec_brightnessThreshold_title",
"default": 0.0001,
"options": {
"dependencies": {
"useAPIv2": false
}
},
"propertyOrder": 21
},
"brightnessMin": {
"type": "number",
"title": "edt_dev_spec_brightnessMin_title",
"default": 0,
"step": 0.05,
"minimum": 0,
"maximum": 1.0,
"access": "advanced",
"options": {
"dependencies": {
"useAPIv2": false
}
},
"propertyOrder": 22
},
"brightnessMax": {
"type": "number",
"title": "edt_dev_spec_brightnessMax_title",
"default": 1.0,
"step": 0.05,
"minimum": 0,
"maximum": 1.0,
"access": "advanced",
"options": {
"dependencies": {
"useAPIv2": false
}
},
"propertyOrder": 23
}
},
"additionalProperties": true
}