Page 2 of 2

Re: New user - Vantage Vue - More frequent wind data?

Posted: Thu 04 Dec 2014 7:05 pm
by steve
I really don't know what to suggest. I know next to nothing about the Weatherlink IP, and in any case the communication with the logger is handled entirely by the Davis DLL. All Cumulus does is to keep reading the latest data from the DLL. Perhaps the problem is something to do with the fact that the WLIP and the PC are connected via the internet. I'm not aware of anyone else with this issue, and I'm sure someone with a WLIP would have noticed by now - but most people are not connecting via the internet.

Have you tried running Weatherlink instead of Cumulus, to see if its live data reading also stops for six minute periods?

Re: New user - Vantage Vue - More frequent wind data?

Posted: Thu 04 Dec 2014 7:41 pm
by sunray
Hi Steve!
No, I have not tried the Weatherlink software, as I have mislaid the CD and don't have my old computer where it was installed :cry:
But that may have to be the next avenue to explore. And perhaps Davis support may help.

In case you still have some spare time for this problem, I attach two diagnostic files of today. In the first gap, the data stream stopped at approx. 18:07 and restarted at 18:15:56 according to the status display in the lower right corner of Cumulus. In the second gap the data stream stopped at 18:45:42, and restarted around 18:53.

Cheers!

Re: New user - Vantage Vue - More frequent wind data?

Posted: Thu 04 Dec 2014 8:59 pm
by steve
It's doing the periodic disconnect, and then at around 1807 is unable to reconnect again for several minutes (it keeps retrying, until eventually it is successful).

Re: New user - Vantage Vue - More frequent wind data?

Posted: Fri 05 Dec 2014 11:16 am
by SpaceWalker
Here is a bit of PHP code that I have used in the past to access the WeatherLink IP - unfortunately, I cannot find the documentation that was attached to that script:

Code: Select all

//Logger info
$where = '192.168.1.100'; // IP address or DNS
$port = '22222'; // TCP port number
//Trying a connection
$fp = fsockopen( $where, $port, $errno, $errstr, 10 );
if ( $fp === false ) {
  print "ERROR: $errstr ($errno)<br>\n";
}
else {
  print "Connected<br>\n";
  print "<br>\n";
  fwrite( $fp, "\n" );
  sleep( 2 );
  fwrite( $fp, "LOOP 1\n" );
  sleep( 2 );
  print '<br>\n';
  echo 'DATA:<br>\n';
  print $binarray = fread( $fp, 4096 );
  $bin = unpack( "c*", $binarray );
  print '<br>\n';
  print 'DATA ON ARRAY:<br>\n';
  print '<pre>';
  print_r( $bin );
  print '</pre>';
}
fclose( $fp );
The data contained within the IP logger will be returned into the array '$bin'.

As I wrote above, I cannot remember (nor find the documentation) as to what each value of the array represents.