-
-
Notifications
You must be signed in to change notification settings - Fork 761
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
Option to show current price and co2 info #6048
Conversation
Zum Bild mit dem Tooltip der 2 Batterien: |
Das ist nur ein Beispiel das ich mir für die UI zusammengebaut habe. Ich hab die Zahlen nur grob geraden, nicht ausgerechnet 😀 |
Bei den Screenshots stolpere ich noch über die Netzstromdetails. Das ist sehr umgangsprachlich. Vllt eher |
Um beide gleichzeitig anzuzeigen haben wir keinen Platz in der Legende. Zudem wir das auch sehr zahlenlastig. Ich find den Default "keine Zusatzinfos anzuzeigen" gut. Hatte auch überlegt den Preis nur bei dynamischen Stromtarifen (Awattar, Tibber, Zones?) anzuzeigen, das ist aber auch irgendwie komisch. Daher manuelle Kontrolle. |
|
Introducing an option to show current price and co2 data in the expanded energy flow.
Changes
price
orco2
data to the energy flow. (fixes Live Netzpreis im UI statt ausschließlich hier: Auswertung Ladeenergie #5488)tariffs
) are configured.g
instead ofgCO2e/kWh
andct
instead ofct/kWh
).capacity
has to be configuredtariffCo2
. Shows the current co2 data configured intariffs.planner
that return co2 based values.greenShare
. Indicates how much of the current energy is self-produced (pv, battery) and home much is imported from the grid.greenShare=1
means only own energy.greenShare=0
means full grid import.tariffEffectivePrice
andtariffEffectiveCo2
. This indicated the effective cost of the energy used in your house (home consumption + charging). The values changed based ongreenShare
.tariffGrid
andtariffFeedIn
will only be publish when they are configured. Previously we returned a 30ct/8ct default value. These values are still used as a fallback for global savings calculations but will not be exposed any more.This PR also includes refactoring that will make it easier to introduce session based-statistics (% green energy, co2 emissions, price) and expand the community dataset (telemetry) later. The
savings.go
got simplified and calculations were moved to tariff and site. From there it will be easier to reuse the required data for session and telemetry use.Replaces #4760
New setting

Large screens

Medium screens

Small screens

Options are only available if a datasource exists

Dark mode

Battery details (two batteries > two lines in tooltip)
