Clientraw gives error when selected @ the sky conditions

I have now selected the AERIS api for the cloud conditions. But in the selection there is also the option to select the clientraw.txt that i’m uploading to my server…

But when i select that option a error is showing

Looks to be OK now ?

AESIS is now selected

Clientraw.txt supplies the icon and the text in the top half.
→ first part of the error message

The bottom part, the one hour forecast needs another “source”
That is what the second part of the error message tries to tell us.
As you have an API key in your settings for a DarkSky(-replacement) the script tries to read the file.

PWS_load_files.php (502) Darksky_______: time spent: 0.0158 - PROBLEM => http_code: 500, no valid data https://www.weerstationmedemblik.nl/PWS_Dark_Openweather.php?lang=nl-nl

There is no openweather file found. → no valid 1 hour forecastdata.
Hence all the zero values.

If there is a valid 1HR forecast from a DarkSky-replacement the error message will not appear and the bottom part will show correct values.

1 Like

i have to select clientraw and wait for one hour ? of is there a setting wrong ?

When using clientraw.txt data for the sky block you also need a forecast with a 1-hour forecast.
Either DarkSky-alternetive or Aeris
In your settings you have a DarkSky alternative forecast from OpenWeather.
So the SkyScript tries to read that data from your cached file in the jsondata folder. But that file/data is invalid as the openweather settings seem to be invalid.

So please remove the settings for Darksky first.

I am unable to explain this better, so if it fails please mail me your easyweather password and I will do it for you.

You are not using clientraw.txt as your main upload file.
It can not be used in the sky-block as its validity is uncertain.

Maybe you also upload that clientraw.txt but it is not checked by the “livedata” script if it is recent and contains correct data.

Only if you use clientraw.txt as your main station-data-upload it can be used for the sky block also.

Succes,
Wim

Going to fix that right now

You are using WD-api and it does not matter if you also upload clientraw

ONLY if clientraw.txt is used as your main data source it can be used for the sky-block. So it can not be used when you use WD-api as your main data source.

1 Like