what shows in a terminal window when you run the cronhttpget
MT data to send http://wxcalgary.com/meteotemplate/api.php?U=1520797020&T=4.6&TMX=4.6&TMN=4.6&TIN=27.9&HIN=15&H=42&P=1032.1&W=3.2&G=6.4&B=50&R=0.0&RR=0.000&BATT=4.7&PASS=3454&SW=WD&H5=0&H6=0&H7=0&H8=0&H9=0&LW1=10&LW2= 0&LW3= 0&LW4= 0
MT data send Ok 13:37:17
try putting that data that is sent to be sent
in a url in a browser on your linux pc and see what shows in return
Success
and so did MT update?
the more information you can provide the better
no update on MT
when I enter the data string into the browser, the apiLog.txt file and cache file gets updated, but nothing else.
see if you can spot anything wrong
(e.g compare with the data sent from the windows version (in the senthttpget.txt file)
Where is the file located? I can’t seem to find it
on the windows version?
it should be where WD is installed
note its called sentcustomhttpget.txt
but you should have at least seen that file and joined the dots
That file starts with a blank line then 2 lines with “OK” then the data string
OK
OK
http://wxcalgary.com/meteotemplate/api.php?
U=1520796268&T=4.3&TMX=4.3&TMN=4.3&TIN=27.8&HIN=15&H=42&P=1032.1&W=0.8&G=0.0&
B=44&R=0.0&RR=0.000&BATT=4.7&PASS=3454&SW=WD&T2=255.0&SD=1.00&LW1=0&LW2=0&L
W3=0&LW4=0
yes
and so
how does the data compare ?
I do not see this file in the linux version
I don’t think that will matter
you might need to get help from Jachym
and show him the 2 different outputs
(i.e from the output from the console in the linux version or that file in the windows version)
One thing I did find.
in mtdata.txt (linux)
LW3= 0&LW4= 0 (space after “=”)
in windows
LW3=0&LW4=0 (no space)
its possible an issue (its just the leaf wetness data)
you could try editing that when you post the data as url in a browser window and see if it updates
also check the date number looks correct (you need to make sure that you have the sun moon lat/long and time zone set correct in the linux version)
thats it!
I took the spaces out and it updated
OK, that is an easy fix
I will work on that now and update and let you know
try a new update, ready now