Skip to content

Commit c248db8

Browse files
committed
Breaking change: Changed battery charge speed from hour/percent to percent/hour. Please inverse your entry in Blueprint. Apologies.
1 parent ab5be4f commit c248db8

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

ev_solar_charger_automation.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ blueprint:
3232
Helpers can be created on form or at Settings > Devices & Services > Helpers > Create helper.
3333
3434
35-
**Version**: v3.0beta37
35+
**Version**: v3.0beta38
3636
3737
3838
Your support is much appreciated if you find this project useful.
@@ -103,11 +103,11 @@ blueprint:
103103
battery_max_charge_speed:
104104
name: Battery maximum charge speed
105105
description: >
106-
Create number or template helper to specify the battery **maximum** charge speed in hour per percentage rise in battery charge level.
106+
Create number or template helper to specify the battery **maximum** charge speed in percentage rise in battery charge level per hour.
107107
The battery charge speed is used in schedule charging to estimate the time required to charge the battery to the specified percentage.
108108
Determine your own battery specific charge speed when using maximum charge current
109109
(see [example](https://github.com/flashg1/evSolarCharger/wiki/Configuration#how-to-determine-battery-maximum-charge-speed)).
110-
* The default is 0.1631 hour/percent for 15A max charge current if not defined.
110+
* The default is 6.1448 percent/hour for 15A max charge current if not defined.
111111
default: number.user_custom
112112
selector:
113113
entity:
@@ -1129,10 +1129,11 @@ variables:
11291129
#####################################
11301130
i_setDailyChargeLimit: !input toggle_set_daily_charge_limit
11311131
setDailyChargeLimit: "{% if has_value(i_setDailyChargeLimit) %}{{ states(i_setDailyChargeLimit) }}{% else %}{{ 'off' }}{% endif %}"
1132-
# Used to estimate charge completion time. For Tesla M3, charge rate for 15A = 23.7km/hr, 409.625km=100%=17.28hr, 1%=0.1728hr
1132+
# Used to estimate charge completion time. For Tesla M3, charge rate for 15A = 23.7km/hr, 409.625km=100%=17.28hr, 1%=0.1728hr, 5.7870%/hr
11331133
i_batteryMaxChargeSpeed: !input battery_max_charge_speed
1134-
batteryMaxChargeSpeed: "{% if has_value(i_batteryMaxChargeSpeed) %}{{ states(i_batteryMaxChargeSpeed) | float }}{% else %}{{ 0.1631 }}{% endif %}"
1135-
onePercentChargeDuration: "{{ batteryMaxChargeSpeed * 60 * 60 }}"
1134+
batteryMaxChargeSpeed: "{% if has_value(i_batteryMaxChargeSpeed) %}{{ states(i_batteryMaxChargeSpeed) | float }}{% else %}{{ 6.1448 }}{% endif %}"
1135+
# Duration in seconds to increase battery level by 1%
1136+
onePercentChargeDuration: "{{ 60 * 60 / batteryMaxChargeSpeed }}"
11361137

11371138
i_chargeLimitMon: !input charge_limit_monday
11381139
i_chargeLimitTue: !input charge_limit_tuesday

version.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
EV Solar Charger
22
================
33

4+
v3.0beta38 18/5/2025
5+
- Breaking change: Changed battery charge speed from hour/percent to percent/hour. Please inverse your entry in Blueprint. Apologies.
6+
47
v3.0beta37 7/5/2025
58
- Removed checking conditions on trigger because car states might not be up-to-date. Only check conditions after force update.
69

0 commit comments

Comments
 (0)