Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024

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

Wrong 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

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:

Wrong port

Post by Adrian Hudson »

Hi Steve,

I copied the files into my cumulus folder (after taking a copy of course!!). On running and starting the web interface nothing was happening - no data from station showing.

2015-01-04 15:16:35.888 ========================== Cumulus MX starting ==========================
2015-01-04 15:16:35.889 Cumulus MX v.3.0.0
2015-01-04 15:16:35.891 Platform: Win32NT
2015-01-04 15:16:35.891 Current culture: English (United Kingdom)
2015-01-04 15:16:35.891 04/01/2015 15:16:35
2015-01-04 15:16:35.891 Data path = data\
2015-01-04 15:16:35.898 Creating backup folder backup\20150104151635\
2015-01-04 15:16:35.929 Reading Cumulus.ini file
2015-01-04 15:16:35.939 Cumulus start date: 01/08/2004
2015-01-04 15:16:35.969 Station type: Davis Vantage Pro2
2015-01-04 15:16:35.969 Cumulus Starting
2015-01-04 15:16:35.970 Opening station
Last update time from today.ini: 04/01/2015 15:00:00
Read today file: Date = 04/01/2015, LastUpdateTime = 04/01/2015 15:00:00, Month = 1
ReadTodayfile: set notraininit false
C:\Cumulus\data\alltime.ini
Alltime.ini file read
MonthlyAlltime.ini file read
Month.ini file read
Year.ini file read
Finding raintoday from logfile data\Jan15log.txt
Midnight rain found in the following entry:
04/01/15,00:00,4.7,92,3.5,8.8,16.9,77,0.0,0.8,1031.06,22.0,22.0,43,10.2,2.6,4.7,0.0,0,0.36,1.37,1.6,0,0.0,71,0.0,0.0
Setting raintoday from logfile = 0
Calculating rain counter = 22
Midnight rain found = 22
Getting rain totals, rain season start = 1
Rainthismonth from dayfile.txt: 21.8
Rainthisyear from dayfile.txt: 21.8
2015-01-04 15:16:36.164 Station type = Davis
2015-01-04 15:16:36.164 COM port = COM1
2015-01-04 15:16:36.165 The port 'COM1' does not exist.
2015-01-04 15:16:36.165 Not Connected
2015-01-04 15:16:36.211 624 web tags initialised
2015-01-04 15:16:36.254 HTML root path = C:\Cumulus\interface
2015-01-04 15:16:36.278 Starting web socket server on port 8002

Seems to be trying to use COM1 athough my Cumulus.ini file is configured (correctly as COM3):

[Station]
Type=1
Model=Davis Vantage Pro 2
Port=3

Com port is showing as 3 in the web interface settings. I tried changing it to another port and then back to 3 but the .ini file was not updated.

Adrian
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: Wrong port

Post by steve »

Thanks - the first part is an easy fix. Can you clarify the part about changing the setting - are you saying that the Cumulus.ini file doesn't get updated if you change the serial port number and save it via the web interface?
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: Wrong port

Post by Adrian Hudson »

steve wrote: are you saying that the Cumulus.ini file doesn't get updated if you change the serial port number and save it via the web interface?
Exactly :-)

Edit: I just tried it from a different browser (I notmally use chrome so tried IE) with the same result: ini file was not updated. Tried changing a number of other parameters - same result.
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: Wrong port

Post by steve »

That's odd. If I change my serial port from 1 to 3 using the interface, after I click 'Save' and get the confirmation back it changes the Port=1 line to Port=3, and then I can change it back again.

Do you get the confirmation popup after you save the settings?
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: Wrong port

Post by Adrian Hudson »

steve wrote:Do you get the confirmation popup after you save the settings?
Err, no. I didn't know there WAS a confirmation popup! lol

Edit: sorry, did I say "lol" how embarrassing!
Last edited by Adrian Hudson on Sun 04 Jan 2015 5:10 pm, edited 1 time in total.
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: Wrong port

Post by steve »

Ah, right, so the problem is that your settings update is failing altogether. It should look like this:
2015-01-04 17_05_52-Cumulus MX.png
I had thought that some kind of failure message would be shown if it failed.
You do not have the required permissions to view the files attached to this post.
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: Wrong port

Post by steve »

If you use the 'network' tab in the Chrome developer console you will be able to see the response from the 'updatestationconfig.json' call. There may also be something logged in the MXdiags file.
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: Wrong port

Post by Adrian Hudson »

The only thing that comes up in the chrome console is:

http://blah:8998/lib/bootstrap/css/boot ... me.css.map 404 not found

...which does indeed not seem to be in that folder. Anything to do with it?
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: Wrong port

Post by steve »

No, that's not important. After that, when you click on the Save button, you should see a call to updatestationconfig.json, like this:
2015-01-04 17_53_40-Cumulus MX.png
If you don't get that, I have no idea what's wrong. Some kind of javascript problem.
You do not have the required permissions to view the files attached to this post.
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: Wrong port

Post by steve »

Adrian, I've updated the download with a new build, hopefully you can use COM3 now (you may have to edit Cumulus.ini if the web interface won't change the settings for you).
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: Wrong port

Post by Adrian Hudson »

Thanks Steve. Will try the new version.

On the updating of the ini file issue: I installed a fresh copy on a laptop and ran the browser locally. The ini updated fine so the issue is something to do with my weather pc it seems.

Will report back.
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: Wrong port

Post by Adrian Hudson »

New version is running fine and downloading data from VP2.

Still not updating the ini file but I will work on that
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: Wrong port

Post by steve »

OK - thanks.
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: Wrong port

Post by Adrian Hudson »

I can't figure out what is wrong with the update button on the station settings page. The save button on the Internet settings page seems to work.

Other things I have found so far:

1. Although the ini says 10 minue logging, it is logging at 5 minute intervals
2. The Now page shows all dashes
3. The Today/Yesterday page also shows dashes
4. The Records page shows but there is no data in it
(I don't have any extra sensors so no idea if that is working or not)
5. The Load button on the Data Log Viewer doesn't work (probably the same problem as the setting page)

All other pages work and look good.

It uploads all files normally and my website is working fine - so far - I am VERY IMPRESSED by that!!.

Wunderground, CWOP and WOW do not seem to be uploading (not sure about other services will report more as I find out)

Did I read you no longer create the graphs on the server? Will have to trash that page on the website I guess. (one to add to the FAQs)
Last edited by Adrian Hudson on Sun 04 Jan 2015 7:57 pm, edited 1 time in total.
water01
Posts: 3292
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Wrong port

Post by water01 »

It uploads all files normally and my website is working fine - so far - I am VERY IMPRESSED by that!!.
Adrian, does your site use php web tags i.e. cumuluswebtags.php
David
Image
Locked