As can be read in the previous blog posting, I have now some weather data around. Here the header from the CSV file I generate out of the XML file of the software:
Date;Humidity (room);Temp (room);Humidity (out);Temp (out);Pressure (abs);Wind (ave);Wind (gust);Wind (dir);Rain
Currently I programmed the weather station to save the data every 5 minutes. The long-term goal is to decide if a given wind turbine delivers a sane amount of energy (during a complete year) at a given place. As I do not want to wait that long to get some information out of this, the question arises, what I can do with this weather data?
Here an example of the output (ignore the rain and wind values, the sensors are not attached at a place where there is wind or rain, the complete set is horizontally on the floor instead of vertically how they are supposed to be; and do not be shocked about the room values, it is the “server room” in the basement):
2010-09-02 12:55:01;52.0;18.700;30.0;27.000;978.600;0.0;0.0;135.0;4.200
2010-09-02 12:50:01;53.0;18.700;30.0;27.500;978.600;0.0;0.0;135.0;4.200
2010-09-02 12:45:01;53.0;18.600;30.0;27.300;978.500;0.0;0.0;135.0;4.200
2010-09-02 12:40:01;53.0;18.600;30.0;27.800;978.600;0.0;0.0;135.0;4.200
2010-09-02 12:35:01;53.0;18.600;30.0;27.700;978.500;0.0;0.0;135.0;4.200
2010-09-02 12:30:01;54.0;18.500;31.0;27.500;978.700;0.0;0.0;135.0;4.200
Some things I came up with myself:
- A line-graph of the values during a day/week/month.
- A graph of the amount of accumulated rain per hour/day/week/month/year.
- The average temperature/humidity (as an error bar, so see the min/max too) per day and night, but what to use as the times where the day starts/ends? I would like to have the day-part cover the real daylight time (minus some ramp-up and ramp-down time), but I do not have any idea how to get this for each day and for my region.Does it make sense to do the same per hour (without any ramp-up/-down)?
- Does the combination of temperature and humidity and maybe wind tell something? If yes, how to combine them and how to interpret the result?
- Similar for the pressure. I do not know what it tells me, but in a graph I can maybe add some horizontal lines which tell something (rain probability and maybe danger zones?).
- For the wind speed the instruction manual comes with a nice table of the beaufort scale and a corresponding description. This can be put into some colored horizontal lines which show more or less dangerous speeds.
For the plotting of the data, I intend to use gnuplot with the CSV data as the input. It should allow me to automate a lot of things, and some of the graphs should also be easy to realize inside gnuplot itself without any external processing, the question is only how to realize it. For example for the average of some values I do not know if it makes sense to use something else than the arithmetic mean.
GD Star Rating
loading…
GD Star Rating
loading…
A while ago a wind turbine was installed not far away from my place. It is far enough to not disturb us, and it is near enough to notice that it turns a lot (IIRC I have seen it only once not turning).
This triggered a question. How much energy would such a device (smaller of course) produce at my place?
The answer depends upon several factors. The wind speed, the wind direction and the wind-speed-to-power-output curve of the device. If you do not take a device which rotates around the horizontal axis but the vertical axis, the wind direction can be taken out of the question (probably not completely, but to answer my question this simplification should be ok). The output-power curve depends upon the device, and I hope it is easy to get it from the vendors. The remaining open question it the wind speed at my place. Is there enough wind with enough speed?
To answer this question I bought a weather station with an anemometer (wind speed sensor). I searched a little bit until I decided to buy a specific one (actually I bought three of them, some coworkers got interested too but they found only much more expensive ones, so soon there will be three more weather stations in use in Belgium, France and Germany). The main point is, I can connect it to an USB port of a PC and there is some software for Linux to read out the data. It also comes with some other outdoor-sensors (temperature, rain, wind direction, humidity, …) and an indoor-control-unit with some internal sensors (temperature, humidity). The user interface is mainly the touchscreen of the control-unit. There is also some Windows software, which is needed to program the interval in which the measurements are taken and saved in the control-unit.
It seems the weather station is produced by Fine Offset Electronics Co.,Ltd and sold within different brands in different locations. The Linux software can read all of them, as the vendor and product IDs are not changed.
Porting the software was easy, it uses libusb and I just had to correct a little problem for the non-portable functions which are used (I asked about them on usb@ and the response was that they just got implemented upon my request and will be committed to HEAD soon). I made a little patch for the software to only use them when available (if you have not loaded the USB HID driver, you do not need to care about them) and committed it to the Ports Collection as astro/fowsr.
Now I just need to attach the outside sensors at the place where I would put the vertical axis wind turbine, install some toolkit which takes a series of measurements and displays them as a nice graph (while keeping all data values) and write some glue code to feed the output of fowsr to it. After a year I can then calculate how much power a given wind turbine would have produced during the year and calculate the return of investment for it.
The Linux software also references several weather sites, for some of them you can get even an iGoogle widget so that you can view the data from wherever you want (as long as you have a suitable internet connection). I think this is also something I will have a look at later.
Note to users in Europe, the device also comes with a DCF77 receiver. As the time is distributed in UTC+1 (or +2, depending on the daylight saving time), you should adjust the timezone setting accordingly to this, not to plain UTC (so for me the timezone should be ‘0’ for the same timezone).
GD Star Rating
loading…
GD Star Rating
loading…
Before I have read the news feeds I am interested in via the Firefox plugin “brief”. It did all I wanted it to do, but I had all the data and metadata (all the feeds and read items) only in one browser. I was not able to have a shared state at work and at home.
Now I installed rnews on my webserver. It is multi-user capable, so that multiple people can read the feeds they are interested in, without the need to have multiple installations. I can use it from any place where I have an internet connection, without losing the state.
It is in the FreeBSD Ports Collection as www/rnews.
GD Star Rating
loading…
GD Star Rating
loading…
I merged the v4l translation layer into the linuxulator of 8-stable. As in –current, this just means that linux apps (like Skype) can now use FreeBSD native devices which conform to the v4l ABI. The port multimedia/webcamd provides access to some webcams (or DVB hardware) via the v4l ABI.
People which want to test the linuxulator part should first make sure a native FreeBSD application has no problem accessing the device.
GD Star Rating
loading…
GD Star Rating
loading…
I got notified that my blog was not accessible for a while. Seems that at least recent firefox versions somehow changed their behavior in what is send in the HTTP-header. This caused an Apache RedirectMatch rule to trigger, which denies access to some parts of the blog for some users.
The WP-login, WP-dashboard, and logged-in users where not affected by this, so if you have some custom rules which deny access to your blog, make sure you make a test of your blog when logged-out.
GD Star Rating
loading…
GD Star Rating
loading…