Homeweatherstation will not update

Hi,

Tried to set up the Homeweatherstation template, but I have some trouble to make WD update the wd.txt file. I can catch the traffic in wireshark and pick up the http string. If I add the string in a browser it Works, and the txt file is updated. (http string: http://gardervaer.net/myfolder/wd.php?d=15/11/2017+20:20:01+0.4+69+-4.6+0.000+0.000+224+0.00+2.1+1017.9+224+0+--+1017.9+37.4+800.6+0.0+21.7+0+0.4+1.9+3.2+13:22+-2.2+01:39+2.573+08:41+3.809+08:56+1017.9+19:4])
When wd is sending the data i got the http Message “301” moved temporarely. When pasting the sting into a browser i got the same at first, then a 200OK and success, and i can see that the wd.txt is updated.

Would appreciate any suggestions that may solve this problem.

Tor Erik

what shows in the file
senthomeweatherhttpget.txt ?

template wont function like this http://gardervaer.net/myfolder/wd.php should be http://gardervaer.net/whereeveritis/wdapi/wd.php

*note the folder wdapi is where the wd.php resides

clearly highlights this at the setup screen

*IMPORTANT PLEASE MAKE SURE IN THE Weather Display THAT THE URL FOR THE API IS 嫩草在线视频WWW免费看_婷婷成人丁香五月综合激情_免费人妻精品一区二区三区_中文字幕乱码人妻综合二区三区 or it could be http://yourdomain/pws/wdapi/wd.php *the folder is wdapi


Hi,

Changed the URL, still the same problem. Snap from the senthomeweatherhttpget.txt http://gardervaer.net/wdapi/wd.php?d=16/11/2017+19:44:42+7.2+93+6.1+1.014+1.530+260+0.00+15.8+1003.0+260+1+--+1005.1+53.2+816.4+2.1+20.3+0+7.1+6.9+7.3+19:24+-6.1+07:32+4.632+18:13+10.757+17:45+1019.0+00:00+1003.0+19:01+10.37S+60+4.117+--+--+--+--+--+236+13.7+--+0+--+236+--+--+07:28:00+--+--+-1.0+100 +07:01+64 +01:31+6.3+18:50±9.3+02:27+7.1+93+4.9+20.3+50±111.0±111.0±111.0

Error querying headers: (87) Feil parameter → Norwegian for wrong parameter…

Can you post the url of the template as http://www.gardervaer.net/

Just displays gauges from another template.

Are you saying your server is rejecting the url script or does it require an header to utf8 on your server or an str-replace to strip Norwegian characters . Looks server related by your description.

Gonna have to go through the process of elimination by the looks of things and if it

Hi,

The url is http://www.gardervaer.net/Easyweather/ can see that the template is updated when i send the data from a browser.
URL for wd.php and txt is now http://www.gardervaer.net/Easyweather/wdapi/

Tor Erik

Hi,

Solved this issue. For some reason the rewrite rule wont kick in when the data is sent from WD, had to add www in the URL’s in WD. Works OK from browser… Anyway, seems to be OK now :smiley:

Tor Erik

awesome another tip to note … we learn something new everyday…have fun brian, dont forget check the api key and write permissions for the jsondata folder…