Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Cumulus MX and Meteobridge

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

User avatar
grwkak
Posts: 173
Joined: Fri 28 Jun 2013 12:32 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Hambden, Ohio US
Contact:

Cumulus MX and Meteobridge

Post by grwkak »

I have a Meteobridge:

http://wiki.meteobridge.com/wiki/index.php/Home

In the most recent version of the firmware/software for this device it opens up port 22222 and allows software to access data from the weather station that is attached.

Cumulus works with this system and my attached Vantage Vue console - supply the IP address of the Meteobridge and you can collect data.

Cumulus MX does not seem to work - I get zeros in the display and no data seems to accumulate.

This may be a very niche application and product - is it worth troubleshooting. Given the vast array of devices/users in Beta test I do not want to add to the laod if it is not of value...

Guy
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus MX and Meteobridge

Post by steve »

Well, since it should work, it's probably worth investigating. It may be a bug in MX. If you attach the diags file I'll have a look (but the problem may need extra diagnostics adding).
Steve
Adrian Hudson
Posts: 220
Joined: Mon 03 Jan 2011 4:27 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 7
Location: Willand, mid Devon.
Contact:

Re: Cumulus MX and Meteobridge

Post by Adrian Hudson »

Just a thought... have you tried UseDavisLoop2=0?
User avatar
grwkak
Posts: 173
Joined: Fri 28 Jun 2013 12:32 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Hambden, Ohio US
Contact:

Re: Cumulus MX and Meteobridge

Post by grwkak »

If Davisloop2=1 then nothing displays, if =0 then zeros.

Let me let it run a bit and later today will provide the diags files.

Guy
User avatar
grwkak
Posts: 173
Joined: Fri 28 Jun 2013 12:32 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Hambden, Ohio US
Contact:

Re: Cumulus MX and Meteobridge

Post by grwkak »

A few items I have checked:

Windows Firewall - disabling does not change the issue
Running a fresh "install" of 3010 - same as 3009 (just in case, I realize nothing may have been done between the two builds to affect this issue).
Ran WeatherLink on the same PC - it finds the Vantage Vue console, can configure it and download data using the IP address and port 22222

Note this is a different PC than my server - running Windows 8.1

No data seen in the data directory after several minutes

Diags folder attached.

Guy
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus MX and Meteobridge

Post by steve »

As I understand it, the way this new feature is supposed to work is that it gives the connecting program control of the station, i.e. it is transparent, rather than offering an emulation, as with Virtual VP, for example. So if MX works direct to the station, but not via the Meteobridge, then it seems to me that the connection is not transparent and the problem is with Meteobridge. When you connect directly using MX, is that via TCP/IP - i.e. is it an IP logger?

I did notice a while ago that MX does not obey the protocol spec completely, for TCP/IP connections. It doesn't send a terminating newline on the LOOP commands. This doesn't seem to bother a real directly connected station, or even VVP. And that isn't the problem here, as it doesn't get that far, it's not getting a response to the DMPAFT command (which does get terminated correctly).
Steve
User avatar
grwkak
Posts: 173
Joined: Fri 28 Jun 2013 12:32 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Hambden, Ohio US
Contact:

Re: Cumulus MX and Meteobridge

Post by grwkak »

You do connect via the IP address of the Meteobridge - and use port 22222. The description on the wiki talks about exposing the port - and does seem to describe it in terms of a "Virtual Vantage" program. Not sure that helps - I am not clear if its a direct connection or more of a pass through.

Here is how it is described by the author of the firmware:

Version 2.5 allows to share a connected Davis Vantage with a PC program, which is something very often requested.
Now you can have Meteobridge doing the standard tasks, while you still can run your PC weather program of
choice to do additional computations with your weather data. Meteobridge acts like a Davis IP data logger and
provides TCP/IP communication on port 22222 (like the original Davis IP data logger).

and


released January 17, 2015
allow daisy chaining of any Davis Vantage PC weather program. A Meteobridge connected to a Davis Vantage by an Davis data logger (regardless if serial, USB or IP) exposes the Vantage on port 22222 like a Davis IO data logger. This allows other weather programs to also connect to the Davis Vantage and to read data in parallel from it. Only one additional program can read data from the Vantage. Function is a bit similar to the "Virtual Vantage" program that has been offered as a PC solution. Difference is that Meteobridge also supports LOOP2 communication (which "Virtual Vantage" does not) but as a downside Meteobridge can handle only one additional client (instead of 8 like "Virtual Vantage")

Guy
Last edited by grwkak on Tue 20 Jan 2015 11:32 am, edited 1 time in total.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX and Meteobridge

Post by mcrossley »

steve wrote:And that isn't the problem here, as it doesn't get that far, it's not getting a response to the DMPAFT command (which does get terminated correctly).
Steve, you know what the diags mean better than me, but I read it that MX gets an ACK to DMPAFT as it then says it is sending the date/time, but then no response after sending the date/time?

Not sure what that means. But maybe a test would be to point putty at the port and enter the commands manually and see what the responses are (or aren't). It would mean pre-creating the checksums though.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus MX and Meteobridge

Post by steve »

Yes, you're right. It's sent the date and time (+CRC), waited half a second and then looked for an ACK and not got one. I should add some more tracing there to show the bytes being sent and whether anything came back - it might have got a CANCEL or a NAK back.
Steve
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus MX and Meteobridge

Post by steve »

I've put the extra diags tracing in, if you'd like to give it another try.
Steve
User avatar
grwkak
Posts: 173
Joined: Fri 28 Jun 2013 12:32 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Hambden, Ohio US
Contact:

Re: Cumulus MX and Meteobridge

Post by grwkak »

Ran for a few minutes - diags attached.

Guy
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus MX and Meteobridge

Post by steve »

It expects to get an 'ACK' (0x06) back when its sent the date and time, but it's getting an assortment of other characters:

2015-01-22 19:50:32.958 Received response to DMPAFT, sending date and time
2015-01-22 19:50:32.959 36-1E-9E-07-18-11
2015-01-22 19:50:33.459 Received 0x0A
2015-01-22 19:50:33.459 Received 0x0D
2015-01-22 19:50:33.459 Received 0x29
2015-01-22 19:50:33.459 Received 0x3A
2015-01-22 19:50:33.459 Received 0x0A
2015-01-22 19:50:33.459 Received 0x0D
2015-01-22 19:50:33.459 Received 0x0A
2015-01-22 19:50:33.459 Received 0x0D
2015-01-22 19:50:33.459 No ACK

If it thought that the CRC was wrong, it should send 0x21, and if it didn't receive the correct number of bytes it should reply with 0x21. The spec also mentions 0x15 as a valid 'negative acknowledge ' response. But not the characters that is apparently sending.
Steve
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX and Meteobridge

Post by mcrossley »

0x29 0x3A = ): That about sums it up :roll:
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus MX and Meteobridge

Post by steve »

Yes, perhaps that's an undocumented 'negative acknowledge' :lol:
Steve
User avatar
grwkak
Posts: 173
Joined: Fri 28 Jun 2013 12:32 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Hambden, Ohio US
Contact:

Re: Cumulus MX and Meteobridge

Post by grwkak »

Sounds like I need to contact the Meteobridge code author?

Guy
Locked