Skip to content

LightningROD 0.4.0

Choose a tag to compare

@github-actions github-actions released this 25 May 18:30
· 196 commits to main since this release

Added

  • Cost Explorer card on the Costs page — interactive, view of prices and total spent. Replaces the old Actual/Estimated, Cost card & view.
    by Network, Savings vs Network, and Subscription Savings sections.
    • Multi-select network filter
    • Free-charging "what-if"
    • Reference-rate comparison (pick a network or enter a custom $/kWh)
    • Per-network ledger with Δ vs reference
    • Subscription "With / Without / Net saved" readout
  • #36 - Settings → Fuel tab — multi-ICE-vehicle table (mark one as default), gas price history, and a fuel price trend chart. Gas/ICE configuration relocated out of General.
  • Settings → Data Sources tab — register and configure HA-FordPass and HA gas-price sources
  • Battery page HV Pack Telemetry card — temperature, voltage, amperage, and power, each with a 7-day sparkline.
  • Battery page Battery Temperature Over Time chart with battery (solid) + outside-air (dashed) traces and charging-region overlays.
  • Trip drawer fields populated: odometer start/end, duration, and regen recovered (I hope)
  • Trip score column rendered as a color-banded radial-progress gauge.
  • Column-header sort on /driving/sessions (replaces the toolbar).
  • Demo Site and SQLite deployment option
  • Backend changes for data source abstraction
  • Backend changes for easier de-duplication (uuid5)

Changed

  • Docker deployments pull from GHCR images instead of needing to be built locally
    • Documentation updated
  • SQLite is the default for docker/docker-compose.standalone.yml
    • Docker compose still uses Postgres.
      • The DATABASE_URL in .env is now an optional override allowing for external database connection
  • Settings tabs restructured
    • General is now the default
    • Import CSV now labeled Import
      • Still working on fixes for CSV imports
    • Data Sources tab adjusted for future data source options
      • Large backend changes for data source adapters to make alternative vehicle support easier in the future
  • Gas prices and ICE fuel-economy / tank-capacity are stored in metric and converted for display
  • /battery charge curve defaults to the most recent session of any type.
    • AC charging sessions y-axis caps at 25 kW
    • DC reference curve hidden (when AC session selected, DC session remain the same)
  • uuid5 used for Trip ingestion to cut down on duplicates (hopefully)
  • Timezone dropdowns in Settings and CSV Import are now searchable with regional filters.
  • The three summary cards on the Costs page are folded into a Total spend and Cost ratios strip atop the Cost Explorer card.
  • The Savings Scenarios card now compares your all-in EV cost (energy plus subscription fees) against gas, with the energy-only figure shown beneath.

Fixed

  • #16 - Charging sessions correctly auto-inherit the network from a resolved location when the location has one.
  • Docker entrypoint auto-recovers v0.3.x databases stamped at squashed-away revisions.
    • Non-Docker upgraders: see db/migrations/README.md.
  • Datetimes correctly use configured timezone (converted to UTC on storage) and render based on configured settings.
  • Charge-curve session picker no longer scrolls the page back to the top — only the curve card swaps.
  • Free-charging what-if rebill now applies to every selected network, not just the last one ticked.

Removed

  • /battery standalone 12V Battery Voltage Trend chart, the Range summary card, and the 12V Battery summary card.
  • /driving/performance regen-as-percent-of-SOC card.

Install

Option A — Standalone (single container, SQLite):

docker pull ghcr.io/squidbytes/lightningrod-web:0.4.0
docker run -d \
  --name lightningrod \
  -p 8000:8000 \
  -v lightningrod-data:/data \
  ghcr.io/squidbytes/lightningrod-web:0.4.0

Option B — Two-container (bring-your-own PostgreSQL):

curl -LO https://github.com/SquidBytes/LightningROD/releases/download/v0.4.0/lightningrod-0.4.0-compose.tar.gz
tar xzf lightningrod-0.4.0-compose.tar.gz
cd lightningrod-0.4.0
cp .env.example .env    # edit POSTGRES_PASSWORD etc.
docker compose up -d

Image is multi-arch: linux/amd64 + linux/arm64 (Apple Silicon, Raspberry Pi 4/5).

Then open http://localhost:8000 and go to Settings → Home Assistant to connect your HA instance.

Documentation

Full documentation, setup guides, and feature reference:
https://squidbytes.github.io/LightningROD/

What's Changed

  • chore(ci): bump the actions-all group across 1 directory with 11 updates by @dependabot[bot] in #30
  • chore(deps): bump the docker-all group in /docker with 2 updates by @dependabot[bot] in #33

New Contributors

Full Changelog: v0.3.21...v0.4.0