forked from ppetru/ruuvi2mqtt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.json
25 lines (22 loc) · 869 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
{
"// If a device's address is here, it'll be given a human-readable name":0,
"known_devices" : {
"c3:c0:f5:9e:cb:f4" : "office",
"e7:a0:ea:15:f9:4d" : "hall_down",
"cf:71:de:4d:f8:48" : "hall_up"
},
"// Set this to true to only publish MQTT messages for known devices":0,
"only_known_devices": false,
"// How many seconds to wait for a packet before considering BLE connection":0,
"// broken and exiting. Higher values are useful with slowly advertising sensors.":0,
"// Setting a value of 0 disables the exit/restart.":0,
"ble_timeout": 20,
"mqtt_host": "wss://tzrng0.messaging.internetofthings.ibmcloud.com:443",
"mqtt_topic": "iot-2/evt/status/fmt/json",
"mqtt_data_container": "d",
"mqtt_options": {
"username": "use-token-auth",
"password": "OGxH&DMpj8Z&xV05)5",
"clientId": "d:tzrng0:Ruuvi:palvelinkoe"
}
}