Page 1 of 1

v4 and connection to stations on another Meteohub...

Posted: Sun Apr 05, 2009 1:59 pm
by skyewright
On page 28 of the English v4.2 manual it says "If you want to connect to another Meteohub via TCP/IP you have to choose this option. Stations: all stations connected to a Meteohub"

I'm running v4.2a and can't seem to find that option. Am I missing something obvious?

Re:v4 and connection to stations on another Meteohub...

Posted: Sun Apr 05, 2009 7:26 pm
by YJB
Hi This is my understanding:

- One selecs with the 'add another weather station' the stationtype used on the 1st Meteohub
- In the configuration screen "type of connection" should be "TCP/IP Meteohub"
- Device <ip address>:5500 (for the 1st weather station on the mentioned meteohub)

HTH

Re:v4 and connection to stations on another Meteohub...

Posted: Sun Apr 05, 2009 7:33 pm
by admin
Yep, the phrase "Stations: all stations connected to a Meteohub" wants to tell you that this works for all kinds of stations. When you have a Meteohub B that should connect to a Meteohub A that has a Vantage connected via USB, then choose "Vantage" as weather station in Meteohub B and select connection method "Meteohub TCP/IP". That way Meteohub B is daisy-chained to incoming data of Meteohub A.

What can this be good for? Well you can setup a network of weather stations around the world, all with a local connected Meteohub and Internet connection. Then you can have one master Meteohub (running on a big VMware server for example) that connects to all these Meteohubs via Internet and sucks sensor data from it. Each Weather station out there is represented as a weather station in the master Meteohub and you can do all the graphing, etc. on the master Meteohub, the slaves are just delivering raw data. When you have WLIPed Vantages the Meteohub slaves are not necessary, as you can connect to them directly via TCP/IP, but most other weather stations don't provide direct TCP/IP accessibility.

OK, this might be a bit over the top, but I wanted to give an idea about options ;-)

Re:v4 and connection to stations on another Meteohub...

Posted: Sun Apr 05, 2009 10:33 pm
by skyewright
admin wrote:Yep, the phrase "Stations: all stations connected to a Meteohub" wants to tell you that this works for all kinds of stations.
That's what I was hoping for. :)
I've previously done this when, in the early days of v4, I tested a connection to a USB RFXCOM on another Meteohub, but now I want to connect to a "Plug-in" station on another Meteohub, and plug-ins don't have a "TCP/IP Meteohub" "type of connection" available...

I tried using <meteohub IP>:5503 as the "Plug-in path" (the Plug-in is station 3 on the other Meteohub), but that just seems to result in this in the meteohub log.
ogger (05.04.2009 21:25:02): connect station 1 (Plug-in).
logger (05.04.2009 21:25:02): unexpected 0 bytes delivered from weather station 1 (Plug-in)
logger (05.04.2009 21:25:02): disconnect station 1 (Plug-in).
logger (05.04.2009 21:25:35): connect station 1 (Plug-in).
logger (05.04.2009 21:25:35): unexpected 0 bytes delivered from weather station 1 (Plug-in)
logger (05.04.2009 21:25:35): disconnect station 1 (Plug-in).
logger (05.04.2009 21:26:06): connect station 1 (Plug-in).
logger (05.04.2009 21:26:06): unexpected 0 bytes delivered from weather station 1 (Plug-in)
logger (05.04.2009 21:26:06): disconnect station 1 (Plug-in).
Should what I'm trying to do be possible?
admin wrote:OK, this might be a bit over the top, but I wanted to give an idea about options ;-)
I'm delighted to have provided a platform for the explanation. :)

Re:v4 and connection to stations on another Meteohub...

Posted: Sun Apr 05, 2009 10:49 pm
by admin
ah, now I see. What you try is logical and should be covered by Meteohub's model. Unfortunately, I haven't applied this data reflection technique to plugins. I overlooked this. I will inspect the code and see, if it can be done easily.

Re:v4 and connection to stations on another Meteohub...

Posted: Sun Apr 05, 2009 11:43 pm
by skyewright
admin wrote:I will inspect the code and see, if it can be done easily.
Thank you. Your attention is appreciated.

If I can assist in any way, e.g. testing, etc., please feel free to ask.

Re:v4 and connection to stations on another Meteohub...

Posted: Thu Apr 09, 2009 10:48 pm
by skyewright
Just to round this off, Boris found a way, so Meteohub 4.2b has introduced changes that allow 'data reflection' to work for the plug-in style weather station. :cheer:

Thank you, Boris.