Skip to content

Feature/tibber/quarter hourly prices test just build check IGNORE#2810

Closed
tpd-opitz wants to merge 5 commits intoopenWB:masterfrom
tpd-opitz:feature/tibber/quarter-hourly-prices_test
Closed

Feature/tibber/quarter hourly prices test just build check IGNORE#2810
tpd-opitz wants to merge 5 commits intoopenWB:masterfrom
tpd-opitz:feature/tibber/quarter-hourly-prices_test

Conversation

@tpd-opitz
Copy link
Contributor

No description provided.

@tpd-opitz tpd-opitz force-pushed the feature/tibber/quarter-hourly-prices_test branch 2 times, most recently from 940a28a to 49c15a5 Compare October 9, 2025 13:17
def ___republish_if_called_more_than_once_per_hour(self):
'''
looks like it is only called one per houre,
TODO: identify caller and call it more often
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hier wird der Abruf der Strompreise getriggert:

data.data.optional_data.et_get_prices()

Werden die Strompreise im 15 Min-Takt aktualisiert oder wie bisher um 14.00 für den Folgetag?

Copy link
Contributor Author

@tpd-opitz tpd-opitz Oct 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich habe am Abfrageintervall nichts geändert, nur das GraphQL das gegen die Tibber-API gesendet wird. Ich habe aber den Eindruck, dass das Abfrageintervall bisher auch schon stündlich war...

Kann es sein, dass da ein cacheing im Tibbermodul fehlte und das nachgerüstet werden sollte?

Ich würde den Aufruf in der main.py ans Ende von handler5Min() verschieben.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kann es sein, dass da ein cacheing im Tibbermodul fehlte und das nachgerüstet werden sollte?

Wenn ich es mir genau überlege gehört das caching der Tarifdaten eigentlich hier hin:

tariff_state = self._remove_outdated_prices(self._component_updater())

oder gibt es Anbieter, die einen anderen Veröffentlichungsrhythmus haben?

@LKuemmel
Copy link
Contributor

Vielen Dank!

Ich habe Deinen PR überflogen, die Richtung stimmt. Gib Bescheid, wenn ich ein Review machen kann.

@tpd-opitz tpd-opitz force-pushed the feature/tibber/quarter-hourly-prices_test branch 2 times, most recently from 277f538 to 002bf1e Compare October 11, 2025 13:41
@tpd-opitz tpd-opitz force-pushed the feature/tibber/quarter-hourly-prices_test branch from 002bf1e to fe9d917 Compare October 11, 2025 17:48
@tpd-opitz tpd-opitz closed this Oct 11, 2025
@tpd-opitz tpd-opitz deleted the feature/tibber/quarter-hourly-prices_test branch October 26, 2025 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants