This post is really just a record of what I've done to get to the point of graphing and displaying the weather info from my weather station.
The weather stations reciever and display panel is hooked up via USB to the mediacentre, my MythTV box that never gets turned off.
I've finally written a working script captures the data and writes to the RRD database, however all of this sits on the mediacentre. My web stuff sits on my linux server in a cupboard.
To get access to the database for the web page to come, I've had to think about the implimentation somewhat and have come up with the following:
On the mediacentre I have created an rrd directory under /var/local
Under that I'm going to create a directory structure based on the RRD databases I may have, so for the weather station, I now have weather, below that logs, which is where all the text based logs will be stored for later processing should I need some historical data, or just want to do something different.
I have exported /var/local/rrd and mounted it via nfs on the Linux server.
All I need to do now is write the code to generate the web page.

Recent Comments