Sandaysoft

Support forum for Cumulus weather station software
It is currently Fri May 24, 2013 1:28 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Dynamic IP, can Cumulus be configured to accept a DNS name?
PostPosted: Mon Apr 23, 2012 9:34 pm 
Offline

Joined: Mon Apr 23, 2012 9:23 pm
Posts: 8
Location: Finland
Weather Station: Vantage Vue
Operating System: WS 2003
HI,
Sorry if this is answered already but I could not find an answer fro my dilemma.

I have a vantage vue weather station with the IP logger and would like to send the data to a server directly over the net without the need of having a PC connected to the station but rather mobile connection using a 3G router. The 3G connection obviously do not have a fixed IP address but can be connected to e.g. DynDNS to get a DNS name.

Is there a way to configure Cumulus to accept a connection from a DNS name rather than an IP address?


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Mon Apr 23, 2012 10:27 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17600
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
The spec for the command to connect to the IP logger doesn't mention being able to use a host name, so it looks like it wouldn't work. You could always just try it.

Quote:
short int OpenTCPIPPort_V (const char *TCPPort, const char *IPAddr)
Description
Use this function to open the port of the TCPIP WeatherLink IP device. Example:

OpenTCPIPPort_V(“22222”, ”00:1D:0A:00:00:4A”);

OpenTCPIPPort_V(“22222”, ”172.16.24.12”).

The software automatically detects the 2nd parameter as either a Device ID or an IP Address by looking at the format of the string.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Tue Apr 24, 2012 6:18 am 
Offline

Joined: Mon Apr 23, 2012 9:23 pm
Posts: 8
Location: Finland
Weather Station: Vantage Vue
Operating System: WS 2003
Thanks for the reply Steve,

A thought occurred to me (it happens rather seldom thats why i felt obligated to write it here :)

How much trouble would it be to make Cumulus support a dns query?
E.g. You could add the DNS name to the UI but what it would do in the background would be finding out the IP of the name and use that to connect to the IP logger...

i would just love to NOT have to put a PC in the place where the weatherstation is.


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Tue Apr 24, 2012 7:52 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17600
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Yes, I could add a DNS lookup to Cumulus for the IP logger. If you want to create an enhancement request, then it won't get forgotten.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Wed Apr 25, 2012 9:30 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1772
Location: World...
Weather Station: No weather station
Operating System: No operating system
drizzle wrote:
...would like to send the data to a server directly over the net without the need of having a PC connected to the station...
That is exactly the purpose of the Davis Instruments WeatherLinkIP adapter (ie: model #6555) - the adapter has been designed to send the data captured by either a Vantage Pro or a Vantage Vue weather station directly over the Internet without the use of a PC.

The only problem is that the WeatherLinkIP adapter can and will contact and send data to only one site, the Davis Instruments WeatherLink Network and nowhere else!

Trying to get (capture) data from the WeatherLinkIP adapter by directly accessing its IP address is very unreliable at best ... unless the adapter's option to automatically uploads to the WeatherLink Network is de-activated.


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Fri Apr 27, 2012 7:52 pm 
Offline

Joined: Mon Apr 23, 2012 9:23 pm
Posts: 8
Location: Finland
Weather Station: Vantage Vue
Operating System: WS 2003
It is disabled yes, I have now had it on for quite a while and it seem to work flawlessly. Tomorrow it will be installed to its intended location and then the traffic will be over a 3G link. The IP is the same as long a s the router does not boot or experience any other problems.
Very happy when/if the DNS lookup is being coded. Meanwhile I can check the IP address from the no-ip.org account and change it accordingly...


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Sat Apr 28, 2012 8:25 pm 
Offline

Joined: Sun Apr 01, 2012 8:08 pm
Posts: 12
Location: Lohtaja, Finland
Weather Station: Davis Vantage Pro2
Operating System: Windows7
Well I have had VP2 with Ip datalogger connected now with ADSL and dynamic dns 10km far away from my home and
Cumulus connects with my dyndns address without problems. 4th day going without any connection problems.

Johannes


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Sat Apr 28, 2012 10:00 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17600
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
oh6hfx wrote:
Cumulus connects with my dyndns address without problems.

I had a feeling that it did work, despite what the spec says, which is why I suggested to "drizzle" that it was worth trying.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Sun Apr 29, 2012 11:49 am 
Offline

Joined: Mon Apr 23, 2012 9:23 pm
Posts: 8
Location: Finland
Weather Station: Vantage Vue
Operating System: WS 2003
I'l be damned, it really does work!

Then this is an easy improvement Steve, just change the topic from "IP Address" to "IP address or URL" :D

Cheers
Tom


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Sun Apr 29, 2012 11:52 am 
Offline

Joined: Mon Apr 23, 2012 9:23 pm
Posts: 8
Location: Finland
Weather Station: Vantage Vue
Operating System: WS 2003
I forgot...

If you need a translation to Finnish i just did that for this site of mine http://www.efnu.fi I'm happy to provide it for you.

-Tom


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Mon Apr 30, 2012 4:42 am 
Offline

Joined: Sun Apr 01, 2012 8:08 pm
Posts: 12
Location: Lohtaja, Finland
Weather Station: Davis Vantage Pro2
Operating System: Windows7
Thanks for your offer Drizzle, I was searching for a ready Finnish template two weeks ago, but did not find, so I did it myself :)

Last night two minutes outage in connection, have to look if it was ADSL going down or up there.

My site http://www.ohtakari.com

Johannes


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Mon Apr 30, 2012 7:42 am 
Offline

Joined: Mon Apr 23, 2012 9:23 pm
Posts: 8
Location: Finland
Weather Station: Vantage Vue
Operating System: WS 2003
A little update to the DNS issue...

If I close Cumulus and start it again it fails to connect to the weather station when there is a DNS name instead of the IP address.
If I then ping the name, get the IP address and add it, it works. then if I change the Newly added IP address in cumulus back to the DNS name it seems to be working...

Can you think of any reason for this behaviour?


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Mon Apr 30, 2012 8:44 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17600
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Some kind of name resolution issue, I guess. I've just tried experimenting putting various host names in, while running Wireshark, and I can see that it successfully did a name lookup each time, and then attempted to connect to port 5511 at the address that the name resolves to. The connect failed, of course, as there isn't actually an IP logger to connect to.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Mon Apr 30, 2012 9:17 am 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2521
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
drizzle wrote:
A little update to the DNS issue...

If I close Cumulus and start it again it fails to connect to the weather station when there is a DNS name instead of the IP address.
If I then ping the name, get the IP address and add it, it works. then if I change the Newly added IP address in cumulus back to the DNS name it seems to be working...

Can you think of any reason for this behaviour?

Were you just restarting Cumulus or rebooting the whole PC? If the later the network may not be ready when Cumulus starts?

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Dynamic IP, can Cumulus be configured to accept a DNS na
PostPosted: Mon Apr 30, 2012 4:06 pm 
Offline

Joined: Sun Apr 01, 2012 8:08 pm
Posts: 12
Location: Lohtaja, Finland
Weather Station: Davis Vantage Pro2
Operating System: Windows7
Now I remember also, that when I had the dyndns name in Cumulus and started it again, it was hanging in
"loading data" for minutes, then I gave up. So far "catching up" the logger has not been working, I have restarted Cumulus maybe two-three times but
as it is anyway running 24/7 it is not really issue until adsl line in either one end fails for some time...

By the way, when Davis IP logger was here in my local network, I experienced that the data rate from the logger is incredible slow. When I access the logger with HTTP
the front page loads slowly as well.. Maybe there is no need for gigabit ethernet to transfer simple weather data :)

Johannes


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group