-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevices.json
More file actions
47 lines (47 loc) · 843 Bytes
/
devices.json
File metadata and controls
47 lines (47 loc) · 843 Bytes
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
[{
"deviceID": "635c943a-6b8a-7b22-32e1-1a397411c2c6",
"deviceType": "button",
"deviceModule": "native",
"deviceCmds": [
"on",
"off",
"toggle",
"status",
"init"
],
"devicePin": "GPIO_67",
"deviceLocation": "Zone A",
"meta": {
"buttonType": "Mains Relay",
"limits": "10A/250AC 20A/120AC",
"description": "Simple switch"
}
},
{
"deviceID": "715b8504-9ead-6c3c-3fce-313662441d64",
"deviceType": "virtual",
"deviceCmds": [
"read",
"init"
],
"deviceLocation": "Zone A",
"deviceModule": "dht",
"devicePin": "P9_21",
"meta": {
"outputs": [{
"metric": "Temperature",
"unit": "C"
},
{
"metric": "Humidity",
"unit": "%RH"
}
],
"validRange": [-40,
85
],
"sensorModel": "DHT22",
"Description": "Temperature & Humidity Sensor"
}
}
]