Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equalizer - Main Fuse Limit #576

Open
newlund opened this issue Jan 22, 2025 · 10 comments
Open

Equalizer - Main Fuse Limit #576

newlund opened this issue Jan 22, 2025 · 10 comments
Labels
feature Feature request

Comments

@newlund
Copy link

newlund commented Jan 22, 2025

Feature request

Is it possible to set the Equalizer Main Fuse Limit using this integration in HA?

https://support.easee.com/hc/en-gb/articles/8056639384977-Getting-started-Equalizer

"Under Main fuse limit you can set a limit for charging. The charger will not operate unless the building power consumption is below this limit. This is particularly useful if your energy provider changes rates based on the time of day.

Image

When the consumption drops below the Main fuse limit, the Equalizer will wait 10 minutes before allowing the charger to increase charging power. This is to make sure the power is actually available."

Perhaps it is not available to set via Easee API?

I found this "configure-max-allocated-current" but it seems to set the "e-mobility fuse". What is that? :)
https://developer.easee.com/reference/post_api-equalizers-equalizerid-commands-configure-max-allocated-current

I would like to adjust the main fuse limit at 6:00 and 22:00 due to different power tariffs (Ellevio)

What version of the integration are you using?

0.9.68

Anything in the logs that might be useful for us?

Additional information

No response

@newlund newlund added the feature Feature request label Jan 22, 2025
@olalid
Copy link
Collaborator

olalid commented Jan 22, 2025

I think you should look at the service action easee.set_surplus_charging instead.
It will work the same way as changing the main fuse limit.
You can see it in the app to, just below the picture of the equalizer you have an icon for surplus charging (or whatever it says in the english version).

Anyway, you can call the action like this:

action: easee.set_surplus_charging
data:
  enable: true
  current: 15
  device_id: f2d4ab88061511eb9bbee3723c86903a

I think the API you pointed to might anyway be the correct one for changing the setting you want, but I would think it is better to leave it alone since it is a setting that is probably stored in flash, and use the surplus charging setting instead which is more aimed for temporary limiting the current of the site.
It also has the advantage that it will not turn charing off completely for 10 minutes if you go above the limit, it will just decrease the charging to a lower level.

@newlund
Copy link
Author

newlund commented Jan 23, 2025

Ah, thanks for the advice, even if surplus charging seems aimed for those producing energy via solar or wind. But if the the result is the same I guess it could be used.
But, there is a big drawback, which unfortunately makes it unusable for me. It requires Easee as operator (and therefore smartcharging disabled). I forgot to mention that in my original post but I need tibber as operator and smartcharging enabled.

An alternative would be to add a schedule and a weekly plan with the limits I want. But, that is also not possible when having smartcharging enabled. I have asked Easee support about it but no response yet.

@olalid
Copy link
Collaborator

olalid commented Jan 23, 2025

I am not sure I understand why it would be necessary to use Easee as operator for that. Do you not have the option to turn on surplus charging in your app then or?

@newlund
Copy link
Author

newlund commented Jan 24, 2025

https://support.easee.com/hc/en-gb/articles/11554316308625-Surplus-charging

"Surplus charging is only available if Easee is listed as the site operator."

You're right, I can't turn surplus charging on since I have tibber as operator (smart charging) :(

@HolgerMiara
Copy link

Hi @newlund,
Maybe I have misunderstood your usecase, but if you can monitor to your main fuse (with the data from the Equilizer) and on top of that want to limit the charging power in a given time window due to grid tariffs, you could create a template which tells how much current you maximum want to make available for the charger. Then just work with easee.set_circuit_dynamic_limit or easee.set_charger_dynamic_limit. I am actually not sure if the Equilizer changes one of them; if so, you should probably use the other one to avoid interference. The lowest value will always "win'.

This should work, independent which operator you define.

@newlund
Copy link
Author

newlund commented Jan 24, 2025

I can't use easee.set_charger_dynamic_limit since that is used by tibber to start/stop charging.
easee.set_circuit_dynamic_limit is also changed by tibber for some reason. I have told them to stop doing that but they have not listened. They regularly set it to 40A... :(
The equalizer does not regulate load using the dynamic limits. It is done "behind the scenes" and via a local connection between equalizer and the charger. So no cloud connection needed, which is good.
If I could only set the main fuse limit on the equalizer via API or on a time schedule in Easee my problem would be solved... :)

@olalid
Copy link
Collaborator

olalid commented Jan 24, 2025

I would still think you can use easee.set_circuit_dynamic_limit, just call the service once per minute or once per 10 seconds or whatever. If tibber sets it to 40A once in a while wont matter. The API is only called if the values are different than the service parameters, so you can call it as often as you like as long as the values are not idifferent every time.

As I mentioned above, if the limit you set in main fuse limit is reached, charging will stop, it will wait 10 minutes and then retry.
So it is not very well suited for what you want to do. It would be a very crude way to do this.

Of course easee.set_circuit_dynamic_limit knows nothing about the other consumers in the house so you have to intelligently control it to a value that makes sense.
There are some other issues here that you can look at to get some pointers as to how you can set things up to limit the power of the whole house rather than the current of he charger.

@newlund
Copy link
Author

newlund commented Jan 24, 2025

Yes, that is how I solved it before but then I changed ISP one night which caused my ongoing charging session to max out my main fuses. :)
That made me realize I have to solve it by different means. It should not continuously rely on internet connection and/or cloud service to function properly.
Well, I guess I have to wait for Easee support and see if they have any solution. I can't be the only one having this problem.
Perhaps a Tibber pulse would be better for now but that is depending on cloud services and I would also not be able to choose a different electricity supplier.

@olalid
Copy link
Collaborator

olalid commented Jan 24, 2025

Yes, the fact that we have to go through cloud is a general problem when it comes to reliability...
I will anyway try out the API you suggested and see if it does what we think, as a first step.

@olalid
Copy link
Collaborator

olalid commented Jan 26, 2025

Well, the API does not change that limit, in the app it corresponds to the "equailizer limit" that you can see on the charger page if you click the limits button and expand the limits.
So seems it will just directly limit the charer to whatever you set it to, rather than dynamically adopt to the main fuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request
Projects
None yet
Development

No branches or pull requests

3 participants