Category:Cumulus MX: Difference between revisions

m
no edit summary
mNo edit summary
You may find [[PHP|this wiki page]] useful for understanding more about the different script languages.
 
 
== Changing from Cumulus 1 to MX ==
 
Remember, that depending on the operating system, MX may require you to install extra components, such as Mono, not included in distribution, see above for details.
 
=== Files to copy from Cumulus 1 into where you are installing MX ===
 
MX requires all files from "data" and "Reports" folder created by Cumulus 1. You also need "strings.ini" (if you use that), and "Cumulus.ini", plus any other tailoring set-up files, batch processes etc. you might use.
 
You may be installing MX on a different device to the Windows PC that Cumulus 1 ran on, in that case follow first alternative below.
 
If you are installing MX on a PC that has been running Cumulus 1, then there are actually 2 alternatives to choose between:
#Just create a new directory (recommended name CumulusMX) and unzip the contents into it. Then copy over your existing data files and your [[Cumulus.ini]] file, and any other configuration files that you may have created (e.g. '''[[strings.ini]]''', twitter.txt etc). In this case you will need to edit that copied across "Cumulus.ini" so any lines that referenced the old folder are changed to reference the new folder, and you may need to edit a few other items either now, or via the settings functionality in MX user interface. The big advantage of this approach is that anytime you are not running MX you can go back to Cumulus 1 and let it run from where it left off (subject to availability of past data in your weather station).
# Alternatively, to run Cumulus MX with your existing Cumulus data, take a back up copy of your existing Cumulus directory, and then unzip Cumulus MX into the original Cumulus folder. This saves you from copying Cumulus 1 files, and removes the need to edit any reference to folders. However, using same folder stops you going back easily to Cumulus 1 if you have an issue, because MX changes the date formats in some files, so that Cumulus 1 can no longer understand them.
 
==== Editing files ====
 
'''Cumulus.ini'''
#If your "Cumulus.ini" was actually called "cumulus.ini" you should rename it to start with a capital letter.
# Please see [[Cumulus.ini#Parameters_changed]] to see the list of 2 parameters that must always be changed in this configuration file. They are also mentioned in next 2 sections here.
#There are some differences in how the contents of this file are used in the 2 flavours, one to remember now is to check the '''"StartDate="''' line in the [[Cumulus.ini#Section:_Station|'[Station]']] section is correct for your earliest data before you let MX read this configuration file for first time, as MX uses that to find the first log file to start reading from, it will ignore any log files for earlier dates; whilst Cumulus 1 always looks at all log files it finds in the data folder.
#There are several other differences in settings stored in "Cumulus.ini", but you can address those later through the MX settings screens.
 
'''Log files'''
#See individual log file pages already referenced (alternatively access from [[:Category:Log Files|Log Files index page]]) where there is more information for how to edit your '''.ini''' files to work with MX.
 
=== Station connections ===
 
If your weather station used a port to connect to Cumulus 1, that port was set on the settings screen as a number and stored in Cumulus.ini in the station section as '''Port=n'''. In Cumulus MX, as it runs on various operating systems, the port is specified using text (instead of a number), again you select it within settings, on '''Station settings''' screen, but that is stored within Cumulus.ini in the station section as '''Comport=tttttttt'''. If your old number was '''3''', and you are still using Windows, the new setting would have value of '''COM3''', for other devices it might be '''/dev/ttyUSB0'''.
 
=== web pages ===
 
There are differences in how to upload the standard files between Cumulus 1 and MX.
 
It is best to work through the '''Internet settings''' screen in the MX admin interface.
Consequently, there is a difference between the entries in '''Cumulus.in''', remove the ''IncludeSTDImages=1'' used in Cumulus 1 and replace it with '''IncludeGraphDataFiles=1''' used in MX.
 
If you have been using the Cumulus 1 supplied web pages, you will find they do not work with MX, there is a new set provided with MX that work slightly differently.
 
*Cumulus 1 uploads a number of images, these include a couple of images that combined show the moon phase, and a number of graphs are also uploaded as images (used on Cumulus 1 trends page).
*Cumulus MX does not upload any images (prior to Release 3.5.0, from then on it uploads a moon phase image), instead it uploads a series of '''.json''' files that hold time and value pairs that can be used to draw graphs. (Hence the difference in settings mentioned above).
*The gauges page provided with MX is based on Mark's implementation of steel series, so it is different to the old "Web Dashboard Components for FreeWX and FreeWX-Wi " that Cumulus 1 used.
*The other web pages look the same, and indeed are effectively functionally same.
 
== What I did to Install MX ==
5,838

edits