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

Allow configuring charge speed per hour of the day. #225

Open
dagstuan opened this issue Nov 15, 2023 · 1 comment
Open

Allow configuring charge speed per hour of the day. #225

dagstuan opened this issue Nov 15, 2023 · 1 comment
Labels
feature request Request of a new feature

Comments

@dagstuan
Copy link

Is your feature request related to a problem? Please describe.
I live in a place where we have fixed energy tariffs depending on how much power is being used each hour. Because of this I have already incorporated smart control of my water heater, so I'm calculating which hours of the day to run my water heater based on the electricity price, same as this integration.

This however, poses an interesting issue when using this integration. I'm controlling the speed of the EV charging based on the power draw of the house, and while the water heater is running, the speed of the EV charger will automatically be reduced to make sure I stay below the fixed tariff level I want. This means that the charging speed of my EV is not linear. And since I'm only able to input a single number as the charging speed with this integration, its hard to know which number to input, since the speed might be lower if the calculated hours for the water heater correspond with the EV charging hours.

Describe the solution you'd like
I would like to be able to set the EV charging speed individually per hour of the day. Lets say I calculate in advance that the water heater should run between 2am and 4am in the night, during that time I would like to set the charging speed lower, and in other hours it can be set higher since I know the water heater won't be running then. With such a solution, this plugin could take the lower-speed hours into consideration when calculating which hours to charge the EV.

I'm not entirely sure of the cleanest way of implementing this with HA-entities. 24 inputs for each hour of the day seems excessive, so I'm open to input on how to solve this as clean as possible.

@jonasbkarlsson jonasbkarlsson added the feature request Request of a new feature label Nov 24, 2023
@jonasbkarlsson
Copy link
Owner

I understand your situation, but this kind of improvement will make the integration much more complex. It is also related to similar tariffs schemes were your monthly fee depends on how the maximum power per hour that you consume. Not sure when or if this integration will be able to support these more complicated cases. But if it will, my thinking has been to switch from "% per hour" in charging speed to "kW", in order to make more advance functions. After such a change, it might be possible to also do what you describe.

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

No branches or pull requests

2 participants