29 lines
634 B
Python
29 lines
634 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:11:F4:2A",
|
|
"comment": "Kitchen - 0"
|
|
},
|
|
{
|
|
"mac": "A4:C1:38:D7:8D:26",
|
|
"comment": "Table - 1"
|
|
},
|
|
{
|
|
"mac": "A4:C1:38:24:15:B0",
|
|
"comment": "Hallway 2"
|
|
},
|
|
{
|
|
"mac": "A4:C1:38:96:53:30",
|
|
"comment": "Bedroom 3"
|
|
}
|
|
] |