skyewright
Member
Hi,
The Meteohub data logger is in the process of adding a new feature to allow 'plug-in' extensions. Here's an extract from the manual describing the currently experimental feature
start extract
The generic Plug-in weather station allows to connect Meteohub to an alien weather data logging program. When Meteohub starts data logging, the specified program gets started as well and Meteohub listens to stdout of the alien logger program. When the logger has reported a line of data (terminated by a LF and/or CR character) this line of data is given a Meteohub time stamp and is included into Meteohub's raw data file ("/data/weather/YYYYMM/raw"). The format of the data has to be compatible to Meteohub's raw data format (Appendix C). Example: When the alien program returns "th17 209 52 0110" Meteohub adds a line "20090131120034 th17 209 52 0110" to the raw data, which means: Sensor th17 has reported 20.9 °C, 53% relative humidity and a dew point of 11.0°C at 12:00:34 31th Jan 2009.
end extract
Meteohub runs on the NSLU2 (SlugOS/BE 4.8) and on a variety of x86 platforms (debian etch-n-a-half). I'm using an ALIX 1D miniITX computer.
In terms of coding abilities, I'm familiar with C++ on the Windows platform (nowadays I use Qt from Trolltech, I started out with FORTRAN on mainframes...). I have little Linux experience (but not none at all). I have been know to write a little, very poor, Perl. I don't have a lot of spare time for the project...
Any thoughts on how to approach implementing such a 'plug-in'?
The Meteohub data logger is in the process of adding a new feature to allow 'plug-in' extensions. Here's an extract from the manual describing the currently experimental feature
start extract
The generic Plug-in weather station allows to connect Meteohub to an alien weather data logging program. When Meteohub starts data logging, the specified program gets started as well and Meteohub listens to stdout of the alien logger program. When the logger has reported a line of data (terminated by a LF and/or CR character) this line of data is given a Meteohub time stamp and is included into Meteohub's raw data file ("/data/weather/YYYYMM/raw"). The format of the data has to be compatible to Meteohub's raw data format (Appendix C). Example: When the alien program returns "th17 209 52 0110" Meteohub adds a line "20090131120034 th17 209 52 0110" to the raw data, which means: Sensor th17 has reported 20.9 °C, 53% relative humidity and a dew point of 11.0°C at 12:00:34 31th Jan 2009.
end extract
Meteohub runs on the NSLU2 (SlugOS/BE 4.8) and on a variety of x86 platforms (debian etch-n-a-half). I'm using an ALIX 1D miniITX computer.
In terms of coding abilities, I'm familiar with C++ on the Windows platform (nowadays I use Qt from Trolltech, I started out with FORTRAN on mainframes...). I have little Linux experience (but not none at all). I have been know to write a little, very poor, Perl. I don't have a lot of spare time for the project...
Any thoughts on how to approach implementing such a 'plug-in'?