How can I check if I have the spaces or not ??? What program did you open the realtime.txt file ??
With your own link you can check your file also
https://www.meteocamporamoso.it/pwsWD/demodata/realtime.txtBut it is easier when using the debug-console of the HWS-template:
https://www.meteocamporamoso.it/pwsWD/w34_module_test.phpClick the button "list contents" (the "./demodata/realtime.txt" is selected by default as it is in your easyweather settings)
The file is displayed in the bottom part, where you can see the extra space
Unprocessed first 50 characters of the file :05/15/19 16:13:02 9 69 3.6 2.9 0.0 31
Clicking on "List this file as
space separeted fields file" shows the vertical list.
All files uploaded or stored to be used later can be inspected this way.
As for API, it's a mystery. I copied / pasted the Key present in my official WeatherLink dashboard, I checked that there are no spaces, etc. I put my password that I use to pass in WeatherLink and then the DID of my VP2 ....... doesn't go.
The answer from weatherlink.com with your settings is also stored in a file on your server. It is in "./jsondata/wl.com"
This is the returned html from wl.com
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body></html>
If you are 100% sure that you entered the correct credentials can you please tell me where you entered them.
Yes you set the
language to Italian, set that
visitors are not allowed to change that (although support is in ENGLISH only).
But the wl.com lines are not filled.
They are empty with a
blue background which signals that they not contain any information.
Wim