Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Running MX as a second Cumulus on same computer

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
User avatar
PaulMy
Posts: 1714
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Running MX as a second Cumulus on same computer

Postby PaulMy » Tue May 15, 2018 8:27 pm

I have recently been successfully running Cumulus 1 with VVP alongside with Weatherlink from a Davis USB logger. Cumulus 1 is set as TCP/IP with IP address 127.0.0.1 and TCP Port 5511.

I am also testing a third party WeatherlinkIP alternative logger (wireless) and would like to try this with CumulusMX. This wireless IP logger is IP 192.168.0.25 where I can view the console's data and logger settings. This is on a different console than Cumulus 1.

I have installed latest CumulusMX and can start it
CumulusMX3.png


I can access the dashboard with http://127.0.0.1:8998 or http://localhost:8998 however there is no data yet.

I have station settings as:
IP address as: 192.168.0.25 (which is the IP for the logger which I presume is what is needed)
TCP port as: 8002 (which is from CumulusMX startup Starting web socket server on port 8002)
Disconnection period: 0 (I may need to change this as the WiFiLogger is doing several uploads every 5 minutes).
CumulusMX4.png


The latest MXdiags file has
2018-05-15 12:28:37.551 ========================== Cumulus MX starting ==========================
2018-05-15 12:28:37.552 Command line: "C:\added_programs\CumulusMX\CumulusMX\CumulusMX.exe"
2018-05-15 12:28:37.552 Cumulus MX v.3.0.0 build 3043
2018-05-15 12:28:37.555 Platform: Win32NT
2018-05-15 12:28:37.555 OS version: Microsoft Windows NT 6.2.9200.0
2018-05-15 12:28:37.555 Current culture: English (Canada)
2018-05-15 12:28:37.556 Directory separator=\ Decimal separator=. List separator=,
2018-05-15 12:28:37.556 Date separator=/ Time separator=:
2018-05-15 12:28:37.556 Standard time zone name: Eastern Standard Time
2018-05-15 12:28:37.556 Daylight saving time name: Eastern Daylight Time
2018-05-15 12:28:37.556 Daylight saving time? True
2018-05-15 12:28:37.556 15/05/2018 12:28:37 PM
2018-05-15 12:28:37.556 Data path = data\
2018-05-15 12:28:37.593 Creating backup folder backup\20180515122837\
2018-05-15 12:28:37.595 Created backup folder backup\20180515122837\
2018-05-15 12:28:37.611 Reading Cumulus.ini file
2018-05-15 12:28:37.617 ASM=10 AST=00:10:00
2018-05-15 12:28:37.621 Cumulus start date: May 15, 2018
2018-05-15 12:28:37.628 Debug logging is disabled
2018-05-15 12:28:37.629 Data logging is disabled
2018-05-15 12:28:37.629 Logging interval = 5
2018-05-15 12:28:37.684 Calculating sunrise and sunset times
2018-05-15 12:28:37.689 Sunrise: 06:02:35
2018-05-15 12:28:37.689 Sunset : 20:42:03
2018-05-15 12:28:37.689 Tomorrow sunrise: 06:01:35
2018-05-15 12:28:37.689 Tomorrow sunset : 20:43:07
2018-05-15 12:28:37.699 Station type: Davis Vantage Pro2
2018-05-15 12:28:37.699 WindUnit=km/h RainUnit=mm TempUnit=°C PressureUnit=hPa
2018-05-15 12:28:37.699 YTDRain=0.000 Year=0
2018-05-15 12:28:37.699 RainDayThreshold=-1.000
2018-05-15 12:28:37.700 Offsets and Multipliers:
2018-05-15 12:28:37.700 PO=0.000 TO=0.000 HO=0 WDO=0 ITO=0.000 UVO=0.000
2018-05-15 12:28:37.700 WSM=1.000 WGM=1.000 TM=1.000 TM2=0.000 HM=1.000 RM=1.000 UVM=1.000
2018-05-15 12:28:37.700 Spike removal:
2018-05-15 12:28:37.700 TD=999.000 GD=999.000 WD=999.000 HD=999.000 PD=999.000
2018-05-15 12:28:37.700 MR=999.000 MH=999.000
2018-05-15 12:28:37.700 Cumulus Starting
2018-05-15 12:28:37.700 Opening station
2018-05-15 12:28:37.714 Last update time from today.ini: 15/05/2018 12:28:37 PM
2018-05-15 12:28:37.714 Read today file: Date = 00/00/00, LastUpdateTime = 15/05/2018 12:28:37 PM, Month = 5
2018-05-15 12:28:37.715 ET not initialised
2018-05-15 12:28:37.722 C:\added_programs\CumulusMX\CumulusMX\data\alltime.ini
2018-05-15 12:28:37.723 Alltime.ini file read
2018-05-15 12:28:37.729 MonthlyAlltime.ini file read
2018-05-15 12:28:37.735 Finding raintoday from logfile data\May18log.txt
2018-05-15 12:28:37.735 Expecting listsep=, decimal=.
2018-05-15 12:28:37.735 Setting raintoday from logfile = 0
2018-05-15 12:28:37.735 Calculating rain counter = -1
2018-05-15 12:28:37.735 Rain counter negative, setting to zero
2018-05-15 12:28:37.735 Midnight rain not found, using raindaystart
2018-05-15 12:28:37.737 Getting rain totals, rain season start = 1
2018-05-15 12:28:37.737 Today = 15/05/18
2018-05-15 12:28:37.739 Station type = Davis
2018-05-15 12:28:37.739 LOOP2 enabled
2018-05-15 12:28:37.739 IP address = 192.168.0.25 Port = 8002
2018-05-15 12:28:37.740 periodic disconnect = 0
2018-05-15 12:28:39.153 Not Connected
2018-05-15 12:28:39.183 629 web tags initialised
2018-05-15 12:28:39.193 HTML root path = C:\added_programs\CumulusMX\CumulusMX\interface
2018-05-15 12:28:39.222 Starting web socket server on port 8002
2018-05-15 15:59:01.043 Updating station settings
2018-05-15 15:59:01.082 Writing Cumulus.ini file
Exiting system due to external CTRL-C, or process kill, or shutdown
2018-05-15 16:01:42.270 Cumulus closing
2018-05-15 16:01:42.270 Writing Cumulus.ini file
2018-05-15 16:01:42.282 Closing connection
2018-05-15 16:01:42.283 Station stopped
2018-05-15 16:01:42.283 No data read this session, today.ini not written


CumulusMX5.png


Any suggestions what I may have wrong or missed?

Paul
You do not have the required permissions to view the files attached to this post.

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

Re: Running MX as a second Cumulus on same computer

Postby steve » Tue May 15, 2018 8:41 pm

In the TCP/IP settings, you need the TCP port that the logger is using, not the Cumulus interface port.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

User avatar
PaulMy
Posts: 1714
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Running MX as a second Cumulus on same computer

Postby PaulMy » Tue May 15, 2018 10:50 pm

Thanks Steve,
With that port change and some other settings in the WiFiLogger I have CumulusMX running on my computer, in addition to Cumulus 1.

Once the WiFiLogger has completed its testing phase I will look at CumulusMX uploading to website and also get in to the database side.

Paul

User avatar
PaulMy
Posts: 1714
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Running MX as a second Cumulus on same computer

Postby PaulMy » Sun May 20, 2018 2:24 pm

I am still experimenting with this setup and appears that using the full WiFiLogger features and also running Cumulus full time is not stable. CumulusMX crashes at least a couple of times per day. Attached zip has the MXdiags after the last crash and then needing to Enter to restart CumulusMX. The second file is the current.

WiFiLogger will work correct as a wireless connection from console to router and do all the uploads and its features. By turning off the WiFiLogger uploads and features it should work as a wireless connection from console to router and then program like Cumulus should connect as an TCP/IP. But not both ways at the same time. There is a Pause feature that would stop the auto WiFiLogger features but allow Cumulus access during that pause but that will not give Cumulus ongoing access. This appears to be a reverse way to how Cumulus and a Davis WeatherlinkIP logger uploads to weatherlink.com. Not sure yet how that all would work.

One other item is the Rainfall counter and Rain rate. It seems to fluctuate from 0 to an amount. Maybe this is related to the crashes.
CumulusMX6.png


There was rain yesterday of 1.6 mm but nothing today.

Paul
You do not have the required permissions to view the files attached to this post.

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

Re: Running MX as a second Cumulus on same computer

Postby steve » Sun May 20, 2018 2:43 pm

There’s a communication problem between Cumulus and the logger, Cumulus frequently isn’t getting any response, and it looks like the connection eventually fails, hence the crash.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

User avatar
PaulMy
Posts: 1714
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Running MX as a second Cumulus on same computer

Postby PaulMy » Sun May 20, 2018 3:26 pm

Thanks Steve. I will try it with the pause option enabled.

Paul


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 1 guest