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

[energidataservice] Log warning when spot prices are unavailable #16648

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

jlaur
Copy link
Contributor

@jlaur jlaur commented Apr 13, 2024

Today I noticed that my dishwasher price calculation automation did not work as expected, and investigated why.

I found that is what caused by a simple lack of spot price data from the service: https://www.energidataservice.dk/news

2024-04-12
Currently we experience technical problems updating a number of datasets. We are working on solving the error.

Even though the spot price channel may be UNDEF (when prices are very behind) and the nextCall property is before ~13:00 next day, the binding is probably a bit too silent in this case. Thus a warning would help. Since retries use an exponential backoff strategy, they should not occur too often or spam the log in any way.

Related to #16661

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
@lolodomo lolodomo merged commit 2ac6b69 into openhab:main Apr 13, 2024
3 checks passed
@lolodomo lolodomo added the enhancement An enhancement or new feature for an existing add-on label Apr 13, 2024
@lolodomo lolodomo added this to the 4.2 milestone Apr 13, 2024
@jlaur jlaur deleted the energidataservice-spot-price-warning branch April 13, 2024 13:37
lo92fr pushed a commit to lo92fr/openhab-addons that referenced this pull request Apr 30, 2024
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
pgfeller pushed a commit to pgfeller/openhab-addons that referenced this pull request Sep 29, 2024
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Oct 18, 2024
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants