-
Notifications
You must be signed in to change notification settings - Fork 0
/
hmr-config-demo.json
105 lines (105 loc) · 2.58 KB
/
hmr-config-demo.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"config": {
"clientid": "hmr1",
"statusprefix": "hmr1/status/",
"setprefix": "hmr1/set/",
"mqttHost": "<your hostname or IP>",
"mqttPort": 9001
},
"defaults": {
"xs": 4,
"sm": 3,
"md": 2,
"waitingcolor": "grey"
},
"views": {
"main": {
"title": "Main View",
"defaults": {
"color": "#000000",
"backcolor": "#c0c0c0"
},
"rows": [
{
"defaults": {
"oncolor": "orange",
"offcolor": "#c0c0c0",
"xs": 2,
"sm": 2,
"md": 1
},
"title": "Alarm",
"cols":
[
{
"id": "outdoor-monitor",
"text": "Outdoor",
"val": 0
},
{
"id": "alarm-status",
"text": "ALARM",
"offtext": "KEIN ALARM",
"val": 0,
"xs": 10,
"sm": 10,
"md": 11,
"oncolor": "red",
"readonly": 1
}
]
},
{
"title": "Windows",
"cols":
[
{
"id": "open-windows",
"text": "Windows",
"val": 0,
"oncolor": "cyan",
"offcolor": "#c0c0c0",
"xs": 12,
"sm": 12,
"md": 12,
"readonly": 1,
"offtext": "All closed"
}
]
}
]
},
"cam": {
"title": "Cam View",
"defaults": {
"color": "#000000",
"backcolor": "#808080",
"xs": 12,
"sm": 12,
"md": 6
},
"rows": [
{
"title": "Cameras",
"cols":
[
{
"id": "cam-entrance",
"text": "Cam entrance",
"interval": 2000,
"val": 0,
"imgurl": "http://<web-cam-ip>/path/to/image.jpg"
},
{
"id": "cam-garden",
"text": "Cam garden",
"interval": 2000,
"val": 0,
"imgurl": "http://<web-cam-ip>/path/to/image.jpg"
}
]
}
]
}
}
}