# RF Mapper Configuration # ======================== # GPS Reference Position # Set this to your Home Assistant or scanner location gps: # Belgium (Brussels area) - Update with your actual coordinates latitude: 50.8585853 longitude: 4.3978724 # You can get precise coordinates from Home Assistant at: # http://192.168.129.10:8123/config/zone # Web Server Settings web: host: "0.0.0.0" port: 5000 debug: false # Scanner Settings scanner: # WiFi interface name wifi_interface: "wlan0" # Bluetooth scan timeout in seconds bt_scan_timeout: 10 # Path loss exponent for distance estimation # 2.0 = free space, 2.5 = light indoor, 3.0-4.0 = walls path_loss_exponent: 2.5 # Automatically identify Bluetooth devices (queries device services) auto_identify_bluetooth: true # Data Storage data: # Directory for scan data (relative to project root or absolute path) directory: "data" # Maximum number of scans to keep (0 = unlimited) max_scans: 100 # SQLite Database for Device History database: # Enable historical tracking enabled: true # Database filename (stored in data directory) filename: "devices.db" # Data retention period in days (auto-cleanup older data) retention_days: 30 # Enable automatic daily cleanup auto_cleanup: true # Home Assistant Integration (optional) home_assistant: enabled: false url: "http://192.168.129.10:8123" # Token can be set here or via HA_TOKEN environment variable # Generate at: http://192.168.129.10:8123/profile -> Long-Lived Access Tokens token: "" # Building Configuration (for 3D map view) building: # Enable 3D building visualization enabled: true # Building name (displayed in UI) name: "Home" # Number of floors in the building floors: 12 # Height of each floor in meters floor_height_m: 3.0 # Ground floor number (0 in most countries, 1 in US) ground_floor_number: 0 # Scanner's current floor (devices scanned will be assigned to this floor) current_floor: 11