-
Notifications
You must be signed in to change notification settings - Fork 107
Feature/tibber/quarter hourly prices #2801
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
Merged
LKuemmel
merged 19 commits into
openWB:master
from
tpd-opitz:feature/tibber/quarter-hourly-prices
Nov 4, 2025
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
3aca822
request quarter hourly prices
tpd-opitz 21c6c28
Update timecheck_test.py
tpd-opitz e6d4889
expect shorter price time slots in charge time calculation
tpd-opitz 46f7daf
unittests for 15 minuts charging time slots selection
tpd-opitz 8e9a90b
enable shorter update cycle of ET price data
tpd-opitz 7486511
fix missing parameter in et_charging_allowed()
tpd-opitz ac22545
do not overwrite known prices if list from ET provider is empty
tpd-opitz 06199c7
enhance logging
tpd-opitz a54dffd
requested changes
tpd-opitz cd68a4e
improve schedule charging messages
tpd-opitz 5172eba
avoid resetting price list
tpd-opitz b5aa349
fix price slot selection
tpd-opitz 8b53dea
fix next fetch date
tpd-opitz 09aaa8f
update prices on construction of Optional, track (re)creation of Et/E…
tpd-opitz 3918d07
enhance logging for Tarif update target time
tpd-opitz 5d61668
fix persistence of TariffState
tpd-opitz 35e44b4
move et price update call in main.py
tpd-opitz baba301
refactoring: rename optional.et_is_charging_allowed_*
tpd-opitz d9e3006
completely remove instance_id
tpd-opitz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Müsste der Mock nicht gerade wegfallen, wenn es unabhängig von festen Zeitintervallen sein soll?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja, müsste er.
Hab mich nur nicht getraut, die Funktion komplett aus
timecheckraus zu nehmen, daher ist auch der Mock noch drin.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ich habe noch Referenzen hier:
https://github.com/tpd-opitz/openwb-core/blob/78880eeb7ebb0415cea2bf6993d5a4fc52675262/packages/control/chargelog/chargelog.py#L413
und hier
https://github.com/tpd-opitz/openwb-core/blob/78880eeb7ebb0415cea2bf6993d5a4fc52675262/packages/control/chargelog/chargelog.py#L459-L462
gefunden, für deren Anpassungen wohl umfangreichere Änderungen nötig sind.
Weitere Referenzen hier
https://github.com/tpd-opitz/openwb-core/blob/78880eeb7ebb0415cea2bf6993d5a4fc52675262/packages/modules/electricity_tariffs/energycharts/tariff.py#L25
und hier
https://github.com/tpd-opitz/openwb-core/blob/78880eeb7ebb0415cea2bf6993d5a4fc52675262/packages/modules/electricity_tariffs/voltego/tariff.py#L58
Sind leichter aufzulösen.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im Voltego-Tarif hat
create_unix_timestamp_current_full_hour()noch seine Berechtigung, so lange die noch nicht auf kürzere Auflösungen umstellenThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auch be energy-charts ist der Aufruf von
create_unix_timestamp_current_full_hour()noch sinnvoll, weil man mit dem aktuellen Timestamp nicht den aktuellen Timeslot, sonder erst den nächsten zurück bekommt.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bezüglich dem Chargelog: Wenn dort einfach immer eine Zwischensumme berechnet wird brauchen wir den Aufruf dort nicht.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ist in Arbeit, wird diese Woche fertig.