-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_setup.json
54 lines (54 loc) · 1.46 KB
/
ui_setup.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
{
"description": "define mqtt broker details (local IP 192.168.1.X to contact mosquitto), define list of items to be shown into the UI",
"mqtt_broker": {
"host": "localhost",
"port": "9001",
"options": {
"clientId": "mqtt_client_01",
"connectTimeout": 4000,
"reconnectPeriod": 1000,
"keepalive": 60,
"clean": true,
"username": "tfm",
"password": "pass"
}
},
"items": [
{
"name": "Increase AC temp",
"topic": "/converter/set_temperature",
"message": "+1",
"qos": 2
},
{
"name": "Decrease AC temp",
"topic": "/converter/set_temperature",
"message": "-1",
"qos": 2
},
{
"name": "Room temperature",
"topic": "/converter/temperature",
"qos": 2,
"description": "Temperature sensor"
},
{
"name": "Start air extractor",
"topic": "/converter/set_extractor",
"message": "100",
"qos": 2
},
{
"name": "Stop air extractor",
"topic": "/converter/set_extractor",
"message": "0",
"qos": 2
},
{
"name": "Room smoke",
"topic": "/converter/smoke",
"qos": 2,
"description": "Smoke sensor"
}
]
}