Skip to content

fix: allow lint to pass - #75

Merged
JamesEjembi merged 1 commit into
Lumina-etwork:mainfrom
OkeyAmy:add-solar-irradiance-forecast-integration
Jun 24, 2026
Merged

fix: allow lint to pass#75
JamesEjembi merged 1 commit into
Lumina-etwork:mainfrom
OkeyAmy:add-solar-irradiance-forecast-integration

Conversation

@OkeyAmy

@OkeyAmy OkeyAmy commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add an Open-Meteo solar forecast client with IndexedDB caching, stale-cache fallback, and historical-average degradation when live data is unavailable.
  • Add a solar forecast hook that maps configured facility coordinates to 48 hourly irradiance points and battery capacity estimates.
  • Add a solar battery gauge with manual refresh, last-updated copy, cached/fallback indicators, and a 48-hour sparkline.
  • Surface solar/battery node power source metadata in the facility dashboard and render forecast cards only for non-grid nodes.

Closes #50

@JamesEjembi JamesEjembi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JamesEjembi
JamesEjembi merged commit 9213101 into Lumina-etwork:main Jun 24, 2026
1 check passed
@OkeyAmy
OkeyAmy deleted the add-solar-irradiance-forecast-integration branch June 25, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Solar Irradiance API Integration for Solar-Powered Node Uptime Forecasting

2 participants