Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Cumulus 1 and Cumulus MX sharing a serial port?

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
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by steve »

The realtimegauges.txt file isn't on the server at the place the gauges are looking for them, which is here - http://home.comcast.net/~pcalleros/weat ... gauges.txt.

Perhaps you need a path for the remote file?
Steve
User avatar
pete_c
Posts: 228
Joined: Wed 12 Oct 2011 11:22 pm
Weather Station: Davis Vue-Pro2 - Fine Offset
Operating System: W2003-XPSP3-Linux
Location: Time Traveler

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by pete_c »

Thank-you Steve. The Gauges display is working fine.

I FTP'd to the webserver and saw the uploaded files on the root directory.

I manually did a quickie test FTPing the file over.

I changed it to the right directory and all is well.

I assumed that it was getting it's directory from the Settings / Internet Settings / WebFTPSite.
- Pete
Automator
bduren
Posts: 41
Joined: Tue 21 Jul 2009 8:43 am
Weather Station: WMR928
Operating System: W2012R2, W10, RaspberryPI 3+
Location: Sweden
Contact:

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by bduren »

Hello
For sharing same serial port I have been using VSPE from Eterlogic.com for many years.
Free for 32 bit and a samml cost for 64bit.
User avatar
pete_c
Posts: 228
Joined: Wed 12 Oct 2011 11:22 pm
Weather Station: Davis Vue-Pro2 - Fine Offset
Operating System: W2003-XPSP3-Linux
Location: Time Traveler

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by pete_c »

@Steve,

Somewhere here I am not doing this correctly. I manually moved the file named realtimegauges.txt to the root directory of the web server and it works fine. Only it has never changed. The rest of the Cumulus stuff appears to be just fine.

So I am stuck here a bit and getting frustrated. This file has never changed for whatever reason since I have manually copied it.

http://home.comcast.net/~pcalleros/weat ... gauges.txt

The Cumulus website link is: http://lockport5.golffan.us/

This is what I see.
staticguagesneverchanged.gif
This is my current configuration under Settings / Extra Web files (is this all that is needed?)
extrawebfiles.gif
Web FTP settings.
webftpsettings.gif
You do not have the required permissions to view the files attached to this post.
- Pete
Automator
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by steve »

bduren wrote:For sharing same serial port I have been using VSPE from Eterlogic.com for many years.
That's fine for the WMR928, where the protocol just requires listening for the data, but not for other stations which have an 'interactive' protocol.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by steve »

Pete, I suspect your path is still wrong; putting a slash on the front means that the weather3 directory is in the root directory, which it probably isn't.
Steve
User avatar
pete_c
Posts: 228
Joined: Wed 12 Oct 2011 11:22 pm
Weather Station: Davis Vue-Pro2 - Fine Offset
Operating System: W2003-XPSP3-Linux
Location: Time Traveler

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by pete_c »

Thank you Steve.

Yes; my FTP configured uploaded directory is /weather3

So I am guessing that I do not need to put anything in front of the file name as it is supposed to FTP directly to that directory.

I apologize as I am confusing myself doing this.

It almost looks like the process piece isn't processing? I do not see anything out of the ordinary in the mxdiagnostic logs.

The ftp logs are showing: (curious where realtime.txttmp is coming from - is it just the service changing the name?) - not seeing the realtimeguages.txt file transfer though; IE: just the realtime.txt file stuff.

227 Entering Passive Mode (216,87,188,9,158,128)
STOR /weather3/realtime.txttmp
150 Opening BINARY mode data connection for /weather3/realtime.txttmp.
Disposing FtpSocketStream...
226 Transfer complete.
RNFR /weather3/realtime.txttmp
350 File exists, ready for destination name
RNTO /weather3/realtime.txt
250 RNTO command successful.

I changed it a bit and see realtimegaugesT.txttmp being created under /CumulusMX/web. This appears to be the correct file as it shows the correct time on the top.

{"date":"05:02",
"temp":"64.0",
"tempTL":"63.9",
"tempTH":"70.6",
"intemp":"69.8",
"dew":"63.1",

Changed the local file name to : /CumulusMX/web/realtimegaugesT.txt

Now I see it transferring over via the FTP log.

227 Entering Passive Mode (216,87,188,9,186,191)
STOR realtimegauges.txttmp
150 Opening BINARY mode data connection for realtimegauges.txttmp.
Disposing FtpSocketStream...
226 Transfer complete.
RNFR realtimegauges.txttmp
350 File exists, ready for destination name
RNTO realtimegauges.txt
250 RNTO command successful.

So now looking at it it's putting it at the root of the FTP site.

http://home.comcast.net/~pcalleros/realtimegauges.txt

So I changed it again. BTW do I also need to copy the guages file or is that not necessary?

Local file name: /CumulusMX/web/realtimegaugesT.txt
Remote file name: weather3/realtimegauges.txt
extrawebfiles.gif
Now this is correct: (well the marquee is not moving though)

http://home.comcast.net/~pcalleros/weat ... gauges.txt
updatedwebsiteguages.gif
So now I am seeing this on the main web page which doesn't make any sense to me:

Daylight: Argument is out of range.
Day length: Argument is out of range.

Because it looks fine on the local web server.

Sunrise 17:34 Sunset 08:46 Moonrise 18:21 Moonset 08:18
localwebservertop.gif
internetwebserver.gif
You do not have the required permissions to view the files attached to this post.
- Pete
Automator
User avatar
pete_c
Posts: 228
Joined: Wed 12 Oct 2011 11:22 pm
Weather Station: Davis Vue-Pro2 - Fine Offset
Operating System: W2003-XPSP3-Linux
Location: Time Traveler

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by pete_c »

@Björn

Played a bit with VSPE from Eterlogic.com and also a few other older programs mostly utilized in Wintel (well old for GPS testing stuff) and this and that.

I did also find a linux driver which works with the Wintel VSPE running software. The company now also posts newer Linux clients which is a good thing. Only thing was that this didn't work for me relating to my little project here.

The windows to windows (not specifically for CumulusMX) stuff works.

Here also use Lantronix / Digi USB/serial and Quantech stuff.

My automation boxes today are using up to 16 serial connections and 7 USB connections each (X4).

I do do stuff like utilize SD Radio to get NOAA satellite weather pictures and the Internet for this stuff mostly to play though. Personally always liked playing with satellite stuff. (going back to the 1980's)

Thing is I am mostly moving to the Linux world now for much of my automation stuff and still keeping hardware automation primarily to serial transport while too using the network for virtual automation devices. I have noticed that many of these vendors while supporting Linux didn't really keep their stuff up to date.

IE: Had a conversation with the Quatech folks. Today I utilize 3 X 4 (serial) serial Quatech servers. This company was recently bought out by B&B electronics and the new owners really could care less about supporting Linux and the old stuff they bought as they appear to still be learning about what they purchased (after a few conference calls with them). They still post very old linux drivers which do work with linux from 10 years ago. They have no interest though in updating these old drivers.

The above said just goofing around here I was using a tiny serial two way server for my Russound zoned audio devices (12 zones) for access from two pieces of software (well firmware). Leviton HAI OmniPro 2 and software running on Wintel.

Goofing around I connected this device to the Davis console with a serial cable on it (not a buffered connection) and tried it using one Wintel Server Cumulus connection via a Quatech serial server and another via a USB to serial cable on the RPI2. For whatever reasons it seems to be working fine. I know that there is a buffer on the serial server that allows only one serial port to talk at one time. Kind of mystified now after some 3 days how it continues to work. I have though put the Davis console to sleep once and couldn't wake it up for a bit.
- Pete
Automator
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by steve »

pete_c wrote:Sunrise 17:34 Sunset 08:46
You have your Longitude as East when it should be West.
Steve
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by PaulMy »

So I changed it again. BTW do I also need to copy the guages file or is that not necessary?
I believe the gaugesT.htm > gauges.htm needs to be uploaded once only.

Your ssgauges in /weather3 seem to be updating.

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
pete_c
Posts: 228
Joined: Wed 12 Oct 2011 11:22 pm
Weather Station: Davis Vue-Pro2 - Fine Offset
Operating System: W2003-XPSP3-Linux
Location: Time Traveler

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by pete_c »

You have your Longitude as East when it should be West.
Thank-you Steve. Geez missed that. It didn't change dynamically such that I had to shut down CumulusMX and restart it. This gave me a chance to see if the connection stays up on the tiny serial server. It did and didn't ding Cumulus 1 running on Windows server via the networked Quatech server connection.
I believe the gaugesT.htm > gauges.htm needs to be uploaded once only.

Your ssgauges in /weather3 seem to be updating.
Thank-you Paul
- Pete
Automator
User avatar
pete_c
Posts: 228
Joined: Wed 12 Oct 2011 11:22 pm
Weather Station: Davis Vue-Pro2 - Fine Offset
Operating System: W2003-XPSP3-Linux
Location: Time Traveler

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by pete_c »

Just a quickie update. Here yesterday had a short power outage (5 hours). Mostly everything is on backup.

That said the concoction of the Davis console==> serial cable (no buffer) ==> serial server (splitter) ==>
1 - Quatech serial server ==> Cumulus 1 running on Wintel Server
2 - RPi2 == > Cumulus MX running in Linux

Did take power hits. Both returned to function just fine.

Purchased a second Davis Console here for autonomously connecting a Davis Vantage Pro II in the next few days.

Curious about the diagnostic Davis console data stuff. I enabled it on the RPi2 / Cumulus MX and did start seeing a bunch more stuff in the mxdiagnostic logs.

DavisReadReceptionStats=0

2015-06-20 08:50:10.112 Reading reception stats
2015-06-20 08:50:10.413 541 0 0 541 1
2015-06-20 08:50:57.714 Reading reception stats
2015-06-20 08:51:43.475 Reading reception stats
2015-06-20 08:52:32.241 Reading reception stats

Curious other than the logs is there something on the main web pages to look at the Davis reception diagnostic data?

I understand it relates to using web tags and not there by default.

Can I just edit the main index page?
CumusMX-DavisDiagnostics.gif
You do not have the required permissions to view the files attached to this post.
- Pete
Automator
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by steve »

Yes, just edit a web page to include the relevant tags.
Steve
User avatar
pete_c
Posts: 228
Joined: Wed 12 Oct 2011 11:22 pm
Weather Station: Davis Vue-Pro2 - Fine Offset
Operating System: W2003-XPSP3-Linux
Location: Time Traveler

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by pete_c »

Thanks Steve.

Which specific web page?
cumulusweb.gif
I also want to take the Davis reception stats to the MySQL DB for some granular watching.

Today turned on debug with my currently utilize serial cable and that made CumulusMX go in to a tail spin and crash (abend) with a bunch of comm errors.

Ordered a new serial buffered data cable today for more testing.

Now using two Davis consoles.

One console will be using the USB buffered datalogger cable and the other console will be utilizing the RS-232 buffered cable to serial server configuration.
You do not have the required permissions to view the files attached to this post.
- Pete
Automator
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus 1 and Cumulus MX sharing a serial port?

Post by steve »

pete_c wrote:Which specific web page?
Whichever one you want - edit the template for that page. If you want it on the index.htm page, edit indexT.htm - see http://wiki.sandaysoft.com/a/Customised_templates
Steve
Locked