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

Grafana Error #8

Open
uringlas opened this issue May 9, 2021 · 4 comments
Open

Grafana Error #8

uringlas opened this issue May 9, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@uringlas
Copy link

uringlas commented May 9, 2021

Unfortunately I do not get any data with the plugin.
When creating a new pannel I get the error message "Cannot read property 'map' of null".

image

@clampr
Copy link
Member

clampr commented May 10, 2021

The selected weather station provides weather data with an offset of a few days. Please try with a date (range) a few days in the past (e.g. May 1st).

@Kkoile
Copy link
Collaborator

Kkoile commented May 10, 2021

Thanks for reporting the issue. I will implement some error handling, so that we get a more meaningful error message here.

@uringlas
Copy link
Author

uringlas commented May 10, 2021

so I have now updated the plugin to the latest version.
I can retrieve data but only those that are at least 5 days in the past. Is that the way it should be?
if I set the range to 2 days the same error occurs again

yW8DC4ibYg

@clampr
Copy link
Member

clampr commented May 11, 2021

The problem is that actual observation data is coming in with an offset of a few days. Therefore, Meteostat uses model data as a substitute for recent days. I don't know if @Kkoile implemented an option for including model data in the Grafana plugin, but it should be straight forward using the model URL parameter: https://dev.meteostat.net/api/stations/hourly.html

Otherwise, I might be able to implement it myself in the upcoming months.

@clampr clampr added the enhancement New feature or request label May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants