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

[entsoe] Binding going offline - query spanning 2 days #18138

Open
dvdp opened this issue Jan 20, 2025 · 1 comment
Open

[entsoe] Binding going offline - query spanning 2 days #18138

dvdp opened this issue Jan 20, 2025 · 1 comment
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@dvdp
Copy link

dvdp commented Jan 20, 2025

The ENTSOE binding in my openhab box suddenly went offline, the error I'm getting is:

Thing 'entsoe:day-ahead:7d469160a9' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): Request failed with API response: Code 999, Text No matching data found for Data item ENERGY_PRICES and interval 2025-01-19T23:00:00.000Z/2025-01-21T23:00:00.000Z

I'm not quite sure what's going on but I found this on the ENTSOE website:

HTTP Code | Reason Code | Reason
400       | 999         | Invalid query attributes or parameters

so I'm wondering whether the problem is the 2 day interval, if so I guess that might be a bug ?

@dvdp dvdp added the bug An unexpected problem or unintended behavior of an add-on label Jan 20, 2025
@dvdp
Copy link
Author

dvdp commented Jan 20, 2025

Right - so things changed a little - after the publication time, the binding state changed to 'Could not get current SpotPrice'
I enabled binding debug and grabbed the api request from the debug output:
Sending GET request with parameters: https://web-api.tp.entsoe.eu/api?securityToken=xxxxx-xxxxx-xxxxx&documentType=A44&in_domain=10YBE----------2&out_domain=10YBE----------2&periodStart=202501192300&periodEnd=202501212300
If I run that request from my web browser using my API key, I do get the spot prices so why does the binding report an error?

@jlaur jlaur changed the title Entsoe binding going offline - query spanning 2 days [entsoe] Binding going offline - query spanning 2 days Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

1 participant