homebridge-kobold-Homaassis.../config.schema.json

148 lines
3.5 KiB
JSON
Raw Normal View History

{
2021-05-04 09:11:50 +02:00
"pluginAlias": "NeatoVacuumRobot",
"pluginType": "platform",
"singular": true,
"headerDisplay": "",
"schema": {
"type": "object",
"properties": {
"email": {
"title": "E-Mail",
"type": "string",
"required": true,
"format": "email"
},
"password": {
"title": "Password",
"type": "string",
"required": true
},
2021-05-10 10:12:43 +02:00
"language": {
"title": "Services Language",
"description": "The displayed language of the registered services (and associated Siri commands)",
"type": "string",
"default": "en",
"oneOf": [
{
"title": "English",
"enum": ["en"]
},
{
"title": "German",
"enum": ["de"]
},
{
"title": "French",
"enum": ["fr"]
}
],
"required": true
},
2021-05-04 09:11:50 +02:00
"prefix": {
2021-05-10 10:12:43 +02:00
"title": "Prefix with Robot Name",
2021-05-04 09:11:50 +02:00
"description": "Display the name of the robot in front of every service.",
"type": "boolean",
"default": false
},
"backgroundUpdate": {
2021-05-10 10:12:43 +02:00
"title": "Background Update Interval",
2021-05-04 09:11:50 +02:00
"description": "Interval for background updates while the robot is not cleaning (in minutes). During cleaning, the robot will automatically update at a faster rate.",
"type": "integer",
"minimum": 1,
"default": 30
},
"services": {
"type": "array",
2021-05-10 10:12:43 +02:00
"title": "Displayed Services",
"description": "The services to be made available for Homekit",
"uniqueItems": true,
2021-05-04 09:11:50 +02:00
"items": {
"type": "string",
2021-05-04 09:11:50 +02:00
"enum": [
2021-05-10 10:12:43 +02:00
"clean",
"cleanZone",
"cleanSpot",
"goToDock",
"dockState",
"binFull",
"eco",
"noGoLines",
"extraCare",
"schedule",
"findMe",
"battery"
],
"enumNames": [
"Clean",
"Clean Zone",
"Clean Spot",
"Go to Dock",
"Docked State",
"Bin Full",
"Eco Mode",
"NoGo Lines",
"Extra Care",
2021-05-04 09:11:50 +02:00
"Schedule",
2021-05-10 10:12:43 +02:00
"Find me",
"Battery"
2021-05-04 09:11:50 +02:00
]
},
2021-05-04 09:58:35 +02:00
"default": [
2021-05-10 10:12:43 +02:00
"clean",
"cleanZone",
"goToDock",
"dockState",
"binFull",
"eco",
"noGoLines",
"extraCare",
"schedule",
"findMe",
"cleanSpot",
"battery"
2021-05-04 09:58:35 +02:00
]
}
}
2021-05-04 09:11:50 +02:00
},
"layout": [
{
"type": "help",
"helpvalue": "<h4>Login</h4>"
},
{
"type": "help",
"helpvalue": "Enter the credentials of your Neato app. If you don't have a neato account yet, register <a target='_blank' href='https://www.neatorobotics.com/create-account/'>here</a>"
},
{
"type": "flex",
"flex-flow": "row wrap",
"items": [
"email",
{
"key": "password",
"type": "password"
}
]
},
{
"type": "help",
"helpvalue": "<h4>Options</h4>"
},
"backgroundUpdate",
"prefix",
2021-05-10 10:12:43 +02:00
"language",
2021-05-04 09:11:50 +02:00
{
"type": "fieldset",
2021-05-10 10:12:43 +02:00
"title": "Displayed Services",
2021-05-04 09:11:50 +02:00
"description": "<i>Services to be displayed in Homekit</i>",
"expandable": true,
"items": [
{
"key": "services",
"notitle": true
}
]
}
]
}