5998fdfe88
park4night's login: Firefox's session store (there's no remember me), kept alive every 15 min; the plugin and its timer now in home-gitops
main
randy2026-12-05 17:14:51 +01:00
462303eed6
Docs and TODO after the MilCAN / NGVA notes (docs/design.adoc "What the military vehicles do"): Silent Watch, Blackout of our own devices, a hardware interlock; the Pi on 12 V only behind a HAT with an STM32C5 (power supervisor, watchdog, the Pi's CAN, 5.1 V / 5 A); the outputs' controller moves to that STM32C5 ("The controller on the Pi's HAT": requests from keypads, mcu-lvgl and maptool, Zephyr, 16 MB flash for MCUboot and a black box; native_sim on SocketCAN first). TODO: can.json curves, multiplexing and warning limits after candinista; the mcu-lvgl panel in the Garmin style; TPMS off the car's CAN; Android Auto with the Pi as the phone (AOA over USB-OTG); a universal STM32C5 board v1 with TCAN1043
randy2026-12-05 16:03:02 +01:00
cba14300b5
Driving declutter by a ["pitch"] in the layers' filters (MapLibre 6.21): route numbers and minor roads' / paths' names go already while tilting past 30°, no pitchend listener, no re-apply on style.load
randy2026-12-05 14:36:11 +01:00
f85785c61d
Update dependency maplibre-gl to v6.21.0
randy2026-12-05 13:12:54 +00:00
59f64f2f97
Update dependency rexml to v3.4.5
randy2026-12-05 13:12:33 +00:00
88fa2d27a3
Switches in drive mode, after the Design canvas' GridSwitches: Menu → Switches (only when /api/outputs answers), 3×3 tiles per page with the output's name, On / Off / Flashing / level, the key and mode driving it and its LED colour line, a group per module, All off, More ▸, a tap toggles. The status pill above the car (pypilot's note in SidePanel): ● REC while the trip is recorded, estimated / no fix, hidden when all is well
randy2026-12-04 21:45:04 +01:00
82a728e024
Outputs: positions (a key steps off → a → b → off, a knob up and down, the last off before the next on), strobe (a period) and dimmer (a knob's level by a step; a dimmable module gets a byte per channel, a relay just switches); in /keypad.html and /sim.html, a key's LED on while a position is chosen or a strobe runs
randy2026-12-04 18:50:37 +01:00
e82b2236b5
Keypad bindings in the UI (/keypad.html, after the Design canvas' GridBinding): the keypads drawn as can.json has them, a key or knob picked by a tap or by pressing it, what it drives (a screen action or an output), the output's mode, what it does in an open menu, its LEDs; saved per car in data/drive/bindings.json over the profile's (GET/PUT/DELETE /api/keypad/bindings, checked on the way in), drive mode takes them when it loads
randy2026-12-04 17:25:03 +01:00
d6af65f4ef
Keypads: the XIAO's knobs by their discovered names (mcu-stm32-xiao-c5.encoder_1, encoder_button_1), the action that sets them turning freely (entity 7, REAL32 at 0x2072)
randy2026-12-04 16:16:15 +01:00
38fb06853e
Keypads as channels and bindings, the PDMs' way (lib/maptool/keypad.rb): can.json's keypads (a Blink Marine PKP by its protocol, or any signals as inputs) give channels pad.K1, pad.E3, pad.E3 press; the drive profile's bindings give each a screen action, a knob action (zoom, pan, rows), another in an open menu and its LED colour, sent back to the PKP. Outputs (lib/maptool/outputs.rb): relay modules (simulated, no current measured), a binding's output with toggle/on/off/hold/pulse, hold off when the keypad goes silent, the state re-sent every 100 ms; /sim.html switches them by hand. CANopen TIME from maptool while no other node sends it (lib/maptool/can_time.rb), shown in /can.html
randy2026-12-04 16:14:39 +01:00
bf90f4cf23
Rounded, after the Design canvas' GridRounded: drive mode's cells and keys with 12 px corners on a black ground, the gaps (3 px a side) out of them, the map keeping its area with corners of its own; the map's points one frame, the NPS rounded square — the trip's stops, the search pins, the clusters and the points with no pictogram (badges like the p4n/OsmAnd ones) instead of circles
randy2026-12-04 14:28:32 +01:00
87d7bd2463
Planning (the Design canvas' Plan and GridToday, ideas from azedler/roadplanner): a stop's type as its NPS pictogram (marker and list), notes on the trip, its days and stops, + on a leg inserts the next point there; a parking spot per stop (P marker, the route goes there, the walk shown); a link pasted into the search becomes a place (/api/link: the URL's coordinates, else the page's geo meta / JSON-LD / a map link; public addresses only, logged in), added on the leg it lengthens least; avoids for the trip (+ ferries, unpaved) or a day (routed in pieces, joined); Check and Costs folds in the Route panel (no leave time, long days, arriving after sunset, long walks, missing vignettes; fuel from km × consumption × price, stop costs / paid, the budget); Today in drive mode's Menu (stops left, tonight, sunset, Open-Meteo weather, the day's notes, Skip next, Tomorrow). Plugins along the trip's route (Maptool::Corridor, a corridor width; Overpass around:) and plugin settings saved server-side; p4n via a host Firefox's cookies (docs/deployment.adoc). The recording's days (cut where the car stood ≥ 4 h, or by hand) and their export (days, a piece A–B, the whole trip; GPX with times). Track replay in the GNSS simulator. Step advance 5 m past a maneuver. The level gauge (drive mode, from Terrain): lift per wheel to the ramps' steps from roll, pitch, wheelbase and track
randy2026-12-03 23:34:25 +01:00
5e31dfaba9
Profiles in a dialog, the chip in the map's bottom-left corner picks one (the Design canvas' Vehicle): a car gains fuel, Euro class, stickers and vignettes / toll units with dates; drive mode's Menu steps through them. Speed limits by country for cars and over 3.5 t (public/js/speed_limits.js, sources in it): the route's roads (km, road class, country), the limit shown the lower of the sign and the profile's; the Route panel's countries with their limits and how the motorways are paid; past a border a card in drive mode (GridBorder). The itinerary in the Route panel (Itinerary): the trip's name, leave time, days start; per stop a night, stay and note, planned times, day headers; another screen's change shown where it happened with Undo
randy2026-12-03 19:00:09 +01:00
a6158f4083
Navigation: arrived 30 m from the end (banner, drive mode), navigating on past it (the reroute turns back); the next maneuver's lanes from 1 km or 45 s at the speed driven, in drive mode a cell under the maneuver over the map ("ahead" in the profile, shown only with something in it) with the next traffic signal; signals with no route: /api/road also routes 1.5 km straight on from the last fix and gives that way's signals, the nearest one in front shown. TODO: the CAN GNSS follow done (the LTE tracker a layer to switch on), any tracker point followable later
randy2026-12-03 17:57:27 +01:00
ad975bcf62
What's here on a right click / long press / Alt+click (the Design canvas' Desktop): the position on top (a click copies it, with the DMS and the ground's height), Route here / Add to the trip / Save a point, the features' raw properties folded under it; C copies the position under the mouse. Voice prompts while navigating (speechSynthesis, Valhalla's verbal alert and pre-transition instructions, ~25 s and ~7 s ahead), on/off in drive mode's Menu, off by default. TODO: the touch items closed (the Pad7 is fine as it is)
randy2026-12-03 17:44:27 +01:00
f15fbef746
Drive: the limit as a round sign at the speed field's end (the next one under it), the speed red past it; the Limit cell gone, Speed over 4 cells, and no surface in its place (the terrain panel's head has it). Terrain view in the Menu: opens and closes by itself / opens and stays / by hand; simulated, the tilt doesn't open it (the DEM's slope on a hillside road is the hill's). Desktop: the sun times in the status bar (the chart opens over it), the night button out of the top bar — On the map's Theme row and drive mode still cycle it
randy2026-12-03 14:21:07 +01:00
f981b80599
Terrain closes by itself again: the road's surface only off the route (back on it the last road's stayed, so the view never closed); while it's open the top row's Limit shows the surface. Navigated, the planned route behind the car thin and dashed under the trip log's track (the line and its casing clear there). The scale back over the map, bottom left. CAN recordings older than CAN_REC_KEEP_HOURS (24 by default, 0 keeps all) deleted when listed and every segment while recording. TODO tidied
randy2026-12-03 13:52:13 +01:00
21ad6c0c21
Terrain: the cars redrawn (a rear view on its tyres with the back window, a side view on two round wheels with two windows, the wheels apart from the body); every row of the panel a cell as on the artboard, what a bigger screen adds goes to a blank row above the buttons instead of stretching the fields and the elevation; the dials' data-key renamed data-dial (the keys took it for a binding and drew an empty label)
randy2026-12-03 12:40:11 +01:00
1ee79fff66
Drive keys (canvas GridKeys): a screen key's "key" in the profile clicks it (F1 F2 F3 / F5 − + 3 F T N; "keypad" K1–K8 / E3 kept for the keypad), the menus' own buttons too (1 2 3 the scopes / presets, H hide all / all off); in an open menu ↑ ↓ move the row (the keypad's encoder will send the same arrows), Enter its first button, Space its eye, + adds it, ⌫ up a folder, Esc closes. The key in each button's corner and the row in purple with ⏎ ␣ +, from the first key pressed on (a touch-only screen stays clean)
randy2026-12-03 12:27:45 +01:00
d39e3b5edd
Drive on other screens (field test on a 26″): the cells at most the profile's 80 px, on a bigger screen only the map's columns and rows stretch (the right column, the menus and the map keys stay cell-sized, a list shows more rows), on a smaller one everything — cells, type, icons — scaled by one factor so a 7″ keeps the same elements; a menu now lies over the cells of the area it opens in (Next stop and the rest covered Terrain), the dials sized by the cell; the simulation's roll and pitch always from the terrain under it, not the IMU of the car standing at home; the dashboard's card over the map hidden while driving (Terrain instead)
randy2026-12-03 11:04:45 +01:00
f73badd107
Drive as the Design canvas' Grid: the page as 16 × 10 cells from a screen profile (public/drive/road.json, {area, widget, …} per cell, to be edited in the app later), the map 13 × 8 with nothing over it; the manoeuvre, speed, limit, altitude, time, sun, status (online, rec), next stop with km / ETA to it and to the end, the route's elevation of the next 10 km, a compass; keys Trip, Points, Layers, Search, Menu, − + 3D Follow, Terrain, day/dusk/night. A menu opens in the right 7 × 8 as cells of its own and the map narrows to 9 × 8 (drive_menus.js): Trip and Search as GridTrip / GridSearch (a stop a row, ✓ ↑ ↓ ✕ a cell each; results with their pins on the map); Points as GridPoints (the library nearest the car — /api/search with no words and a center lists every saved feature nearest first — along the route ahead, shown, or one folder at a time; an eye per row, + a point as a stop); Layers as GridLayers (the On the map panel's own switches and Online | Offline, presets Road / Off-road / Overnight, + Keep); Terrain as GridTerrain (roll / pitch dials with the max held, climb and side slope ahead from the DEM, the next 2 km, Level here = can.json's levelling action in two taps), on by itself on an unpaved surface (/api/road now gives Valhalla's surface) or past 10° for 10 s, back after 2 km of paved road, automatic / by hand in the Menu. The dashboard polls for the grid without its overlay; the old drive bar and floating buttons gone
randy2026-12-03 10:47:40 +01:00
285af64a65
On the map: the toggles plain checkboxes again (16 px, at the row's end), not circles that read as radio buttons; rows, names and section gaps smaller
randy2026-12-03 10:02:35 +01:00
91fa9cec41
Library as on the artboard (after Locus Map), renamed from Tracks & Points: find on top (text, kind chips with counts, shown on the map only, Folders | List), one folder level at a time with ← up and the path (the up button takes a dragged item a level up), folders first, an eye per row (● shown, ◐ some of a folder, ○ none; a folder's eye shows or hides everything in it), a track's points open from its ›; while searching or in List every match flat with its folder; totals and Hide all at the foot; uploads, new folders and drops on blank space go to the folder open. The elevation profile docked under the map: the map gives up its height; a route shows its own profile once the terrain is sampled (not while driving) and hides it when cleared
randy2026-12-03 09:39:19 +01:00
fc8564fe3b
On the map as on the artboard: section titles as small caps on white (no gray bands), compact rows with a bold name, the on/off as the eye at the row's end (● on, ○ off) instead of a checkbox at its start; the map as one row with an Online | Offline switch, a Theme row (the topbar's night cycle), the legend as a row. The map's buttons in the artboard's three cards (zoom; compass, north lock, 3D, my position; measure, note, home). Topbar: the offline state as a pill (Offline ready / Online only), Drive filled. Status bar: the ground's height under the cursor once the mouse rests
randy2026-12-03 09:34:16 +01:00
d559f76b4a
Desktop after the artboard, the panels too: the rail dark like the topbar (the open panel's item on a lighter band with an accent edge), side panels 400 px, the map's buttons as white cards of 40 px; Route laid out as drawn — Reverse/Clear in the head, each point with a grip to drag it elsewhere, its letter (the same on the marker), name and role, the leg to it as a dashed line between, + Search / Saved point / My position chips, the totals as a card (distance, time, climb, arrival; descent and steepest grade under it), vehicle and avoid as chips, Directions and Reach folded with their counts, Save to library and Elevation profile at the bottom; On the map: the Online/Offline choice and the legend are the first group of the Overlays panel, renamed On the map — no Base map item or panel of its own. TODO: copy the cursor's position, the scale back over the map
randy2026-12-03 09:20:27 +01:00
258d35a7a1
Follow zoom closer in town (z18 up to 20 km/h, 15.5 at 120+, the first step z17); TODO: driver's and co-driver's views by whether Android Auto is connected
randy2026-12-03 01:29:12 +01:00
f161243c61
design.adoc: screen profiles (road / terrain / planning, every grid field configurable, the terrain view switching itself on off-road or past 10° and back, menu: automatic / by hand) and switches and the keypad — how Garmin PowerSwitch, OnDeck, MaxxECU, ECUMaster PMU do it, maptool as the controller (bindings per profile, modes, the LED colour line under a key, fail-safe), the interim keypad's 8 keys and 8 encoders
randy2026-12-03 01:29:12 +01:00
97d1bda09c
CAN actions: can.json's "actions" ({name, node, index, subindex, data: 1–4 bytes hex}) are SDO expedited downloads, a button beside their node on /can.html (confirm first, the result in the status line) — POST /api/can/actions/:n (login, 409 with no config, 404 unknown, 502 on an SDO error), GET /api/can lists them; first one: Level IMU on node 0x21 (0x2022:1 ← 01)
randy2026-12-03 01:29:12 +01:00
0a5548cd8f
Desktop redesign after the Design canvas' Desktop artboard: search is one field in the topbar (places, the library, coordinates; / focuses it, sources and results drop down under it), the side rail is labelled (Map, Overlays, Library, Import | Route, Offline | GNSS, Live, Status at the bottom), the map's buttons in one column on the right (zoom and compass, north lock, 3D, my position, measure, note, home; measure/note panels open to the left), a status bar under the map (center coordinates to copy, the point under the mouse, zoom, scale, revision) instead of the zoom-level control, the scale on the map and the coordinates in the topbar; the base map button on the map dropped (the rail has it). Route panel reordered: points with their legs, adding one, the totals as a card, vehicle and avoid, directions and reach folded, reverse/clear/save last. Drive unchanged: the search, the status bar and the right column hide there
randy2026-12-03 01:28:49 +01:00
60d7c825fc
CAN bus recorded on the server into ASAM MDF4: can-recorder (Rust, can-recorder/) reads every interface's SocketCAN frames with the kernel's timestamp and writes a finished .mf4 every 5 min (data/can_rec/<UTC start>.mf4, .part then renamed: a power cut loses at most the last segment), its own minimal MDF 4.10 writer in the CANedge CAN_DataFrame layout (mdf4-rs's lacks the bus-event flags and components: asammdf couldn't DBC-decode it) — checked in asammdf 8.8.35 against candump, every frame, < 0.002 ms, DBC decoding works; lib/maptool/can_recorder.rb starts and stops it, GET/POST/DELETE /api/can/recording, the files by GET /api/can/recordings/<name>; /trace.html's 'Recording on the server (MF4)'; built in its own Dockerfile stage (rust:1.100-slim-trixie)
randy2026-12-02 19:35:54 +01:00
712c6bf7ad
CAN trace on its own debug tab (/trace.html), off the CAN analyzer: records between Start and Stop only (polled every 0.5 s, the server keeps the last 5000 frames, lost ones counted, stops at 20000), the newest on top; sorted by any column, filtered by text (a, b = either), frame type, interface, node and only changes; Δ per ID; 1000 rows drawn, the filter and sort over all; export as candump .log (can-utils, SavvyCAN, python-can) or the shown rows decoded as CSV; SDO objects named by esphome-canopen's EDS (public/can/esphome.eds, from can2mqtt) and its entity objects
randy2026-12-02 19:05:07 +01:00
b1a5d47859
design.adoc: layout as a grid, not floating panels — ECDIS, marine plotter, Garmin data fields, OpenCPN Dashboard; 16×10 cells of 80 px on the navigator's 1280×800 (mockups: the Design canvas, Grid/GridTrip/GridSearch)
randy2026-12-02 18:24:47 +01:00
7204355510
Dead reckoning in a tunnel: no fix for 3 s (or mode < 2) on the trip's route, the position carried along it (estimated: true, a grey arrow) by the car's CAN speed (vehicle.speed) when there is one, the average speed of the last ~20 s otherwise, up to 10 min (App.gnss_position, TripStore.ahead)
randy2026-12-02 18:24:47 +01:00
7fdc0114e6
Debug pages switch between each other: one tab bar on top of /status.html, /can.html and /sim.html (views/_debug_nav.erb). CAN analyzer: a trace of every frame as it came (the server keeps the last 1000, GET /api/can?since=<seq> gives the new ones), each byte colored by what it is and decoded by its CANopen role — SDO command, index:subindex, expedited payload, segments, abort codes, byte 0 in bits; NMT, heartbeat, EMCY, SYNC, PDOs; who sent it, Δ ms, pause, clear, the frame filter
randy2026-12-02 18:22:16 +01:00
7901d75ff1
Drive mode: the Trip menu beside the map instead of over it (like Android Auto's side panel): the map narrower and keeping its buttons, its center (follow, the crosshair, the overview) in what's seen — the car was hidden under the panel before
randy2026-12-02 18:21:09 +01:00
3325ff5d17
Update dependency onthegomap/planetiler to v0.11.1
randy2026-12-02 15:16:17 +00:00
c101c7441f
Update dependency onthegomap/planetiler to v0.11.0
randy2026-12-01 18:38:17 +00:00
27b77790c4
Update dependency puma to v8.1.4
randy2026-12-01 18:38:13 +00:00
bd689faa93
Trip log crash-safe like a FIT: an append-only journal per trip (data/trip_log/<started>.ndjson, fsynced every 5 s, a torn last line skipped and the next one on a line of its own), a restart picks the running trip up from it into the same track, no state file to corrupt; the library's track built from it every 5 min and at the end. Drive mode: a pinned side panel's room goes back to the map
randy2026-12-01 10:14:57 +01:00
0c809b3e2b
GNSS simulation on its own diagnostics page (/sim.html: drive the trip's route or randomly, stop, simulated time, the position and the trip); along the route with a detour now and then (300–800 m off every 3–8 km, routed by Valhalla); simulated time 1–20× with the fixes carrying the simulation's clock, so a recorded trip keeps real speeds (PUT /api/sim/gnss); /api/can says simulated
randy2026-12-01 02:31:31 +01:00
7d72e9eb63
Trip log: a trip is a library folder (Trips/<date> <name>) with the planned route and its stops; the car's GNSS recorded into its track there (10 m steps, written every minute and at the end), GET/POST/DELETE /api/trip/log; the Trip menu's Start / End and the line really driven (--route-driven); along-route POI mode for the plugins in TODO
randy2026-12-01 02:25:20 +01:00
809e88ab1a
Driving menu Trip: the stops as big rows (look, ✓ passed, ↑ ↓, ✕), a stop at the crosshair, the start at the car, search of saved points and offline places; each leg's km and time (legs_s) and the total, in the route panel too; passed stops kept (not routed, dimmed, editable) — a reroute marks them instead of dropping them; /status.html: every status endpoint full width (the debug panel links it); the trip-as-plan-and-log model and planned-vs-driven colors in docs/TODO
randy2026-12-01 02:21:14 +01:00
0eb9d05cdc
Driving bar after the research: four 76 px buttons (zoom ±, 2D/3D, route overview), one Follow button bottom left shown only while the map isn't following, night and exit off the bar; research on day/night and on driving buttons (Garmin aviation/marine/zūmo, ships' ECDIS/S-Mode, Android Auto) in docs/design.adoc, its follow-ups in TODO
randy2026-12-01 02:02:55 +01:00
9b797fd48c
Night palette fixed (the section bands, the remaining light fills and row lines onto --ui-*, color-scheme: dark for checkboxes, the map controls lifted off the dark map, the home icon); side panels below the topbar (the title in view); offline login ticked in TODO (session cookie + TRUSTED_NETWORKS)
randy2026-12-01 01:56:51 +01:00
7fcac61c99
Simulation along the trip's route ("Simulate driving the route" when there is one, POST /api/sim/gnss {"trip": true}), random trips after it
randy2026-12-01 01:45:38 +01:00
07a4d363ec
Driving mode ("Drive": big buttons — follow, zoom, 2D/3D, night, route overview — the sidebar hidden); palettes instead of the inversion (the UI's greys onto --ui-*, MapLibre's controls too, night → Night, new ◑ Dusk); the navigated route magenta, the driven part dimmed; route progress only forward (locate near the last position first); rerouting on the server off its own GNSS (TripStore#follow), the browser's only without the shared trip; the overview map hidden while following in 3D; the topbar's items apart
randy2026-12-01 01:44:54 +01:00
12b4ac6725
Dashboard: altitude (gnss.alt, the terrain's while simulating), the car tilted by the terrain's slope while simulating; free look while following (the map moved by hand pauses the follow, "Back to the position" or 15 s resumes it); overlays and shown library files remembered per device (localStorage), back after a reload once the offline checks are in
randy2026-12-01 00:15:08 +01:00
8c999919b8
Night mode: only the instruments and signs take the night palette (the UI's own colors stay Day's for the page inversion to darken — an active menu item had gone almost white)
randy2026-11-30 21:01:20 +01:00
bfa70c1d17
/can.html: two columns from 900px, the frames at least 560px wide (their data in view), the left column the rest
randy2026-11-30 20:42:04 +01:00
a11a71dc89
Status / debug: "Check for an update now" — past the update check's 10 min cache
randy2026-11-30 20:27:58 +01:00
d58f7efc41
Safer self-update: staged next to build/ (two renames, not a copy from RAM), waits for the new revision on /api/health and rolls back to build.old if it doesn't come up, a repeated request is a no-op, maptool-recover puts build/ back after a power cut mid-swap; the dashboard dark under the page's night mode; /can.html: frames in a second column on wide screens, changed bytes highlighted (fading, bits in the tooltip), the node state column a fixed width
randy2026-11-30 20:21:29 +01:00
27313b3101
Navigation banner across the top (the next maneuver's arrow by Valhalla's type, distance, street, then…, lanes, the street being driven; maneuvers gain type/street/exit); the driving view (tilted to 3D) hides route numbers and minor roads' names, road labels further apart
randy2026-11-30 20:06:44 +01:00
e62eb90dc7
Palettes after IHO S-52 (Day / Dusk / Night, the same tokens, data-palette on <html>): night dim with low blue and no white areas, the speed limit sign dimmed too; the dashboard light with dark values by day again (the slider fades it instead of whitening it), the dark bezel for dusk and night
randy2026-11-30 20:00:38 +01:00
4c58c9351f
Update dependency rubyzip to v3.7.1
randy2026-11-30 05:08:20 +00:00
e92f01db12
Nodes describe themselves: an SDO client (Can::Sdo) reads each esphome-canopen node's TPDOs and entities (type, name, unit, range) on its first heartbeat, cached by the TPDO layout hash, decoded with no hand-written signals — can.json keeps aliases (with unit conversion) and foreign devices; design doc (NPS planning, cockpit instruments, Unigrid band) with color tokens, the dashboard in cockpit colors; starting the simulation turns the GNSS follow on, the GNSS position an arrow by its course
randy2026-11-30 19:51:03 +01:00
ce290f2162
TODO: hardware buttons, a virtual switch panel for the PDM, the group over LoRa and audio (inspired by Garmin Tread, details in home-gitops)
randy2026-11-30 19:29:56 +01:00
e7f3b91337
Update check: a failed one or CI still running is asked again after a minute, not cached for 10
randy2026-11-30 19:26:32 +01:00
e03e426eb6
SELF_UPDATE passed into the container
randy2026-11-30 19:20:21 +01:00
17891c53b5
Shared trip: one itinerary per server (data/trip.json, GET/PUT /api/trip, routed server-side), the route panel edits it when logged in and polls other screens' changes in without moving the camera; the GNSS simulation skips trips under 1 km and starts elsewhere when it can't get on from a road island; the car's server updates itself from a topbar button (SELF_UPDATE=1: newer main with CI passed → bin/update-maptool.sh via maptool-update.path); Android Auto and the trip's next steps in TODO
randy2026-11-30 19:19:37 +01:00
5f4c7c6ee8
Navigation: rerouting off the route (30 m for 3 fixes, HDOP ≤ 5, every 15 s at most) from the position to the points not reached yet; lanes as SVG arrows, the ones to take bold; dashboard background see-through with a slider; the GNSS simulation starts at a random place in the offline countries, the map jumping there
randy2026-11-30 19:11:07 +01:00
fbccb2acc9
GNSS follow glides the marker and the camera linearly to each fix over the poll interval instead of jumping; the simulation sends a fix every 0.5 s
randy2026-11-30 18:48:20 +01:00
8680cdbee7
GNSS course worked out server-side (App.gnss_update, for the CAN node and the simulation, which send none): following in 3D turns heading-up behind the position again
randy2026-11-30 18:45:32 +01:00
f65eb98d18
Docs: the HMC5883L heading — ESPHome's atan2(-x, y) is −180..180, the node now adds 360 to the negatives (they arrived as 0 in its 0..360 encoding)
randy2026-11-30 18:38:56 +01:00
190a8ad334
Dashboard overlay (Overlays → Live → Dashboard): one inclinometer (compass ring, roll and pitch), speed, the speed limit with an over-limit warning and, on the route, the next limit change, traffic signal, maneuver and its lanes; /api/route gains speed_limits, signals and lanes, POST /api/road gives the driven road's limit; GNSS simulation (random trips over Valhalla) for trying it without the car; the HMC5883L heading in can.json
randy2026-11-30 18:30:21 +01:00
5958ffd153
Road names and route numbers past z16 keep the same spacing on the ground (symbol-spacing grows with the zoom), not one every few meters at z22
randy2026-11-30 18:30:21 +01:00
500acf9fd5
CAN: a node that misses 3 heartbeats is flagged silent (one journal line when it stops and when it's back, red in /can.html); /can.html tables as wide as their content, numeric headers aligned with their values
randy2026-11-30 18:30:21 +01:00
5c023619ec
Map data pull over brick's nginx: X-Accel-Buffering: no on map files (buffered, nginx's 1 GB temp file cap ended every bigger download there); each attempt resumes from the part on disk (curl's --retry kept its first offset); a file that can't be written is skipped, not the whole run
randy2026-11-29 17:52:02 +01:00
62045be0f7
TRUSTED_NETWORKS=connected: requests from the subnets the server's interfaces are on right now count as logged in (the car's server, whichever Wi-Fi it's on); CIDRs still work alongside
randy2026-11-29 17:19:13 +01:00
ea14b110e6
kiwix waits for a non-empty ZIM instead of a restart loop (on the car's server each restart's veth set off avahi's mDNS announcements and filled the Pi's Wi-Fi); pull-maps drops a connection a minute without data so the retry resumes (Wi-Fi switched under it)
randy2026-11-29 17:03:53 +01:00
f9fbcdbbc5
Map data pull: of kiwix/ only the served wikipedia.zim, not the other ZIMs lying there (65 GB)
randy2026-11-29 13:13:02 +01:00
5eea31c741
Update dependency maplibre-gl to v6.20.0
randy2026-11-29 11:49:22 +00:00
6a0d6194fe
CANopen diagnostics and map data over HTTPS: /can.html (interfaces, nodes with heartbeat state and last EMCY, decoded signals, every COB-ID with role, count, rate and last data); signals can mark an invalid raw value (esphome-canopen's unknown) and NaN gives no value; the CAN reader never dies and a broken can.json only turns CAN off; the GNSS node mcu-stm32-xiao-c5-2 (0x21) and host networking for the car's server in docs; bin/pull-maps.sh pulls map data from GET /api/sync/maps(/file) with SYNC_TOKEN instead of rsync over SSH, resuming cut-off downloads
randy2026-11-29 12:47:23 +01:00
a3e5fefaf1
3D relief like OsmAnd: the 3D button raises the terrain on its own DEM source (exaggeration 1.5), no longer needing Terrain shading or waiting for isStyleLoaded (false while tiles load, so it never came on); color-relief uses ["elevation"] (MapLibre 6), which had broken the whole Terrain shading overlay
randy2026-11-28 19:37:40 +01:00
dbe742321a
Library sync OsmAnd-style: brick is the server, a client (the car's maptool, SYNC_SERVER_URL) syncs on its Sync button — pulls the server's rows, pushes its own with the source files the server lacks, newer updated_at wins; /api/sync/* guarded by SYNC_TOKEN (written into brick's .env by CI). TRUSTED_NETWORKS logs in the car's LAN (no Gitea offline); TAKEOUT_HOST_DIR for a server without the Takeout; bin/pull-maps.sh pulls map data one way while at home
randy2026-11-27 23:22:32 +01:00
850a5946ad
Native CAN (the van's final setup, MQTT the stopgap): SocketCAN on any number of interfaces, CANopen frame roles, heartbeat states and NMT start, signals decoded by data/can.json (id/mask, byte/bit, type, scale/offset, unit); gnss.* signals feed the GNSS control, GET /api/can; tested over vcan0
randy2026-11-27 22:48:46 +01:00
78bdc7f6f0
Symbols page: point symbols grouped into categories (safety, accessibility, water, camping, food, winter, trails, transport, sights, programs, services) by name, empty ones hidden while filtering
randy2026-11-27 17:26:34 +01:00
9015a4936d
Side panels: header icon buttons one size and color (pin and export menu no longer off), title cut short instead of wrapping; tree dividers between siblings so a folder's line comes after its contents; Offline data group rows centered, subregion row smaller; plugin rows wrap with the whole Run button
randy2026-11-27 17:26:34 +01:00
b32f7d3bd3
Trails by kind: the extract keeps hiking, foot, bicycle, mtb and ski routes, each with a kind (educational told apart by educational=yes, the green diagonal marking or the name); versioned so the next offline build redoes old files; the overlay picks kinds (hiking and educational by default), the elevation profile shows the ones for the activity
randy2026-11-27 14:40:46 +01:00
4bcd85f269
Hiking trails: lanes built only from the route pieces around the view (half a view each side), rebuilt when the view leaves it, drawn from zoom 11 — a whole country's graph took seconds per rebuild on the main thread and froze the browser
randy2026-11-27 14:34:24 +01:00
cf43c3e926
Update ghcr.io/renovatebot/renovate Docker tag to v45
randy2026-11-27 13:01:05 +00:00
cd8444ce2a
Runtime map images (texture patterns, peak triangle) added with every style before tiles ask for them; styleimagemissing kept as the fallback (MapLibre 6 skips an image added from it for the requesting tile)
randy2026-11-27 14:29:29 +01:00
f0ff5f390f
Hiking trails: the main checkbox loads the countries in view from zoom 10 (and those panned into), not all at once — together ~1 GB of GeoJSON the browser never finished; /api/hiking-trails also sends each country's bbox
randy2026-11-27 14:29:29 +01:00
477f68f5b3
Map: ski lifts and cable cars (OpenMapTiles aerialway, which Liberty doesn't draw) as a line with topo cross ticks from z12, named from z13; night colors
randy2026-11-27 14:15:21 +01:00
3561cb2f45
Side panels: OsmAnd-style list dividers between rows, section headings on a gray band, full-width group separators in the sidebar rail
randy2026-11-27 14:15:21 +01:00
49900c1703
Drop gpsd support and the GNSS simulator service: the car's GNSS comes over CAN later; /api/gnss/position and the GNSS control stay, fed through GNSS_LATEST
randy2026-11-27 13:59:53 +01:00
09a9d8baba
Test: the cut-off download case runs as the last attempt, so the new retry doesn't hang CI for minutes reconnecting to a one-shot server
randy2026-11-27 13:59:46 +01:00
064871b687
Google saved places: a name or description changed here survives a new export (the last imported text is kept per point, a field differing from it counts as a hand edit); the popup marks such a point as edited
randy2026-11-27 12:47:58 +01:00
3f4b30d737
Side panels: finger-sized rows and controls on desktop too (one layout, as OsmAnd); track and folder actions (edit, download, delete) behind one ⋯ menu
randy2026-11-27 12:30:30 +01:00
cc833d5793
Map: protected area names while zoomed out (z6–10, local name, green italic) and mountain peaks from z7 (triangle drawn at runtime as SDF, name and elevation, highest win a collision); both recolored in night mode
randy2026-11-27 12:30:30 +01:00
6182a2856d
Points: bare waypoints (Google saved places) as small NPS-style dots instead of an empty badge, names as dark labels with a white halo from zoom 10; every library point editable (Edit/Move/Delete) when logged in, not only notes
randy2026-11-27 00:06:20 +01:00
9a3c2fc1d2
Update dependency puma to v8.1.3
randy2026-11-25 20:11:31 +00:00
0aee739ac3
Google Maps saved lists from a scheduled Google Takeout: hourly check of TAKEOUT_DIR (brick's Drive backup, mounted read-only), the zip with Takeout/Saved/*.csv picked by its central directory (photo parts skipped), each list into Google Maps/<list>; positions decoded offline from the place's S2 feature id and refined by Nominatim, unresolved ones flagged approximate in the popup (cleared when moved by hand); points matched by Google id per folder, so a new export updates them (own color/icon/position kept, deleted stay deleted)
randy2026-11-25 15:10:30 +01:00
261b4c053e
Touch screens: finger-sized (44 px) rows, buttons and checkboxes in every side panel and sidebar menu; desktop keeps the compact lists
randy2026-11-24 21:59:13 +01:00
f1c2b22821
Feature inspector also on right click and long press (touch browsers fire contextmenu), not only Alt+click
randy2026-11-24 21:21:15 +01:00
b98a3ebcf1
Offline build: retry a stalled Geofabrik download (3 attempts, 120 s read timeout) and report network errors as a BuildError; a timed-out Last-Modified HEAD no longer fails the build
randy2026-11-24 14:27:29 +01:00
637f739e18
Auto night mode: below zoom 5 keep the last real place for the sun check (zoomed out to the world the map center can sit in another time zone's night)
randy2026-11-24 13:21:38 +01:00
2c27bcd6bf
Update dependency maplibre-contour to v0.2.0
randy2026-11-23 05:02:39 +00:00
357d28bf72
Map textures after field test: forest texture dropped (too busy), scrub / dwarf pine gets its own tint + bushes from zoom 11 instead of the grass texture; strict reserves and natural monuments a step darker than landscape protected areas; fix military outline losing its source
randy2026-11-24 13:00:52 +01:00
25f5c42a1b
NPS-style protected areas and textures: national parks keep the full sage fill, other protected areas a translucent gray-green with a dashed outline, military areas red hatch + outline; forest (z12+) and grass (z13+) textures drawn on canvas and registered on styleimagemissing, with night variants; legend rows
randy2026-11-23 19:19:11 +01:00
31b27a0852
Night map palette instead of inverting it: dark blue-gray ground, roads a step lighter, muted ochre motorways, light-gray labels on dark halos, switched live with setPaintProperty (NightMap); raster overlays dimmed, own track/point colors kept; the UI panels keep the invert filter for now
randy2026-11-23 16:23:35 +01:00