forked from espruino/EspruinoHub
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.json
29 lines (25 loc) · 855 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
{
"// If a device's address is here, it'll be given a human-readable name":0,
"known_devices" : {
"c0:52:3f:50:42:c9" : "office",
"fc:a6:c6:04:db:79" : "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,
"// We can add our own custom advertising UUIDs here with names to help decode them":0,
"advertised_services" : {
"ffff" : {
"name" : "level"
}
},
"mqtt_host": "mqtt://zippy.lan",
"//mqtt_options": {
"username": "user",
"password": "pass"
}
}