Last active
February 25, 2024 10:05
-
-
Save danielolsson100/a2eac19e8ed97447c3742f12814d1c3b to your computer and use it in GitHub Desktop.
Ferroamp and Easee
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Ferroamp > HA > Easee => Grid Equlizer | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- sensor.ferroamp_grid_current | |
condition: | |
- condition: and | |
conditions: | |
- condition: numeric_state | |
entity_id: sensor.easee_dynamic_charger_limit | |
above: 0 | |
- condition: or | |
conditions: | |
- condition: state | |
entity_id: sensor.easee_status | |
state: charging | |
- condition: state | |
entity_id: sensor.easee_reason_for_no_current | |
state: max_dynamic_circuit_current_too_low | |
action: | |
- if: | |
- condition: and | |
conditions: | |
- condition: numeric_state | |
entity_id: input_number.battery_sts_code | |
above: 0 | |
below: 2 | |
- condition: numeric_state | |
entity_id: sensor.ferroamp_esm_19440006_state_of_charge | |
below: 90 | |
then: | |
- service: easee.set_circuit_dynamic_limit | |
data: | |
device_id: b40f1f45d28b0891fe8d | |
currentP1: >- | |
{{((45 - states('sensor.ferroamp_grid_current')|float) / 3) | | |
round(0,'floor') + states('sensor.easee_circuit_current')|int}} | |
else: | |
- service: easee.set_circuit_dynamic_limit | |
data: | |
device_id: b40f1f45d28b0891fe8d | |
currentP1: >- | |
{{((48 - states('sensor.ferroamp_grid_current')|float) / 3) | | |
round(0,'floor') + states('sensor.easee_circuit_current')|int}} | |
mode: single | |
alias: Easee => Default charge level | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- sensor.easee_status | |
condition: | |
- condition: not | |
conditions: | |
- condition: state | |
entity_id: sensor.easee_status | |
state: charging | |
- condition: state | |
entity_id: sensor.easee_reason_for_no_current | |
state: max_dynamic_circuit_current_too_low | |
action: | |
- service: easee.set_circuit_dynamic_limit | |
data: | |
device_id: b40f1f45d28b0891fe8d | |
currentP1: 10 | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks alot, using it with Ferroamp and Easee. I used the power for one of my ESO:s to control if the battery is charging, set it to be above 200 W of charging before lowering the charge amp to the Easee box.
Works good so far!