It seems that the *.netinfostation.com servers are offline. And so is the “4-day forecast” application. This probably leaves very many devices non working in the world. (sad)

I don’t like to have/see device that doesn’t work just because some guy decided to turn off their computer. So i have decided to write my own weather server. Details about how i have figured the format are <here>. (no they are not, sorry ;)

Original server that was used server1.netinfostation.com. First thing to do, is to redirect all traffic to this server to the local computer. On windows/linux this is quite easy. Just add entry into /etc/hosts file. On windows this file is located here:

%systemroot%\system32\drivers\etc\hosts

Edit as administrator and add line at the end:

127.0.0.1 server1.netinfostation.com

Second you will need some server. I used WAMP (www.wampserver.com) which comes with apache and php (and mysql) in single package. Easy to install and setup.

Third thing you need is to download the set of scripts from my github repo and place them into c:\wamp\www directory.

https://github.com/robots/4dayforecast/

After triggering refresh in the application, the scripts should retrieve the data from OpenWeatherMap.org and serve them to the 4-day forecast application – and to your weather station.

If you intend to use this I suggest you register at openweathermap.org and add your own api key into the getweather.php script.

If you find this useful leave a comment or something :-)