User-Defined Plugin Weatherstation using for existing data?

Moderator: Mattk

Post Reply
Skydizer
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Thu Aug 16, 2012 11:22 am

User-Defined Plugin Weatherstation using for existing data?

Post by Skydizer » Thu Aug 16, 2012 11:44 am

Hello,

i would like to use the plugin to import existing data (here: wswin data) in meteohub.
e.g. every 5 minutes a file like this

2012-08-16 11:32:25 wind0 279° 1.3m/s 0.9m/s 22.1°C
2012-08-16 11:32:29 th2 21.1°C 255% 0.0°C

is ready to import into meteohub.
What i have to do to use the user defined plugin.

bye

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5879
Joined: Mon Oct 01, 2007 10:51 pm

Re: User-Defined Plugin Weatherstation using for existing da

Post by admin » Sat Aug 18, 2012 4:30 pm

the manual tells a lot about data import formats in the appendix.
Plugins are also explained in the manual. Please have a look at this first.

Skydizer
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Thu Aug 16, 2012 11:22 am

Re: User-Defined Plugin Weatherstation using for existing da

Post by Skydizer » Sun Aug 26, 2012 12:23 pm

thank u for ure answer - but this does not help me! :cry:
Of course ive read the manual, but there i cannot find any description about the plug-in path for example.
I asked for help to topic "plug-in" and not to "data import format".....

Why this forum exists if question including examples referes to the manual???

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5879
Joined: Mon Oct 01, 2007 10:51 pm

Re: User-Defined Plugin Weatherstation using for existing da

Post by admin » Mon Aug 27, 2012 9:04 pm

According the path question, simply specify a full qualified linux path like "/usr/sbin/myfamousplugin" to address it, of course followed by parameters.

I don't think that using a plugin for this - as time stamping will be an issue - is a good method to import files.
Why don't you transfer your data into the well documented Meteohub raw data format and place the file in the
corresponding folder. Plugins are meant for live data, may be that is a reason why you don't get much comments on
your approach. Please give it a second thought.

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5879
Joined: Mon Oct 01, 2007 10:51 pm

Re: User-Defined Plugin Weatherstation using for existing da

Post by admin » Mon Aug 27, 2012 9:10 pm

I digged a bit in the forum and voila, a couple of months ago I made an importer for WSWIN data. I forgot about it as there did not seem to be too much demand for that.

Please have a look here: viewtopic.php?f=14&t=8326&p=9863&hilit= ... port#p9863

Should be pretty easy to use. When you drop into errors, let me know.

Skydizer
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Thu Aug 16, 2012 11:22 am

Re: User-Defined Plugin Weatherstation using for existing da

Post by Skydizer » Thu Aug 30, 2012 2:29 pm

hello,

thx - for initial migration ive used the transporter.
now i want to import data every 5 minutes (logged with 10 seconds intervall) - so it seems to be helpful not to use plugin - thats ok
but which corresponding folder i have to use?
If i remember the path to raw data /public/weather/ than there is now one file with all data.
is it correct that i have to expand this file with my raw data (of course the existing format will not be changed)?

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5879
Joined: Mon Oct 01, 2007 10:51 pm

Re: User-Defined Plugin Weatherstation using for existing da

Post by admin » Thu Aug 30, 2012 7:04 pm

I don't understand what you are aming at. Why don't you connect the weather station directly to meteohub?
WSWIN can be fed by Meteohub. Doing it the other way round is not making any sense, as you will need
to your PC running all the time.

Apart from that, when you want to feed live data from an alien source into Meteohub,
then using the plugin way is making sense. Directly writing to the raw data files
is fine for initial import but not for ongoing tasks as it interferes with what Meteohub is doing
with these files.

Post Reply