-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.template
More file actions
59 lines (59 loc) · 2.22 KB
/
Copy pathconfig.json.template
File metadata and controls
59 lines (59 loc) · 2.22 KB
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
{
"MQTT": {
"BROKER": "",
"PORT": 1883,
"USERNAME": "",
"PASSWORD": "",
"CLIENT_ID": "generic_api2mqtt"
"BASE_TOPIC": "smarthome"
},
"WEBHOOK": {
"HTTP_PORT": 80
},
"SWITCHBOT": {
"API_BASEURL": "https://api.switch-bot.com/v1.1/",
"TOKEN": "",
"SECRET": "",
"DEVICES": {
"smartlockpro.ingresso": "",
"keypad.ingresso": "",
"hubmini.soggiorno": "",
...
},
"VALID_COMMANDS": {
"smartlockpro": {
"lock": {"command": "lock", "commandType": "command"},
"unlock": {"command": "unlock", "commandType": "command"},
...
}
},
"POLLING_INTERVAL_SEC": 0
},
"SMARTTHINGS": {
"API_BASEURL": "https://api.smartthings.com/v1/",
"TOKEN": "",
"DEVICES": {
"frigorifero.cucina": "",
"climatizzatore.studio": "",
"tv.soggiorno": "",
...
},
"VALID_COMMANDS": {
"frigorifero": {},
"climatizzatore": {
"on": {"commands": [{"component": "main", "capability": "switch", "command": "on"}]},
"off": {"commands": [{"component": "main", "capability": "switch", "command": "off"}]},
"setTemperature": {"commands": [{"component": "main", "capability": "thermostatCoolingSetpoint", "command": "setCoolingSetpoint", "arguments": ["%value%"]}]},
"setAirConditionerMode": {"commands": [{"component": "main", "capability": "airConditionerMode", "command": "setAirConditionerMode", "arguments": ["%value%"]}]},
"setAirConditionerFanMode": {"commands": [{"component": "main", "capability": "airConditioneFanMode", "command": "setFanMode", "arguments": ["%value%"]}]},
"setAirConditionerOptionalMode": {"commands": [{"component": "main", "capability": "custom.airConditionerOptionalMode", "command": "setAcOptionalMode", "arguments": ["%value%"]}]},
"setFanOscillationMode": {"commands": [{"component": "main", "capability": "fanOscillationMode", "command": "setFanOscillationMode", "arguments": ["%value%"]}]}
},
"tv": {
"on": {"commands": [{"component": "main", "capability": "switch", "command": "on"}]},
"off": {"commands": [{"component": "main", "capability": "switch", "command": "off"}]}
}
},
"POLLING_INTERVAL_SEC": 0
}
}