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
Hi
It's really nice that you have shared your blueprint !
I have made a similar PoC code to control the Easee circuit and the phases to minimize the load on ACE and posted in in a gist at https://gist.github.com/danielolsson100/d691359c6e5bd4d87934318da7939358
This post have more focus on load balancing Easee when the price is the lowest in the day and not the "sun focus" that you have because it may be more economical to sell the sun energy if the price is high and charge during low price.
My gist is only PoC code since I have not received my Kia EV 6 yet..
Perhaps we can combine forces and create a blueprint that will do load balancing if the electricity price is low so we can control if the blueprint should be based upon sun or low price ?
I have a binary sensor that I used for charging the battery during low price that might be handy in this case that is based upon the nordpool integration
binary_sensor:
- platform: template
sensors:
bs_charge_ferroamp_battery:
friendly_name: Charge Ferroamp Battery
value_template: >-
{% set today=state_attr('sensor.nordpool_kwh_se4_sek_2_10_025','today') %}
{% if ((state_attr('sensor.nordpool_kwh_se4_sek_2_10_025','tomorrow') | count) == 0) or (state_attr('sensor.nordpool_kwh_se4_sek_2_10_025','tomorrow')[0] == None) %}
{% set array = today %}
{% else %}
{% set tomorrow=state_attr('sensor.nordpool_kwh_se4_sek_2_10_025','tomorrow') %}
{% set array = today + tomorrow %}
{% endif %}
{% set current_price=states('sensor.nordpool_kwh_se4_sek_2_10_025') %}
{% set max=state_attr('sensor.nordpool_kwh_se4_sek_2_10_025','max') %}
{% set min=state_attr('sensor.nordpool_kwh_se4_sek_2_10_025','min') %}
{% set five_lowest_bp=(array | sort)[4] %}
{% if ((current_price | float) <= (five_lowest_bp | float)) %}
True
{% else %}
False
{% endif %}
bs_discharge_ferroamp_battery:
friendly_name: Discharge Ferroamp Battery
value_template: >-
{% set array=state_attr('sensor.nordpool_kwh_se4_sek_2_10_025','today') %}
{% set current_price=states('sensor.nordpool_kwh_se4_sek_2_10_025') %}
{% set five_highest_bp=(array | sort)[19] %}
{% if (current_price | float) >= (five_highest_bp | float) %}True{% else %}False
{% endif %}
The text was updated successfully, but these errors were encountered:
Hi
It's really nice that you have shared your blueprint !
I have made a similar PoC code to control the Easee circuit and the phases to minimize the load on ACE and posted in in a gist at https://gist.github.com/danielolsson100/d691359c6e5bd4d87934318da7939358
This post have more focus on load balancing Easee when the price is the lowest in the day and not the "sun focus" that you have because it may be more economical to sell the sun energy if the price is high and charge during low price.
My gist is only PoC code since I have not received my Kia EV 6 yet..
Perhaps we can combine forces and create a blueprint that will do load balancing if the electricity price is low so we can control if the blueprint should be based upon sun or low price ?
I have a binary sensor that I used for charging the battery during low price that might be handy in this case that is based upon the nordpool integration
The text was updated successfully, but these errors were encountered: