-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
30 lines (30 loc) · 829 Bytes
/
config.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
{
"read-interval": 30,
"recorders": [{
"type": "print",
"config": {
"format": "{device_id} C {celsius} / F {fahrenheit}"
}
},
{
"type": "file",
"config": {
"format": "{timestamp},{celsius},C",
"container": "temperaturemonitor/",
"extension": ".log"
}
},
{
"type": "http",
"config": {
"uri": "http://localhost:8889/temperature/{device_id}",
"json-template": {
"celsius": "{celsius}",
"fahrenheit": "{fahrenheit}",
"timestamp": "{timestamp}",
"device_id": "{device_id}"
}
}
}
]
}