Hy
I'm quite new to the Software but very interested because I think I can use it for my home made Weather Station.
I've searched the Forum for something similar but haven't found anything.
My weather station is transmitting the data over a Wireless signal to a Serial port.
Is there a way to get does data into the Software?
In the manual is just mentioned something about the right Format this isn't a problem but how do I get those data into the Software?
thx
Andy
Import different data
Moderator: Mattk
-
- Platinum Boarder
- Posts: 873
- Joined: Fri Jan 25, 2008 6:27 pm
- Location: Isle of Skye, Scotland
Re:Import different data
If you want to feed 'live data' (i.e. as it is collected) to Meteohub, the relevant section of the manual is the bit about the "Plug-in" weather station interface (page 114 in version 4.6 of the English version of the manual).GekoCH wrote:Is there a way to get does data into the Software?
In the manual is just mentioned something about the right Format this isn't a problem but how do I get those data into the Software?
A "plug-in" is essentially a piece of software that runs on the Meteohub hardware collecting data and writing Meteohub compatible versions of that data to "/dev/stdout" (i.e. if the software was run from the command line it would be writing these values to the console).
To illustrate that here's a short 'dummy' plug-in written in perl that could feed Meteohub with a series of temperature values at 5 second intervals starting at 0.0C, increasing in steps of 0.1C to 50.0C then starting again at 0.0C.
Code: Select all
#!/usr/bin/perl -w
use strict;
use IO::Handle;
my $value = 0;
STDOUT->autoflush( 1 );
while ( 1 )
{
print "t0 $value\\n";
$value++;
if ( 500 < $value )
{
$value = 0;
}
sleep( 5 );
}
Does that help?
Re:Import different data
yes that's graet
Now I just got the problem getting this tst.pl to the VWware Player.
Do you know how to do that?
thx
Andy
Now I just got the problem getting this tst.pl to the VWware Player.
Do you know how to do that?
thx
Andy
-
- Platinum Boarder
- Posts: 873
- Joined: Fri Jan 25, 2008 6:27 pm
- Location: Isle of Skye, Scotland
Re:Import different data
Assuming you are using Windows, the simplest way is probably to find the VMWare meteohub on your network using Windows explorer then copy the file into one of the folders you'll find there, e.g. myweb (which is the same location as the "/srv/www/myweb" that I mentioned earlier).GekoCH wrote:Now I just got the problem getting this tst.pl to the VWware Player.
Does that make sense?
Re:Import different data
phu I feel like I'm so stupid...
Ok I got Windows running the VMware Player with the VMWaer File from this page. When I run the Programm I can log in and after that I can browse through the console to the location srv/www/myweb
That's all ok
but
I can't find this Folder on the Windows side. I think it's located inisde this VMWare file...
I did setup a Shared Foder with the VMware and know where is this folder under Linux? Maybe this helps...
EDIT: Can't find the Folder in the Network...
Ok I got Windows running the VMware Player with the VMWaer File from this page. When I run the Programm I can log in and after that I can browse through the console to the location srv/www/myweb
That's all ok
but
I can't find this Folder on the Windows side. I think it's located inisde this VMWare file...
I did setup a Shared Foder with the VMware and know where is this folder under Linux? Maybe this helps...
EDIT: Can't find the Folder in the Network...
-
- Platinum Boarder
- Posts: 873
- Joined: Fri Jan 25, 2008 6:27 pm
- Location: Isle of Skye, Scotland
Re:Import different data
I'm not running the VMWare player version of Meteohub at present but I'd expect to see Meteohub as a computer in your Microsoft Windows Network with the same name as is set as Hostname on the Network page in the Meteohub interface (you might want to check the Workgroup that is set there too).GekoCH wrote:EDIT: Can't find the Folder in the Network...
If you find that computer and try to open it you'll be asked for a username and password - use meteohub for both (regardless of what usernames and passwords you might be using for anything else).
Once that is open you should see various folders, including "myweb".
Does that help?