Struggling to connect to Meteotemplate api - Linux console 64 bit Linux desktop

Hi

Not sure what I am doing wrong as I have checked and rechecked things many times. I am able to upload clientraw.txt to my server but the api link to update Meteotemplate does not seem to be functioning as it should.

Here are my relevant entries in config.txt

update meteotemplate=Y //Y or N
meteotemplatepass=xxxxxx
meteotemplateurl=https://www.spanishhighs.co.uk/meteotemplate/api.php
meteotemplatefast= //Y for 1 minute updates

This should produce a URL such as this
https://www.spanishhighs.co.uk/meteotemplate/api.php?U=1486255070&T=25.3&H=79.9&P=1010.1&W=5.6&G=7.8&R=0&RR=0&B=272&S=788&PASS=xxxxxx
In fact if I enter that URL (with correct pw!) I receive a SUCCESS message and the system is updated accordingly.

So, the above URL string cannot be created as it should by Consolewd. Can anybody offer any solution as to what I am doing wrong or how I can fix?

Thanks
Richard

the data to be sent is put in a file
meteotemplatedata.txt
and curl is used to send that
(and the output from that send is put in a file called meteotemplateout.txt)
curl needs to be available in /usr/bin/curl

Thanks Brian

See attached screenshot. I seem to have Curl enabled on usr/bin but still not working output to meteotemplateout.txt

Got to be something simple but beyond my knowledge and ability I’m afraid


what shows when you run cronmeteotemplate

Nothing. cronmeteotemplate: command not found
Yet I downloaded and unzipped the whole file from http://www.weather-display.com/downloadfiles/consolewd64desktop.tar.gz

but you need to run it like
./cronmeteotemplate

Response is : bash: ./cronmeteotemplate: No such file or directory

Hi Brian.
Screen extract from sudo ./consolewd

** closed custom tag out file
Doing CWOP
updating wunderground
Sending WU data now
updating meteotemplate
Updating meteotemplate UTC ->1561215901
Error ./cronmeteotemplate File not Found
updating PWS
Error ./cronpws File not Found
Sending pws data now
updating records to ini file

Update:

The version I downloaded from http://www.weather-display.com/fileslinux.php was
Weather Display for Linux console 64 bit Linux desktop Version on 21 June 2019 - 22:40:04
That zip archive doesnt contain cronmeteotemplate nor cronpws

I then copied over those 2 cron files from
Weather Display for Linux console 64 bit Raspberry pi3 Version on 7 June 2019 - 22:23:44

Only problem remaining seems like getting the cronmeteotemplate permissions file working. When run it I get
bash: ./cronmeteotemplate: Permission denied even though I have changed permissions to 777

you cant run a raspberry pi version
I did not realise those files were missing
I will update and let you know

try a new download update

Works perfectly now!

Thanks for your efforts Brian.

Regards from Spain