-
-
Notifications
You must be signed in to change notification settings - Fork 759
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
Refactor target charging apis #5649
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
Ups. Api ist drin. |
@andig ich hab gerade versucht diesen Branch wieder auf master-Stand zu bringen, gibt aber einige Konflikte bei denen ich mir nicht ganz sicher bin, wie man die korrekt auflöst. Magst du dir das mal anschauen? |
Mache ich. Einheiten: siehe #5718 |
47c61e1
to
b5e8b6b
Compare
Flupp |
Sehr schön, dann bau ich in diesem PR erstmal ne einfache textbasierte Planungsinfo im Dialog ein. @andig Kannst du dir den Konflikt im LP auch noch mal anschauen. |
b5e8b6b
to
91b242e
Compare
Flupp |
f739f5e
to
f99fb63
Compare
@andig Danke. Nu funktionierts wie erwartet. |
Also das sieht aber auch schon mal richtig schick aus.
|
@Hofyyy Ja, genau so. Wenn die Planung auf Basis von Netztarif gemacht wird wird anstatt der CO2 Menge der Durchschnittspreis pro kWh angezeigt:
|
Docs PR für die API Änderungen |
@andig Was meinst du mit "document ui-pushed variables"? Ist hier noch was offen? |
8102a46
to
e263ea8
Compare
Fix #5784
This PR moves all target charging apis to separate end points:
/target/time/<time>
/target/soc/<%>
/target/energy/<kWh>
As we are now actually returning the current plan, we'll also be able to cache and reuse it in case that proves useful for performance or planning stability.
TODO
decide how to make planning conservative againrebase on master/tariff/grid|feedin|planner
) where planner maybe dedicated planner tariff (co2) or grid tariffunplausible plan data for fixed grid prices/cc @schenlap an der Funktionalität hat sich noch nichts geändert, bis auf die Tatsache dass die Effizienz nur noch 1x aufgeschlagen wird und auch das wäre unter dem erstem Punk zu bewerten.