Skip to content

Conversation

@lexyan
Copy link
Contributor

@lexyan lexyan commented Jun 9, 2025

For power managed device, the on time is not sufficent to check if the device has enought energy at offpeak time.

For example, charging EV at 1 amp for 12h is not the same than charging at 16 amps for 12h even if the on_time is the same.

Adding an estimation of energy and a new threshold setting for force offpeak time.

TODO :

  • check precedence of energy over time in should_be_forced_offpeak
  • unit test

@jmcollin78
Copy link
Owner

Huuum interesting addition. i wonder if it is better for an EV to consider the remaining energy (and not what have been added during the day). A user will need to have a certain amount of energy in the morning, and if not start the charging.

@jmcollin78
Copy link
Owner

Hello @lexyan ,

you start this PR 3 month ago. Do you intend to finish it or do you abandon it finally ?

@jmcollin78
Copy link
Owner

Hello, is this PR stale ? Did you abandon it ?

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.

2 participants