22 lines
478 B
Python
22 lines
478 B
Python
# --- BLE & app config -------------------------------------------------
|
|
|
|
MAC_PREFIX = "A4:C1:38"
|
|
SCAN_INTERVAL_MINUTES = 1
|
|
debug_output = False
|
|
bind_ip = "0.0.0.0"
|
|
api_port = 5000
|
|
redis_port = 6379
|
|
enable_redis = True
|
|
|
|
# --- This will store friendly names for MAC addresses -----------------
|
|
comment_lookup =
|
|
[
|
|
{
|
|
"mac": "A4:C1:38:00:11:10",
|
|
"comment": "Living Room"
|
|
},
|
|
{
|
|
"mac": "A4:C1:38:00:11:11",
|
|
"comment": "Main Bedroom"
|
|
}
|
|
] |