You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Charge_automation.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,22 +6,24 @@ Dynamically adjusting the charge current of an electric vehicle (EV) within a ho
6
6
* By monitoring real-time energy consumption, you can automatically reduce the EV's charging rate to prevent overloading the household's electrical circuits and potentially tripping the main fuse.
7
7
8
8
***Optimizing Solar Power Usage:**
9
-
* When the solar panel production is avaiable in Home Assistent, you can prioritize charging the EV with excess solar energy.
9
+
* When the solar panel production is available in Home Assistant, you can prioritize charging the EV with excess solar energy.
10
10
11
11
***Demand Response:**
12
-
* When you have dynamic energy pricing you charging rates based on time-of-use electricity pricing.
12
+
* When you have dynamic energy pricing, you can adjust charging rates based on time-of-use electricity pricing.
13
13
14
14
This page provides several examples and hints to illustrate some of the many potential use cases."
15
15
16
16
## Adjusting the charge current
17
17
18
-
When the OCPP integration is added to your Home Assistent you get a slider to control the maximum charge current named:
18
+
When the OCPP integration is added to your Home Assistant, you get a slider to control the maximum charge current named:
While using this entity in your automation might seem logical, it could potentially lead to permanent damage to your charger in the long run.
22
22
This entity controls the OCPP ChargePointMaxProfile, which configures the maximum power or current available for the entire charging station.
23
23
This setting is typically written to non-volatile storage (like EEPROM or flash memory) to persist across reboots.
24
-
Frequent writes to these types of memory can accelerate wear, potentially shortening the lifespan of your charger.
24
+
Frequent writes to these types of memory can accelerate wear, potentially shortening the lifespan of your charger. Ten updates per day is no problem at all, 1 update per 10s could break your charger somewhere between 3 days and 3 years depending on the HW solution.
25
+
26
+
⚠️ **Warning**: Using the maximum current slider in automations can lead to permanent hardware damage due to frequent writes to non-volatile memory.
25
27
26
28
### TXprofile
27
29
@@ -53,7 +55,8 @@ To dynamically set the session-specific charge current within an automation, use
53
55
Where <mark>entity_charge_limit</mark> refers to your chosen entity (e.g., a number or sensor) that holds the desired current value.
54
56
55
57
## solar current
56
-
The solar ystem usualy reports its production in Watt or kWatt. To convert this in the amps available for your EV-charger simply devide the Watt by the mains voltage (e.g 230V for the EU)
58
+
The solar system usually reports its production in Watts or kW. To convert this to amps available for your EV charger, simply divide the watts by the mains voltage (e.g., 230V for the EU)
59
+
57
60
You can create a template sensor for this:
58
61
59
62
- platform: template
@@ -86,17 +89,17 @@ This template sensor gives the right value:
86
89
For solar charging a positive grid current avaiable means you can increase your EV charge number with this number, when negative you need to decrease. This means you need to know the actual charge current and modify this. To do this easily you can use a variable inside your automation to store the actual charge current.
This could lead to a negative charge current, to avoid this create a new variable with a minimum value:
93
96
94
97
charge_current: "{{ [new_amps, 0] | max }}"
95
98
96
-
"Max" selects the largest value either new_amps or 0
99
+
The `max` filter ensures the charge current never goes below 0 amps, which would be invalid for the charging station.
97
100
98
101
## maximum charge
99
-
A simular solution could be use to check how much power is still available from the grid substracting all power used by other appliances in your house. This way you can charge you EV as fast as possible without overloading your main fuse.
102
+
A simular solution could be used to check how much power is still available from the grid substracting all power used by other appliances in your house. This way you can charge you EV as fast as possible without overloading your main fuse.
100
103
101
104
:exclamation: By specificatiomn your main fuse can withand 1.2 its rate current for at least 1 hour
0 commit comments