You are currently browsing the category archive for the ‘Uncategorized’ category.

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 :-)

Hobby king has been selling Turnigy SuperBrain Brushless motor controllers for quite some time. These BLDC motor controllers are unique for their functionality and price. Each of these units serves not only as controller but also logs various telemetry data of your system.

Read the rest of this entry »

I have finally decided to create a blog for all the things I do, and I’m interested in. This will mostly be related to embedded computing, programming and electronics

I hope that some (all?) posts will be useful in some way. Stay tuned :)