-
Notifications
You must be signed in to change notification settings - Fork 1
/
device-config-schema.coffee
85 lines (85 loc) · 2.91 KB
/
device-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
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
85
module.exports = {
title: "pimatic-netatmo device config schemas"
NetatmoBase: {
title: "Netatmo Base Station"
description: "Netatmo Base Station which can provide temperature, CO2, humidity, pressure, noise"
type: "object"
extensions: ["xLink", "xAttributeOptions"]
properties:
device_id:
description: "Device ID retrieved from plugin startup output"
type: "string"
interval:
description: "Polling interval for current measurements (>60s recommended)"
type: "number"
default: 60
}
NetatmoOutdoorModule: {
title: "Netatmo Outdoor Module"
description: "Netatmo Outdoor Module which can provide temperature and humidity"
type: "object"
extensions: ["xLink", "xAttributeOptions"]
properties:
device_id:
description: "Base Station Device ID retrieved from plugin startup output"
type: "string"
module_id:
description: "Module ID retrieved from plugin startup output"
type: "string"
interval:
description: "Polling interval for current measurements (>60s recommended)"
type: "number"
default: 60
}
NetatmoIndoorModule: {
title: "Netatmo Indoor Module"
description: "Netatmo Indoor Module which can provide temperature, humidity and CO2"
type: "object"
extensions: ["xLink", "xAttributeOptions"]
properties:
device_id:
description: "Base Station Device ID retrieved from plugin startup output"
type: "string"
module_id:
description: "Module ID retrieved from plugin startup output"
type: "string"
interval:
description: "Polling interval for current measurements (>60s recommended)"
type: "number"
default: 60
}
NetatmoRainSensor: {
title: "Netatmo Rain Sensor"
description: "Netatmo Rain Sensor which can provide rain measurements"
type: "object"
extensions: ["xLink", "xAttributeOptions"]
properties:
device_id:
description: "Base Station Device ID retrieved from plugin startup output"
type: "string"
module_id:
description: "Module ID retrieved from plugin startup output"
type: "string"
interval:
description: "Polling interval for current measurements (>60s recommended)"
type: "number"
default: 60
}
NetatmoWindGauge: {
title: "Netatmo Wind Gauge"
description: "Netatmo Wind Gauge which can provide wind strength and wind angle"
type: "object"
extensions: ["xLink", "xAttributeOptions"]
properties:
device_id:
description: "Base Station Device ID retrieved from plugin startup output"
type: "string"
module_id:
description: "Module ID retrieved from plugin startup output"
type: "string"
interval:
description: "Polling interval for current measurements (>60s recommended)"
type: "number"
default: 60
}
}