# Reading Weather Station data from a different subnet than the Hub is connected to

**URL:** https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926
**Category:** Tempest Owners
**Tags:** hub, data-access
**Created:** [May 2, 2018, 8:09am UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926 "2018-05-02T08:09:04Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![petercek](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@petercek](https://community.tempest.earth/u/petercek)
#### Post date: [May 2, 2018, 8:09am UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/1 "2018-05-02T08:09:04Z")

</div>

I’ll have the Hub connected to a Wifi router but my laptop (with Weather Display) is connected to a different network:

`-->optic fibre --> ISP router---> WD laptop (Eth)`  
… . . . . . . . . . . . . . . . . . . . . . . . . . . .`|---> Wifi router <--> WF Hub`

Will this configuration work? I want WD to log the Hub’s data. Do I need to open some port on the ISP router? Or?

Thank you

---

<div class="post-metadata">

### Author: ![vreihen](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vreihen/32/13217_2.png) [@vreihen](https://community.tempest.earth/u/vreihen)
#### Post date: [May 2, 2018, 11:09am UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/2 "2018-05-02T11:09:25Z")

</div>

UDP broadcasts do not cross IP subnet boundaries. WD will need to have a network interface of some sort on the same network as the WF Hub. Does the laptop have a wifi adapter that could connect to the same network as the WF Hub with a static IP address and no default gateway defined???

---

<div class="post-metadata">

### Author: ![dan.gealt](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/dan.gealt/32/4908_2.png) [@dan.gealt](https://community.tempest.earth/u/dan.gealt)
#### Post date: [May 2, 2018, 11:17am UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/3 "2018-05-02T11:17:17Z")

</div>

@weather-display can confirm this, but my experience and understanding is that if you do not check the “use UDP data” box in the WD cronweatherflow component then WD will collect the data (and log it) from the WF backend from anywhere that has an Internet connection.

@vreihen is quite correct that if you want to log the UDP data stream directly then your logging computer must have an interface in the same network segment as the Hub since UDP broadcasts do not travel outside their local subnet.

---

<div class="post-metadata">

### Author: ![petercek](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@petercek](https://community.tempest.earth/u/petercek)
#### Post date: [May 2, 2018, 11:19am UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/4 "2018-05-02T11:19:50Z")

</div>

Laptop has a wifi adapter but the signal strength is weak at its location. I will need to move it to other place or extend the wifi range.  
Thank you all for replies.

---

<div class="post-metadata">

### Author: ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/eric/32/13553_2.png) [@eric](https://community.tempest.earth/u/eric)
#### Post date: [May 2, 2018, 2:07pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/5 "2018-05-02T14:07:03Z")

</div>

or by a small raspberry pi … cheap, doesn’t consume much energy and does the job perfectly

---

<div class="post-metadata">

### Author: ![weather-display](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/weather-display/32/989_2.png) [@weather-display](https://community.tempest.earth/u/weather-display)
#### Post date: [May 2, 2018, 5:51pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/6 "2018-05-02T17:51:33Z")

</div>

HI. yeah, you might need to extend the wifi range with a repeater if you want to get the UDP packets direct  
(otherwise WD’s cronweatherflow program can get the data via a websocket from the WF cloud servers (as described above)

---

<div class="post-metadata">

### Author: ![petercek](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@petercek](https://community.tempest.earth/u/petercek)
#### Post date: [May 2, 2018, 7:39pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/7 "2018-05-02T19:39:25Z")

</div>

Which software on RPi can work with WF? I could use one easily.

---

<div class="post-metadata">

### Author: ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/eric/32/13553_2.png) [@eric](https://community.tempest.earth/u/eric)
#### Post date: [May 2, 2018, 7:44pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/8 "2018-05-02T19:44:58Z")

</div>

For now I use weewx but I tested Weather Display

both work, maybe there are others but those two are confirmed.

No real reason why I use one or the other … both can read the udp packages (weewx via a plugin you can find on this forum, WD is all inbuild …

I’d say, test both and pick the one you like most. WD (@weather-display) is tester and the weewx plugin coder (@vreihen) is tester aswell

happy testing 😉

---

<div class="post-metadata">

### Author: ![petercek](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@petercek](https://community.tempest.earth/u/petercek)
#### Post date: [May 2, 2018, 7:48pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/9 "2018-05-02T19:48:58Z")

</div>

By WD you mean a ConsoleWD, right? I don’t use a desktop release (Jessie for RPi) but ust a console.

---

<div class="post-metadata">

### Author: ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/eric/32/13553_2.png) [@eric](https://community.tempest.earth/u/eric)
#### Post date: [May 2, 2018, 7:51pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/10 "2018-05-02T19:51:09Z")

</div>

[http://www.weather-display.com/fileslinux.php](http://www.weather-display.com/fileslinux.php)

in more linux distribs you have a pi version

![15](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/b/ba68ee50c1282a66e97b47e8fa428b11050fcb72.png)

---

<div class="post-metadata">

### Author: ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)
#### Post date: [May 2, 2018, 7:51pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/11 "2018-05-02T19:51:12Z")

</div>

You can also use this to capture and archive WeatherFlow UDP data.

> [@ArchiveSW - Display & Data Archive Storage](https://community.tempest.earth/t/wfarchiver-data-archive-storage/790):
>
> Version 1.7.15 released. 21 December 2018. This is a stable release and has been tested and run for over a week with no restarts or errors. Runs under Linux 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018. Use the 2018-11-13-raspbian-stretch.img. This package is written and tested to run on a Raspberry Pi 3 but may run on older Pi units and the Pi Zero. The application will listen on port 50222 for UDP data from the Smart Weather Station Hub. The data will be stored in a MariaDB (MySQL) da…

---

<div class="post-metadata">

### Author: ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/eric/32/13553_2.png) [@eric](https://community.tempest.earth/u/eric)
#### Post date: [May 2, 2018, 7:52pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/12 "2018-05-02T19:52:02Z")

</div>

indeed, so new I’m not yet used to it and I personally didn’t test it yet … soon

sorry Gary

---

<div class="post-metadata">

### Author: ![petercek](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@petercek](https://community.tempest.earth/u/petercek)
#### Post date: [May 2, 2018, 7:57pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/13 "2018-05-02T19:57:32Z")

</div>

Great, thanks all for feedback! I’ll also try to redirect the traffic on port 50222 to my different subnet. But I may give a RPi a try first.  
I’m used to WD but my colleague uses a weewx with his station. I’m happy there are options. Also the default software seems to do a very good job!

---

<div class="post-metadata">

### Author: ![dan.gealt](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/dan.gealt/32/4908_2.png) [@dan.gealt](https://community.tempest.earth/u/dan.gealt)
#### Post date: [May 2, 2018, 8:56pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/14 "2018-05-02T20:56:19Z")

</div>

I use both WeatherDisplay by Brian Hamilton on my MacBook and WFArchiver by Gary Funk on a Raspberry Pi 3b. Both are excellent for what I need to do. And both authors are WeatherFlow Field-Testers.

---

<div class="post-metadata">

### Author: ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)
#### Post date: [May 2, 2018, 10:53pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/15 "2018-05-02T22:53:54Z")

</div>

You have the choice of changing your network by changing the subnet to a /23 or changing the Wi-Fi router to a Bridge.

Is there a reason you have the two segregated?

---

<div class="post-metadata">

### Author: ![petercek](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@petercek](https://community.tempest.earth/u/petercek)
#### Post date: [March 5, 2020, 9:11pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/16 "2020-03-05T21:11:57Z")

</div>

I’ll set up a Sky (only) to a location without RPi or PC in the local wifi. Is there any other software I could use to read the data in another location similar to cronweatherflow ? I like WD but would only be logging wind, solar and rain. I’m also not sure WD would work without the Air (no pressure value).  
Thanks.

---

<div class="post-metadata">

### Author: ![vinceskahan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vinceskahan/32/2785_2.png) [@vinceskahan](https://community.tempest.earth/u/vinceskahan)
#### Post date: [March 6, 2020, 2:05am UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/17 "2020-03-06T02:05:42Z")

</div>

I think you need a hub within RF range of the Sky, as the hub is what sends the data…

---

<div class="post-metadata">

### Author: ![petercek](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@petercek](https://community.tempest.earth/u/petercek)
#### Post date: [March 6, 2020, 3:32am UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/18 "2020-03-06T03:32:29Z")

</div>

Yes, I will have one Sky and one Hub in location A and would like to log data in location B. I could probably do it with weatherdisplay but would like to avoid having a PC for this. WD is able to take data locally (within same network where Hub is) or remotely. It reads from the WF’s server I guess.

---

<div class="post-metadata">

### Author: ![btst.online](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/btst.online/32/16538_2.png) [@btst.online](https://community.tempest.earth/u/btst.online)
#### Post date: [March 6, 2020, 1:19pm UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/19 "2020-03-06T13:19:48Z")

</div>

Correct…  
You _ **can** _ read from location B… as long as B has a HUB and it’s talking to the WF servers.  
–Sam

---

<div class="post-metadata">

### Author: ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/eric/32/13553_2.png) [@eric](https://community.tempest.earth/u/eric)
#### Post date: [March 7, 2020, 9:32am UTC](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926/20 "2020-03-07T09:32:50Z")

</div>

I can imagine different scenario but all need coding skills. As you pointed out, Sky and Hub need to be used together as the Sky can not communicate to something else. Plus the hub pre processes data and you would loose all the benefit of it if it were direct communication with the Sky.

- you use some UDP package grabber and store locally to a database that you push or pull to another server but you don’t have realtime

- you use an UDP grabbing package and push it to a remote database (sql allows to store remotely even 10k miles away)  
…

Some here on forum posted code on how to grab the UDP packages but from there you need to add whatever system you would like to achieve your goal. But in any case you will need a device (PI or even an small Arduino thing cold to it I think) to grab the data and push or pull the data across

the only other option is to go grab the data again from WeatherFlow servers via the API (links on in top menu)

[Next page](https://community.tempest.earth/t/reading-weather-station-data-from-a-different-subnet-than-the-hub-is-connected-to/926.md?page=2)
