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

Tariff: add forecast provider #13451

Merged
merged 3 commits into from
Apr 17, 2024
Merged

Tariff: add forecast provider #13451

merged 3 commits into from
Apr 17, 2024

Conversation

andig
Copy link
Member

@andig andig commented Apr 15, 2024

Fix #13435

This PR adds a forecast option to the custom tariff. forecast, if specified, must be a StringProvider delivering JSON conforming to api.Rates, i.e. a slice of maps containing start, end and price.

Users can specify either price or forecast.

@andig andig added the needs documentation Triggers issue creation in evcc-io/docs label Apr 15, 2024
@andig andig added the enhancement New feature or request label Apr 15, 2024
@andig andig merged commit f483f2c into master Apr 17, 2024
7 checks passed
@andig andig deleted the feat/custom-tariff-forecast branch April 17, 2024 21:43
@arboeh
Copy link

arboeh commented Apr 21, 2024

I have two questions about this enhancement:

  • will it work with source http also?
  • what is the default refresh time of the call? Im a bit afraid of triggering too often

Thanks in advance!

@andig
Copy link
Member Author

andig commented Apr 21, 2024

Called every hour and oblivious to the plugins it uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs documentation Triggers issue creation in evcc-io/docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamischer Strompreis per MQTT
2 participants