generated from homebridge/homebridge-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.schema.json
84 lines (84 loc) · 3.32 KB
/
config.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"pluginAlias": "CronScheduler",
"pluginType": "platform",
"singular": true,
"headerDisplay": "Cron Scheduler plugin for Homebridge, which allows scheduling of triggers using cron expressions.",
"footerDisplay": "Visit the Project [Readme](https://github.com/uamanager/homebridge-cron-scheduler#readme) for more details.",
"schema": {
"type": "object",
"properties": {
"debug": {
"title": "Debug",
"type": "boolean",
"description": "Enable for displaying debug messages.",
"default": false
},
"timezone": {
"title": "Global Timezone",
"description": "Timezone in 'Europe/Kiev' format to use for all tasks. Leave blank for using the system timezone.",
"placeholder": "Europe/Kiev",
"type": "string"
},
"tasks": {
"title": "Tasks",
"type": "array",
"description": "Add one or more tasks below.",
"items": {
"title": "Tasks",
"type": "object",
"properties": {
"taskActive": {
"title": "Active",
"type": "boolean",
"description": "Defines whether the task is active or not.",
"default": true
},
"taskName": {
"title": "Task Name",
"description": "A unique name for the task. Will be used as the accessory name.",
"placeholder": "task-name1",
"default": "task-name1",
"type": "string",
"required": true
},
"taskCronExpression": {
"title": "Cron Expression",
"description": "The cron expression to use for the task. Check [Readme](https://github.com/uamanager/homebridge-cron-scheduler#readme) for more details.",
"type": "string",
"required": true,
"default": "* * * * *"
},
"taskMaxRuns": {
"title": "Task Max Runs",
"description": "Maximum number of times the task can run. Leave blank for unlimited.",
"type": "integer"
},
"taskStateResetInterval": {
"title": "Task State Reset Interval",
"description": "The interval in minutes after which the task state will be reset. Leave '0' for immediate reset, change to '-1' for enabling toggle mode.",
"type": "integer",
"default": 0
},
"taskStartAt": {
"title": "Task Start At",
"description": "Time at which the task should start. Leave blank for immediate start. ISO 8601 formatted datetime (2021-10-17T23:43:00) in local time.",
"type": "string"
},
"taskStopAt": {
"title": "Task Stop At",
"description": "Time at which the task should stop. Leave blank for no stop. ISO 8601 formatted datetime (2021-10-17T23:43:00) in local time.",
"type": "string"
},
"timezone": {
"title": "Task Timezone",
"description": "Timezone override in 'Europe/Kiev' format to use for this tasks. Leave blank for using the global timezone.",
"placeholder": "Europe/Kiev",
"type": "string"
}
}
},
"default": []
}
}
}
}