Group data-downloader sensors by DBC CAN messages#72
Open
wfr-data-acquisition wants to merge 8 commits into
Open
Group data-downloader sensors by DBC CAN messages#72wfr-data-acquisition wants to merge 8 commits into
wfr-data-acquisition wants to merge 8 commits into
Conversation
…r coding - GET /api/sensors/grouped: left-joins DB sensor names against the DBC message/signal tree; transmitter node (MOBO, INV, etc.) used as subsystem; graceful fallback when no DBC is configured. - POST /api/dbc/refresh: bust in-memory DBC cache on demand. - dbc_utils.py: auto-discovers alphabetically newest .dbc in GitHub repo (no GITHUB_DBC_PATH required); caches to DATA_DIR/dbc_cache.dbc; GITHUB_DBC_PATH accepted as optional pin; falls back to DBC_FILE_PATH. - config.py: GITHUB_DBC_TOKEN/REPO/BRANCH/PATH and DBC_FILE_PATH settings. - requirements.txt: cantools + requests. - docker-compose.yml: DBC env vars wired into data-downloader-api. - SensorGroupedGrid.tsx: collapsible groups, 8-hue subsystem palette (djb2-stable), subsystem + hex CAN ID badges, dark/light mode. - App.tsx: parallel grouped fetch; grouped grid when DBC available, flat fallback otherwise; DBC source tag. - data-download.tsx: sensor select uses optgroup per message. - styles.css: message group layout classes.
…lphabetically last
…ata-downloader copy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
server/installer/.env.example.Test plan
data-downloader-apianddata-downloader-frontendwith Docker Compose./api/sensors/groupedreturns grouped DBC data from GitHub.