baldav/frontend/js
4aiman 82f3dc9d4a ble: read DIY barometer (BaroBalDav) over BLE + firmware
Self-made altitude sensor: ESP32-C3 SuperMini + BMP280 broadcasting pressure and
temperature over standard BLE Environmental Sensing. Read into baldav the same way as
the heart-rate strap (Kotlin BLE service -> file -> Rust -> JS), new device_type 'baro'.

- BleHrService: 'baro' type subscribes to ESS 0x181A (pressure 0x2A6D uint32 0.1 Pa,
  temperature 0x2A6E int16 0.01 C), writes ble_baro_data.json + ble_baro_log.jsonl.
  Every baro branch is gated by deviceType=='baro', so HR/GPS paths are untouched.
- ble.rs: BaroReading, ESS detection, ble_get_baro command (Android reads the file,
  desktop returns None). Registered in lib.rs.
- frontend/js/baro.js: passive window.BARO - hypsometric pressure->altitude using the
  sensor temperature, anchored to GPS altitude at ride start. Nothing runs until
  BARO.start(), so with no barometer the app is unchanged.
- tools/baro-sensor: firmware (PlatformIO main.cpp + Arduino sketch) that reads BMP280
  at max oversampling and advertises the ESS service.

Prep only: no hardware yet, verified by compile (build 0.1.538). Live wiring and
ride-track integration pending the board.
2026-10-30 00:38:12 +03:00
..
baro.js ble: read DIY barometer (BaroBalDav) over BLE + firmware 2026-10-30 00:38:12 +03:00
bmr.js Sensors, walk limits, GPS fixes, water UI, manual routes, Gridnev products, OTA router 2026-06-18 22:54:45 +03:00
chzn.js ЧЗ scanner: switch decoder to zxing-wasm (ZXing-C++) for reliable DataMatrix 2026-08-27 09:42:05 +03:00
db.js Hydration: water intake from the food log, drop the "+вода" button 2026-10-24 01:29:30 +03:00
gps.js BRouter danger: detect untagged fords via BRouter river-class heuristic 2026-10-26 22:07:41 +03:00
main.js hydration: spoken 'hydrate now' alert, per-activity sweat, drink reconciliation 2026-10-27 21:47:10 +03:00
poi.js Maps: trim tile retention, simplify big tracks by zoom, thin POIs when zoomed out 2026-09-29 15:49:02 +03:00
router.js BRouter Part B: show fords/rough tracks on the route + adventure opt-in 2026-10-26 21:46:56 +03:00
tilecache.js Tiles: heal blank tiles online (periodic OSM-reachability check + backfill) 2026-10-19 20:07:05 +03:00