rarvids4 / homeassistant-blueprints-loadbalancing

0 stars 0 forks source link

dynamic circuit limit #3

Open reinestenberg opened 1 year ago

reinestenberg commented 1 year ago

One other thing about the circuit limit is that it accepts 3 currents, one for each phase. It might be possible to simplify the code. When testing this, I found that my system of car and charger (ID3, Easee) will use the lowest current set on the 3 phases for all of its phases. So when I set the limits to 12, 10, 2 it will use 2 on all phases. I can also set 12, 0, 0 and then it will use 12 on phase 1 only. I could not get it to use 2 phases. This might be a limitation of the car

I think Home Assistant uses Jinja templates. To use max and min you can probably do like this:

Limit current to [0, 20]: {{ [[current, 20] | min, 0] | max }}

Max of current and 0: {{ [current, 0] | max }}

rarvids4 commented 1 year ago

Some cars will allow individual charging on only few phases if they have a "Totempole" topology. I will try to set individual currents on each phase, but SAEJ1772 does not support this unfortunately. But ISO15118 does.