Cumulus on my website
Posted: Thu 13 Jun 2013 8:17 am
I thought others might be interested to see how I incorporated cumuls and the live weather station data into my website.
Nerja Weather Forecast. This page has a weather forecast incorporated with the realtime data from Cumulus, so it shows the current live temperature along with the forecasts. Further down the page I also have a couple of the live steelseries gauges (added as an iframe).
Nerja Live Weather. On this page I have all the steelseries gauges, again using an iframe.
On the top of the page on the header I also have the live temperature showing. The live temps come from the realtime.txt string.
The code also checks if the weather station is not working/not supplying live data and switches to a different source for the temp. If this happens it also sends me an email saying the weather station is down. Cumulus is running on an old mini-laptop and has been continuously for around 12 months. In that time it has crashed once needing a re-install, but otherwise is very reliable.
Next project is to add another page with the historical data.
If anyone has any questions about the code used please feel free to ask.
Nerja Weather Forecast. This page has a weather forecast incorporated with the realtime data from Cumulus, so it shows the current live temperature along with the forecasts. Further down the page I also have a couple of the live steelseries gauges (added as an iframe).
Nerja Live Weather. On this page I have all the steelseries gauges, again using an iframe.
On the top of the page on the header I also have the live temperature showing. The live temps come from the realtime.txt string.
The code also checks if the weather station is not working/not supplying live data and switches to a different source for the temp. If this happens it also sends me an email saying the weather station is down. Cumulus is running on an old mini-laptop and has been continuously for around 12 months. In that time it has crashed once needing a re-install, but otherwise is very reliable.
Next project is to add another page with the historical data.
If anyone has any questions about the code used please feel free to ask.