- Add bt_mac field to scanner config for identifying scanner BT adapters - Store bt_mac in peers table for peer scanners - Filter out devices matching scanner BT MACs from all views - Prevents scanners from appearing as devices in device lists/maps Config: scanner.bt_mac = "XX:XX:XX:XX:XX:XX" API: /api/peers/register accepts bt_mac field Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
57 lines
1.1 KiB
YAML
57 lines
1.1 KiB
YAML
gps:
|
|
latitude: 50.85846541332012
|
|
longitude: 4.397570348817993
|
|
web:
|
|
host: 0.0.0.0
|
|
port: 5000
|
|
debug: false
|
|
scanner:
|
|
id: rpios
|
|
name: rpios
|
|
latitude: null
|
|
longitude: null
|
|
floor: null
|
|
is_master: true
|
|
bt_mac: '2C:CF:67:6F:66:AC'
|
|
wifi_interface: wlan0
|
|
bt_scan_timeout: 10
|
|
path_loss_exponent: 2.5
|
|
wifi_tx_power: -59
|
|
bt_tx_power: -72
|
|
peers: []
|
|
sync_interval_seconds: 30
|
|
accept_registrations: true
|
|
data:
|
|
directory: data
|
|
max_scans: 100
|
|
database:
|
|
enabled: true
|
|
filename: devices.db
|
|
retention_days: 30
|
|
auto_cleanup: true
|
|
home_assistant:
|
|
enabled: true
|
|
url: http://192.168.129.10:8123
|
|
token: ''
|
|
webhook_scan: rf_mapper_scan
|
|
webhook_new_device: rf_mapper_new_device
|
|
webhook_device_gone: rf_mapper_device_gone
|
|
device_timeout_minutes: 5
|
|
profiling:
|
|
enabled: false
|
|
cpu: true
|
|
memory: false
|
|
output_dir: data/profiles
|
|
sort_by: cumtime
|
|
auto_scan:
|
|
enabled: false
|
|
interval_minutes: 5
|
|
location_label: auto_scan
|
|
building:
|
|
enabled: true
|
|
name: Home
|
|
floors: 12
|
|
floor_height_m: 3.0
|
|
ground_floor_number: 0
|
|
current_floor: 11
|