Skip to content

Conversation

@tosate
Copy link
Contributor

@tosate tosate commented Nov 8, 2025

Feature: Energy-based Refresh Logic

Summary

This pull request introduces a new mechanism to determine when the vehicle status should be refreshed based on imported energy from the charging station (see #387 for details).

Motivation

Previously, the refresh interval was calculated dynamically using charging power and battery capacity. However, this approach can produce inaccurate results during PV surplus charging, where charging power fluctuates.

To improve reliability, the system can now use the imported energy reported by the charging station (for example, the daily_imported topic from openWB) to decide when a refresh is needed.

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.

1 participant