Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.8.4 (build 3094) - 14 September 2020 (please see announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

Cumulus MX Announcements and Download - PLEASE READ FIRST

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

User avatar
mcrossley
Posts: 6923
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX Announcements and Download - PLEASE READ FIRST

Post by mcrossley »

Patch release 3.6.12 - b3088 is available for download
  • Fix Davis stations not downloading historic logger data (broken in b3087)
Changed files...

Code: Select all

	\CumulusMX.exe

User avatar
mcrossley
Posts: 6923
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX Announcements and Download - PLEASE READ FIRST

Post by mcrossley »

Release 3.7.0 - b3089 is available for download

There are quite a few changes in this release...
  • Fix: Humidex was treated by MX as a temperature and incorrectly converted using the Celsius to Fahrenheit conversion (if that was the user selected temperature unit). Humidex is a dimensionless scale that should not be converted to retain meaning
  • Fix: Thread unsafe graph data access
  • Fix: Real time SFTP not recovering from some reconnection situations
  • Fix: Add missing "rc" function from <#battery> web tag
  • Fix: Remove units from Humidex value on the chart tooltip
  • Fix: Station Settings page menu
  • Fix: Davis WLL devices were flagging sensor contact lost for lost packets, now it only flags contact lost when resynchronising with a transmitter
  • Adds a logger interval check for Davis VP2 stations - prints warning to console and log file if there is a mismatch
  • Now supports some of the Cumulus 1 Graph plotting options, configured via Station Settings
    • Cumulus.ini file settings

      Code: Select all

      		[Graphs]
      		TempVisible=1
      		InTempVisible=1		*new?
      		HIVisible=1
      		DPVisible=1
      		WCVisible=1
      		AppTempVisible=1
      		FeelsLikeVisible=1
      		HumidexVisible=1	*new
      		InHumVisible=1
      		OutHumVisible=1
      
  • Remove defunct WeatherBug upload from Cumulus MX
  • Humidex is now a fully fledged variable...
    • Daily, monthly, yearly highs
    • Recent data
    • Graph data - added to MX interface
    • Records
    • New Humidex web tags:

      Code: Select all

      		<#HighHumidexRecordSet>
      		<#humidexTH>, <#ThumidexTH>
      		<#humidexYH>, <#ThumidexYH>
      		<#MonthHumidexH>, <#MonthHumidexHT>, <#MonthHumidexHD>
      		<#YearHumidexH>, <#YearHumidexHT>, <#YearHumidexHD>
      		<#humidexH>, <#ThumidexH>
      		<#ByMonthHumidexH>, <#ByMonthHumidexHT>
      		<#RecentHumidex>
      
  • Add Humidex to default web site trend graphs
  • Now only calculates Humidex above 10C
  • Day file updated with four additional fields or Humidex high, high time
  • Monthly log file has an additional field for Humidex
  • Daily SQL table has four additional columns for Humidex high, high time
  • Monthly SQL table has an additional column for Humidex
  • Add new web tag <#timeUnix> = provides current date/time as a Unix timestamp (like <#timeJavaScript>)
  • The web tags <#SunshineHours> and <#YSunshineHours> now accept the decimal place parameter "dp=n"
  • Adds a new web token processor API - details available separately
  • Spike removal settings are now active for all station types - TAKE CARE! Use with caution
  • Spike/limit logging is now enabled by default for new installs
  • Adds a new alarm - Spike removal triggered - it stays active for 12 hours, or it is cleared if you save the calibration settings
    • New web tag <#DataSpikeAlarm>
    • New Cumulus.ini file settings...

      Code: Select all

      		[Alarms]
      		DataSpikeAlarmSet=0
      		DataSpikeAlarmSound=0
      		DataSpikeAlarmSoundFile=alarm.mp3
  • New "Limits" implemented. Now MX ignores temperature, dew point, pressure, and wind values outside sensible value ranges from any station type (these also trigger a spike alarm)
    • Set via the Calibration settings screen
    • New Cumulus.ini file settings...

      Code: Select all

      		[Limits]
      		TempHighC=60
      		TempLowC=-60
      		DewHighC=40
      		PressHighMB=1090
      		PressLowMB=870
      		WindHighMS=90
  • New web tags for latest build notification - these require internet access to be meaningful

    Code: Select all

    	<#NewBuildAvailable> - returns "1" or "0"
    	<#NewBuildNumber> - returns the latest available Cumulus MX build number
    



As ever I recommend updating ALL files, but here is a list of changed files...

Code: Select all

	\CumulusMX.exe
	\dayfileheader.txt
	\monthlyfileheader.txt
	\interface\alarmsettings.html
	\interface\alltimerecseditor.html
	\interface\index.html
	\interface\monthlyrecseditor.html
	\interface\stationsettings.html
	\interface\thismonthrecseditor.html
	\interface\thisyearrecseditor.html
	\interface\js\alarmsettings.js
	\interface\js\alltimerecseditor.js
	\interface\js\charts.js
	\interface\js\dashboard.js
	\interface\js\datalogs.js
	\interface\js\dayfileeditor.js
	\interface\js\monthlyrecseditor.js
	\interface\js\thismonthrecseditor.js
	\interface\js\thisyearrecseditor.js
	\interface\json\CalibrationOptions.json
	\interface\json\CalibrationSchema.json
	\interface\json\InternetOptions.json
	\interface\json\InternetSchema.json
	\webfiles\js\cumuluscharts.js


Expect some forum posts on the new API and Limits to follow...

User avatar
mcrossley
Posts: 6923
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX Announcements and Download - PLEASE READ FIRST

Post by mcrossley »

Release 3.8.0 - b3090 is available for download

This is fairly major change in that Cumulus can now be run as a service on either Windows or Linux.

If you use AWEKAS uploads, please read the important notes below.
  • Fix: Malformed API JSON returned by api/tags/process.json if no data output is generated
  • Fix: Crash on start-up on the 1st of the month between 00:00 and rollover hour when using 9am rollover
  • Fix: AWEKAS Sunshine hours were being truncated to integer hours
  • New feature: Cumulus MX now supports running as a system service
    • When running as a service the normal console output is logged to a file: \MXdiags\ServiceConsoleLog.txt
    • On Windows
      • - To set Cumulus up as a service run it as an Administrator using the command line parameter -install
      • To remove the Cumulus system service run it as an Administrator using the command line parameter -uninstall
      • The service will stop itself if it detects that the computer is going into standby
      • To add parameters to the service when it starts automatically you will have to edit the registry

        Code: Select all

        HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CumulusMX\ImagePath
        Add the parameters after the quoted executable string. Eg.
        "C:\CumulusMX\CumulusMX.exe" -port 9000
        
      • The service can be stopped/started using the usual utilities:
        The Services applet:- services.msc (You can pass parameters using this tool, but they are not saved for future use)
        The service command line tool:- sc start|stop|query CumulusMX [optional parameters for start-up here]
    • On Linux
      • Run Cumulus using the mono-service command instead of mono. You also need to add the command line parameter -service

        Code: Select all

        > mono-service -l:/var/run/cmx.pid CumulusMX.exe -service                              (if pathed to CumulusMX folder)
        
        or

        Code: Select all

        > mono-service -l:/var/run/cmx.pid -d:<</path/to/cumulusmx>> CumulusMX.exe -service    (from any location)
        
      • To stop the service you use kill, which will perform an orderly shutdown of MX

        Code: Select all

        > kill `cat /var/run/cmx.pid`
        
  • New feature:
    • When running on Linux there is now an init.d script to start/stop the service.
    • The script can be found in the \MXutils\linux folder
      • Copy it to your /etc/init.d folder
      • Change the permissions to 0755

        Code: Select all

        > chmod 0755 /etc/init.d/cumulusmx.sh
        
    • The script supports the following commands: start, stop, restart, status, removelock
      • start: Starts MX as a service and creates a lock file to prevent it running again
      • stop: Stops MX as a service and removes the lock file
      • restart: Stops, then starts MX
      • status: Reports if MX is running (only by checking the lock file at present), and dumps the latest console output to screen
      • removelock: Removes a stray lock file if one gets left behind
    • The command line would be: /etc/init.d/cumulusmx.sh start|stop|restart|status|removelock
    • Script name: \MXutils\linux\cumulusmx.sh
  • New feature:
    • When running on Windows as a service, the service will stop if the computer goes to standby/hibernate mode. A script to set up
      a Scheduled Task that will restart the service on resume from standby/hibernate is provided in the \MXutils\windows folder.
      The script MUST be run with Administrator priveldges.
    • Script name: \MXutils\windows\CreateCmxResumeFromStandbyTask.ps1
  • Adds a new web tags for the Davis WLL device.

    Code: Select all

    <#ConsoleSupplyV>   - The WLL external supply voltage
    <#MulticastBadCnt>  - Count of multicast packets missed or have bad a CRC
    <#MulticastGoodCnt> - Count of good multicast packets received
    <#MulticastGoodPct> - Percentage of good multicast packets received
    
  • On new installs of Cumulus MX, changes the default value of "WarnMultiple" from false to true
  • Adds a download history limit of 50 bad packets for WMR200 station types. Prevously it could get stuck in a loop downloading bad data.
  • Adds Show UV-I to the graph hide/show options
  • Updates ExportMySQL to include the new Humidex values from b3089
  • AWEKAS uploads updated to API v4 - now can include indoor data, soil temp/moisture 1-4, and leaf wetness 1-2. And it supports rapid updates - minimum 15 seconds if you have a Stationsweb subscription, min 60 secs for Pro accounts, and 300 seconds for normal accounts
    • IMPORTANT NOTE: THe AWEKAS interval has changed from being set in minutes, to being set in seconds.
      You MUST update the AWEKAS interval in the Internet settings/Cumulus.ini file to reflect this change.
    • New Cumulus.ini entries

      Code: Select all

      [Awekas]
      Language=en
      SendIndoor=0
      SendSoilMoisture=0
      SendLeafWetness=0
      
  • Enabling/disabling and changing intervals for Twitter, WUnderground, Windy, PWS Weather, WOW, APRS, AWEKAS, Weather Cloud, MQTT from Internet Settings now takes immediate effect and does not require a Cumulus restart.
  • Adds a new Cumulus.ini file only, read-only setting

    Code: Select all

    [Station]
    SunshineHrsDecimals=1
    
  • Adds a new folder in Dist zip file: /MXutils
    In here I will add the various scripts etc that are provided with the releases to update MySQL or aid moving from one release to the next.
    See above for new Windows and Linux scripts when running as a service
Updated files

Code: Select all

	\CumulusMX.exe
	\ExportMySQL.exe
	\interface\js\charts.js
	\interface\json\InternetOptions.json
	\interface\json\InternetSchema.json
	\interface\json\StationOptions.json
	\interface\json\StationSchema.json
	\webfiles\js\cumuluscharts.js
New files

Code: Select all

	\MXutils   - and folder contents
Last edited by freddie on Thu 13 Aug 2020 11:07 am, edited 1 time in total.
Reason: Corrected build number

User avatar
mcrossley
Posts: 6923
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX Announcements and Download - PLEASE READ FIRST

Post by mcrossley »

Release 3.8.1 - b3091 is available for download

A patch release to fix some issues with v3.8.0 - Primary fix is for Davis stations using TCP attached loggers (including meteobridge, WiFi loger etc).
  • Fix: Davis TCP loggers failing to connect correctly
  • Fix: NOAA reports not viewable in Admin interface when Cumulus started as a service
  • Fix: Prevents an Exception on shutdown when running as a service
Updated files

Code: Select all

\CumulusMX.exe

User avatar
mcrossley
Posts: 6923
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX Announcements and Download - PLEASE READ FIRST

Post by mcrossley »

Release 3.8.2 - b3092 is available for download

Some bug fixes, and adds MXdiags log rotation.
As setting the console clock on Davis VP2 stations is so "expensive", MX now checks teh console time first, and only sets the clock if it is > 60 seconds out.
Users of SFTP can now use a private key file to authenticate, configure this via the Internet settings screen.
  • Fix: Davis VP2 stations - LastRainTip not being updated correctly with mixed metric/imperial gauges/units
  • Fix: Davis VP2 stations - Bug that prevented the seconds being read from the console clock
  • Fix: Dashboard temp/press trend arrows not working in locales with comma decimals
  • MXdiags log files are now rotated if they exceed 20MB in size, 15 log files are now retained
  • For Davis VP2 stations, setting the console clock now checks the console time and only sets it if it differs from the current time by greater than 60 seconds
  • Davis VP2 stations protocols have been extensively rewritten to make them more efficient and less timing sensitive
    Third party IP loggers such as meteobridge and WiFi logger should now work more reliably
    - Enables PSK authentication when using SFTP. Options are now Password, PSK, PSK with Password fallback
    New Cumulus.ini entries...

    Code: Select all

    	[FTP site]
    	SshFtpAuthentication=password      [password (default), psk, password_psk]
    	SshFtpPskFile=                     [PSK filename, must include the full path is the file is not in the CumulusMX folder]
    - CMX calculated dew point is automatically enabled for GW1000 stations
Updated files

Code: Select all

	\CumulusMX.exe
	\interface\js\dashboard.js
	\interface\json\InternetOptions.json
	\interface\json\InternetSchema.json

User avatar
mcrossley
Posts: 6923
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX Announcements and Download - PLEASE READ FIRST

Post by mcrossley »

Patch release 3.8.3 - b3093 is available for download

Big fixes are improvements to the Davis protocol handling to make add back robustness for unreliable connections to the station.
  • Fix: The dew point threshold limit (default value 40C) was incorrectly being applied to installations configured to use Fahrenheit as if the value were in Fahrenheit.
  • Fix: Davis VP/VP2 force 1 minute barometer updates no longer working correctly after v3.8.2 protocol changes.
    Note: this setting should only be used for VP stations, or VP2 stations with very old firmware.
  • Fix: Last rain date not updating for Davis stations (fixes the mixed unit/bucket size update in 3.8.2)
  • Adds two new Cumulus.ini file settings to control the number of decimal places used for wind speeds. These override the built-in defaults.
    These settings are read-only, they can to be manually added ONLY if you need to use them. Add either or both settings as required.

    Code: Select all

    	[Station]
    	WindSpeedDecimals=[0|1|2]
    	WindSpeedAvgDecimals=[0|1|2]
Updated files

Code: Select all

	\CumulusMX.exe

User avatar
mcrossley
Posts: 6923
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX Announcements and Download - PLEASE READ FIRST

Post by mcrossley »

Patch release 3.8.4 - b3094 is available for download
  • Fix: Unhandled exception in MySQL during the start-up catch-up process
  • Fix: Graph buttons not wrapping on default web site trends page
  • Fix: Calculating the trend rain rate when a rainfall multiplier is used
  • Fix: Program Uptime when running under Mono and uptime > 24 days
  • Fix: When running as a Windows service, the service was stopped unintentionally on non-critical system power events
  • Fix: Davis VP receptions stats - ReceptionStats, FirmwareVersion and BaroRead functions rewritten
  • Adds Ecowitt GW1000 decoding of WH34 battery status
  • Adds Ecowitt GW1000 support for WH45 CO₂ sensor, no logging yet, but the decoding is there for when these sensors are released.
    - New web tags <#CO2>, <#CO2-24h>
  • Adds new Linux cumulusmx.service configuration file (thanks to freddie), this allows you run Cumulus MX as a service under Linux using the newer systemd control rather than the original init.d script supplied with v3.8.0
    • Edit the cumulusmx.service configuration file and change the path to match your Cumulus MX installation folder
    • Copy cumulusmx.service to your /etc/systemd/system/ folder
    • Cumulus can then be started and stopped with the following commands:
      > systemctl start cumulusmx
      > systemctl stop cumulusmx
    • Status and restart are available too:
      > systemctl restart cumulusmx
      > systemctl status cumulusmx
    • If you make a change to the unit file, you need to run the following command so that systemd re-reads your file:
      > systemctl daemon-reload
    • To have Cumulus start on reboot, issue the following command:
      > systemctl enable cumulusmx
    • Finally, to stop the service running on reboot, use the following:
      > systemctl disable cumulusmx
  • Adds a new web tag <#ProgramUpTimeMs> that returns the Cumulus run time in milliseconds


Updated files

Code: Select all

	\CumulusMX.exe
	\web\trendsT.htm
New files

Code: Select all

	\MXutils\linux\cumulusmx.service

Locked