forked from markbergsma/pimatic-hue-zll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hue-zll-config-schema.coffee
42 lines (42 loc) · 1.14 KB
/
hue-zll-config-schema.coffee
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
# #hue-zll configuration options
module.exports = {
title: "Hue ZLL config options"
type: "object"
properties:
username:
description: "Hue bridge API key/username"
type: "string"
required: false
host:
description: "Hostname or IP address of the Hue bridge"
type: "string"
required: false
port:
description: "Hue Bridge TCP port number"
type: "integer"
default: 80
timeout:
description: "Timeout (ms) for sending API requests to the Hue bridge"
type: "integer"
default: 5000
retries:
description: "Number of retries for Hue API requests on temporary errors"
type: "integer"
default: 1
polling:
description: "Default polling interval (ms)"
type: "integer"
default: 5000
hueApiConcurrency:
description: "Maximum concurrent requests to the Hue API"
type: "integer"
default: 1
hueApiQueueMaxLength:
description: "Maximum amount of requests queued for the Hue API"
type: "integer"
default: 0
debug:
description: "Enable debug logging"
type: "boolean"
default: false
}