forked from wirenboard/wb-mqtt-serial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-pc-msu24.json
37 lines (37 loc) · 1.05 KB
/
config-pc-msu24.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
// Configuration options
{
"debug": true,
"ports": [
{
"port_type" : "serial",
"path" : "/dev/ttyUSB0",
"baud_rate": 9600,
"parity": "N",
"data_bits": 8,
"stop_bits": 2,
"poll_interval": 100,
"devices" : [
{
"name": "MSU24",
"id": "msu24",
"slave_id": 34,
"channels": [
{
"name" : "Illuminance",
"reg_type" : "input",
"address" : 0,
"type": "text"
},
{
"name" : "Temp 1",
"reg_type" : "input",
"address" : 1,
"type": "temperature",
"format": "s8"
}
]
}
]
}
]
}