Skip to content

Warnungen in Auswertungen anzeigen - #4430

Draft
LKuemmel wants to merge 6 commits into
openWB:masterfrom
LKuemmel:fix/sma-warning-4421
Draft

LKuemmel wants to merge 6 commits into
openWB:masterfrom
LKuemmel:fix/sma-warning-4421

Conversation

@LKuemmel

@LKuemmel LKuemmel commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

basiert auf #4402

fixes #4421

UI openWB/openwb-ui-settings#1190

Summary by Sourcery

Expose measurement warnings and energy-data limitations in energy evaluations while retaining valid energy-source breakdowns.

New Features:

  • Add warning and data-quality information to daily, monthly, yearly, and charging-session energy evaluations, including affected components and retained warning status.

Bug Fixes:

  • Keep measured battery energy in the source mix when another component reports a warning instead of losing the energy breakdown.

Enhancements:

  • Preserve warning and fallback status for the current charging session across stale MQTT snapshots, while clearing it when a new session begins.
  • Treat SMA Sunny Boy inverter connection or Modbus communication failures as warnings with assumed zero PV power, while other errors continue to propagate.
  • Save component fault messages with historical measurement entries so evaluations can identify the affected equipment.

Tests:

  • Add coverage for warning-aware energy calculations, daily data-quality indicators, charging-session status retention, and SMA inverter communication failures.

Chores:

  • Add pymodbus exception stubs to the module test configuration.

@LKuemmel LKuemmel added this to the 2.5.0 milestone Dec 1, 2026
@LKuemmel LKuemmel changed the title Fix/sma warning 4421 Warnungen in Auswertungen anzeigen Dec 1, 2026
@LKuemmel LKuemmel removed this from the 2.5.0 milestone Dec 1, 2026
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.

[BUG] Fehlerhafte Berechnung der Ladeenergieherkunft bei nachts nicht erreichbarem PV-Wechselrichter (fault_state = 2)

2 participants