Category:Cumulus MX and FAQ: Difference between pages
mNo edit summary |
|||
| Line 1: | Line 1: | ||
This is the |
|||
{{TOCright}} |
|||
<big>Cumulus 1 FAQ</big> |
|||
If you are wondering what Cumulus software does, see [[About Cumulus|this article]]. |
|||
(consult also the Help screens within Cumulus software, and learn more from the rest of this Wiki) |
|||
'''If you have any suggestions for improving this article''', either edit this page yourself, or put your suggestion in the correct [https://cumulus.hosiene.co.uk/viewforum.php?f=38 Support Sub-Forum]. Thank you. |
|||
Some references to other flavours of Cumulus are included here. There is also a separate FAQ specifically for [[Cumulus MX FAQ|Cumulus MX]]. |
|||
= Introduction = |
|||
= Installing and Running Cumulus = |
|||
Before you read this article any further, read [[About Cumulus|the article that introduces Cumulus]] first, as that will explain what Cumulus software can do for you, then you will be linked back to this page. |
|||
This Wiki article was originally exactly what Steve Loft said in the [https://cumulus.hosiene.co.uk/viewforum.php?f=39 MX early builds support fortum] when he first started experimenting with Cumulus MX and access was restricted to those willing to experiment with his tests. |
|||
At that stage, Cumulus 1 was still recommended for most users, because MX was experimental and it had limited functionality. Now that further development is adding lots more functionality into MX, this is the Cumulus flavour that most users will select to install and run. However, whether you have used Cumulus 1 in the past, or are new to Cumulus, there are no instructions built into the MX package, so it is hoped that the update of this article will help people to understand MX sufficiently to use it both more easily and to maximum capability. |
|||
== What operating systems does Cumulus run on? == |
|||
In addition, Steve Loft who wrote and developed Cumulus, no longer offers any support. Consequently, usage of MX has the significant advantage that Mark Crossley who has been responsible for all recent releases is able to answer questions in the support forum [https://cumulus.hosiene.co.uk/viewforum.php?f=40 for recent MX releases] |
|||
Cumulus 1 - All versions of Windows from XP to Windows 10 inclusive (and the server versions). It works on 32 bit and 64 bit editions. It may also work on Windows 2000, but this is not supported. You will probably not be able to get it to work on Windows 2000 with a Fine Offset station. |
|||
== Restrictions on who can use MX == |
|||
=== Message from Steve Loft === |
|||
Note: The graphs used in Cumulus MX are drawn using Highcharts and they are free for non-commercial use only, i.e. you may not use them on a company web site, see http://shop.highsoft.com/faq/non-commercial for clarification. '''For this reason, and others, use of Cumulus MX in a commercial environment is expressly forbidden.''' |
|||
== Where do I find the Cumulus 1 installer? == |
|||
''Please include a link to the Highcharts web site (as the supplied web page does) if you use the charts under the terms of the non-commercial licence.'' |
|||
All available via the [[[[Downloads|Downloads page]]]] in this Wiki |
|||
== Documentation for MX == |
|||
=== Message from Steve Loft === |
|||
There's quite a lot to read before you start - please do read all of this page and all the references it mentions, most of it is very important. |
|||
== What do I need to get right when first getting Cumulus 1? == |
|||
Note that most of the Cumulus 1 documentation also applies to Cumulus MX. MX specific documentation is currently in very early stages and some settings may not be obvious. Looking at the [[FAQ|Frequently Asked Questions for Cumulus 1]], [[Cumulus MX FAQ|Frequently asked questions for MX]], and articles elsewhere in this wiki will help, as will looking at the Cumulus 1 help file, it is available on the [[Software|Software downloads page]]. If you already use Cumulus 1, the help is part of the standard installation. |
|||
The installation process for Cumulus 1 displays '''readme.txt''', that has many tips. See also [[Setup]]. Below are three key points. |
|||
If MX is your first encounter with Cumulus, you will be at a disadvantage regarding documentation of many of the features, while those who have previously been familiar with Cumulus 1 will find most aspects of MX easier to pick up. |
|||
# Install Cumulus in its own directory directly under a drive root. |
|||
# Connect your weather station before you start Cumulus |
|||
# When you first run Cumulus 1, it displays the '''Station settings''' screen. On this, make sure you pick the right sort of station (to ensure Cumulus communicates correctly with your weather station, and can identify all the observations) and choose your '''units''' wisely. (Changing units later means all stored Lowest and highest numbers up to that point have to be converted immediately manually). See the '''Help''' for information about the rest of the screen, but generally you can easily adjust the other options later. |
|||
== What weather stations does Cumulus 1 work with? == |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
*Davis Vantage Pro (VP), Vantage Pro2 (VP2), and Vue (the Envoy8X is '''not''' supported). |
|||
*Oregon Scientific WM918, WMR918, WMR928, WMR968, WMR88 (see [[FAQ#How do I set up recording wind speeds in Cumulus, with Oregon Scientific and La Crosse stations | this FAQ]]), WMR100, WMR180, WMR200. |
|||
*Fine Offset - USB-connected stations which use the Easyweather software such as MyDEL, Nevada, Watson and Fine Offset, with model numbers such as WH1080, WH1081, W8681, 265NC etc. |
|||
*La Crosse WS2300 range (see [[FAQ#How do I set up recording wind speeds in Cumulus, with Oregon Scientific and La Crosse stations | this FAQ]]). You may have problems with corrupt data if you use a WS23xx with a serial/USB adapter; this combination is therefore not supported. |
|||
For a more complete list see the [[Supported Devices]] page. |
|||
== Will you support a new weather station type? == |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
Cumulus 1 is no longer being developed, its source code is no longer available, so it cannot be edited to support anything new. |
|||
== How do I get Cumulus to update to the internet? == |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
Cumulus 1 provides multiple options: |
|||
*'''Internet Update''' - this feature is to place [[Website_setup|web pages]] onto a personal web server. You can use the web templates provided with Cumulus, or your own (customised) pages. This is optional, and there are a lot of settings to get right, but it is a standard feature that has always been part of Cumulus. |
|||
*'''APRS/CWOP ''' - this feature is to update your observations onto the ''cwop.aprs.net'' server, the update will happen automatically while Cumulus is running if you configure it in the APRS/CWOP frame within Cumulus internet settings. |
|||
*'''Weather Underground''' - this feature is to update your observations onto the weather underground web pages, the update will happen automatically while Cumulus is running if you configure it in the weather underground frame within Cumulus internet settings. |
|||
*'''PWS Weather/WeatherForYou/HAMweather''' - this feature is to update your observations onto these systems, the update will happen automatically while Cumulus is running if you configure it in the PWS weather frame within Cumulus internet settings. |
|||
*'''Weatherbug''' - this feature is to update your observations onto Weatherbug, the update will happen automatically while Cumulus is running if you configure it in the Weatherbug frame within Cumulus internet settings. |
|||
*'''WOW''' - this feature is to update your observations onto UK Met Office Weather Observations Website, the update will happen automatically while Cumulus is running if you configure it in the WOW frame within Cumulus internet settings. |
|||
*'''Twitter''' - this feature allows you to send a message to http://www.twitter.com at an interval that you configure in the twitter frame within Cumulus internet settings. |
|||
== How do I request a new feature for Cumulus 1 == |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
As of 2017, development of both Cumulus 1 and Cumulus MX was abandoned by Steve Loft. Although there have been a couple of patches to change the years listed in drop downs with Cumulus 1, its code is frozen as the relevant development environment is no longer available. |
|||
Consequently, there is no possibility of any new features for Cumulus 1. |
|||
== Why haven't you added the feature I asked for a long time ago? == |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
Steve Loft developed and supported Cumulus in his spare time while having a full time job. He invited donations, but didn't make a living from Cumulus. He added facilities when he could. There was a long list of enhancement requests but many were not implemented and the list was lost during a move between hosts. Thus any feature requested in that list, which has not been implemented since, will not be implemented. |
|||
== How do I upgrade to a new Cumulus 1 release? == |
|||
{{Version badge 1}} There are no upgrades available for Cumulus 1. |
|||
If you are using an earlier version of Cumulus 1, do upgrade now, |
|||
#first download the '''installer''' ''CumulusSetup.exe'' from ([https://cumuluswiki.org/Downloads/CumulusSetup.exe Downloads/CumulusSetup.exe]). |
|||
#Next follow the instructions at [[Setup|Setup page]] |
|||
# Finally, replace just the one file "Cumulus.exe" in your installation by the patch available from [[Downloads|Downloads page]]. |
|||
If you are using the final version of Cumulus 1, and your drop down dates do not run to 2030, then you need to follow this last instruction and apply the patch |
|||
== Do I need to leave Cumulus running all the time == |
|||
This answer applies to all flavours of Cumulus. |
|||
Cumulus is designed on the basis that it works best if it is operating continuously, so it can interrogate the weather station at maximum frequency and has least risk of missing extreme measurements. All the derived calculations (maximum and minimum in a day, apparent temperature, average temperature,and many more will be more accurately calculated if based on the most possible measurements at consistent intervals. |
|||
if you are using the EasyWeather input option or your weather station does not have a logger, then Cumulus must run all the time, because there is no way of accessing readings while it is 'switched off'. |
|||
That said, many Cumulus users do turn their devices off when they are not around, to save energy or reduce fire risk; and accept that the quality of the derivatives output is poorer and that some extremes may be missed, some averages might be biased etc. When Cumulus is restarted, if the weather station it is talking to has retained measurements in a logger, Cumulus will read these, and do a catch-up from when you turned it off (it may miss some if the clocks have changed, see later question). Cumulus will roll over to next day when it has finished reading logger results from previous day and starts with those to assign to new day. |
|||
== Changing to different weather station == |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
Just change the station type. If Cumulus doesn't start reading the data from the new station, stop Cumulus and start it again. Some of the rain figures may be odd for a while (e.g. rain in last 24 hours). It is as simple as that. |
|||
In testing planned changes to Cumulus, I switch backwards and forwards between a Fine Offset and a WMR200 frequently, the only thing that happens is that the rain figures go wrong initially (because the two stations have different counters). |
|||
== Moving Cumulus software to a new PC (or updating Windows Operating System) == |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
Cumulus will continue to work with your existing weather station and existing log files, providing |
|||
#Your Windows regional settings are the same (i.e. date format unchanged, same time zone, decimal point symbol unchanged, list separator character unchanged) - if there is a difference, the new installation cannot understand the old lines in the log files and will give an error when Cumulus is restarted. |
|||
#You may need to 'tweak' a few things (serial port number etc) in [[cumulus.ini]]. |
|||
#In the folder with cumulus.exe in it, copy across 'cumulus.ini', and if you have created a 'strings.ini' that file must be copied across too. |
|||
#The Cumulus 'data' sub-folder has been copied across. |
|||
#Obviously if you use customised web pages, then you need the corresponding templates in the new installation. |
|||
#Any other customised files (images and/or a twitter.txt file, for example), you may want to copy those over too. |
|||
== Can I view my Cumulus data on another device? == |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
# If Cumulus uploads your weather information to an online web site, you can view that on another device. |
|||
# Software like 'Remote Desktop' can be used to view the computer that is running Cumulus - see many postings on the Support Forum. |
|||
# A back-up as described in the next answer can be viewed in Cumulus installed on another PC (see point about Windows regional settings in previous question) to look at past extremes or graphs; although obviously that additional installation will not be able to add further observations from the weather station connected to the original PC. |
|||
# If your web site is on your local network, but not online, your device may be able to view it directly or view a back-up of how it was in the past. |
|||
== How do I back up my data? == |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
Recent builds of Cumulus 1 back up some of the log files each time the software is restarted in the backup folder and each time it processes a rollover it stores the log files as they are at the start of a new day in the daily folder. The routine that does this ensures no more than 7 sub-folders are kept in each of those main folders. These back up are designed to help you restart Cumulus 1 in the event of a problem they are not not preserving your valuable data. |
|||
Consequently you are advised to make your own arrangements for ensuring you do not lose your data. |
|||
*Copy the contents of the Cumulus ‘data’ sub-folder on a regular basis to a different storage device. Then if you have any problem with the original storage device, or corruption of files, you can minimise the loss of logged observations. To restore from the backup, just copy the saved data folder back into your Cumulus installation, with Cumulus stopped. |
|||
*It can be useful to take copies of the Cumulus 'backup' sub-folder on key dates (e.g. at change of month or year), or if you think you might have some rogue figures. The '.ini' files in the backup sub-folder contain past extreme values that you might want to look up. |
|||
*You should also back up, at least once, your cumulus.ini file in the main Cumulus folder. This contains all the key settings and you need a record of those! |
|||
== Moving Cumulus 1 software to a different location on your PC? == |
|||
{{Version badge 1}}This article in the wiki gives more details above moving Cumulus: [[Moving cumulus]] |
|||
== What are the formats of the Cumulus data files? == |
|||
These are detailed in the [[:Category:Log Files|Log Files]] section of this Wiki, see that category page for key information about log files and the differences between the Cumulus 1 and Cumulus MX content. |
|||
Format information is also in the Cumulus 1 help file, in the section “Data log file format” |
|||
== Can I import logged information from before I installed Cumulus? == |
|||
The '''Configuration''' menu, ''Station'' setting screen (near bottom) has option to enter there the ''rainfall total'' for the bit of the year (starting month can be selected here too) until when you first start using Cumulus. See the Cumulus '''Help''' for this screen for further details. |
|||
Yes is the answer for other weather information, providing you can manipulate the information you have into either (preferably) the format used by the [[Standard_log_files#Importing_pre-Cumulus_data]] or (second best) [[Dayfile.txt]]. Look up those cross-references in this Wiki (or the Cumulus '''Help''') for further information on required formats. The support forum includes a few threads related to this topic, and if you post there then people who have already imported from particular systems may offer their services to import your past observations. |
|||
A converter for Weather Display log files is available from [[Software#Weather_Display_Converter|software page]] |
|||
A converter for WeatherLink log files is available from [[Software#WeatherLink_Converter|Software page]] |
|||
== I was away on the last day of last month/year - How do I see the final lowest and highest figures for last month/year? == |
|||
{{Version badge 1}} |
|||
'''View''' menu, ''This month'' or ''This year'' screens show some figures for any month or year selected by you, but do not show all the figures shown on a standard web page or as shown on the ''Highs and Lows'' screen for the current month/year. |
|||
'''View''' menu, ''Highs and Lows - This month (or This year)'' (or ''thismonth.htm'' or ''thisyear.htm'' web page) only shows the lowest and highest values for the current calendar month (or current year). This answer describes a way to see the same information for the month (or year) that fairly recently ended. It is valid only until build 1088 (from 5 March 2014 build 1089 'Delay writing of end of day backup files until the first log entry is written' means the stored ''month.ini'' relates to the ''initial'' entries for the start of the new month). From version 1.9.3 build 1041, Cumulus creates a daily backup of the log files. |
|||
*Look in the ''backup\daily'' subfolder within your Cumulus installation. |
|||
*These daily backups will be created if Cumulus was left running during the period of interest, or stopped before that period and since restarted. |
|||
*Normally about 10 such back ups are available, each folder has a name based on the timestamp and contains the 6 [[:Category:Log_Files|xxxx.ini files]], the current [[Standard_log_files|monthly standard data log]]/[[Extra_Sensor_Files|monthly extra data log]], and the most recent update of [[dayfile.txt|daily summary log]]. |
|||
Open as a text file [[month.ini]] in the folder whose name is bearing the timestamp after your final rollover, for Cumulus builds 1041 to 1088 the final lowest and highest for each observation in the month will be listed. |
|||
In a similar manner if you miss the last day of the year, for Cumulus builds 1041 to 1088 see the final 'this year' figures for last year by opening [[year.ini]] from the appropriate backup. |
|||
== What do the various wind speeds in Cumulus 1 correspond to, with Davis stations? == |
|||
Davis station firmware supplies two wind speeds, a 3-second average and a 10-minute average (later versions of the firmware also supply a 2-minute average, Cumulus currently doesn't use this). |
|||
=== Update === |
|||
* The latest Davis 3-second average is treated by Cumulus as 'Latest' (available via <#wlatest>, matching direction is '<#currentwdir>' and '<#bearing>') |
|||
The update made to this page draws on what has been said spread over lots of posts on the support forum and attempts to make it more accessible by repeating it on this page. In writing this update, I have drawn on my own experience of moving from Cumulus 1 to MX, but saved you the pain of where I went wrong, just telling you what is correct. |
|||
* The highest of the station's 3-second readings over the previous 10 (configurable by adding ''AvgSpeedMinutes=N'' in [[Cumulus.ini#Section:_Station]] where 'N' is number of) minutes becomes the Cumulus 'Gust (available via <#wgust>, no matching direction web tag). Note that the WMO definition of a wind gust is the mean wind speed over a 2 to 3 second sample period (so Cumulus reports this within an extended 10, or as configured, minute period, not the 'latest' gust). |
|||
* The Davis 10-minute average is the Cumulus 'Average' (available via <#wspeed>, matching direction reported as '<#wdir>' and '<#avgbearing>'). |
|||
If this page, and those other Wiki pages it links to (e.g. a new Cumulus FAQ), do not answer all your questions then see [https://cumulus.hosiene.co.uk/viewforum.php?f=40 the support forum for current Cumulus MX] as that will let you see what other people have asked about, any posts I have not yet incorporated into this page, and there you get the opportunity to post your own query. |
|||
Davis VP2 station loggers record a single spot wind speed, so if you restart Cumulus and the software attempts to catch up from the station logger there may be only one or two values to include in the Cumulus average (over 10, or as configured) minutes calculation. |
|||
== Comparing Cumulus 1 and MX == |
|||
Note that if you sample these readings at shorter (real time) intervals it is possible for Cumulus 'Latest' to be lower than Cumulus 'Average' because approximately half of the 3-second wind speeds will be higher and half of them lower than the 10-minute average. |
|||
If the Cumulus figure seems lower than the Davis figure see [[#My_Davis_station_shows_a_higher_maximum_wind_speed_than_Cumulus]]. |
|||
== What do the various wind speeds in Cumulus 1 correspond to, with Fine Offset stations? == |
|||
* Like Cumulus 2, MX separates: |
|||
*# the engine (reads weather station, calculates derivatives, creates web server for user interface, and sends updates to various external web sites), and the |
|||
*# administrative (shortened to admin hereafter) interface (displays basic information, allows you to vary settings, contains editors for highs and lows and for log files). |
|||
* Like Cumulus 2, MX runs on Linux and OS X as well as (like Cumulus 1) Windows. |
|||
* Like Cumulus 2, MX learns from some of the mistakes made in early part of design of Cumulus 1, that limited further development. |
|||
Fine Offset sensors measure wind over 48-second intervals, divided into 24 2-second intervals. At the end of each 48-second period, the outdoor unit (anemometer) transmits two values, the "Gust" is calculated from the number of revolutions of the anemometer in last two seconds and the "Average" from the number of revolutions adding all two second counts in the 48 seconds. The console keeps '''overwriting''' the newly received 'Gust' and 'Wind' values to the same area of console memory every 48 seconds, until the station logging interval time is reached, then it moves on to the next memory location, leaving the last values it wrote in the previous console memory location. |
|||
Because the development environment for Cumulus 1 is no longer available, it cannot have any extra functionality added. MX uses standard language C# (pronounced "C Sharp"), an object-oriented programming language created by Microsoft for use with the .NET Framework. It also works with Mono an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. |
|||
Note that Fine Offset Consoles can display a 'MAX' figure, this is highest recorded since it was last reset (on touchscreen models multiple touches of the displayed speed will cause maximum speed, or gust, to be shown, and when a max value is displayed continuing to hold touching that value for 3 seconds will reset max to current value). Cumulus maintains its own various extremes for different periods (e.g high wind and high gust for yesterday on its main screen) calculated from all values processed by Cumulus in that period. |
|||
*If Cumulus is not running all the time, on restart it works through the console memory locations and extracts the Fine Offset Wind and Gust in each memory location, i.e. at the station logging interval. |
|||
=== Features and functionality === |
|||
*While Cumulus is running, it reads the current wind speeds (and direction) every 10 seconds. There are new values only every 48 seconds (i.e. every fourth or fifth read). |
|||
Note that the World Meteorological Office definition of a wind gust is the ''mean'' wind speed over a 2 to 3 second sample period (not the ''maximum'' instantaneous wind speed). So the Fine Offset is reporting gust correctly to WMO definition. |
|||
Initially MX, as written by Steve Loft, [https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=13298#p104138 lacked a lot of features] that were available in Cumulus 1, but subsequent developments headed by Mark Crossley have now added the majority of the missing features. There are also many features that have been added to MX that were '''either''' on the now lost list of enhancements for Cumulus 1 that never got implemented, '''or''' are extra functionality to reflect recent changes in weather station features. All quotes below are from the release notes issued by Steve or Mark. Only significant changes to functionality are noted below (for fixes see support forum for full release announcements). There is also version change information [[Cumulus_MX_formal_release_versions|here for MX versions]]. |
|||
Cumulus, for various reasons, uses different terminology, and also has configuration settings which control how some of the wind values are displayed. |
|||
=== Summary with default selections === |
|||
*build 3023 - you can now control the output format of <#tomorrowdaylength> using an entry in '''strings.ini''' like this example: |
|||
<pre>[Solar] |
|||
MoreDaylightTomorrow=Il y aura {0} minutes {1} secondes plus la lumière du jour demain |
|||
LessDaylightTomorrow=Il y aura {0} minutes {1} secondes moins la lumière du jour demain</pre> |
|||
*Build 3025 - new MySQL (6 options) and custom HTTP uploads (can invoke a PHP script) facilities |
|||
** Also introduces a second pass to read archive records in catch up '''for Davis stations only''' |
|||
**Debug logging, diagnostic data logging, and ftp logging can now be set in the UI |
|||
** Changes for reading from Fine Offset and Davis stations |
|||
**Improved console messages at start up to indicate whether station has been connected successfully |
|||
**Makes sure dayfile.txt entry is always logged to MXdiags to help in case has problems writing file |
|||
**'Stop second instance' option now implemented (there were problems with this, see later versions) |
|||
**Graph periods can now be configured |
|||
# '<#wgust>' contains "Calculated Wind Gust (highest value for any 2 seconds in last 10 minutes) Speed" reports highest console gust value in last 10 minutes (this is capturing WMO gust definition over a longer 10 minute reporting interval) |
|||
*build 3035 - archives the [[month.ini]] and [[year.ini]] file at the end of the month/year as monthYYYYMM.ini and yearYYYY.ini. |
|||
# '<#wlatest>' contains "Latest Peak (the value for last 2 seconds in 48 seconds prior to storing) Wind Speed" taken from console gust value (this is capturing the latest WMO Gust) |
|||
*Build 3041 - Support for FTP over SSL/TLS (FTPS) - enable in Internet Settings |
|||
# '<#wspeed>' contains "Current Average (over same 48 seconds) Wind Speed" taken from console wind value |
|||
*build 3046 - added [[Weather_Diary|weather diary]] database (Note the MX diary file is different to the Cumulus 1 diary file). |
|||
*build 3047 - Web token parser updated to cope with html tag characters "<>" in the format string (see [[Webtags#Using_HTML_tags_within_format_parameters_.28MX_only.29|web tag page]]). |
|||
*build 3049 - This build enables ability to upload data to Windy.com. |
|||
=== In detail with all the configurations === |
|||
==== Version 3.1.1 ==== |
|||
This release is mainly part of my attempts to add some of the Cumulus 1 features that are missing from CMX. |
|||
* build 3054 - Adds a Current Conditions editor and an All Time Records editor to admin interface |
|||
* Build 3056 - Fix for the All Time Records editor |
|||
* The highest of the Fine Offset 'Gust' values over the previous 10 (number fixed and not configured to match any other interval set) minutes becomes what Cumulus reports as the 'Gust' speed ('<#wgust>'). Cumulus does not report a matching direction for this as a web tag, although it will be somewhere in array '<#wdirdata>'. |
|||
==== Version 3.2.5 ==== |
|||
* The value labelled 'Latest'('<#wlatest>', matching direction is '<#currentwdir>' and '<#bearing>') by Cumulus is Fine Offset console 'Gust' value. (Cumulus also adds each new latest value to the array <#wspddata> and moves the index of the array <#nextwindindex> onto the next position in the circular array. |
|||
adds editors for files that track extremes previously missing from MX |
|||
* The Cumulus 'Average' ('<#wspeed>' matching direction reported as '<#wdir>' and '<#avgbearing>') can be calculated in 3 different ways: |
|||
*Build 3061 - that completes all the missing record editors from Cumulus 1 |
|||
** The default: If 'Calculate 10-min wind average' is not selected on the Station Settings screen, the console 'Wind' value is reported. |
|||
** If 'Calculate 10-min wind average' is selected, but 'Use speed for avg calculation' is left un-selected; then the average of the Fine Offset 'Gust' values read over the previous N (configurable, defaults to 10) minutes is reported. |
|||
** If 'Calculate 10-min wind average' and 'Use speed for avg calculation' are both selected; the average of the Fine Offset 'Wind' values read over the previous N (configurable, defaults to 10) minutes is reported. |
|||
Select value for 'N' using ''AvgSpeedMinutes=N'' in [[Cumulus.ini#Section:_Station]]. |
|||
==== Version 3.4.0 ==== |
|||
The big change for this release is adding historic data "catch-up" for Davis WeatherLink Live devices. |
|||
*Build 3064 - fixes bug in Monthly Records editor for dry/wet periods. |
|||
== How do I set up recording wind speeds in Cumulus 1, with Oregon Scientific and La Crosse stations == |
|||
==== Version 3.4.5 ==== |
|||
This release continues attempts to add some of the Cumulus 1 features that are missing from CMX. |
|||
** Build 3069 - Adds Editors for: Dayfile, Monthly Logs, Extra Logs |
|||
La Crosse and some Oregon Scientific weather stations only output a single wind speed. To allow Cumulus to calculate 'gust' and 'wind speed' with different values, select the '''Station''' dialogue from the ''Configuration'' menu and set ''Calculate 10 min wind average'' in the 'Settings' frame, so in [[cumulus.ini]] this will produce the parameter 'Wind10MinAverage=1 when cumulus is next stopped. |
|||
==== Version 3.5.0 ==== |
|||
* The station's 'Wind' value will then display as Cumulus 'Latest'. |
|||
adds the generation of a Moon phase image, and the ability to push data to MQTT brokers. |
|||
* A 10 (configurable by adding ''AvgSpeedMinutes=N'' in [[Cumulus.ini#Section:_Station]] where 'N' is number of) minutes average of the station's 'Wind' value will then display as Cumulus 'Average'. |
|||
* The highest of the station's 'Wind' value in a 10 minute period will then display as Cumulus 'Gust'. Note that the WMO definition of a wind gust is the mean wind speed over a 2 to 3 second sample period (not the maximum instantaneous wind speed). |
|||
See ''LCMaxWind=X'' parameter in [[Cumulus.ini#La_Crosse_specific:]] where X is the maximum (uncalibrated) wind speed in m/s that you want to allow. |
|||
=== Accessing Admin Interface === |
|||
Cumulus 1 was an all in one application, it both read the data from the weather station and provided the user interface for you to see the derived data and change the settings. MX is different, it consists of a stand-alone 'engine' which performs the reading and logging of data, uploading to a web site etc. This 'engine' is a command-line/console application which has no user interface. The separate admin interface is provided by virtue of the engine acting as a web server. |
|||
== How do I make Cumulus 1 run automatically when Windows starts? == |
|||
When you successfully start MX, the engine is running until it is terminated. You can view the admin interface by typing the URL of the built-in web server into your browser, either on the same machine, or on a separate machine sharing the same local network. The default URL ''if the browser is on the same machine as MX'' is '''http://localhost:8998/'''. |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
If you are using the browser on a different device on your local network to the device running MX, you cannot use '''local host'''. Instead you specify a IPv4 address, that is listed in your '''router''' (might be called a '''hub''') for the device running MX, this IPv4 address will look like '192.168.y.z' (where y and z are numbers that vary between implementations). |
|||
There is no option in Cumulus to set this up automatically as I prefer to leave it under the control of the user: The safest and most reliable method is simply to put a shortcut in your Startup folder. If you are running Vista or Windows 7, or later versions of Windows, you may find that Cumulus gets blocked by UAC if you try to run it from the Startup folder, in which case it is recommended that you use Task Scheduler instead. See here for a good description of how to do this - http://blogs.techrepublic.com/window-on-windows/?p=616 |
|||
Equally, if "localhost" is already in use for another web server (that you already run on your device), you will need to use the correct IPv4 address as above, even on the same device. |
|||
== How does Cumulus handle Daylight Saving Time? == |
|||
'''For security reasons, the admin interface should not be accessible via the public internet.''' |
|||
Cumulus provides the option for you to use rollover at 9am winter time that is preserved throughout the year so all days are 24 hours long even when clock changes, simply click "Use 10am in summer" on the Station settings. |
|||
=== Operating Systems === |
|||
MX runs on: |
|||
* Microsoft Windows operating system (Cumulus 1 only runs on this) |
|||
**To run MX on Windows, you need '''.NET''' installed which is included on Windows 7 upwards. |
|||
* Unix derivatives Linux and Mac OS X. |
|||
**To run MX on the additional platforms, it requires the '''Mono''' runtime, and you will need to install this |
|||
As far as the timestamps in the extreme logs, monthly log, and the graphs, are concerned; Cumulus doesn't do anything in particular for DST. |
|||
As mentioned in the comparison between Cumulus 1 and MX [[#Comparing_Cumulus_1_and_MX|section earlier]], Mono is the open source version of the propriety .Net. Both are sponsored by Microsoft. |
|||
*It generates timestamps based on the clock in the device you run Cumulus on. |
|||
**So basically, at the start of DST (i.e. when the clocks 'go forward' for the summer) you will get an apparent gap of one hour in your data logs and on graphs. |
|||
**Similarly at the end of DST (i.e. when the clocks 'go back' for the winter) you will get an apparent hour of duplicate timestamps in your logs and graphs. |
|||
*You will tend to get better results if you leave Cumulus running during the clock change, because if it is stopped you may lose data, |
|||
**the exact timing of the affected hours depends on the type of station and the times when Cumulus was running/stopped. |
|||
=== ... How do Davis stations handle Daylight Saving Time? === |
|||
=== Configuration, Log, and Web files === |
|||
Both Cumulus 1 and MX both use the same basic files: [[Cumulus.ini]], [[dayfile.txt]], [[today.ini]], [[month.ini]], [[year.ini]], [[alltime.ini]], [[monthlyalltime.ini]], indexT.htm, todayT.htm, yesterdayT.htm, thismonthT.htm, thisyearT.htm. But there are differences in content in all these, and the web pages not mentioned there are totally different. |
|||
Note that there seems to be an issue with Davis stations, either in the console/logger, or in the Davis DLL which Cumulus uses. |
|||
The configuration file Cumulus.ini has some differences between Cumulus 1 and MX, see that wiki page for more information, but essentially each flavour will ignore the parts they don't understand, and add the additional parts that they need but the other did not use. |
|||
*If you don't have Cumulus running when DST ends (autumn), then when you start Cumulus up again, it doesn't receive all of the logger data it needs to catch up to the ''present time'' - the previous hour or so is missing. |
|||
*So with Davis stations, I strongly recommend that you leave Cumulus running at the end of DST, if at all possible. |
|||
=== ... How do Fine Offset stations handle Daylight Saving Time? === |
|||
While Cumulus MX can read the '''today.ini''' produced by Cumulus 1, you probably need to edit the date format in the date at the start of that file before Cumulus 1 can read a '''today.ini''' produced by MX. MX uses ISO format dates with year first, Cumulus 1 uses the date format defined on your PC system that might have year last. Look up in this wiki pages for the Log Files [[:Category:Log Files|index page]] or the individual file pages just referenced to see the differences between file content, and what you ''may'' need to edit to use Cumulus 1 files with MX. |
|||
*For Fine Offset models ''without access to a radio controlled clock'', if you don't have Cumulus running when DST ends in autumn, then when you start Cumulus up again, the catch up ''misses off the first hour after the time Cumulus was stopped'' (unless you have adjusted the time in [[today.ini]] by subtracting one hour for end of DST while Cumulus was stopped). |
|||
Both Cumulus 1 and Cumulus MX supply a number of ''templates that are processed into web pages'', although the end produce web pages are (except for trends.htm) identical, '''the templates are not interchangeable'''. However, there are files that Cumulus 1 uses (for example it uses several image files for the trends web page and a weather diary in a XML file) that are not used by MX and also many files that MX creates (for example json files and a weather diary in a SQlite file) that were not part of Cumulus 1. |
|||
**This is because the console memory does not time-stamp the data blocks and each memory location simply contains the number of minutes elapsed since the previous memory location was last updated. |
|||
**Cumulus does not remember the console data block used just before shutdown, (after all depending on how long Cumulus has been stopped and the station logging interval, the old memory location could be overwritten by now), and so Cumulus works out a time-stamp based on current clock time and the stored elapsed interval times as it works back through those memory locations. |
|||
**The stored minutes elapsed value will be consistent with the logging interval you selected for the station (might be different to that selected on Cumulus) and that stored value will add an extra minute if a read from the transmitter (every 48 seconds on models without solar sensors) delays a particular log update, However, the console clock (unless radio-controlled) is unaware of DST, it is like a clock without a hour hand, it can only count in minutes. |
|||
**On restart Cumulus just tries to read the appropriate number of hours worth of observations back from the block now marked as latest. |
|||
**For example if it was stopped at 2200 DST and restarted at 0600 standard time, Cumulus catches up with the last 8 hours worth of stored measurements as if going back to 2200 standard time, that means it retrieves back to 2300 DST and has forever lost the period 2200 to 2300 DST. |
|||
*So with Fine Offset stations, I strongly recommend that you leave Cumulus running at the end of DST, if at all possible, to ensure that average temperature, heating/cooling degree days, wind run, and similar calculations are accurate. |
|||
*See Fine Offset forum discussions for further information. |
|||
== What formula does Cumulus 1 use for values derived from temperature? == |
|||
= Installing and Running Cumulus MX = |
|||
[[Temperature_(and_humidity)_measurement#Cumulus_Calculated_Parameters|see Cumulus_Calculated_Parameters]] |
|||
There is no automatic installer (this may change). Cumulus MX is supplied as a zipped package on a link from [[software|download page]]. |
|||
== How does Cumulus know the height of the cloud base? == |
|||
When running Cumulus MX, you either have a package that runs it for you, or in your command type interface you type '''CumulusMX.exe''' or '''sudo mono CumulusMX.exe''' depending on device, (or click a shortcut). |
|||
It doesn't. It uses a calculation which gives the theoretical height above ground level at which Cumulus clouds might form, based on the current temperature and dew point. It assumes that the difference between temperature and dew point decreases by about 4.4 degrees Fahrenheit per 1000 feet increase in altitude. When the two values coincide, the air is saturated (relative humidity = 100%) and Cumulus clouds may form. |
|||
You can however add parameters to the run instruction e.g. '''CumulusMX.exe -lang en-GB''' (to select the GB locale), '''CumulusMX.exe -port 8002''' (to change the port where the user interface runs), or '''CumulusMX.exe -debug''' (to have full debugging turned on as MX starts), '''CumulusMX.exe -Logging=1''' (for the Davis specific logging). |
|||
== How is my rain rate calculated? == |
|||
For stations which supply a rain rate, Cumulus uses that. For stations which don't supply a rain rate (e.g. Fine Offset and La Crosse), Cumulus simply takes the rain total from the last five minutes and calculates a rate based on that; e.g. a single tip of 0.3mm in 5 minutes is a rate of 3.6mm/hr. When data from the station's logger is used, a similar calculation is performed, but the interval used is the logger interval rather than five minutes. |
|||
== Where does Cumulus 1 get its this month and this year rainfall totals from? == |
|||
== Optional parameters to add to the instruction to run the MX engine == |
|||
* The rainfall totals (for this month, year, and season), are initialised when Cumulus is (re-)started by adding up the corresponding daily totals in [[dayfile.txt]] and storing those sums in memory. |
|||
The port, locale, logging, and debug switch have just been mentioned, here are some more details for the first two. |
|||
**Don't forget that Cumulus uses binary arithmetic to base 2, that does not correctly represent what in base 10 are decimal places, so you may see slight errors for those using inches and expecting correctness to two decimal places (read up this on internet if you don't understand binary arithmetic). |
|||
** The rainfall totals shown on the ''This period'', ''This month'', and ''This year'' screens within the '''View''' menu in Cumulus 1 are generated by adding up the daily rainfall totals found in [[dayfile.txt]] for the selected period. Using default settings via '''View''' menu in Cumulus 1, ''This month'' screen for this month excluding today, ''This year'' screen for this calendar year (this does always start on 1 January, unless you only started using Cumulus after that) excluding today. ''Note any rainfall for the current (meteorological) day is excluded as the latest dayfile.txt row is for yesterday.'' Totals can be shown for any past period, by selecting the required dates, the figures are recalculated when you press the ''Update display'' button and will include all days available in dayfile.txt for the chosen period. ''Important note: The view menu 'This year' screen always calculates the total for a selected calendar year starting in January.'' |
|||
** Cumulus MX builds below 3008 do not include rainfall for year to date, other rainfall calculation items were fixed in 3022 to 3042, you should use latest build for best functionality. |
|||
* Each time Cumulus (both 1 and MX) reads records from the weather station it applies any change to the 'total rain count' against today's total in its memory. This "Count" approach has been chosen because different weather stations output different values, and an independent count is a way of working that can be applied for any weather station. |
|||
=== Parameter for changing Port === |
|||
**As you will see if you look in [[diags]], Cumulus stores the 'total rain count' figure at rollover, so by maintaining the current figure it can subtract off the start of day figure to deduce the rainfall today and this is shown on the front screen in Cumulus 1, labelled ''Today''. In Cumulus 1 the '''Edit''' menu gives access to the ''Today's rain'' screen and that provides the ability to edit the start of day figure so that the figure shown for today is correct. Equivalent functionality is provided in Cumulus MX. If there is no rain in a day, the start of day count will be the same at the start of the next day. |
|||
**Today's rain is added to the figures (as described above) derived from dayfile.txt for what the front screen in Cumulus 1, labels '''This month''', and ''This year'' (this last figure is the seasonal total, you can choose for it to start on 1 January or any other month). Thus these figures are updated each time Cumulus receives a rain reading from the station (they all include today-so-far), and these figures will not be displayed if Cumulus is unable to read rain information from your station. |
|||
** The today's total so far at each reading time is also added to the 'recent tag' array allowing total values for the day-so-far at one minute intervals for up to a week ago to be added as web tags to a web template. |
|||
* For the web tags, Cumulus (both 1 and MX) takes its stored sums and adds today's latest total each time, to give the current totals for this month and this rain season (year so far) when processing 'indexT.htm' web template which is where these figures ase shown (not on this month nor on this year templates). |
|||
When Cumulus starts, it will display the URL of the user interface. It runs on port 8998 by default; if this is not suitable for some reason you can over-ride it using the '-port' parameter on the command line, e.g. to use port 9999 instead: |
|||
**Important, for the <#ryear> web tag, and for the 'This year' display on the ''main'' Cumulus screen, the processing reads the ''dayfile.txt'' for the rainfall season starting with the month set on the station settings screen and stored as the value for attribute ''RainSeasonStart'' in [[Cumulus.ini#Section:_Station]] (its default is January). |
|||
<pre>sudo mono CumulusMX.exe -port 9999</pre> |
|||
**If you have set a 'year to date' value and Cumulus is being re-started when the year specified beside that figure matches the current calendar year, your year-to-date amount is also added into this year's total. This should normally only be relevant in your first rain season of operating Cumulus, but could be used if in any season you needed to add an extra amount because for some reason you had a gap in your recording period. ''Do be aware that if you select a rain season starting in a month other than January, the year to date figure will stop being added on 1 January because the year specified next to the figure to add on will then be the previous calendar year!'' |
|||
**There is no corresponding setting for amending the total for the first 'this month' of Cumulus operation. The only way round this is to manually change the rainfall in dayfile.txt for the first day of operation to include rainfall on all previous days of month, but that could potentially cause you to set the maximum daily rainfall extreme record wrongly. |
|||
*Note that you need to stop and then restart Cumulus to update these initial values that are stored in memory and get any corrections you made to rogue values in the daily summary log (or year-to-date) reflected on the main Cumulus screen and in web tags. |
|||
The built-in dayfile.txt editor is used if it is necessary to amend the daily totals (to correct any monthly, rain season, or calendar year, totals); the built-in all-time (or monthly records) editor(s) in Cumulus 1 and MX is used if it is necessary to regenerate the extreme records from dayfile.txt; see [[#My_station_invented_some_rain_that_didn.27t_really_occur.2C_and_I_want_to_set_it_to_zero_.28or_some_other_figure.29 |FAQ about correcting incorrect rainfall displays]]. |
|||
=== Parameter for changing Locale === |
|||
== How do I reset all my data to start again from scratch? == |
|||
On Linux and (in particular) OS X, Cumulus MX may not be given the correct locale to use, and you may get the default US locale even if that is not your locale. It will output the local it is using when it starts; if it is not correct, close it down and start it again, this time specifying your locale on the command line, using the -lang parameter . For example, in the UK, on a non-Windows device type: |
|||
<pre> |
|||
sudo mono CumulusMX.exe -lang en-GB |
|||
</pre> |
|||
Other local examples: '''CumulusMX.exe Current culture: English (United States)''', '''CumulusMX.exe -lang de-DE''', '''CumulusMX.exe -lang el-GR''' (this is one of the locales that reads numbers with '''integer,decimal''' format), '''CumulusMX.exe -lang nl-NL'''. |
|||
Stop Cumulus 1 and delete all of the files in the data folder. You may also want to edit the 'StartDate=' line in [[cumulus.ini]] to set the date for the start of your data, if you are starting again on a different date, although Cumulus 1 does not make any decisions based on that date, it simply outputs it twice (!) on one standard web page. |
|||
If you are not sure what value you need to supply for the -lang parameter, there is a list here - http://msdn.microsoft.com/en-gb/library/ee825488%28v=cs.20%29.aspx. You need to supply the code in the first column ("Language Culture Name") in that list. |
|||
== How do I localise Cumulus 1 to my own language? == |
|||
Note that this does not affect the language used by Cumulus MX (although it may in the future), it affects the decimal separator and the list separator. |
|||
Cumulus does not directly support languages other than English. It was never intended for use in other languages, and it is not possible to add support for this now. However, the text used for: |
|||
Note that you ''may'' need to supply your administrator password after typing the 'sudo ...' command line. The system will prompt you for this if it is needed. |
|||
*Forecasting |
|||
*Moon phases |
|||
*Beaufort Scale |
|||
*Trend descriptions |
|||
*Compass points |
|||
*Graph titles |
|||
*Extra sensor channels |
|||
can all be customised by using the [[strings.ini]] file. |
|||
'''This wiki page [[:Category:Other_Languages|Other Languages]] has some obsolete (valid in 2009-2010) information about customising what were the standard web pages in versions of Cumulus 1 up to 1.8.x. The translations there are NOT compatible with later (or final) Cumulus 1 version, nor will they work with Cumulus MX.''' |
|||
== Running Cumulus MX == |
|||
# Make sure your weather station (and any extra sensors) is connected to the device on which you have installed Cumulus MX, before you try to run Cumulus MX. |
|||
# Start '''Cumulus MX engine''' (command to do this varies between operating systems, so see sub-heading for your device below |
|||
# Start '''Admin Interface''', it runs in a browser, by default on port 8998, see [[#User_Interface|section]] below. |
|||
On the downloads page you can find third-party alternative web pages, these typically include some language translation modules, but beware that these may not be maintained to work with latest versions of Cumulus. |
|||
If you are running MX for the first time, without a configuration file (none is included in download package), see [[Cumulus.ini#Cumulus_MX|here]] for screen shots and instructions. |
|||
== Can I connect/disconnect my weather station while Cumulus 1 is running? == |
|||
=== Requirements for running on Windows === |
|||
No. You must make sure your weather station is connected to your PC and switched on, before running Cumulus 1. Do not disconnect your station while Cumulus 1 is running. |
|||
To run MX on Windows, you need .Net version of at least 4.5.2 installed. This is only available for Vista SP2, Windows 7 SP1, Windows 8, Windows 8.1. |
|||
== How does Cumulus deal with extra sensors? == |
|||
For Windows 10 you need version 4.8 or later, this should already be installed by your windows update feature. The .Net download for version 4.8 should be here https://dotnet.microsoft.com/download/dotnet-framework/net48. |
|||
By default, Cumulus 1 deals with weather stations incorporating solar sensors, if you have selected the relevant station 'Type' or 'Display solar/extra data' in configuration, but it has some capability to deal with extra sensors added including the Blake-Larsen Sun Recorder. |
|||
Cumulus MX initiates a web server, to do this it may need administrative access, consequently to avoid having to run MX as an administrator you can issue a command that allows all users to bind to port 8998 which is the web server it initiates (this is used for the Cumulus MX user interface). Note that if you plan to change the interface port by using the port parameter in your launch of MX, you should change the 8998 to whatever port you are planning on using. To enter the command, first open a command window as administrator. One way to do this is to right click the windows symbol at the start of the windows task bar. The option to choose there (on windows 10) is '''Windows PowerShell (admin)''', but an option called '''Command Prompt (Administrator)''' will also work. Once that opens a new window type: |
|||
<pre> |
|||
netsh http add urlacl url=http://*:8998/ user=\users |
|||
</pre> |
|||
Cumulus 1 has the ability to input, log, and display Current Values/Outputs from the [[Rain_measurement#Optical_Rain_Gauges|Hydreon Optical Rain Sensor - Model RG-11]] and from either Oregon Scientific or Davis [[Extra_Sensor_Files|extra sensors]]. Only today's and yesterday's total rainfall from a Hydreon sensor are available in [[today.ini]] and [[yesterday.ini]] respectively. |
|||
You only need to do that once. After than you can initiate MX from any user, you don't need to run as administrator. |
|||
For some Oregon Scientific models, the temperature from an extra sensor can replace the temperature from the main sensor for processing by Cumulus 1, but all extra sensor values are stored in a series of [[Extra_Sensor_Files| monthly log]] files. |
|||
Talking about command windows, if you want to check that the port is open for listening (when MX is running, the port is used for the administrative interface) type <tt>netstat -an | findstr 8998</tt> into the command window. |
|||
No other processing is performed for Davis extra sensors, but past values are retained in a series of [[Extra_Sensor_Files| monthly log]] files. The file [[strings.ini]] is used to customise the description associated with extra sensors. |
|||
== What is this "Solar Max" value which Cumulus is displaying? == |
|||
After you have done this you can run CumulusMX.exe normally without Administrator rights and therefore you can create a short-cut to run MX when your PC starts (put your user name where I have put ...), the shortcut should point to T:\CumulusMX\CumulusMX.exe (where T is used here only to denote the drive on which you have installed MX as it does not need to be the same as where your operating system is): |
|||
C:\Users\...\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\CumulusMX.exe |
|||
With this you might want to right click on that shortcut, select properties, then you can set the starting position for the command window, the colours and font it will use, and even choose to start minimised, amongst many other selections. |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
Look at your hub or router (this should have come with instructions on how to do this in your browser) and on one screen it should show what devices are connected to your LAN and wifi. Look for the IPv4 address (w.x.y.z) of the device you have installed MX on, for example 192.168.1.64. Then give your Computer a fixed address for MX user interface by finding the network card via Network and Sharing Centre (Control Panel), click on Change Adapter Settings, then Right click on Ethernet or WiFi Adapter, select Properties and in the window that opens right click on Internet Protocol Version 4 (TCP/IP 4), and select properties and on that pop up screen tell the computer to "use the following IP address and fill it out with a subnet mask of 255.255.255.0 and gateway address between 192.168.1.1 and 192.168.1.254 (depending on the address of your hub/router). |
|||
It's the current theoretical maximum solar radiation value at the current date and time at your location. It is calculated using the Ryan-Stolzenbach formula, and uses the 'transmission factor' configurable in the station settings to allow for the effect of transmission through the atmosphere. The figure is not particularly useful in itself; it is used if you have a solar sensor, to compare with the current solar radiation reading, in an attempt to determine whether the sun is currently shining or not. |
|||
== My Fine Offset console says the memory is nearly full - how do I clear it? == |
|||
==== Each time you want to run Cumulus MX on Windows: ==== |
|||
You don't need to, and it's much safer if you don't; clearing the memory could lead to a loss of data. The memory indicator on the console has no effect on the logging of data; the console will automatically start re-using the oldest memory locations. As long as you are running Cumulus (at least occasionally), Cumulus will have downloaded the data it needs from the console, so the console is free to overwrite the oldest data when it needs to. |
|||
#First '''start the engine''' in one of the following 3 ways (there are some optional parameters that can be used with the .exe call as mentioned below): |
|||
#*Open the folder where you installed MX and click on the CumulusMX.exe to run it. |
|||
#* OR create a shortcut on your desktop (and/or the taskbar) for that executable and click the shortcut to start the engine. |
|||
#* OR place the shortcut in the start up folder for the user account so MX automatically starts when you connect/log in. |
|||
# Next '''start the admin interface''', it does not need to run all the time, but only when you need it (when you first use MX you will need it to access the settings where you tell MX what type of station you have and what units you want to use, and set various timing options), it normally runs on port 8998 (to vary that there is a '''-port''' parameter that is followed by required port and that port parameter has to be entered every time you start MX if you are not using the default port). |
|||
== How do I get my Davis station with USB working with Cumulus 1? == |
|||
Try '''start /min C:\Cumulus\CumulusMX.exe''' to run MX as a minimised package (although in Windows you can change the properties of the shortcut you use to start minimised). |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
==== Stopping Cumulus MX on Windows pc ==== |
|||
Cumulus cannot drive the station in USB mode, you must install 'virtual serial port' drivers, and configure Cumulus to use the virtual serial port. Make sure you have the station connected to the PC during the following operations. |
|||
The recommended way is to click into the command window in which MX is running, ''hold down Control key'' and press '''C'''. It is normal for there to be a short wait, then a message "Cumulus Terminating" and then after another short wait, it will say "Cumulus Stopped" and immediately after that the command window will close. |
|||
You should first make sure that you can use the station with Weatherlink, in serial mode. If you have not already installed the Weatherlink software, install the version which came with your weather station. You should then upgrade to the latest version of Weatherlink; you can download the update from the Davis web site, [http://www.davisnet.com/support/weather/downloads/software_sftwr.asp here]. |
|||
Some people, click in the task bar and select close, or click the '''X''' button on top right of command window. Although these are not official advice, they do seem to work. |
|||
You now need to install the 'CP210X USB to Serial Converter'. You may find a link on your Start menu under 'Weatherlink'. Alternatively, you should find it in the folder where Weatherlink was installed, under 'Support' then 'Utilities'. Davis also make version 2 of this utility available on their web site, [http://www.davisnet.com/support/weather/downloads/software_driver.asp here], and you may find that this version will work for you if the installed version does not. It should be clear from the messages output by the utility that it has successfully switched the logger to serial mode. |
|||
There are packages that can be programmed to send a control C to a running task, and to not continue until the task window has closed. Remember to also program in a subsequent delay in that package, to make sure the package waits for MX to close, or do a check that MX has released all the files it might need to update. |
|||
It's a good idea to then update the driver to the latest version from the Silicon Labs web site, particularly if you use Windows 7 or later. You can download it [http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx here] - click on 'VCP driver kit' under 'Download for Windows XP/Server 2003/Vista/7...' to begin the download. Run the executable once it's downloaded. |
|||
''You should not'' issue a '''TASKKILL''' instruction, as that will prevent MX correctly writing out to all the files it should update on exit. Consequently, it will not restart correctly and may actually lose settings and data. |
|||
At this point, it's best to restart your computer. |
|||
=== Requirements for running on Linux and OS X === |
|||
You should now run Weatherlink, and attempt to connect to the weather station '''in serial mode'''. Weatherlink should find the appropriate COM port number automatically. If not, you can find it under 'Ports (COM & LPT)' in the Windows device manager. Look for the port called 'USB Serial Port (COMn)', where 'n' is a number. That's the number of the port you need to use in Weatherlink. If you cannot get Weatherlink to work using this virtual COM port, it is unlikely that you will be able to get Cumulus to work either, so either contact Davis support, explaining that you are trying to use the virtual serial port drivers because you want to run third-party software, or ask in the Cumulus forum, someone may be able to advise. |
|||
You will need to install the '''Mono-complete''' runtime (the latest version of Mono should work with all functionality of latest MX in all locales). Mark Crossley says "There shouldn't be any outstanding issues with Mono, afaik they are all resolved - except for the Moon image rotation in the southern hemisphere which does not work with Mono 6.0 thru to the latest 6.8.0, only version 5.x works correctly atm for System Drawing." |
|||
* For OS X, you can download this here - http://www.mono-project.com/download/. |
|||
Once you have Weatherlink connected and working via the virtual serial port, '''close it down''', and start Cumulus. |
|||
* How you install on Linux depends on the flavour of Linux you are running. There are download links for Linux at the same URL, but it is often easier to use a package manager, which will download and install it automatically. |
|||
**For example, in 'Raspbian' on the Raspberry Pi, you can install mono with these commands: |
|||
In the station settings in Cumulus, select the appropriate station type for your station; under 'VP Type' select '''Serial'''; in the serial port section enter the COM port number that you found earlier. You may need to restart Cumulus at this point. It will then start displaying live data. Note that the it deliberately does not download any historical logger data from before the current point in time. When you run it subsequently, it will download logger data to catch up if necessary from when you last ran it, but never from earlier than when you first ran it. |
|||
<pre> |
|||
sudo apt-get update |
|||
If you still having difficulty, the Davis Weatherlink manual offers this advice, which may be useful: |
|||
sudo apt-get install mono-complete |
|||
</pre> or |
|||
"Included with the WeatherLink software is a utility that allows you to convert a USB data logger from a direct USB data logger back to a USB data logger that emulates the serial port. To use |
|||
<pre>sudo apt update && sudo apt upgrade |
|||
this utility, select Convert USB to Virtual Serial in your WeatherLink program group on the Start menu of your computer (Start>AllPrograms>WeatherLink>Convert USB to Virtual Serial) and run the utility to convert your data logger. Please contact Davis Technical Support (“Contacting Davis Technical Support” on page 26) for more information." |
|||
sudo apt install mono-complete</pre> |
|||
Make sure that you have the '''mono-complete''' package installed. |
|||
== Why does Cumulus 1 do some things the way it does, when there are better ways? == |
|||
{{Version badge 1}}Reminder, this FAQ answer is ONLY for Cumulus 1 |
|||
Cumulus was originally something Steve Loft 'knocked together' quickly when I got my first weather station, simply because I couldn't find any other software anywhere which I was prepared to use. No 'design' went into it, it was really just a prototype. Some of the things I did were just quick 'hacks' that I intended to fix when I did it 'properly'. But I never got around to going back and doing it 'properly', and it was never my intention that anyone else would use it. But I was persuaded to make it available for others, and then to add more and more enhancements. |
|||
The fact that it works with several different types of weather station means that much of it is a compromise; it doesn't use certain features of the weather station which it could use if it were dedicated to that type of weather station. For example, it typically does not use any high/low data that the station might store internally. Instead, it maintains its own high/low data from individual readings. There are a number of reasons for this; the fact that Cumulus supports an 0900-0900 day, and the weather station does not, and the fact that typically Cumulus maintains far more high/low values than the station does, and these need to be self-consistent. |
|||
So yes, I am aware that some of things that Cumulus does may seem strange, but it is simply not possible for me to start again from scratch, knowing what I know now. And it is not possible for me to effectively produce separate versions of Cumulus specifically for each type of weather station. If you don't like the way Cumulus does certain things, do what I did and write your own software! |
|||
== Can I run 2 copies of Cumulus 1? == |
|||
3 options: |
|||
*You can install Cumulus 1 (or MX) on more than one machine, but each copy must connect directly to its own weather station (one station connected per Cumulus installation). |
|||
*You can install 2 copies of Cumulus 1 in different paths on a single PC, ''if you have two weather stations'' and Cumulus is able to distinguish between them, e.g. they are from different manufacturers, or both are serial port stations (different ports), or one is USB and one is serial, or one is a Weatherlink IP. In other words the combination that does not work on a single PC is two USB stations (including clones from different suppliers) from the same manufacturer. Note that Davis stations with USB loggers are serial port stations as far as Cumulus is concerned, so there are no problems using multiple copies of Cumulus with multiple Davis stations on the same PC. (Same rules for two copies of Cumulus MX). |
|||
*It is possible to back up the Cumulus files from one installation running off a weather station, and briefly have another reduced functionality copy just looking at historic data without ever any updating (the second Cumulus is set up as if reading from an EasyWeather.dat file, but not given a path/file name) - see [[Cumulus.ini#Introduced_for_problems_with_Fine_Offset_family:|Easyweather.dat section here]]. |
|||
Don't attempt to run Cumulus 1 and MX at same time, they cannot share a single weather station. However you can with a single weather station, stop Cumulus 1 and then run MX if they use different data folders, then later stop MX and run Cumulus 1. |
|||
= Troubleshooting = |
|||
{{Version badge 1}}<big>''Please note, these answers are written for Cumulus 1.x.y.''</big> |
|||
The equivalent page for Cumulus MX is [[Cumulus MX FAQ]]. |
|||
== My 'Error' light is flashing == |
|||
{{Version badge 1}}Click on it, and a window will open describing the error. It may just be a temporary ftp problem. If you want to stop ftp errors being reported in this way, you can turn them off in the display settings ("Show FTP errors on error log window"). |
|||
== My ‘new record’ light has stopped flashing == |
|||
{{Version badge 1}}It is the normal situation that the light does not flash. The ‘new record’ light only flashes when an all-time record has been broken. It stops flashing if you click on it or restart Cumulus, until another all-time record is broken. When you first start using Cumulus, inevitably the light will flash a lot, even if you cancel it, as you will be breaking records constantly. After a while, it will 'settle down' and not flash so often. |
|||
== I installed a new version and my web page templates got over-written == |
|||
{{Version badge 1}}The supplied web page templates are part of Cumulus and will be over-written on upgrade. If you want to create your own web pages, don’t edit the supplied ones, place them in a different folder and use the ‘extra files’ facility. From version 1.8.9, the installer offers the option of not over-writing the web templates; it unconditionally also installs them to a sub-folder of the web folder called 'originals', so you can refer to them if required, even if you chose not to over-write those in the web folder. |
|||
== I can’t find my data files! == |
|||
{{Version badge 1}}You’re probably running Windows Vista/Windows 7/Windows 8 (or one of the corresponding server versions of Windows). Look in C:\Users\[username]\AppData\Local\VirtualStore\Program Files\Cumulus - note that this is a 'hidden' folder. Ideally, to avoid this situation, you would install to somewhere outside the Program Files hierarchy, as recommended in the readme.txt. |
|||
== I can't save my NOAA reports! == |
|||
{{Version badge 1}}You've probably corrupted your Cumulus.ini file in the default Cumulus folder. See [[Cumulus.ini#Section:_NOAA]]. It can only be edited either (if Cumulus is stopped) with an external text file editor or (with Cumulus running) using the ''NOAA Setup'' in the configuation menu. Pay attention to where the quotes are required for the file names, and check that you have an allowed date format (see [[Webtags#Time.2FDate_.27format.27_Parameter]]). |
|||
== My sunrise and sunset times are wrong == |
|||
You've almost certainly entered your co-ordinates incorrectly, or not entered them at all - on the station settings screen. You must enter DEGREES, MINUTES, and SECONDS, no other format will work. Make sure to use '''unsigned whole numbers''' for degrees, minutes, and seconds, with a 'W' for your longitude if you're West of the Greenwich meridian (e.g. if you are in the United States), and the appropriate letter for your latitude (N for northern hemisphere, S for southern hemisphere). |
|||
If you are not familiar with the degrees/minutes/seconds standard format and have your co-ordinates in some other format, there are pages on the web which will convert for you. One such is here: http://transition.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html |
|||
One other less likely possibility is that you have set the wrong time zone on your PC. |
|||
== The Moon rise or set time is showing dashes. == |
|||
The moon doesn’t rise and set every day, the dashes appear when that event doesn’t occur on that particular day. The period between a moon rise and set is approximately 12 hours and 25 minutes, on average. The moon rises (or sets) approximately 50 minutes later, on average, each day. It therefore follows that sometimes the moon will not rise or set on a particular day - i.e. it had risen the previous day, or will set on the following day. |
|||
== The Moon image is just black == |
|||
It's probably a New Moon. |
|||
== End of Day Rollover Failures == |
|||
{{Version badge 1}}The yesterday values on the Main Screen under "Recent Extremes" are not shown correctly: |
|||
*EITHER when the ''end of day rollover has not taken place''. |
|||
**The usual cause of this is allowing your PC to 'sleep' while Cumulus is running. |
|||
**The support forum mentions a few other causes. |
|||
**Cure this (if you have a weather station type that has an internal log that Cumulus reads) by looking in "''Cumulus\backup''" folder, and finding a backup directly in that folder or in "daily" sub-folder for just before the problem. With Cumulus stopped, copy all the files in that backup into the "'''Cumulus\data'''" folder, and then restart Cumulus. |
|||
*OR if Cumulus was unable to read observations from your station during that day, but can today. |
|||
**You can try the same cure, but may not be able to recover the lost information in this case. |
|||
If you are viewing or editing log files at the time when rollover takes place, it is likely that some parts of the daily rollover will fail. Although Cumulus 1 provides the functionality to view and (except for the data file) update the log files, make sure you have exited out of the built-in viewer or editor before rollover is due. If you inadvertently forget this, the cure of overwriting files mentioned above is applicable if your weather station has an internal log and it is around 2 logging intervals (see [[#Cumulus_takes_a_long_time_to_download_the_data_from_my_Davis_station_at_start_up]]) after rollover. When using an external editor, close Cumulus 1 or Cumulus MX before opening any Cumulus file. |
|||
== Why do I have some unexpected zero figures? == |
|||
Cumulus may not be able to update some values/extremes, leaving them at zero, if: |
|||
The "sudo" prefix gives the command 'root' privileges, that allows administrative commands like update and install to run. |
|||
*EITHER you are allowing your PC (or its peripherals) to go into sleep/standby while Cumulus is running, |
|||
*OR you have more than one copy of Cumulus attempting to interrogate the same weather station, |
|||
*OR you are opening/closing Cumulus down very close (within the time for two logger data cycles) to before/after roll-over (this is a restriction due to the way the processing of logger data works). |
|||
Other FAQ and the forum describe further each of these cases. |
|||
==== To actually run MX ==== |
|||
== I’ve ‘zoomed’ a graph, how do I get it back to full size? == |
|||
Open a terminal window, change to the Cumulus MX directory, and then type: |
|||
<pre>sudo mono CumulusMX.exe</pre> |
|||
{{Version badge 1}}Drag from lower right to upper left. |
|||
Next start the administrative interface, basically same as described for Windows above. More information on admin interface later. |
|||
== Cumulus can't read a data update from my station == |
|||
==== Other issues ==== |
|||
'''CUMULUS RUNNING''' If Cumulus error light comes on and message says "Data input appears to have stopped": |
|||
There are lots of topics in the MX sub-forum about a multitude of issues about commands to use to install and check mono, how to stop MX and differences between different devices (including Mac) and different Linux versions. At the moment, there seems to be some uncertainty, and consequently, I have not attempted to include/summarise all the material I have found. |
|||
#Could be interference: |
|||
##Another software package is attempting to interrogate the station at (almost) the same time, so inhibiting a further connection |
|||
##A process on your computer (possibly one that you initiate using Cumulus 1) terminates with an error, making Cumulus miss one of its normal station reading actions |
|||
##Other devices could be affecting, either the frequency of any radio transfer by your station, or the signal passing along your USB connection lead |
|||
#Could be a connection lead has been knocked and so your USB connection has ceased |
|||
#Could be USB port has setting that allows it to sleep |
|||
#Could be you are making some change on your station console that prevents Cumulus reading it at the same time |
|||
#If you have one of the Fine Offset clones, make sure you have configured your relative pressure correctly. If Cumulus finds an 'impossible' value, it will ignore all data from your station. |
|||
'''CUMULUS RE-STARTED''' If Cumulus does not read catch-up data from the station logger: |
|||
'''APPEAL''' - Please could any readers who have experience of running MX in a Linux or Mac environment please consider writing advice into this article. I want it to be a comprehensive accurate article. |
|||
#Might be problem with connection lead, or interference from nearby electrical unit. |
|||
#Your station type may not have a logger, if so Cumulus cannot read anything from station while software was not running. |
|||
#There is a bug in the Davis DLL (Dynamic-Link Library) that Cumulus 1.x.x uses, where it never downloads the last archive record; so if there is only one to download (compare how long Cumulus was stopped with logging interval on your Davis station), it doesn't get any at all. (See [[#Cumulus_takes_a_long_time_to_download_the_data_from_my_Davis_station_at_start_up|here]] for opposite problem). Cure this by ensuring if you stop Cumulus you either leave it stopped for less than Davis logging interval time, or don't restart until after at least 2 logging intervals. |
|||
#You have ''not'' selected "'''Use data logger'''" in the ''Settings'' section of the '''Station settings''' screen accessed from ''Configuration'' menu. Correct this: |
|||
##Stop Cumulus after changing this setting |
|||
##Look in ''Cumulus\backup'' folder (or its ''daily'' sub-folder) for a folder of .ini files prior to the problem, copy all those files to overwrite the ones in ''Cumulus\data'' folder |
|||
##Re-start Cumulus, it should use revised start date/time, and read the station logger for the whole re-wind period |
|||
#If there is another problem, read the instructions accessed from "Please read this post before posting" at the top of the support forum page including the request to zip up the contents of the ''Cumulus\diags'' folder when asking for such support. |
|||
==== Notes by ExperiMentor (in Switzerland) ==== |
|||
== On restarting Cumulus, it did not successfully read all data from when it last ran == |
|||
These comprehensive notes describe how to install Cumulus MX on a Pi Zero, using a PC to do some of the work: |
|||
Assuming you use the type of weather station that does have an internal memory that retains observations that have already been read by your computer (and assuming that you have not left Cumulus off for so long that some of the days you want are no longer there)... |
|||
'''Buy equipment''' |
|||
* Raspberry Pi Zero W |
|||
** A faster Pi is NOT needed for running Cumulus. Pi Zero W has WiFi and one USB port which is all that is needed for headless running. |
|||
** Using a faster Pi might speed parts of the installation process, but are overkill for actual ‘production’ running. A faster Pi will work fine though if you have one going spare and don't mind the extra power use. |
|||
** Case if desired |
|||
* Micro SD card eg 16 GB, decent quality. Adapter if needed to put Micro SD card in PC |
|||
* OTG cable (micro USB plug to standard USB socket) to connect a USB weather station to Raspberry Pi [you may have got one free with a mobile phone or tablet] if it's a USB weather station. Not needed if you have a WiFi or ethernet weather station. An Ethernet weather station will need connected to your router, not the Pi. |
|||
* Suitable Micro USB power supply (it does not need to be a high power 2.5A version for Pi Zero W with only the weather station attached; it will be powered on 24/7, so a low power consumption ‘switched mode’ type is preferred – ie one that does not become warm when plugged in with nothing attached. You may have a suitable one from a mobile phone. |
|||
''' |
|||
Download useful PC software and install on your PC''' |
|||
These instructions are for a Windows PC. Steps would be similar on a Mac, but programs and details would differ. Should also be possible with an Android tablet. |
|||
* SD Formatter (the Windows Format facility will NOT do) |
|||
** https://www.sdcard.org/downloads/formatter_4/index.html |
|||
* balenaEtcher (for unzipping and burning images to SD cards) [Previously named 'Etcher'] <tt>https://etcher.io/</tt> |
|||
* Win32DiskImager (for backup & restore of SD card images) <tt>https://sourceforge.net/projects/win32diskimager/</tt> |
|||
* PuTTY (an SSH client for Windows) <tt>https://www.putty.org/</tt> |
|||
* FileZilla (an FTP file transfer program for Windows) <tt>https://filezilla-project.org/download.php</tt> |
|||
#Use the 'rewind feature' of Cumulus. Look in the backup folder for the backup which Cumulus took when it first started up today. Stop Cumulus, copy all of the files from that backup folder into the data folder (overwriting the files which are there) - this restores Cumulus to the state it was in before you ran it today. Make sure nothing else on the computer is running that might affect either your station or Cumulus log files. You can look in [[today.ini]] to see the date and time that you will rewind back to. Start Cumulus and it should then download the data (from the date and time in the "today.ini"), to get up to date. (Ignore remaining paragraphs if this has worked). |
|||
'''Download Raspbian Pi Operating System''' |
|||
#As mentioned elsewhere if option 1 does not work, you can choose an older back-up and rewind back further providing the information is in the station logger. Remember however, that when you restart Cumulus it will only have access to observations at the station's logging interval, so any extremes between logging times previously picked up by the frequent querying of the station while Cumulus was previously running during the period you are now rewinding may be lost. |
|||
* Save it on your PC, from https://www.raspberrypi.org/downloads/raspbian/ |
|||
#If Cumulus still cannot catch-up, then you can try this more risky solution, you can edit [[#I.E2.80.99ve_just_installed_Cumulus.2C_and_it_didn.E2.80.99t_download_all_the_old_data_from_my_weather_station|timestamp in today.ini]] to exactly match a logging time in your station, the restart should then read all subsequent timed storage locations in the station. This only applies to makes of stations that store the exact time with each logging, not to station types that only record duration since previous logging. |
|||
* "RaspBIAN Buster Lite" is probably OK, but other than small file size it offers no advantage over installing the full version of RaspBIAN Buster. These instructions are being tested using "Raspbian Buster with desktop and recommended software", the largest of all, which could allow you to do other things more easily. |
|||
#If you are very skilled in understanding how Cumulus uses its various [[:Category:Log Files|Log Files]], it is possible (when you stop Cumulus) to back up all the Cumulus log files, before you perform the rewind and a restart, then stop Cumulus again and partially merge data from old and new files, this might enable you to keep some extremes that would otherwise be lost by the rewind, finally do a normal restart. |
|||
* Just click on “Download Zip” (torrent might be faster if you have the ability, but not worth installing just for this) |
|||
* Do not unzip it |
|||
* These instructions have been tested with kernel version 4.14, released 18 April 2018 and with kernel version 4.14, released 13 November 2018 [March 2019] and kernel version 4.19 released 10 July 2019 |
|||
== Cumulus read some invalid figures from my station == |
|||
'''Install Pi Operating System onto Micro SD card''' |
|||
If you have: |
|||
*just started using Cumulus, |
|||
*just re-started Cumulus and you are only getting bad data when you start Cumulus up (i.e. when it is using archive data from the station logger), |
|||
*or you have just changed some settings, |
|||
... check you have the correct station type selected (see the Cumulus ''Help'' for the settings screen). |
|||
Choosing the wrong station type means individual items of information are not correctly assigned to weather parameters. Cumulus knows what is at what location for each station type. |
|||
''Format the SD card'' |
|||
*Is the information ''correct on the station console'' (i.e. not a fault with a sensor), but incorrectly displayed on Cumulus screen (i.e. transfer problem)? |
|||
* Put Micro SD card in PC (use adapter if needed) |
|||
Check all your settings on Cumulus, or see a [[#Cumulus_can.27t_read_a_data_update_from_my_station|previous question]]. |
|||
** If re-using a previous Pi SD card, click ‘Cancel’ on the warning about needing to format the card |
|||
*If the ''station itself shows incorrect figures'', a sensor may have a problem (mechanical or electrical failure, obstruction by animal activity) or a battery may need replacing. |
|||
* Run SD Card Formatter (click Yes to ‘Allow to make changes to your device’). |
|||
Over successive versions of Cumulus more and more code has been incorporated to deal with the way some stations are prone to reporting rogue readings. |
|||
** Need to use this program rather than the Format tool in File Explorer, because Pi SD cards end up with a very small ‘Windows accessible’ partition and a large partition containing Linux. SD Card Formatter allows reclaim of the large partition. |
|||
*Ensure you are using the latest Cumulus build, if you are using an old version you will not have any enhancements made since the earlier build that might improve the way Cumulus reads from your station type. |
|||
* Your SD card should automatically populate in the ‘Drive’ box. In case you have another SD card in your PC, ensure the correct card is selected! |
|||
In general, if Cumulus 1.x.x identifies an odd value it will reuse the last good value instead, assuming that the problem will either right itself, or be spotted and dealt with quickly. |
|||
* Click ‘Format’ and check and accept the Warning messages |
|||
'''Fine Offset stations''' are prone to reporting the odd non-sensical value, and Cumulus has the ability to compare successive readings: |
|||
'''Copy the Pi Raspbian Operating System onto the card''' |
|||
*From the '''Configuration''' menu select [[Cumulus_Screenshots#Configuration_Menu_Screens|''Calibration'']] and in the '''Spike removal''' frame you can specify "the maximum '''differences''' between successive values" that Cumulus is to tolerate. See the '''Help''' for that screen, and note that spike removal applies while Cumulus is running, not to catch-up readings from the station's logger. |
|||
* Run '''balenaEtcher''' on your PC |
|||
* Click ‘Select Image’ and choose the ‘Raspbian Buster’ operating system zip file that was downloaded earlier |
|||
* SD card should be automatically populated. In case you have another SD card in your PC, ensure the correct card is selected! |
|||
* Click ‘Flash!’. The operating system will be copied to the card. This takes about 10 minutes, followed by another 8 minutes to ‘Verify’ |
|||
* Cancel any messages about needing to Format the card - they are just indicating that Etcher has installed the partition that cannot be read by Windows |
|||
* On completion, the card is ‘ejected’ from the PC. Physically remove it and then straight away reinsert it so that the content can be viewed in File Explorer |
|||
* TWO drives will now be visible for the SD card. You will likely see a warning that one of the drives needs to be formatted before it can be used. ‘Cancel’ that warning and ignore that drive. |
|||
* View the other drive, which is named ‘boot’ in File Explorer |
|||
* On the View tab, ensure the ‘File Name extensions’ is ticked |
|||
* Right click and select ‘New’, ‘Text document’. Change its name to SSH (deleting the .txt extension; you need to make an empty file called SSH not SSH.txt). Click ‘Yes’ to ‘Are you sure you want to change the extension?’ |
|||
* Right click and select ‘New’, ‘Text document’. Change its name to wpa_supplicant.conf (deleting the .txt extension; you need to make a file called wpa_supplicant.conf not wpa_supplicant.conf.txt). Click ‘Yes’ to ‘Are you sure you want to change the extension?’ |
|||
* Right click on this new file and select ‘Open with Notepad’ or ‘Open with …’ then select Notepad. Enter the following content exactly as below (copy and paste) then edit your country code (if needed), WiFi network’s SSID and password: NOTE: Change GB as needed to be the code for your country. The quote marks should appear in the file, that is ssid="YourNetwork" not ssid=YourNetwork . Same for psk. |
|||
<pre>ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev |
|||
update_config=1 |
|||
country=GB |
|||
'''Possible Cure:''' |
|||
network={ |
|||
The purpose of the backup files is to allow Cumulus to be 'rewound' to a particular point in time. It simulates the situation where someone had closed Cumulus down at that point, and is only now starting it up again, and needs data to be downloaded from the station's logger to catch up to the present time. Obviously this cure will not work if your station type does not have a logger (one is needed for Cumulus to read old readings again). |
|||
ssid="YourNetwork" |
|||
*If you have only installed Cumulus a few days ago, or have just re-started Cumulus after it was stopped and encounter multiple ''rogue readings in the catch-up from the station logger''; '''one possibility''' is to stop Cumulus and find the [[#On_restarting_Cumulus.2C_it_did_not_successfully_read_all_data_from_when_it_last_ran|backup files]] that it took when you started it up (or just after the previous roll-over time), copy those files into the data folder, overwriting the ones that are there, then when you start it up again it will rewind back to the time in that back-up, and could sort itself out. |
|||
psk="YourNetworkPassword" |
|||
The [[Diags]] log often contains useful information for sorting out what has been read, which values have been ignored, and which highs or lows may have been updated incorrectly. Note that automatic backups are made just after roll-over time because restarting Cumulus when there are no logger records to read before roll-over has been known to cause problems. Therefore, the backup to choose might be one with the date before when the problem occured, but remember that any calculations Cumulus makes are based on readings at least every minute when Cumulus is running, but for the catch up period such calculations can only use the readings available at your station's logging interval. Note if you choose a later backup and it does not work, you can always then repeat the 'rewind' with a earlier backup. |
|||
key_mgmt=WPA-PSK |
|||
}</pre> |
|||
== How to restore a corrupted log file == |
|||
* Not essential, but I like to keep copies of both those files for future use. They can be on the SD card with different names eg ‘SSH - Copy’ and ‘wpa_supplicant.conf - Copy’ as well as on your PC |
|||
Full information about all the log files is elsewhere [[:Category:Log_Files]], so you can study the notes linked from there, but here is a very quick summary. |
|||
* The function of these 2 files is to connect your Raspberry Pi to your network as soon as it boots, and allows you to connect to and control it from your PC by SSH using PuTTY. This avoids needing to connect a keyboard, mouse and monitor to the Raspberry Pi. It is particularly useful for Pi Zero W (or Pi Zero) which hasn’t got enough USB connections and no Ethernet (wired network) connection. This is called ‘Headless operation’. |
|||
* Right click on the ‘boot’ SD card in left pane of File Explorer and ‘Eject’ it safely. |
|||
{{Version badge 1}}''These notes are written for Cumulus 1, some attempt is made to also cover Cumulus MX, but the way that date/times are stored in Cumulus 1 and Cumulus MX files can be different, particularly for the '*.ini' files; consequently this summary does not cover any problems in files that have been ported from Cumulus 1 to Cumulus MX. '' |
|||
'''Setting up the Raspberry Pi''' |
|||
* With nothing plugged into the Raspberry Pi, take the Micro SD card from your PC and put it in the Pi. |
|||
* In a later step, you will need to find out the Raspberry Pi’s IP address by looking at your network router’s web interface. I can’t help you with doing that. If you don’t know how to, an alternative is to connect a keyboard, mouse and monitor to the Raspberry Pi at this stage |
|||
* Plug the power supply into the Raspberry Pi. It will boot up (note flashing red and/or green LEDs depending on model). |
|||
* On your PC, log into your network router’s web interface and identify the Pi’s IP address, which will be in the form xxx.xxx.xxx.xxx, for example 192.168.1.123 |
|||
** NOTE: If you will be switching from a faster “build” Raspberry Pi to a “production” Raspberry Pi Zero W, the IP address will change, so you’ll need to repeat this step later |
|||
** While in your network router for the ‘production’ Pi you will be using, set up some port forwarding that will be needed later. |
|||
** Forward port 8998 to your Pi’s IP address for TCP protocol if you want to be able to access the Cumulus web interface from the external internet (this brings potential security risk though). [Forwarding port 8002 as well was previously needed]. |
|||
* Start PuTTY on your PC. In the box for ‘Host Name or IP address’, enter the Pi’s IP address from above. In the adjacent ‘Port’ box, enter 22. Connection type should be SSH. Click ‘Open’. |
|||
* A window opens. The first time you do this you will probably see a long message asking to confirm it is OK to connect to a not-previously-known device. Click ‘Yes’. |
|||
* Login to the Pi. Username is pi [lower case] and password is raspberry [lower case] |
|||
* You will see a warning that SSH is enabled but the password has not been changed, which is a security risk. We will change the password in a moment |
|||
* Type |
|||
<pre>sudo raspi-config</pre> |
|||
Both Cumulus 1 and Cumulus MX create a copy of each of the logs in the backup folder, both at end of day rollover, and when the software is (re-)started. If the corrupted file in 'data' folder is a log holding extremes (not the detailed log created for each month nor 'today.ini'), then the easiest way to remove false extremes recorded recently is to to overwrite the current file with the one from the most recent back-up. Since 'today.ini' is updated very frequently (every time Cumulus interogates your weather station), it is not advised that you overwrite that file, unless you are able to do a rewind as described in [[#On_restarting_Cumulus.2C_it_did_not_successfully_read_all_data_from_when_it_last_ran|earlier]] answer. If you were to use the backup folder copy of the detailed log, you would lose all of the stored values since the backup, so again only do that in a rewind context where all the files from the backup are overwriting those in data folder, and you simply want to copy in what is still in any station logging memory. |
|||
* Note, to copy from here (usually need to do 1 line at a time), select it then CTRL-C. To paste into the PuTTY window, right click. |
|||
* As needed, adjust the following settings: |
|||
** Change the password to something you will remember. Leaving it at raspberry is a serious security risk – exposes your whole network to hackers |
|||
** In Network Options, |
|||
**#change the name of your pi to ‘Cumulus’ or something you prefer |
|||
**# WiFi network and password have already been set by the wpa-supplicant.conf file added earlier |
|||
** In Boot Options, Desktop / CLI, select ‘Console Autologin’ |
|||
** In Localisation Options, |
|||
**# change ‘Locale’ if you need something different to en_GB.UTF-8. [Changing this takes quite a while on a slow Pi]. [As of Sep/Oct 2019, there is some kind of incompatibility between RaspBIAN Buster, mono v6.0.0.314 and locales other that en_GB - so unless you NEED another locale, it would be better to leave it as en_GB. The alternative is to force load an older version of Mono, for example v5.18] |
|||
**# Change Timezone. |
|||
**# Change Keyboard Layout if needed |
|||
**# WiFi country has already been set by the wpa-supplicant.conf file added earlier |
|||
** In Interfacing options, SSH server has already been set to be enabled by the empty SSH file added earlier |
|||
** Select ‘Finish’. There is no need to reboot at this stage. But until you do, you will see messages "sudo: unable to resolve host raspberrypi", but these can be safely ignored (it's just because you renamed the Pi - will disappear after next reboot) |
|||
{{Version badge 1}}Cumulus 1 provides editors - go to Edit menu and pick the relevant extremes file, the either type over the figures that you want to change or use the buttons that load the more detailed log files and then figures from them can be copied into extreme file. There is an option (in the view menu) to read the latest detailed log for the current (or past) month, but there is no built in editor for those files. |
|||
In the steps below, you will need to press '''y''' to agree to proceed at various times |
|||
Cumulus MX (from version 3.2.2 - build 3058) provides editors for key log files (all-time and monthly-all-time). |
|||
If you have been building the Micro SD card on a fast Pi, now is the time to switch to the 'production' Pi, for which a slower Pi Zero W is more than adequate. |
|||
Shut down the Raspberry Pi safely. |
|||
<pre>sudo halt</pre> |
|||
* Remember 'alltimelog.txt' logs each change made to 'alltime.ini' so you don't need to correct the former, but it can help you know how to regress the latter. |
|||
'''Move the micro SD card to the Pi Zero W'''. |
|||
* "speciallog.txt" (if used) holds internal temperature and internal humidity, it does not get copied to backup folder, so you need to back it up yourself. |
|||
Power on the Pi Zero W. Your SSH (PuTTY) session will close out and you'll need to reconnect after the Pi has rebooted. Use username pi and the new password you chose earlier. |
|||
* 'yesterday.ini' will get overwritten at end of day, so it is rare to edit that. |
|||
* "dayfile.txt" has a new line appended to it at the end of each day, if you go back to the backup copy and you lose the latest line, then most of the information can be extracted from the 'today.ini' in the same backup folder, but you need to understand the process and content differences as explained in the Wiki for the two files. |
|||
* 'year.ini' and 'month.ini' record extremes shown for this year and this month, the diagnostics logs created in the sub-folder 'diags' record each new extreme added to these files, so you can work through the diagnostic logs to identify what to correct. |
|||
* "monthlyalltime.ini" is essentaily a more complicated 'month.ini', it separates out extremes for each month of year. Any change in the diagnostic logs for the current month may, or may not, affect "monthlyalltime.ini", but again searching through the logs should help. |
|||
* 'log.xml' is another file that Cumulus does not copy to the backup folder, so you should back it up periodically. It is only found in Cumulus 1 and is edited using the 'Weather Diary' screen in the 'View' menu. Although it can be edited by a 'XML' editor, I advise against it, as the way that the field 'RowState' is calculated is complex, and if you corrupt the file, Cumulus 1 will crash. |
|||
* "mmmyy.txt" (naming varies depending on computer settings) is the detailed log mentioned above |
|||
== I get very large amounts of rainfall shown, or other high readings == |
|||
'''Add the ‘Mono’ package''' |
|||
* Simplification: Mono is a package which allows programs to be written cross-platform so that they will run on Linux (including Raspberry Pi), Windows and Mac OS, similar to the Windows ‘.NET Framework’. |
|||
* The previous anomaly with the USB library not working with later versions of mono, affecting Fine Offset stations and the later Oregon Scientific stations (WMR88/100/200 etc) has been fixed (''in CumulusMX build 3044 onwards'') and these and other stations should now be fine with later/current versions of mono. I am currently using a Fine Offset with mono v5.18 |
|||
* Process is to install a security certificate, add the mono server to the list of software sources [sources.list] that the Pi searches, then install the mono-complete package: |
|||
<pre>sudo apt install apt-transport-https dirmngr gnupg ca-certificates |
|||
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF |
|||
echo "deb https://download.mono-project.com/repo/debian stable-raspbianbuster main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list |
|||
sudo apt update |
|||
sudo apt-get update && sudo apt-get upgrade |
|||
sudo apt-get install -y mono-complete |
|||
sudo apt autoremove</pre> |
|||
Fine Offset stations have a habit of producing unbelievable readings, and Cumulus filters many of these out automatically. You can also use the 'spike removal' settings on the calibration page, and Cumulus will then filter out large changes in readings. Please read the help for how to use these settings. Another possible explanation is that you have chosen the wrong station type in the Cumulus station settings. You should only select the "Fine Offset with UV/Light sensor" type if your station actually has SENSORS for these. Your station may have solar CHARGING, but this is not the same as having a solar SENSOR, and so you should choose the "Fine Offset (WH1080 etc)" type. Typically, stations which do have solar SENSORS have a model number which starts with a '3', e.g. WS3080, and stations without solar sensors start with a '1' or '2'. Selecting the wrong type of station will cause Cumulus to misinterpret the logger data read from the station (which it uses when it starts up) and hence incorrect readings will result, typically when you restart Cumulus. |
|||
At the time of writing (''18 Sep 2019''), this gets Mono v6.0.0.334, which works with Buster (RaspBIAN 10). However, there have been reports of incompatabilities which require use of an older version of Mono. These may have now been fixed, or alternatively may be related to use of locales other than en_GB.UTF-8 . Please see other threads in Support Forum for discussions. |
|||
NOTE: ''29 Feb 2020'': added '''-y''' into the line '''sudo apt-get install -y mono-complete''' . This makes the install bypass the usual 'Continue Y/n?' prompt¨which was causing strange problems for some, e.g. worked if just pressed 'Enter' to accept default 'Y', but aborted installation if pressed 'Y Enter'. Bizarre. |
|||
''' |
|||
Reboot your Raspberry Pi''' |
|||
This would be a reasonable time to reboot your Pi: |
|||
<pre>sudo reboot</pre> |
|||
If you have bought your Fine Offset station in recent years, a USB lock-up problem is very common and around 50 threads in the support forum are about this. Correcting the lock-up often requires resetting the console, and that can have an undesirable side effect of Cumulus then getting invalid data from the station. The correction of invalid rainfall figures is covered in subsequent paragraphs. Errors in other measurements are one-off errors and should not affect subsequent readings. You still may need, as explained in the relevent Wiki entries, to delete a single line from your monthly log file with rogue values, and correct any incorrect extremes that have been recorded in the various record log files. |
|||
Your SSH (PuTTY) session will close out and you'll need to reconnect after the Pi has rebooted. Use username pi and the new password you chose earlier. |
|||
''' |
|||
Install Cumulus MX on the Raspberry Pi''' |
|||
Download it [[Software|from here]] to your PC, unzip on your PC which makes a directory named CumulusMX. Remember where that directory is located then on PC run FileZilla |
|||
# In the ‘Host’ box, enter the Raspberry Pi’s IP address eg 192.168.1.123 |
|||
# In Username, enter pi |
|||
# In Password enter your pi’s password |
|||
# In Port, enter 22 |
|||
# Click ‘Quickconnect’. Raspberry Pi’s directory structure appears on the right and your PC’s directory structure is on the left. |
|||
# In the LEFT window, navigate to where you unzipped the download of Cumulus MX earlier. Ensure can see the folder name ‘CumulusMX’ in the lower left window |
|||
# In the RIGHT window, ensure that the folder /home/pi is shown (see top right window; contents in bottom right window include .cache, .config etc) |
|||
# Drag the folder ‘CumulusMX’ to an empty area in the lower right window (not onto one of the existing directories). Watch progress as this copies the whole CumulusMX folder and contents to directory ~/CumulusMX on the Pi |
|||
# Close FileZilla |
|||
== My station invented some rain that didn't really occur, and I want to set it to zero (or some other figure) == |
|||
'''On Raspberry Pi PuTTY window:''' |
|||
<pre>sudo halt</pre> |
|||
Cumulus does include some code to try to ignore some obvious rain errors: |
|||
Plug your USB weather station into the Raspberry Pi – USB cable into the OTG connector (probably via an adaptor lead) if using Raspberry Pi Zero W. |
|||
*For example, if the station reports negative (the counter that Cumulus uses decreases in value) rain, Cumulus will normally ignore that, but if for 6 consecutive readings the rain cumulative count stays below what it was before, Cumulus will normally accept the new count as a new starting point. |
|||
If you have an ethernet or WiFi linked weather station then you won't need to do this - I don't have one so I don't know exact details. Steve below says you need to enter the IP address during Cumulus setup, but then also adjust a disconnect period if you are also using Weatherlink software. |
|||
*While Cumulus is running (not when catching up with stored past values from the station log), it will ignore large increases in rainfall. (See [[#.28Invented_rain.29_Error_prevention_by_Spike_removal|below]]). |
|||
Because many positive values are realistic, Cumulus generally will accept those odd increases as a result of accidental knocking of a tipping bucket gauge, due to wind effects on the gauge, or even due to the station electronics generating a rogue reading. The sub-answers below explain how to correct such errors. |
|||
=== (Invented rain) Error in today's total === |
|||
Easy - correct today's total using the [[Today.ini#Editing_rainfall_in_today.ini_within_Cumulus | 'today's rain']] editor on the edit menu (select from main screen in Cumulus 1, or find in the MX browser interface). |
|||
=== (Invented rain) Error in date/time of 'Last Tip' === |
|||
'''Running Cumulus''' |
|||
You must exit out of Cumulus and then edit [[today.ini]] to change the ''LastTip=''(usually helpful to look up previous last tip date/time in a recently backed up today.ini) parameter. |
|||
On PC, run PuTTY again and log in to the Pi as before (note you can save the IP address between sessions) |
|||
<pre>cd ~/CumulusMX |
|||
sudo mono CumulusMX.exe</pre> |
|||
=== (Invented rain) Error in number of consecutive days with or without rain === |
|||
The next thing you will want to do is access Cumulus via its '''user interface''' from your PC, so that you can update the '''settings'''. Using the IP address for your Pi, in your internet browser, enter: 192.168.y.z:8998 (where y and z are numbers you will need to find from seeing how your router connects to your Pi. You’ll first see a dashboard page, then can access the Settings menu. |
|||
# The counts are for completed days, not part days. The threshold for whether a day counts as a wet day is set in the optional parameter [[Cumulus.ini#Section:_Station|RainDayThreshold= -1]], and the parameter [[Cumulus.ini#Section:_Station|NoFlashWetDryDayRecords=1]] is also relevant. |
|||
# Remember that 'ConsecutiveDryDays' and 'ConsecutiveWetDays' do not include today, they reflect the daily rainfall amounts stored in the [[dayfile.txt|daily summary log]]. |
|||
To edit the count reported by Cumulus, stop Cumulus and edit [[Today.ini#Editing_rainfall_in_today.ini_within_Cumulus| the today.ini log file]] by changing the integer value. Remember, that invented rain can affect monthly, annual, all-time, and monthly_all_time extreme records, and you may need to [[#How_do_I_correct_my_all-time_.28or_monthly_all-time.29_records.3F|edit these]] as described in sub-answers below. |
|||
To make Cumulus run each time the Pi is rebooted (and force reboot in the early hours each day) |
|||
On the Pi, type: |
|||
<pre>sudo crontab -e</pre> |
|||
=== (Invented rain) Error in yesterday's total === |
|||
On first run select the text editor you prefer (defaults to #1, nano, the easiest) |
|||
#edit the total for the relevant day in dayfile.txt, (using the dayfile.txt editor available in Cumulus 1 on the edit menu, use any external text editor for MX). |
|||
Then add the following lines at the end of the file: |
|||
#optionally edit yesterday's total (which is only held temporarily for display purposes) in [[today.ini]], while Cumulus is stopped. |
|||
<pre># Start Cumulus as background task 30s after reboot (delay to allow WiFi to startup) |
|||
@reboot (sleep 30;cd /home/pi/CumulusMX;sudo mono CumulusMX.exe) & |
|||
# Reboot each day at 0253 |
|||
53 02 * * * sudo reboot</pre> |
|||
=== (Invented rain) Error in total or high rainfall rate for any day before today === |
|||
'''To stop the Pi and restart it without CumulusMX running''' |
|||
Just edit the total or rate for the relevant day in [[Dayfile.txt#Editing_the_file_or_other_Manipulation_outside_Cumulus|dayfile.txt]], using the [[Cumulus_Screenshots#File.2FEdit.2FHelp_Menu|the daily summary log file - dayfile.txt]] editor on the Cumulus 1 edit menu (or a suitable external editor that does not add 'BOM' for Cumulus MX). Don't edit the daily summary file close to roll-over time. |
|||
(eg you need to do that if upgrading the CumulusMX version) type the following |
|||
<pre>sudo crontab -e</pre> |
|||
=== (Invented rain) Error in total, or extremes, for this month and/or this year === |
|||
'''edit to put a # at the start of the line''' "@reboot..." |
|||
See next FAQ. Once you have corrected the daily totals (or high rainfall rates) in dayfile.txt, you can use the editors (on the Cumulus 1 edit menu) for 'This Month' and 'This Year' to fetch the corrected values from dayfile.txt (or enter figures manually). |
|||
Ctrl-X to save the change to crontab and reboot using |
|||
<pre>sudo reboot</pre> |
|||
=== (Invented rain) Error in all-time extremes or month-by-month all time extremes === |
|||
When your pi restarts, CumulusMX will no longer be running. You can then do your version upgrade or other task. |
|||
Cumulus stores the following rain extremes; for all time and for every January, February ... December: |
|||
*Highest rain rate |
|||
*Highest hourly total |
|||
*Highest daily total |
|||
*Highest monthly total |
|||
*Longest dry period |
|||
*Longest wet period |
|||
The correction procedure for all these is as described in [[#How_do_I_correct_my_all-time_.28or_monthly_all-time.29_records.3F |this FAQ]]. |
|||
To see the previous value for all-time records see [[Alltimelog.txt]]. If your all-time records, or month-by-month all-time records have been affected, in Cumulus 1 you can use the built-in editors (in Cumulus MX, use any external text editor). The Cumulus 1 editors can fetch the correct values after you have corrected dayfile.txt. |
|||
To revert to normal auto-running of CumulusMX, go through the same again, but this time edit crontab to remove the # from the start of the line "@reboot...". Save changes and reboot - CumulusMX will be running. |
|||
=== (Invented rain and) Rain Counter === |
|||
Updating a version of CumulusMX is easily done as follows: |
|||
Cumulus uses a counter supplied by the station to determine its rainfall data (exactly what that counter is, depends on the type of station). A search of the forum will help for your particular model, for example for some models there might be a counter that represents rain since station bought (or since it was reset), for some stations Cumulus will use an annual total supplied by the station (that resets each new year). |
|||
1. Stop CumulusMX running (it locks files while it is running) |
|||
2. Install the updated CumulusMX version into a new directory - I call mine CumulusMX3xyz (where xyz are the last 3 digits of the build number) so that I can easily see which build it is |
|||
If the rain counter is reset by the station for some unexpected reason, you will have to accept that, and let Cumulus handle it - it does its best to cope when the rain counter changes unexpectedly. Assuming it doesn't change unexpectedly again, you should find that the rain figure is only affected for one day, and then you can amend if necessary subsequently as per other sub-answers here. You can see the counter value being used by Cumulus labelled "raindaystart=" in the diagnostics file (for cumulus 1 - "Cumulus\Diags\cumulus.009") and labelled "start=" in "Cumulus\data\today.ini". |
|||
3. copy the following from the old CumulusMX directory to the new CumulusMX3xyz directory: |
|||
=== (Invented rain and) Other rain figures === |
|||
- your CumulusMX/Cumulus.ini file |
|||
Note that other rain figures, such as 'rain last hour', 'rain last 24 hours' and 'rain since midnight' depend on a sensible progression of the rain counter described in previous sub-answer, so it's not easy to correct this; it is easier to wait until the erroneous figure is far enough in the past so as not to affect the calculation of these 3 other values. Note that if you're using a midnight start of day then you don't need the 'rain since midnight' figure anyway, as it is normally the same as 'rain today', and that figure is much more easily corrected. |
|||
If you really do want to try to correct these other rain figures; you would need to stop Cumulus, then find (for the period in question), the correct [[Standard_log_files|standard log file]] field 11 (assuming date is field 0), which stores the Cumulus 'rain counter' values, and edit (increasing the value in the count field, decreases the difference to the next (or current) count, and therefore reduces the rain in the in-between period) so they are correct relative to the current value of the rain counter (i.e. the latest one logged). |
|||
- your CumulusMX/data directory |
|||
=== (Invented rain) Error prevention by Spike removal === |
|||
- your CumulusMX/twitter.txt file (if you have personalised it) |
|||
#It is better to try to avoid spurious rain being recorded in the first place. |
|||
#Cumulus attempts to ignore large increases in the rain total automatically, and is quite often successful. |
|||
#For 'hourly rain' and 'rain rate', you can set 'spike removal' settings on the calibration settings screen. The value you set here, is the maximum change allowed between successive observations. Rain Rate corrections apply only to Fine Offset and La Crosse stations (which are known to occasionally produce faulty rain readings). |
|||
=== (Invented rain) More information === |
|||
- your CumulusMX/web directory (if you have personalised any web files) |
|||
There is more information about correcting rogue data elsewhere in the Wiki, in the pages about the [[:Category:Log_Files|log files]]. |
|||
== My monthly and/or annual rainfall totals are wrong == |
|||
4. Change your startup instruction to use the version in the new directory eg cd /home/pi/CumulusMX3050;sudo mono CumulusMX.exe |
|||
Cumulus calculates these when it is restarted, holds the values within memory, and increments them as required while it is running. This FAQ in the previous section [[#Where_does_Cumulus_get_its_this_month_and_this_year_rainfall_totals_from.3F]] has a concise description of how Cumulus calculates these figures. |
|||
With that method you can easily revert back to the old version if something has gone wrong. If all is well, you can delete the old directory after a few days/weeks/months/if you need the space. |
|||
*{{Version badge 1}} The rainfall total shown on the ''This month'' screen within the '''View''' menu, is calculated from summing [[dayfile.txt]] totals for a selected month, and so for the default current month will exclude the current meteorological day. The rainfall total for today so far is added for the web tag ''<#rmonth>''. If too small a figure is shown, then the most likely issue is that your dayfile.txt is corrupted and Cumulus cannot read one or more lines. Such corruption might be introduced if you have had a power blip while Cumulus was writing to the file, or if you have viewed the file in a Microsoft tool that might have introduced unwanted characters. Both Cumulus 1 and MX provide editors for dayfile.txt, you should use these as they arrange the fields in columns and you should be able to spot when the fields in one line don't match others. The editors for monthly records (and others) have a facility to read dayfile.txt that can pick up some errors in this file and tell you the line number of the first error. |
|||
'''Updating mono version''' |
|||
*First, stop CumulusMX as above by editing crontab. |
|||
*Then remove the present version of mono: |
|||
<pre>sudo apt-get purge libmono* cli-common mono-runtime |
|||
sudo apt-get autoremove</pre> |
|||
* {{Version badge 1}}The rainfall total shown on the ''This year'' screen within the '''View''' menu, is calculated from summing totals in dayfile.txt for a selected calendar year. For the default current year, it will exclude the current meteorological day. Note that for Cumulus 1 the value labelled "This year" in the rainfall frame may not be the total for this calendar year, as you can choose it to start in any month (see next point). |
|||
*Then install the new version |
|||
<pre>sudo apt-get install mono-complete</pre> |
|||
* The rainfall total reported by the ''<#ryear>'' web tag is for the rainfall season to date, it is calculated from taking today's rain and then adding the sum of the totals in dayfile.txt starting with the first (meteorological) day of the month specified in the 'rainfall season' frame on the ''station settings'' screen within the '''Configuration''' menu, until the end of dayfile.txt is reached. So check you have specified the right starting month there before deciding the rainfall total shown is wrong. This is the same figure as is shown on the main screen of Cumulus 1 for "This year" in the rainfall frame. |
|||
*Finally re-enable auto running by editing crontab to remove the # and finally |
|||
<pre>sudo reboot</pre> |
|||
{{Version badge 1}}If you need to, you can specify a year-to-date total to add in for the period up to the point where you started using Cumulus, so that your first year’s total is correct. This is also on the [[Cumulus_Screenshots#Station|Station Configuration screen]]. Make sure you specify the first Cumulus operating year here, otherwise the extra will be added to the annual total for the wrong year! Do note, if your rain season starts in a month other than January, the extra is added throughout the calendar year specified, it is lost when the season swaps to a different calendar year, and if you change the specified year then it will also apply to the next season! |
|||
Above Instructions: Last edited by ExperiMentor on Sun 01 Mar 2020 8:17 am, |
|||
See immediately preceding FAQ [[#My_station_invented_some_rain_that_didn.27t_really_occur.2C_and_I_want_to_set_it_to_zero_.28or_some_other_figure.29 |correcting rainfall]] for how to correct errors in total for particular days and how to correct the high extremes for the various periods. |
|||
=== Notes by Steve Loft === |
|||
In all cases, wait until Cumulus has written the next log entry (i.e. wait the number of minutes that you have set as the Cumulus logging interval), then restart Cumulus to get the monthly and annual totals recalculated from correct daily totals. |
|||
''please note these notes may now be obsolete, library routines have changed a lot since this was written in 2014'' |
|||
If you need to correct within day values for trend graphs as well as the longer period totals, provided you know roughly when the rogue rainfall was recorded, find (and edit) it in the [[Standard_log_files]], field 11 (assuming date is field 0) is the count used to derive other parameters. Increasing the value in the count field, decreases the difference to the next (or current) count, and therefore reduces the rain in the in-between period. |
|||
== The ‘gust’ line has disappeared from my graph == |
|||
**If you have a Raspberry Pi 2, there is a later version of Mono available, which you may find works better that the one in the standard distribution, particularly if you use decimal commas. Mono 3.2.8 (which is the default in some Linux distributions) will not work if you use commas for decimals, as in some countries. |
|||
{{Version badge 1}}You probably have Cumulus set to calculate a 10-minute average, and your logger period is 10 minutes or longer, so your gust comes out the same as the average when using data from the logger. Depending on your weather station type, there are a few things you could try, to improve things. Decrease your station's logger interval, and if you have Cumulus calculating the wind speed average and you have a Fine Offset station, set 'Use speed for avg calculation'. |
|||
**On Linux you will need library '''libudev.so.0''' which may not be installed by default. Installing '''package libudev0''' may resolve this. There may be issues if you are using a 64-bit version of Linux. I'm not sure what the resolution is at the moment, if this is the case. |
|||
== My ‘gust’ values are the same as my ‘average’ wind speed values. == |
|||
You need to specify something like '''/dev/ttyUSB0''' for the connection for your weather station. This is set in the "station settings" and stored in the [[Cumulus.ini#station|ComportName attribute]] in Cumulus.ini configuration file. |
|||
As above, you probably have Cumulus set to calculate a 10-minute average, and your station logger period is 10 minutes or longer, so your gust comes out the same as the average when using data from the logger. See the previous FAQ for suggestions on how to improve this. |
|||
In some builds of MX you have to run as "root", there are ways of giving "root" like permissions when running MX as another user, see forum for details until this section has been updated. |
|||
== I’ve just installed Cumulus, and it didn’t download all the old data from my weather station == |
|||
== Operating a web site with uploads from MX engine == |
|||
Cumulus deliberately doesn’t attempt to download any data from before the point when you first run it. If you wish, although this isn't recommended, you can force it to download data from any point by editing the ‘Timestamp’ line in the [[today.ini]] file (in the data folder), before starting it (you will need to have run it at least once previously). Note that if you do this, it is at your own risk, and you will need to sort out any issues which may arise yourself. |
|||
*If you want to operate the 'standard' web site, then just the same as with Cumulus 1, you will need to upload the ''contents'' of the '''webfiles''' folder from the zip file (don't upload the containing '''webfiles''' folder itself). |
|||
**Note that the MX web files are not the same as the ones for Cumulus 1, so make sure you upload the MX files if moving from Cumulus 1 to MX. |
|||
**The standard gauges are now the SteelSeries gauges. The default versions do not display a graph when you hover over a gauge as happened when you added the stand-alone Steel Series gauges to Cumulus 1. |
|||
**The trends web page in Cumulus 1 relied on that software generating graphs as images. In MX, the software generates files with time and value pairs, these are stored in json format, the trends page then uses a library package (Highstocks) to draw graphs from those data pairs. |
|||
*Of course you can use your own web pages, instead of the standard ones. Assuming they need to include figures that are available as web tags, there are three alternative ways to implement this: |
|||
*#MX can process template files with a HTML structure and those web tags in the structure where values are required just as it does with the standard templates, and MX can upload the resulting web pages at either the real-time interval, the standard interval, or after end of day. All of this is covered on the [[Customised_templates|Customised templates]] page in this Wiki. |
|||
*#MX can process a file with a string of web tags mirroring the realtime.txt option in MX, and upload the resulting file so your web pages can use JavaScript for a one-off insert of the values or an Ajax routine to update the web page at a fixed interval. |
|||
*# Alternatively, you can use template scripts processed by MX that initialise script variables with values obtained from web tags and MX can upload the resulting script files at any of those intervals. You then have a set of web pages using a combination of HTML and script content that bring in the script with the variables by the appropriate syntax. All of this is covered on the [[Php_webtags|PHP web tags]] page in this wiki. As it suggests there, you might therefore have several files processed by Cumulus MX at these different intervals, converting the web tags into script variables, and then use AJAX (JavaScript that may use json format to bring in the variables) or PHP (using <tt>'require_once 'filename';</tt> syntax) to put those variables into a web page. |
|||
If you do this, you will probably need to edit your log files in the '''data''' folder as you may have duplicate entries and/or entries out of order. Your rain totals will almost certainly also be wrong - the total for "today" in particular. See the [[FAQ#My_station_invented_some_rain_that_didn.27t_really_occur.2C_and_I_want_to_set_it_to_zero_.28or_some_other_figure.29 |FAQ]] entry about correcting rainfall data. If you have only just started using Cumulus, you could delete all of the files in the data folder, and just create a simple today.ini as below. Then when you start Cumulus, processing will start again with just the data from the station's logger. |
|||
You may find [[PHP|this wiki page]] useful for understanding more about the different script languages. |
|||
Note that this method does not work for the Oregon WMR200 station. This station deletes logger entries when they are downloaded, and there is no mechanism for retrieving logger entries for a particular period - it just sends all the entries that it has. You may be able to circumvent this by creating a today.ini file in the data folder before you run Cumulus 1, with just this in it: |
|||
== Completely new MX installation == |
|||
<pre> |
|||
[General] |
|||
Date=10/04/2012 |
|||
Timestamp=10/04/2012 10:00:00 |
|||
CurrentYear=2012 |
|||
CurrentMonth=4 |
|||
CurrentDay=10 |
|||
</pre> |
|||
Note that Cumulus MX stores some time-stamps '''in ISO format''' (yyyy/MM/dd HH:mm:ss) within '[[today.ini]]', the format example above only works for Cumulus 1, see the article on the log file itself for specifics. |
|||
Change the dates and time to match the point from which you want Cumulus to start downloading data. If the station has already sent the data, this may not work, unfortunately. |
|||
If you stored data from your weather station (on another file-based system) before you first ran Cumulus, then you may be able to (using a text editor outside Cumulus) generate [[Monthly log files]] for the pre-Cumulus period. See that Wiki article for more information on what you can then do with those files within Cumulus. |
|||
Create a new directory (recommended name CumulusMX) and unzip the contents of the download package into it. See notes above for extras required in various operating systems. |
|||
== I have inserted pre-Cumulus data and now I get errors == |
|||
The package contains everything else you need to read from your weather station (if it is a supported model), to load up the user interface (for settings and some simple web pages to see on a device connected to your home network). You might want to read topics on the MX support forum to discover about other people's experiences. |
|||
Probably some of your inserts used the wrong format (blank rows, fields with real numbers where integers expected, alternatively missing or duplicated fields). See [[:Category:Log_Files]]. Note that Cumulus will only flag errors in the log files that it reads (e.g. those relating to the period for which it displays trends graphs). Check all the log files you have amended. |
|||
=== The provided web pages === |
|||
Setting up a web site is covered in [[Website_setup|this wiki page]] and the pages linked from there. I won't repeat that, but will try to explain below the MX context of the various files involved. |
|||
== I have inserted pre-Cumulus data making 'Records began on' date wrong == |
|||
Cumulus MX provides a set of web templates, images, and json files, in '''\CumulusMX\web'''. If you have a web server, then MX can process these files and upload them for you (by default using File Transfer Process) providing you specify the host, port, protocol, directory, username, and password, for the upload process to use. If you don't understand any of these terms, then this is not the place for explaining them, but generally if your web space is supplied by a provider, they will be able to tell you most of these settings, and you will choose the directory name. If you have set up a web server yourself, then you should know the required settings. |
|||
Stop Cumulus and edit [[Cumulus.ini#Section:_Station | Cumulus.ini (station section)]] within the main Cumulus folder. Change the "StartDate=" line. Be sure to use the same format for the date. |
|||
The web templates included are based on designs by Beth Loft used for Cumulus 1. They are written in fairly simple Hyper-Text Mark-up Language. They are called templates (and have a 'T' at the end of the file name before the extension) because they include web tags that Cumulus has to process to insert the current actual values and then Cumulus will generate a web page that can be uploaded. Most layouts include a table for showing values and styling that gives a graded background colour. The tables include a navigation row with links to the other pages in the set. That navigation line fixes the width of the table, and you will realise it was designed in the days when all monitors were a standard shape and cannot adapt to the range of devices we use for viewing web pages nowadays. However, Steve Loft (who wrote the original Cumulus software) said "They exist because they're our web pages, and they're really only included with Cumulus as examples of how the web tags work. It never occurred to me that most people would simply use the supplied examples instead of creating their own pages!" |
|||
{{Version badge 1}}'''Note''' ''StartDate=xxxx'' does ''not'' need to be updated for Cumulus 1 to recognise earlier data in log files in its ''data'' subfolder. |
|||
The web template that does not include a table is called '''trendsT.htm''', that creates a structure that can display graphs. The data for all the graphs that can be displayed is contained in the various '''json''' files in '''\CumulusMX\web''', these files are also processed by Cumulus so latest values are added, and then uploaded so the web page produced by this template can use them. |
|||
[[File:Badge vMx.png]] However in calculating and updating extremes, Cumulus MX will ignore any monthly log file data prior to the start date set, so it is crucial to make sure the start date is right before you (re-)start MX. |
|||
The image that is provided in '''\CumulusMX\web''' is ''MoonBaseImage.png'', MX can be set to use that to generate (on MX start-up and on the hour) "moon.png" which it then can FTP to your web (also on the hour). |
|||
{{Version badge 1}}It really represents "Cumulus began on", so there is an alternative of leaving cumulus.ini unchanged, but editing default Cumulus ''recordsT.htm'' template twice: |
|||
'''To set up your web server for the first time''', you need to do a one-off installation of a number of files that do not change. These are found in '''\CumulusMX\webfiles''' and its sub-folders. |
|||
*after the h2 heading is ''<p>Records began on <#recordsbegandate>. Here are the extremes recorded since then.</p>''; you can replace '<#recordsbegandate>' with the new earliest date typed in as text; and |
|||
*at the start of the table is the ''<caption>Records Since <#recordsbegandate></caption>''; replace the label "Records since" with "Cumulus began on" leaving the web tag unchanged. |
|||
== Cumulus doesn’t show the same pressure as my Fine Offset console == |
|||
These include the standard styling file '''\CumulusMX\webfiles\weatherstyle.css''' which you place in the directory specified for the uploads. To do this, you will probably need to invoke a FTP process outside of Cumulus. The filezilla client is a popular choice, although other software to do this is also available. Next you have three sub-folders, each of those sub-folders need to be replicated '''within''' the directory specified for the uploads. For example '''\CumulusMX\webfiles\images\picture.jpg''' will be stored in a "images" sub-directory of the upload directory and is used as the background image for web pages. There is nothing to stop you creating your own "picture.jpg" (instead of uploading the supplied one) and then Cumulus web pages will use that for the background image on each page. Similarly '''\CumulusMX\webfiles\js\cumuluscharts.js''' needs to be stored in a "js" sub-directory of your upload directory (this is the script that allows you to change the chart shown on the trends page and uses the appropriate json file to populate it with data). The "lib" sub-folder contains further levels of sub-folders all to be replicated on your web site. |
|||
Cumulus displays atmospheric pressure corrected to sea level. The console calls this ‘relative pressure’; it displays the letters "rel" when this is being displayed. First of all, check |
|||
== Changing from Cumulus 1 to MX == |
|||
# that you are comparing the Cumulus display with the ‘relative’ pressure on your console, |
|||
# that only one copy of Cumulus is accessing the weather station (and no other software), |
|||
# that you do not have a 'EWpressureoffset=x.y' line in the [Station] section of [[Cumulus.ini#Introduced_for_problems_with_Fine_Offset_family:| cumulus.ini]], |
|||
# and that you do not have a setting for pressure on the Cumulus calibration screen. |
|||
The Fine Offset stations only store absolute/station pressure readings in their weather memory locations updated with each transmission and read by Cumulus. Within Cumulus, the software applies the adjustment to sea level before any further processing. It does ''not'' use the altitude setting in the cumulus station configuration screen. |
|||
=== Station connections === |
|||
Normally when Cumulus starts, it reads in [http://www.jim-easterbrook.me.uk/weather/mm/ the fixed block] in the console a pair of absolute/station pressure and relative/sea level pressure readings and uses the difference between these as the ‘offset’ in millibar for the station; Cumulus uses this offset subsequently to calculate the sea level pressure (each time when reading the absolute pressure in the weather memory locations of the station), but it is possible to define the offset in '''Cumulus.ini''' instead. |
|||
Make sure that you have set your console's relative pressure correctly: |
|||
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'''. |
|||
*for a push button operated model, press 'menu' key 4 times for pressure mode, press 'enter' to move to relative pressure setting, press 'up' or 'down' to adjust value. |
|||
*if your model uses a touch sensitive screen then it is probably tap the reading three times, then touch '+' or '-' to adjust value. |
|||
The support forum includes discussion on where to find isobar charts or other sources to determine what the pressure should be - make sure you use a reliable source of data, e.g. a Met Office station if in the UK. Obviously after any adjustment you need to stop Cumulus, because it is when you restart it that Cumulus reads the new pressure offset. |
|||
===web pages === |
|||
Sometimes the offset that cumulus reads from the fixed block is clearly garbage, so |
|||
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 (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. 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. |
|||
# the cumulus error light is set {{Version badge 1}}, |
|||
# an error message suggests you check the station, and |
|||
# Cumulus uses zero offset instead as a best effort. |
|||
In this situation, Cumulus will display the same value as the 'absolute' pressure on the console (no "rel" is displayed on the console when it is displaying absolute pressure). Often, if you restart Cumulus, it will then be able to read the correct value. If the problem happens often, you can circumvent it by editing cumulus.ini (while Cumulus is stopped), and in the [Station] section add an entry: |
|||
EWpressureoffset=x.y |
|||
Remember, that depending on the operating system, MX may require you to install extra components, see above for details. |
|||
where x.y is your pressure offset. '''Cumulus will then use this instead of reading the fixed block offset from the station'''. |
|||
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. |
|||
'''Note''' that ''you must supply the offset in hPa'' (i.e. the millibar units that the station works with) and that this circumvention generally stops Cumulus from agreeing with the relative pressure displayed on the console. ''If you swap from Cumulus 1 to Cumulus MX, remove this pressure offset'', MX is much better at communicating with the weather station and rarely needs use of this offset. |
|||
== My pressure suddenly dropped! Or suddenly increased! == |
|||
#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 the need to edit any reference to folders, but stops you going back easily to Cumulus 1 if you have an issue. |
|||
#If your "Cumulus.ini" was actually called "cumulus.ini" you should rename it to start with a capital letter. 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, whilst Cumulus 1 just looks at all log files it finds in the data folder. There are several other differences, but you can address those later through the MX settings screens. |
|||
#See individual log file pages already referenced (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. |
|||
If you have a Fine Offset station, and this happened when you (re)started Cumulus, it is quite likely a problem with reading the pressure 'offset' from the station. See: "Cumulus doesn’t show the same pressure as my Fine Offset console" above. |
|||
== What I did to Install MX == |
|||
I have used Cumulus 1 for a decade or so, and been very happy with it, but I wanted to give MX a go without affecting my Cumulus 1 installation. Here is exactly what I did on my ex NHS Windows 10 Pro PC, step by step; I am hoping this list might help some readers. Can I just stress I downloaded version 3.4.5 (build 3069), there may be some changes that affect what I record below in more recent versions, I just noted what I had to do at that moment in time (March 2020). For example from version 3.5.0 the obsolete Highstocks I mention below is no longer included in the MX package, instead MX uses the online latest version. |
|||
=== Download and unzip === |
|||
#I downloaded the '''CumulusMXDist3069''' zip from [[Software#Current_Release|the Current Release section]] on the downloads page. N.B. 3069 is no longer latest distribution, but the same link will always give you latest available. |
|||
#I unzipped the contents (on my Windows PC) into a partition I use just for software downloads. You don't have to have somewhere separate to the installation, but it is useful if you want to download on a separate device to the device where you will install your MX, or if you do any customisation of particular files and wish to keep copies of originals. |
|||
#I used a package that '''verifies the files it copies''' to duplicate the folder '''CumuluxMX''' onto the drive where I run Cumulus. |
|||
== I get an error when I try to view my all-time records. Also, they don’t appear on my web site == |
|||
=== Copying Cumulus 1 files into MX folder === |
|||
The locale I used for Cumulus 1 is going to be the same I will use for MX (same PC!) so my copying across of my existing files should be fairly easy: |
|||
#First, I copied my '''\Cumulus\strings.ini''' to '''\CumulusMX\strings.ini'''. This preserves any tailoring I have done of terminology. |
|||
#Next, I copied my existing Cumulus 1 alarm sounds in "\Cumulus" across to MX folder "\CumulusMX\interface\sounds" as these were referenced in my main Cumulus.ini file. |
|||
# I copy '''\Cumulus\Cumulus1.ini''' to ''\CumulusMX'' folder as "Cumulus.ini". I then edit the MX "Cumulus.ini" file: |
|||
#* In the '''[Alarms]''' section (your Cumulus.ini may have sections in a different order to mine) I edit all the parameter lines where the attribute ends in "File" to reflect their MX location in the sounds folder (there is no such folder in Cumulus 1). |
|||
#*In the "'''[FTP site]'''" section (yes, mine was named correctly with second word all lowercase), I had a number of edits to make: |
|||
#*# I change any references to any web pages within "Cumulus" folder to say within "CumulusMX" folder. The approach I am taking is to continue to use my customised web pages, but I am editing the template files as required to cope with differences in the output parameters of [[Webtags#Output_.28format_modifier.29_parameters_for_times_and_dates|MX web tags]]. |
|||
#*# Next where I want a transfer done only at end of day, I have added lines like "ExtraEOD19=1" and changed the previous "ExtraRealtime19=1" to "ExtraRealtime19=0" (I previously used realtime as that was only way in Cumulus 1 to ensure a template file was processed so it held correct values as close to end of day as possible, but it inefficiently also made huge numbers of unwanted transfers during the day). I had 9 such files being copied far too often, so those 9 changes will cause a huge reduction in processing load! ''I know I could do this later using the MX interface, but it makes sense to me to do it as I am working through the file.'' |
|||
#*# I have a few files that are PHP scripts, or web pages, listed in this section, all written as Cumulus templates; each PHP script has a number of PHP variables being set equal to a Cumulus web tag while the web page templates embed a lot of Cumulus web tags. In some cases the web tags have date/time output format parameters, for these I had previously edited any ""hh" into "HH", any "mm" into "MM", any "mmm" into "MMM" and any "mmmm" into "MMMM" in line with the recommendations that I had some years ago typed into [[Webtags#List_of_allowed_modifiers|this table]] for Cumulus 1. That left "nn" for minutes in Cumulus 1 where I could only change it to a MX equivalent "mm" in those cases where Cumulus 1 would have not taken it as month, I was too lazy to check every individual cases (I prefer to use global edits across all my files). So now I created a new version of each PHP script that used "nn", changed it in each new script to "mm" and changed each reference in the MX '''Cumulus.ini''' to the old files to refer to the new files. Subsequently I realised all my "am/pm" references had to be changed to "tt" so I edited my new files again. There were other changes I had to make, in Cumulus 1 you can use tags like 'H' and 'M' on their own, in MX a single modifier on its own often means something different to when that modifier appears with other modifers. Yes quite a lot of work here, despite being able to use the Search ... Replace option in Notepad++. As a result I have done some edits to [[Webtags#List_of_allowed_modifiers|this table]] hopefully making life simpler for the next person faced with this. |
|||
#*# I mentioned some of my web pages are generated from my own Cumulus templates. Despite now having Cumulus 1 and Cumulus MX templates with different names, these still both generate web pages given the same names, so I don't need to alter any navigation between pages on my web server. |
|||
#*In the "'''[NOAA]'''" section I had '''MonthFileFormat="NOAAMO"MMMyyyy".txt"''' on a line, I checked at [[Webtags#List_of_allowed_modifiers|List of allowed date/time modifiers]] that 'MMM' and 'yyyy' were valid in Cumulus MX as well as in Cumulus 1, they were so no edit needed either to that line or to "YearFileFormat="NOAAYR"yyyy".txt" line. |
|||
#The file "\CumulusMX\Reports\.gitignore" is joined in the '''\CumulusMX\Reports''' folder by copying in what I currently have in "\Cumulus\Reports". These are another "Cumulus.ini" (''I am certain this is not used'', but I am playing safe by coping it in) and the existing monthly and annual NOAA reports. I don't need to change those file names as I will continue to use the same format (see change to main Cumulus.ini mentioned above). |
|||
#Next I compare "\Cumulus\web" with "\CumulusMX\web", I notice the subfolder "images" has gone, I expected that from what I already know about MX and its use of Highcharts instead of uploading weather time-series graphs (and the moon image). Also "realtimegaugesT.txt" is only in MX, I expected that knowing the gauges pages supplied with Cumulus 1 and MX are different. I mostly use my own web pages, so I don't worry about the template files. |
|||
# Next I see there is a "MXdiags" folder, so I don't copy across the Cumulus 1 "diags" folder. Equally I don't change anything in the new MX "webfiles" folder, but I do copy across to my web server the "cumuluscharts.js" and "logoSmall.png" files I see there that I have not seen before. |
|||
# So left to last is the "data" folder: |
|||
#* I have copied all files from "\Cumulus\data" to "\CumulusMX\data" (except '''log.xml''' as MX uses a different file), and will see what edits I need to make later. Some of my '''.ini''' contain date-time entries like "12/03/2019 14:50:45". |
|||
The date format on your system has probably changed. Look at the Startdate line in cumulus.ini and check whether this is in the correct format for your system. If not, stop Cumulus and correct the date format. |
|||
=== Almost "Ready to run" === |
|||
# I find after running the CumulusMX engine, that it edits those '''.ini''' files it needs to, and the new versions contain date-time entries in the "2019-03-16T12:45:00" style, but despite what I picked up from reading on the forum, you '''don't''' need to edit beforehand these entries in log files like '''month.ini''' as Cumulus MX can read the old ones. |
|||
# I right clicked on the "CumulusMX.exe" entry in the top level folder and selected '''Send to ... desktop (create shortcut) '''. I have renamed my shortcut to "MX_run" so I can recognise it as different to the folder name, as I have also created a shortcut for the folder. On the same right click menu I also selected '''Pin to taskbar'''. [When I am happy with MX, I can copy the shortcut into '''C:\Users\Personal\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\''' and then MX will start automatically after I (or Windows Update) reboot my PC]. |
|||
# I clicked on one of my new shortcuts. '''Windows Defender''' popped up, so I told it '''allow all''' for Cumulus MX. For the shortcut in the "Startup" folder, I righ-clicked and set up on the layout tab the necessary parameters to place the window that opened on the smaller of the 2 monitors I have connected to my PC, so when it is not minimised (another setting on the shortcut tab) it does not interfere with whatever I am doing on my larger main monitor. |
|||
# I opened my Internet Security premium package, in the "unrecognised files" section I selected CumulusMX.exe then right clicked and selected '''Change File Rating to Trusted''' (I will need to repeat this every time a new version is installed) and in the "Firewall" section of the Internet Security package I added port '''8998''' as one that was permitted. |
|||
# I viewed my hub (router) to see the IPv4 address allocated to my Cumulus MX computer (192.168.1.64), that told me that I would find the user interface by typing "http://192.168.1.64:8998/" into my browser while the MX engine command window remains open (so MX is actually running), so I typed that and I saw the user interface and navigated around it. |
|||
# I right clicked on my desktop (you may need to right click ''on the windows symbol at bottom left''), selected '''command prompt as administrator''' that opened a command window where I typed |
|||
netsh http add urlacl url=http://http://192.168.1.64:8998/ user=\users |
|||
and I got the response "URL reservation successfully added", so I know it worked. This command is apparently to allow all users to bind to port 8998 (i.e. that used for the Cumulus interface). This also means ''you don't have to run the engine (CumulusMX.exe) in an administrator user, nor select "Run as administrator" from right click menu on the shortcut'', nor set the properties for any shortcut to run in any special way. |
|||
== I get an error when I close Cumulus == |
|||
IMPORTANT NOTE: I don't use "localhost:8998" for two reasons, first I already have a web server on my PC at IPv4 "127.0.0.1" using "localhost" as an alternative name (and port 81, selected because something called 'Skype' that I don't use had reserved port 80 that I had expected to use), and second using the IPv4 exact "http://192.168.1.64:8998/" address as a bookmark, I can view the Cumulus Admin Interface on my mobile phone which shares bookmarks with my PC and connects to my LAN via wifi. |
|||
{{Version badge 1}} |
|||
Cumulus does sometimes report an error when you close it. This does not appear to cause any problems, you can just close the error message. I don't seem to be able to do anything about this, as the 'crash' is not in code that I have control over. You may be able to avoid this error by avoiding closing Cumulus while it is uploading to the internet. Please don't bother sending me a bug report about this. |
|||
== My forecast says "Not available" == |
|||
When I am happy to stop using MX, I type '''Control + C''' into that MX command window on my PC and MX closes. |
|||
You can get Cumulus to create a simple forecast by selecting 'Cumulus Forecast' on the Stations Settings screen. |
|||
Obviously, you cannot have Cumulus 1 and Cumulus MX running at same time, accessing same weather station. If you (like I was to begin with) are just experimenting with MX you may sometimes run one flavour (say MX) and sometimes the other (Cumulus 1). Each time you swap, you must copy all the updated log files from the ''just used'' data folder to the data folder you are ''about to use'' when you close one favour before you start the other flavour, or you must have both executables in same top level folder to force them to share the data folder. Please note, '''today.ini''' is a special case, the time-stamp line has a different format in Cumulus 1 (C1) and MX; while MX can read the format that C1 uses, C1 cannot understand the format that MX uses. Remember [[today.ini]] determines which stored entries in the weather station console need to be read to "catch-up" and it also holds the various figures that will inform what gets stored in [[dayfile.txt]] at the end of the day. So to have this file being read and updated correctly is vital. |
|||
== My forecast always says "Exceptional Weather, Stormy, much precipitation" == |
|||
If you don't do either of those alternatives, various derivatives (e.g. Chill Hours) will become wrong and you may have conflicting rows in dayfile.txt (because its content is generated from what that flavour saw when it was running the previous day) and generally this will be particularly evident in any weather parameter that varies a lot like wind vector. It also affects what is stored for any derivatives that rely on averaging (temperature, wind run, rain rate) as these are calculated biased towards the actual times when that flavour of Cumulus was actually running, so you can have issues if you run the 2 flavours in different folders/devices as if the other does not exist. |
|||
You probably have incorrect Pressure Extreme settings in the Forecast section on the Station Settings window. Make sure that the values you have supplied match the units you have selected for the extremes. Note that the units for the extremes are not related to the units you have chosen for pressure display in Cumulus. The option of supplying mb/hPa or inHg for the extremes is merely a convenience; you can supply either, but the values and the units must of course match. |
|||
I have some batch scripts that Cumulus initiates, and a number of Cumulus templates, and in my case I had to be happy these were working before I stopped using Cumulus 1, and got MX as the flavour that auto-started on switching on my PC. I also use output modifiers on a lot of the web tags I use in my custom web pages and it took me a long time to work out the necessary changes to get these templates edited so that MX could process them and produce the web page content I wanted. I am not going to explain all the problems nor give the solutions, because you probably don't have web pages as complex as mine. |
|||
== My computer hibernated/suspended, and I lost data/my graphs 'flat-lined' == |
|||
=== Success === |
|||
{{Version badge 1}} |
|||
My installation of Cumulus MX has succeeded, and as the experiment did help me find a mistake in one of my Cumulus templates where I had not defined input parameters for "Recent History", it has been useful. I am continuing to use Cumulus 1 for the moment, until I am absolutely sure MX can do everything I want. I believe it will do some tasks better, but there is a lot more to learn about how to use it. |
|||
Cumulus can't cope with being suspended, it just carries on as normal after being woken. There is an option in the station settings to 'close on suspend', so Cumulus will close itself as a safety measure, if you forget to do it manually. Don't use the 'close on suspend' option and the 'confirm shutdown' option at the same time; this will cause problems. |
|||
But I strongly recommend that you don't have your computer set to go into any form of standby while Cumulus is running - it's continuously gathering real-time data, after all, so it's a rather strange thing to do. |
|||
Some days later, I have tried out more MX features, been happy with those, and as MX is now doing all I want I have stopped using Cumulus 1. I still use my own PHP script to update my database tables, I tried the custom SQL and it does not do all I want. I have done a little editing of the user interface, partly to discover how easy it is to edit, partly to understand better how it works. For each file I have edited (HTML or CSS) I have kept copy of original and made a second copy of my edited version, so I cam easily go back to original and if I download a new release I won't lose the copies of my edited versions of files. |
|||
== My heat index/humidex/wind chill is the same as my temperature == |
|||
= Updating to a new MX release = |
|||
*These can only be calculated when you have not only your temperature sensor working, but also your humidity sensor must be working for humidex and heat index; and your wind speed sensor must be working for wind chill |
|||
If you have a monitor to see the output from the Cumulus MX engine in its console log, you will see a prompt when a new version is available. Equally if you can view the MXdiags file for the current session of MX, that will say if a new version of MX is available. |
|||
*Wind chill only applies when the average wind speed is above 4.8 kph '''and''' (by default in Cumulus as it should really always be set, but this is an option that can be unset) the temperature is below 10 degrees Celsius. |
|||
*If your update is from the immediately previous build, then just check the release announcement in the support forum, or the entry at [[Cumulus_MX_formal_release_versions]] in this wiki (if that is up to date) for which files have been affected. |
|||
*Heat index only applies when the temperature is above 27 degrees Celsius '''and''' the humidity is above 40%. |
|||
*If your update is skipping some intermediate versions, then check the corresponding release announcements or Wiki entries for every version since the one you have been using before planning your upgrade. |
|||
* Humidex does not have any 'cutoff' values, but at low temperature and/or humidity it will give the same figure as ambient temperature. |
|||
If heat index or wind chill is not applicable, Cumulus will set them the same as the ambient temperature. You may wish to use a script on your web pages to '''set to null''' heat index, humidex and wind chill when required sensors are not working or when the measure is notapplicable. |
|||
It is always best to take a backup of your existing MX installation before you do an update, this allows you to regress back to the earlier version if you mess up installing the new version. |
|||
== Cumulus is showing a different wind speed compared to my console == |
|||
== two approaches == |
|||
You have probably misunderstood Cumulus processing of wind speeds, looking at different parameters, or different averaging periods. |
|||
Some people upgrade by just copying in the files that the release announcement says have changed, others copy in all files from the downloaded zip. The first should only be used with caution, files like '''CumulusMX.exe.config''' can change between versions, but not be mentioned in a release announcement, and the developer will have been making edits to files since the previous release, and might forget exactly which files have been edited between releases. Also you may be upgrading from an earlier version and therefore be skipping several intermediate releases. You may be able to see the dates when files were changed within the zip and therefore be able to decide for yourself if you compare those dates with the previous release you were using if you have kept the download for the version you were using. |
|||
*If you have a Davis weather station see [[#What_do_the_various_wind_speeds_in_Cumulus_correspond_to.2C_with_Davis_stations.3F]] |
|||
*If you have a Fine Offset station, see [[#What_do_the_various_wind_speeds_in_Cumulus_correspond_to.2C_with_Fine_Offset_stations.3F]] |
|||
* For Oregon Scientific and La Crosse stations see [[#How_do_I_set_up_recording_wind_speeds_in_Cumulus.2C_with_Oregon_Scientific_and_La_Crosse_stations]] |
|||
Note that you can't compare the graphs drawn by Easyweather and Cumulus unless you are certain that they are plotting the same data. They can't both be running at the same time, so one would normally be plotting 'live' data at a given interval, and the other will be plotting data downloaded from the station's logger. The wind speed will hence not normally be the same for a particular time on the graph as it may well have changed at the point that it is saved to the logger. The only situation where it ''would'' be valid to compare the graphs would be if neither were running at the times you are comparing, and both subsequently downloaded the same data from the logger. |
|||
#The popular approach recommended by many forum contributors in many different posts (including at [https://cumulus.hosiene.co.uk/viewtopic.php?p=141763#p141763 this post by Mark Crossley for example] is to rename your current install directory, then unzip the new release, letting it create a new '''CumulusMX''' folder (or whatever name you prefer and specify in unzip options). Copy across '''Cumulus.ini''' and '''string.ini''' into that new directory, and then copy the contents of the '''data''' and '''Reports''' directories from your ''current install'' to the new install. Don't forget to copy any other set-up files across too. The advantage (as Mark says) is that you ensure you do use all the files in the new release, and don't miss out any he may have forgotten to mention in his release announcement. Another advantage (as PaulMy says [https://cumulus.hosiene.co.uk/viewtopic.php?p=140262#p140262 here for example]) is that you retain your old set-up intact and can easily restore it should you have a problem with new release. |
|||
#However, |
|||
#** if you have a lot of set-up files, or other custom files, (i.e. files not part of release), or |
|||
#**if you are downloading on a different device, or on a different disc to where you are running MX, |
|||
#*then David [https://cumulus.hosiene.co.uk/viewtopic.php?p=140355#p140355 (see this post)] recommends this different approach. After downloading a new release unzip it on the device/disc where you down load it. Next simply copy the files (optionally only those that have newer dates because they have changed) into the existing MX directory on the device where you run MX. Then you know all your existing files are there, and as mentioned you can choose to only copy in the minimum number of files as specified in the release notes (find them on [https://cumulus.hosiene.co.uk/viewtopic.php?f=40&t=17887 this forum] or in [[Cumulus_MX_formal_release_versions|Wiki here]]). |
|||
== I get error -32710 with Cumulus and my USB Davis station == |
|||
== Updating when files within release might overwrite your edits == |
|||
If you have edited any files, see if the release notice says that file has been revised, if it has not then it is easy to keep your edited file by not copying in the replacement file from within the zip. If the release revises any file you previously edited, take a backup of your edited file, before you copy the new file into your folder. You can then use a file comparing tool to see what has changed in the release and what you changed and hopefully manage to merge to a new file that keeps any functionality change in a new release and keeps your customisation. |
|||
The USB support in the Davis DLL which Cumulus uses doesn't seem to work. You need to use the CP210X USB/serial software which Davis supply, and use the station in serial mode. If you have previously been using your station with Weatherlink in USB mode, you will need to change to serial mode in Weatherlink before you can use the station with Cumulus. You can do this using [http://www.davisnet.com/support/weather/download/CP210X_USB_Serial_Converter_ver2.exe this utility from Davis]. See also this FAQ entry - https://cumuluswiki.org/a/FAQ#How_do_I_get_my_Davis_station_with_USB_working_with_Cumulus.3F |
|||
This includes any standard web pages you might have edited to give the look you desire, or the content you want (e.g. adding rain this month to this month page, or combining this month and this year page). If you have done major customisation to the standard website then you probably have followed the guidance and stored your new web page templates in a different directory and you use '''Extra Files''' to specify where they are, so the new MX will still find them. |
|||
== When I start Cumulus, the graphs restart again each time and don't show the earlier data == |
|||
If you have done any customisation to the '''interface''' then if you have followed the guidance in this article you will have copies of the files that you have customised of the ''interface folder'' so you have ability to copy them back into installation - but be careful with this one, as many releases change the interface in some way and the various components of the interface have to work together as a coherent unit. Be prepared to go back to the standard file for whatever you customised if something it depends upon has changed, after all you must not lose any vital functionality. |
|||
{{Version badge 1}}You probably have an error in one or more data files. Look near the beginning of the latest file in the Diags folder for an error message which will tell you which file is in error and which line is causing the problem. It may simply be a blank line. Edit the file with Cumulus stopped. Note that you may need to repeat this process; only the first error is shown. |
|||
== After update == |
|||
Start the new installation of MX and watch out for any errors - If the device you run MX on has a monitor, then look in the terminal/command window. In all cases look at the latest file in the MXdiags folder to see if any errors are reported. |
|||
This problem can also occur if you change your system format settings (date format, decimal and list separators etc). Again, check the diags file for a message about a number not being a valid floating point value. |
|||
Finally, don't delete your old installation for a week or so as you may notice something from the older version that you haven't copied across! Check again that you copied across strings.ini, twitter.txt, Cumulus.ini, and similar files in the same folder level as CumulusMX.exe, as well as all the files in the data and Reports sub-folders. |
|||
== The peak values on my graphs are not the same as my extreme values == |
|||
== Updating if you use a virus Checker == |
|||
You may find that virus checkers such as Windows Defender reject your new version of MX. They need to be told it is safe. |
|||
{{Version badge 1}}The graphs are snapshots of the data, taken once a minute while Cumulus is running; it is not feasible to plot every data point. If the extreme value did not coincide exactly with the point at which the data was added to the graph, then it will not appear on the graph. The graphs are not intended to show all of the highs and lows, they are there to give an idea of the trends. This also applies to 'Select-A-Graph', which takes its data from the data logs; the highs and lows do not necessarily appear in the periodic data logs. |
|||
== Updating if you use the start/stop management script == |
|||
This is most noticeable with wind gusts, the value of which can change rapidly, even over a period of a minute. The 'Plot latest gust' setting causes the 'Latest' figure (as shown on the main screen) to be plotted. What this figure represents exactly depends on your weather station type. This figure may vary rapidly, e.g. on Davis stations, it changes every 3 seconds or so. The graphs are plotted once a minute, and hence, with Davis stations, for example, there is approximately a one in 20 chance of any given 'latest' figure actually being plotted. |
|||
1. look on [[Software|Software download page]], find the link to latest version, and fill out the '...' below appropriately as you run these 2 commands on your device where you do downloads: |
|||
<pre>cd /tmp |
|||
wget https://github.com/cumulusmx/CumulusMX/ ... .zip</pre> |
|||
Cumulus also stores the peak value of the 'latest' figure from the last 10 minutes. It calls this the 'gust', as this is a reasonable representation of a true 'gust' figure. If you untick 'plot latest gust', it will plot this figure instead. As it contains the peak figure from the last 10 minutes, and the graph is plotted once a minute, plotting this value means that the high gust figure will always appear on the graph. The exception to this is with Davis stations, in the situation where the 'high gust' figure has been read directly (as a way of ensuring that the high gust isn't missed) rather than by the usual reading of the current data. In this case, the gust is recorded as the high, but is not written to the current value, and hence does not appear on the graph, as it may be out of sequence with the current data. |
|||
2. Once that download is complete, start cumulusmx.sh with option -u |
|||
<pre>/home/pi/CumulusMX/cumulusmx.sh -u</pre> |
|||
== My extreme values do not appear in the 'monthly' data logs == |
|||
3.When asked for the zip file, enter |
|||
<pre>/tmp/CumulusMXDist</pre> and hit the TAB Button |
|||
The data logs are snapshots of the data, taken at the configured interval while Cumulus is running (or at the station's configured interval when data is read from the station's logger directly into the Cumulus monthly log). Cumulus, while it is running, reads the station frequently, detecting each change in observations, and can update extremes at each of these reading times. |
|||
4.Choose the zip file with the CumulusMX update and hit return. |
|||
If the extreme value reading time did not immediately precede a time at which the data was logged, then it will not appear in the log. This is most noticeable with wind gusts, the value of which can change rapidly between log entries. |
|||
5. Follow the on screen instructions |
|||
Cumulus is designed to be kept running, if you only run it once a day, then the information it reads from the station's logger during catch up may miss extremes. For example ''when Cumulus reads the archive temperatures from a Davis station'', (in a compromise to allow Cumulus to have as much code as possible that is common to all weather station types) the design means that it ignores the first and second figures representing highest and lowest reported at each logged time, just reading the third figure that, depending on console configuration, is either the average value over the archive period or the final reading of the archive period (I don't know what the default is). |
|||
6. With each update component .....you can choose: [y]es, [n]o, [A]ll, [N]one, [r]ename |
|||
== Cumulus takes a long time to download the data from my Davis station at start up == |
|||
I would recommend select '''A''' as that will simply replace all files without further action. |
|||
When Cumulus starts, it asks the station for all the data from the logger since the last time it was running. If the time-stamp that it supplies does not exactly match the time-stamp of an entry in the Davis logger, the station has a strange 'feature' where it decides to send the entire contents of the logger. This will take some time to download, during which the Davis console display may appear to freeze. |
|||
#It is recommended that you enable the feature '''Synchronise station clock''' in the 'Settings' block accessed from the ''Configuration'' menu '''Station''' [[Cumulus_Screenshots#Station|Screen]]. |
|||
#It is recommended that you set the logging interval in Cumulus (in the 'Data log interval' block accessed from the ''Configuration'' menu '''Station''' Screen) to the same interval as the station (the station interval can be changed using Weatherlink), then Cumulus will be able to make sure it uses a time-stamp that matches an entry in the logger. Note that this is mentioned in the '''readme.txt''' file that appears during the Cumulus installation, which you were asked to read at the time. If you didn't read it, it is strongly recommended that you do so now; it contains important information. |
|||
Note that this situation can also occur if you close Cumulus and then start it up again very soon afterwards, for similar reasons. There is nothing that Cumulus can do about this, it is an issue with the logger (or Virtual VP, which behaves in the same way). |
|||
CumulusMX will be restarted after update completes. |
|||
You can check if the update was successful by using option -s: |
|||
<pre> /home/pi/CumulusMX/cumulusmx.sh -s</pre> |
|||
== Davis to Cumulus skips one logged set of readings == |
|||
= Administrative Interface = |
|||
The Davis DLL which Cumulus 1 uses never downloads the latest archive record. Consequently, if you have Davis and Cumulus set to logging every five minutes and restart Cumulus at 07:33, the archived readings up to 07:25 will be read across to Cumulus, the set of readings stored on Davis at 07:30 will be skipped, and Cumulus will create its own logs from 07:35 onwards. |
|||
#Type the URL which is displayed (when MX starts running) into your browser (replace the * with the IP address, or use 'localhost') and the '''admin interface''' should appear. |
|||
#*If this is a 'clean' installation, ''i.e. you don't have an existing [[Cumulus.ini]] file defining station type and units to be used'', the first thing you will need to do is to go to the '''settings''' screen. |
|||
#When that page is displayed it always shows the options to set the station type and units. |
|||
#Before you leave this page, you can make any other configuration settings by picking a section and clicking it to show the selections within that section. |
|||
#Now go to bottom of this page and click the 'Save' button. |
|||
== My Davis console clock is not exactly the same as my PC clock, but I have "Synchronise station clock" selected == |
|||
Having set the station type, and other settings, you will need stop Cumulus MX and start it again. |
|||
The Davis protocol only allows hours and minutes to be set, so there is always likely to be a difference of up to 60 seconds between the PC and the station. |
|||
== Changing Settings == |
|||
All settings are stored in [[Cumulus.ini]], so when you stop and restart MX, it can continue without you entering settings again. |
|||
== Today is the shortest/longest day, but Cumulus says that tomorrow will be a few seconds shorter/longer == |
|||
Adjusting the majority of them is best done using the MX "admin interface" screens, you will see that '''Settings''' is the penultimate option in the navigation bar, and it has a drop down for the various settings screens that are now described. [[File:Settings Menu.png|right]] |
|||
The routines I use to calculate (at midnight GMT) the length of the day aren't really suitable for this level of accuracy and may use the previous day in one parameter. I don't consider it an issue. |
|||
(Also remember that due to refraction affecting route of sunlight to earth, the official equinox is usually a couple of days after when day and night are actually equal). |
|||
== Cumulus got the forecast wrong! == |
|||
Cumulus uses a forecast based on the Zambretti Forecaster (see Google). I didn't design the algorithm myself and to be honest I don't know how it works, so I can't answer any questions about it. Note that this is a 'forecast' for the following 12 hours or so; it is not a 'nowcast' (what the weather is doing now). Please regard the forecast as 'for entertainment purposes only'. Do not base any decisions on it, and bear in mind that it is a very simple calculation based on only a few basic parameters. Some people get reasonable results, others do not. You can try tweaking the pressure extreme settings (in the Forecast section in the station settings), but don't expect the forecast to be as good as that provided by the weather agencies which have invested millions in their forecasting systems. |
|||
== I only see one set of points on the wind direction graph == |
|||
This happens just after you restart Cumulus, if the data came from the weather station's logger (i.e. Cumulus hasn't been running for a while). Weather stations only supply a 'current' direction, and Cumulus calculates the average direction when running 'live'. So there is only one set of data available to be plotted, if it comes from the station logger. |
|||
== My average wind bearing remains at zero == |
|||
Cumulus will always show zero average bearing when the average wind speed is zero (it can't be otherwise because it's calculated using the wind speed). In addition, it will show zero current bearing when the current wind speed is zero if you have ''use bearing zero when calm'' selected in the [[Cumulus_Screenshots#Station|station]] settings (accessible from '''Configuration''' menu). |
|||
This also happens if your anemometer has a fault. |
|||
== My graphs appear to be plotted less frequently just after Cumulus starts up == |
|||
{{Version badge 1}}When running live, Cumulus plots data at 1-minute intervals. When it starts up, it pre-fills the graphs with data from the log files, which generally (depending on how you have Cumulus and your station configured) will be at less frequent intervals. |
|||
== I closed Cumulus, the 'please wait' form appeared, but Cumulus didn't close, even after several minutes == |
|||
{{Version badge 1}}If you've closed Cumulus shortly after it has downloaded a lot of data from the logger, it can take a while for the logging thread to get everything written away to disk, and Cumulus won't close until this has completed. However, in some circumstances, there seems to be a situation where Cumulus will never close, so you will need to close it with task manager. If you think you know what conditions cause this to happen, please let me know. |
|||
== Cumulus isn't logging data at the interval that I set == |
|||
It logs data at the interval you have configured, while it is running. If there is data to read from the station logger at start up, each logger entry is logged to the Cumulus log files, so those entries will be at the logger interval that you have configured in your station. |
|||
== Cumulus takes a very long time to shut down == |
|||
{{Version badge 1}}You may have closed it very soon after starting it up, when it had a lot of data to download from the station logger, and you use Weather Underground. From version 1.9.1 there is a facility where it 'catches up' with data that hasn't been uploaded to Weather Underground while it hasn't been running. This takes a little while, and if you close it while it is doing it, it will take a long time for all of the updates to time out. You need to give it sufficient time to finish the upload. From version 1.9.2, there is a 'catch up' light which shows that the upload is taking place, and the 'catch up' is optional'; and it will abort much more quickly if you still close it while the catch up is taking place. |
|||
== My temperature Min/Max/Avg graph is empty == |
|||
{{Version badge 1}} |
|||
The most likely explanation is that you have only recently started running Cumulus (in the last day or two). It adds new values to this graph at the end of each day; it wouldn't make sense to add a value part of the way through the day, and you need a few points to be plotted before the graph starts to take shape. You need to wait until you have been running Cumulus for a few days. |
|||
If you've been running Cumulus for more than a few days, but the graph is still empty, the most likely explanation is that it was unable to read your dayfile.txt file. Look at the latest file in the 'diags' folder (the files are plain text) for error messages mentioning dayfile.txt. |
|||
== The longest dry/wet spell for this month/year includes days from last month/year == |
|||
This is intentional. I decided that it didn't make sense to arbitrarily chop off a dry/wet spell at the start of the month/year, as then the figure is meaningless. So the figures are to be interpreted as "the longest dry/wet spell which includes this month/year". I note that other software takes the same approach. |
|||
== Cumulus isn't performing periodic tasks, like data logging or web uploads == |
|||
{{Version badge 1}}Cumulus assumes a certain level of weather station functionality. It checks that it has received data from a number of sensors (e.g. pressure, outside temperature, wind) before it starts periodic calculations, logging, uploading to the web, or drawing graphs. If any of these stop, the previous value will be substituted, for up to 6 readings, then Cumulus 1 will stop working correctly. The reading interval depends on weather station being used, but Cumulus will always read at least once a minute, so it can keep going for just 6 minutes. |
|||
This is an attempt to make sure that bad data is not logged. If your weather station is not fully functional, you will not be able to use Cumulus fully. |
|||
You can over-ride the start up check by adding a line to the [Station] section of [[Cumulus.ini#Section:_Station|cumulus.ini]], thus: ''NoSensorCheck=1'' |
|||
(You need to do this while Cumulus is stopped). Note that you are likely to get bad data logged if you do this. |
|||
== I've changed my Twitter password, and now Cumulus won't update Twitter == |
|||
{{Version badge 1}} |
|||
You need to force Cumulus to re-authenticate with Twitter. Stop Cumulus and edit cumulus.ini. Find the [Twitter] section, and '''delete''' the lines which start |
|||
OauthToken= |
|||
OauthTokenSecret= |
|||
For most screens a HTML form element is used, there is a '''Save''' button to send the contents of that form for processing, and that must be clicked (and an acknowledgement displayed that the form processing has completed) before the edited settings are accepted. To make it easy to change settings, such setting screens uses tick boxes, radio buttons, and drop down selection boxes, so the choices available are clearly laid out. These form based MX settings screens do some validation, and if you make an error the contents change to a red colour (red text and red boxes), that means invalid data is present which must be corrected before the form can be sent by pressing '''Save''' button. One or more items on the page will have an error message added by the form processing in those validation fail cases. |
|||
Start Cumulus and it should be able to update Twitter again. |
|||
If you attempt to set these settings by directly editing the file where they are stored, there is a danger of either making a typo or of choosing an illegal value for a particular attribute. |
|||
This also applies if you want to change to a different Twitter account. |
|||
There are however some settings that can not be found in any of the setting screens, for these you need to edit the [[Cumulus.ini]] file directly, and the referenced Wiki page gives details of which settings can only be adjusted by adding parameters in the file, and tells you what values are accepted for those attributes, and also explains some of the differences in the settings available between Cumulus 1 and MX. |
|||
== When I start Cumulus, I get the error message "The station is not initialised" == |
|||
For Fine Offset stations, when Cumulus starts up, it checks the first two bytes of the station's memory. They are supposed to contain the values Hex 55 and Hex AA to indicate that the station has initialised itself correctly. If they do not, then presumably the station has had some kind of internal problem, so Cumulus doesn't try to read any data from it. A reset of the station normally fixes this - remove the batteries and the USB cable; but note that you will almost certainly lose any stored data in the logger. |
|||
If you want to force Cumulus to ignore this check (not recommended), edit cumulus.ini and add a line to the [Station] section: ''EWdisablecheckinit=1'' |
|||
You will most likely not have any success with this, as your station memory is probably corrupted anyway. |
|||
Note that for this setting to work, you need to be using version 1.9.3, build 1034 or later. |
|||
== How do I correct today's or yesterday's highs and lows? == |
|||
If the problem occurred because Cumulus wasn't able to download the data from the station's logger when you started it up in the morning (or perhaps you turned off the 'use data logger' setting for some reason), you can get it to try again by 'rewinding' to the time when you started Cumulus, and allowing it to try again. Cumulus takes a copy of the current files each time it starts up, and puts them in a folder in the backup folder in the Cumulus installation. Both flavours of Cumulus also take a copy of all files as a new day starts and store those in a folder within the sub-folder daily (within folder backup). |
|||
To do a rewind: |
|||
#Stop Cumulus, |
|||
# find the backup folder with the appropriate timestamp, |
|||
# copy all of the files from the backup folder into the Cumulus data folder, |
|||
# start Cumulus up again. |
|||
'''Today's''' totals, highs and lows (and '''yesterday's rain''' total) are held in [[today.ini]] in the Cumulus data folder. Follow the cross-references if you are unsure which parameter is what. To change any values, stop Cumulus and edit the file(s) in a text editor. Be sure to keep any date and time formats the same (they vary between Cumulus 1 and MX). |
|||
If you are editing '''yesterday's highs and lows''', the totals (including RG11 rain but not standard rain), highs, and lows are held in [[yesterday.ini]]. However, you probably also need to edit [[Dayfile.txt#Editing_daily_summary_in_Cumulus|dayfile.txt]], as many of the values should have been written to that file. Both flavours of Cumulus (1 and MX) have log file editors, be sure to us the right editor for the type of log file you are editing. |
|||
'''Note that if you change settings''', that '''some''' settings do not take effect while MX is running, while other settings do take effect instantly (I have not found a definitive list anywhere) - anyway, you ''may'' need to restart Cumulus MX to get the new setting picked up. When you exit MX, it saves the settings in [[Cumulus.ini]], and when you restart it it uses the settings it reads from that file. |
|||
If your all-time and/or monthly all-time records have been affected, see the next [[#How_do_I_correct_my_all-time_.28or_monthly_all-time.29_records.3F|FAQ entry]]. |
|||
=== Station Settings === |
|||
Each setting has a hint beside it (with a small 'i' for information before each hint). If you have used [[Cumulus_Screenshots#Station|Cumulus 1]], the layout and section headings will be familiar. Like all the settings pages, the headings are collapsed and need to be clicked to see the items under them. The table [[Cumulus.ini#Section:_Station|here]] will explain how MX stores the selections you make here, and give a bit more detail about each item and the values it can take. No settings take effect until '''Save''' button pressed. |
|||
If the value you want to change is today's high hourly rain figure, it is best to wait until the current figure has returned to a sensible value. There is no easy way to correct the current figure, so if you change it in today.ini while the current figure is incorrect, the high value in today.ini will immediately be changed again when you start Cumulus. More information about correcting rain [[#My_station_invented_some_rain_that_didn.27t_really_occur.2C_and_I_want_to_set_it_to_zero_.28or_some_other_figure.29 |in this FAQ]]. |
|||
=== Internet Settings === |
|||
This has a lot of similarities with the [[Cumulus_Screenshots#Sites.2FOptions_Tab|Cumulus 1 settings]], except that this screen only covers what was on the main tab in Cumulus 1. Again there are hints, MX has more options than Cumulus 1 had, and some defaults are different in the two flavours. Windy has been added to the external web sites that can be automatically updated. No settings take effect until '''Save''' button pressed. |
|||
== How do I correct my all-time (or monthly all-time) records? == |
|||
Cumulus works by whenever the reading it is currently processing exceeds a particular record, that record is updated. In essence, Cumulus end-of-day works by reading what is in the monthly [[Standard_log_files]] to find the highs and lows during the day just ended, these then update the [[dayfile.txt|daily summary log]]. Cumulus can also read what is in the daily summary log to update the all-time extremes held in [[alltime.ini]] and month-by-month all-time extremes held in [[monthlyalltime.ini]]. Look up those cross-references to help you understand the various items, and how they can be updated. |
|||
Either 1) Consequently, you can manually copy the sequence remembering it requires several steps: |
|||
# Correct the rogue values or values in the monthly [[Standard_log_files]] ''with Cumulus stopped''. Neither Cumulus 1 nor Cumulus MX provides an editor to do this, and you need to guess new values for readings as there is no other file provided by Cumulus to offer any suggestions, often people interpolate between earlier and later readings. |
|||
# Correct the [[dayfile.txt|daily summary log]] ''(don't do this near the rollover time)'', the editor in Cumulus 1 requires you to manually change the numbers, unless you delete the whole day (or it was previously missing) and you ask Cumulus to '''Insert missing''' i.e. populate a single line (day) from the detailed log, ignoring any extremes at times between logged readings. |
|||
# Correct the all-time extremes held in [[alltime.ini]] and monthly all-time extremes held in [[monthlyalltime.ini]]. Using the Cumulus 1 [[Cumulus_Screenshots#File.2FEdit.2FHelp_Menu|built-in appropriate editor]] from the first couple of commands in the Edit menu (and now also in CumulusMX) allows you to see, and copy across, suggested extremes based on contents of the monthly [[Standard_log_files]] or contents of the [[dayfile.txt|daily summary log]]. |
|||
or 2) If you know the correct figures, you can alternatively enter them manually directly into the .ini files and not bother to update the detailed log or the daily summary log. (It is pointless to edit the .ini files directly and then afterwards edit the log files): |
|||
*You can look at the [[Alltimelog.txt]] file to find the previous values for the [[alltime.ini|all-time records]]. |
|||
*Similar entries are logged to the [[diags]] files for any updates to the monthly highs and lows in [[monthlyalltime.ini|month-by-month records]]. |
|||
or 3) Cumulus takes a backup of most of the active data files when it starts up, and also at the start of the meteorological day (just after midnight for a lot of users). The backups are kept in folders within the backup sub-folder in the Cumulus installation. So yet another alternative method would be to find the latest backup from before the error occurred, and copy the ''alltime.txt'' and/or ''monthlyalltime.txt'' file from the backup to the Cumulus data folder. Do this with Cumulus stopped. There is more information in [[:Category:Log_Files]], for all of the types of file. |
|||
== It's January 1st and my 'rain since midnight' and/or 'last 24 hours rain' and/or Evapotranspiration are wrong/negative == |
|||
You are probably using a Davis station. Cumulus needs an incrementing rain counter to calculate all of the rain figures, and the nearest to that on a Davis station is the annual total. When this resets at the end of the year, this causes some of the rain data to show odd values for a day. You will notice this particularly if you use an 0900 start of meteorological day, as the 'rain since midnight' figure is used for services such as Weather Underground. There's no easy solution to this, sorry. |
|||
== Cumulus stops at the "Downloading data" screen == |
|||
{{Version badge 1}} |
|||
If you have a Fine Offset station, this is probably caused by the station's USB interface locking up - a known problem with some Fine Offset stations. You should be able to get it going again by doing a reset - remove batteries and the USB cable. Recent Fine Offset models have a problem where they can lock up frequently, requiring a reset. From version 1.9.3 of Cumulus onwards, there is an option to synchronise the reading of data with the console writing the data, to avoid doing both at the same time, and this seems to avoid most lockups. The setting is "Synchronise Fine Offset reads" on the station settings screen. |
|||
If you look in the status bar at the bottom of the Cumulus window, there may a message "Error: no response"; this would confirm that the station has locked up and needs resetting. |
|||
If you are using the "Synchronise" setting but are still getting frequent console interface lockups, then the clocks on the console and the platform running Cumulus may be drifting too far between synchronisations. Look in the diags files for the word "drift" and see how many seconds apart the clocks are drifting. If it is more than 3 seconds, you will need to adjust the period that Cumulus allows where it doesn't read the console data. Stop Cumulus and edit Cumulus.ini. In the [Station] section, add a line: |
|||
FOReadAvoidPeriod=N |
|||
where N is the required setting in seconds. If you find you are getting a drift of 9 seconds, say, you might set the value to 10. |
|||
== Cumulus locks up when it starts and I have to use the task manager to kill it == |
|||
{{Version badge 1}} |
|||
If you have a ''Fine Offset station'', this is most likely caused by the station's interface locking up, i.e the station has stopped communicating with the PC. |
|||
The problem where Cumulus locks up when the Fine Offset station doesn't respond is fixed in version 1.9.4. If you look in the status bar at the bottom of the Cumulus main window, there may be a message "Error: no response"; this would confirm that the station has locked up and needs resetting. |
|||
You should be able to get the station going again by doing a reset - either remove console batteries and the USB cable or press the reset button hidden below the small hole (on 1081-based models, above the top RH corner of the battery cover). Recently manufactured Fine Offset models have a problem where they can lock up frequently, requiring a power reset. From version 1.9.3 of Cumulus onwards, there is an option on ''station settings screen'' to '''Synchronise Fine Offset Reads''' (Cumulus reading data from console) with the timing of received transmissions from sensors updating the data, to avoid doing both at the same time, and this seems to avoid most lockups. |
|||
== Error messages with "Error on line..." or "Error at line..." == |
|||
These are corruptions in the log files, typically caused by Cumulus being unexpectedly closed (e.g. killed using Task Manager, or a PC reboot) while it is writing to the log files, but there can be other causes such as power blips or you using a spreadsheet to look at or edit the log file. The error message may say something like "List index out of bounds". The error message will name the affected file(s) and the affected line number(s). |
|||
Stop Cumulus and open the named file(s) in a good text editor, such as Notepad++. Do not use Notepad. At the line number(s) mentioned correct the error(s), which will be obvious as the lines won't look like the other lines, they will be blank or have garbage characters, have an extra field that throws other fields out of position, or perhaps two lines have been run together. Save the file(s) and start Cumulus again. |
|||
== Cumulus gives an error and won't run on my HP computer == |
|||
{{Version badge 1}} |
|||
It's a known problem with HP computers; they have missing fonts. One solution is to install [http://www.microsoft.com/en-us/download/details.aspx?DisplayLang=en&id=16083 this font update] from Microsoft. It appears that computers other than HP can have the same font issue, so it is worth installing the font update anyway, if you get a problem where Cumulus won't start. |
|||
== The headings or data look wrong in the data log viewer == |
|||
You're probably trying to view the wrong type of file. Use [[Cumulus_Screenshots|menus]] on main screen. |
|||
"View | Data logs" is only for the monthly data logs, e.g. Oct13log.txt, "View | Extra data logs" is for "extra" data logs, e.g. ExtraLog201310.txt, and if you want to view the daily summaries in dayfile.txt, use the dayfile.txt editor - "Edit | dayfile.txt". |
|||
== The wind rose in Cumulus does not display anything with my Fine Offset == |
|||
{{Version badge 1}}The Fine Offset weather stations are supposed to supply data for 16 wind directions, however the design is such that most of them only actually use 8 of the possible 16. Try setting the wind rose to only display 8 directions by setting the 'wind rose points' value to 8 on the display settings screen. |
|||
== I've set the graph background to white, but there's a problem with the small wind direction graph == |
|||
This appears to be an issue with the third party chart component. The work around is to choose a gradient background and set all three colours in the gradient to white. |
|||
== My Weather Underground tabular data interval is not the same as the interval I've set in Cumulus (I'm using Rapid Fire) == |
|||
If you have selected 'rapid fire', the data is uploaded every 5 seconds, and the interval you configure in Cumulus is not used. Weather Underground decide how often your tabular data is logged when using rapid fire, not Cumulus. |
|||
== My WU or PWS highest and lowest do not match Cumulus == |
|||
Note that Cumulus does not send minimum and maximum values to PWS and WU, they determine those themselves from the individual values that Cumulus sends. |
|||
== My monthly (month-by-month) all-time records don't have entries for all of the months that I have been using Cumulus == |
|||
You need to initialise them. See the release announcement for version 1.9.3, which is when this facility was introduced: https://cumulus.hosiene.co.uk/viewtopic.php?f=2&t=9286 |
|||
You only need to do this once; when you have initialised them, Cumulus will keep them up to date thereafter. |
|||
== I am getting I/O error 32 or I/O error 103 == |
|||
I/O error 32 = ERROR_SHARING_VIOLATION; I/O error 103 = 'file not open' mean something on your system has one of the Cumulus files open, preventing Cumulus writing to it (Cumulus needs exclusive access). If you are seeing "file access denied", you may have a permissions problem. |
|||
Possible reasons for locked files: |
|||
# Anti-virus, or back-up, software scanning/accessing the file (this is the cause in almost all cases that I've seen). |
|||
# An edit or file transfer in progress (the Cumulus thread for logging and the Cumulus thread for FTP are independent so can overlap). This is likely to happen if you are getting Cumulus to frequently upload the log file to your web site. |
|||
# Some other software that a user is running which is processing the file in some way. |
|||
# More than one instance of Cumulus running (see [[#Can_I_run_2_copies_of_Cumulus.3F]]). |
|||
# An issue with the system clock on the PC. |
|||
== I have problems after upgrading to Windows 10 == |
|||
{{Version badge 1}}See this forum post - https://cumulus.hosiene.co.uk/viewtopic.php?f=2&t=14148 |
|||
== How do I enable debug logging in CumulusMX? == |
|||
There are a number of ways of enabling logging |
|||
*From b3068 CumulusMX can be started with the -debug parameter to switch on debug and data logging from start-up. This is often the best option. |
|||
*Whilst MX is running the logging can be switched off/on via the administrator interface - Settings|Station settings|Options ''Debug logging'' & ''Data logging'' |
|||
*With MX stopped, edit Cumulus.ini. In the [Station] section set (or add if missing) the two entries... |
|||
<pre>Logging=1 |
|||
DataLogging=1</pre> |
|||
= Website = |
|||
== How do I set up a website? == |
|||
The crucial settings are selected on the ''Internet'' screen in the '''Configuration''' menu. |
|||
*On the ''Sites/Options'' tab, you must have '''Auto Update''' selected if you want Cumulus to generate web pages at the standard interval. Other parameters will depend on your particular set-up, but are explained in the Cumulus '''Help''' and in Wiki pages starting with [[Website_setup]] and following links as required. |
|||
*On the ''Files'' tab, you select whether to use the standard Cumulus templates and images, or specify your own templates and destinations. |
|||
== I’ve configured my ftp details but the web pages aren’t appearing on my site == |
|||
Try setting ‘use active FTP mode’. If you already have it set, try unsetting it. If it was previously working OK, something may have changed on your network, or at the server end. |
|||
== I’ve tried active FTP mode, but my web pages (or my realtime.txt file) still don’t appear? == |
|||
Are you absolutely sure you have set the ftp path correctly? Most problems like this are a result of an incorrect path. Note that the information in the 'FTP progress' window is not generally useful for diagnosing upload issues' try turning on the ftp logging (on the Configuration menu) and look in the ftplog.txt and realtimeftplog.txt files (in the Cumulus folder). It is best to supply a relative path - i.e. with no leading 'slash'. Please don't ask me what path you need to supply, it is impossible for me to guess how your web space is set up. If you cannot work it out, ask your web space provider for help. |
|||
== How do I replace the 'bird' image on my website? == |
|||
There are several ways to change the image of the 'bird' on the standard Cumulus web page. You will need a [[FTP tool]]. |
|||
* The simplest way is to upload a new picture to the images folder of your website; the file should be called picture.jpg. Please ensure the image is not too large and bear in mind it will appear on the bottom left of the page; the site data may cover some of the image. As a guide, the default image is 600 x 450 pixels. |
|||
* Secondly, you may upload an image using your own file name. Edit the ''weatherstyle.css'' file and look for the line <tt>background-image: url(images/picture.jpg);</tt> around line 9 and adjust as necessary. Upload the edited css file to your website. |
|||
* if you wish to remove the image completely edit the ''weatherstyle.css'' file and remove the line <tt>background-image: url(images/picture.jpg);</tt> Upload the edited css file to to your website. |
|||
NOTE: It is not recommended that you overwrite the image in your local folder (webfiles\images\picture.jpg) because that gets overwritten when you update to a new build of Cumulus. Ideally your image will be in its own local folder outside the Cumulus structure. |
|||
== Why does the heading say 'weather weather' ? == |
|||
The standard first template page contains '''<h1><#location> weather</h1>''', so do not include 'weather' in your station name (this is what the tag <#location> represents, see next answer) to avoid it being duplicated. |
|||
== How do I change the "Welcome to." on the front page == |
|||
The Welcome message is controlled within Cumulus. Click on the ''Station'' screen in '''Configuration''' menu and Edit the '''Description''' field within the Location frame to amend what the tag <#longlocation> represents in "Welcome to <#longlocation>." on template page. |
|||
== I don't have a solar sensor. How do I remove the solar data from the supplied web templates? == |
|||
Locate the Cumulus 'web' folder on your PC and edit the following files (there are comments in the html to guide you): |
|||
'''indexT.htm''' |
|||
Remove the following code: |
|||
The main new feature within this settings page is a '''Custom Http''' section. Within here you can define commands to be executed either at some multiple of seconds interval, and/or at a selected intervals in minutes, and/or at end of day (in [[#MX_End_of_Day_Process|EOD sequence shown below]], the Custom HTTP is run before external programs are run, and that is before upload of Extra Files at EOD). In each of these you can use web tags to supply values for parameters to the command. Typically this would be used to send information to a remote web server. Here is a Custom HTTP example <pre>https://the_URL_here/your_api_here?winddir=<#avgbearing>&windspeedmph=<#wspeed>&windgustmph=<#wgust>&tempf=<#temp>&rainin=<#rhour>&baromin=<#press>&dewptf=<#dew>&humidity=<#hum>&uv=<#UV>"</pre> |
|||
You need to turn on enhanced debug logging to see any confirmation that the http has run: |
|||
<pre> |
<pre> |
||
<!-- Solar data. If you don't have a solar sensor, you may wish to delete everything from here to the next comment --> |
|||
2018-07-21 16:05:00.821 Custom HTTP Minutes update |
|||
<tr class="td_temperature_data"> |
|||
2018-07-21 16:05:01.037 Custom HTTP Minutes response: OK: ok! (24.2)</pre> |
|||
<td>Solar Radiation</td> |
|||
<td><#SolarRad> W/m²</td> |
|||
<td>Evapotranspiration Today</td> |
|||
<td><#ET> <#rainunit></td> |
|||
</tr> |
|||
<!-- End of solar data --> |
|||
</pre> |
|||
'''todayT.htm''' |
|||
=== Extra Web Files === |
|||
This is an extension of the Cumulus 1 facility on the "Files" tab of its Internet Settings. How to use these settings is explained for both Cumulus flavours on [[Customised_templates#What_to_select_on_the_.27Files.27_tab_of_the_Internet_Settings_screen_within_the_.27Configuration.27_menu|this wiki page]], MX has an extra "end of day" (EOD) option, but otherwise you fill it out exactly the same way. Settings in one table cell are stored when you click in another table cell. Although, there is no Save button as clicking in another cell stores previous edit, the "Enter" button on many keyboards can optionally be used to be sure you have saved all edits made before you leave the screen. |
|||
Remove the following code: |
|||
Although to tick both real-time and EOD seems nonsensical, MX will let you for any selected file(s) do the processes and uploads at both intervals. I don't see why you should do that for normal running, but you might tick both to test a template without waiting for EOD, and after it has been processed once, remove the unwanted real-time tick, so from then onwards it just happens at EOD. |
|||
<pre> |
|||
'''If you have moved from Cumulus 1''', and are therefore using an existing Cumulus.ini, these screens may be partly pre-populated, despite that you might need to: |
|||
<!-- Solar data. If you don't have a solar sensor, you may wish to delete everything from here to the next comment --> |
|||
# change some paths in local column, as you may be referencing some files moved when you installed MX |
|||
<tr class="td_temperature_data"> |
|||
# untick one column, and tick another, now that EOD is an option for the timing as well as real-time and normal logging/ftp interval. |
|||
<td>Hours of Sunshine</td> |
|||
# edit some templates (local files) where the process column is ticked because of [[Webtags|Web tags differences]] meaning that some output modifiers are interpreted differently. |
|||
<td><#SunshineHours></td> |
|||
# you should not need to change remote file names, providing that you have not changed any directories on your web site as (like in Cumulus 1), for extra files, the remote path/file name required ignores any directories specified on Internet Settings screen for FTP settings. |
|||
<td>&nbsp;</td> |
|||
</tr> |
|||
<!-- End of solar data --> |
|||
</pre> |
|||
'''yesterdayT.htm''' |
|||
=== Calibration settings === |
|||
This is identical to [[Cumulus_Screenshots#Calibration|Cumulus 1 screen]] functionality, already explained in [[FAQ#I_get_very_large_amounts_of_rainfall_shown.2C_or_other_high_readings|Cumulus 1 FAQ here]] and [[Dayfile.txt#Dealing_with_rogue_measurements|"Dealing with rogue measurements"]] in this wiki. |
|||
Remove the following code: |
|||
=== NOAA report settings === |
|||
This is identical to Cumulus 1 functionality, the various settings available on this screen are already explained [[Cumulus.ini#Section:_NOAA|elsewhere]] in this wiki.[[File:NOAA.PNG|right]] Just a quick reminder here that while Cumulus 1 is case insensitive for the code for the different ways to specify a month, MX only accepts upper case ('MM' for digits, 'MMM' for 3 letter month etc.). |
|||
<pre> |
|||
=== MySQL settings === |
|||
<!-- Solar data. If you don't have a solar sensor, you may wish to delete everything from here to the next comment --> |
|||
Cumulus MX includes functionality not in Cumulus 1, and this is one example of a new feature. It was developed from [[ImportCumulusFile|this script]] for Cumulus 1. It is designed to automate updating of MySQL databases whose schema has each table based on one of the Cumulus log files. The optional settings described below, allow you to choose which log file to use for such automatic updates and what to call the table uploaded to (uploads will not work before the required table has been created). Alternatively, you can devise your own schema, create that table, and then write the SQL to update your table using web tags to supply all the values. You need to turn on enhanced debug logging to see any confirmation that the SQL has run. |
|||
<tr class="td_temperature_data"> |
|||
<pre>2020-04-09 10:00:01.047 MySQL: 2 rows were affected.</pre> |
|||
<td>Hours of Sunshine</td> |
|||
<td><#YSunshineHours></td> |
|||
<td>&nbsp;</td> |
|||
</tr> |
|||
<!-- End of solar data --> |
|||
</pre> |
|||
== How do I remove Inside Temperature graph, or add solar/UV/sunshine, to Trends Web Page? == |
|||
{{Version badge 1}}BELOW ONLY APPLIES TO CUMULUS 1. |
|||
Locate the Cumulus 'web' folder on your PC and edit the following file: |
|||
'''trendsT.htm''' |
|||
Modify the following code: |
|||
<pre> |
|||
<td class="td_thumbnails"><a onclick='changeImage("images/intemp.png")'><img src="images/intempsm.png" alt="Inside Temperature Graph Thumbnail" width="150" height="100" style="border:0" /></a></td> |
|||
</pre> |
|||
*To simply remove '''Inside Temperature''' graph, change code above to this |
|||
<pre> |
|||
<td></td> |
|||
</pre> |
|||
*If you want to stop Cumulus uploading the indoor temperature graph, you can un-tick 'Include standard images' on the 'files' tab of the internet settings, and list all of the images that you still want to be uploaded as extra files. Cumulus 1 configuration only allows you to add 10 files so you would need to do this by editing Cumulus.ini, ironically these notes do not apply to Cumulus MX but in that all 100 slots can be edited within the settings pages. |
|||
*To show solar instead, replace 'intemp.png' with 'solar.png', replace 'intempsm.png' with 'solarsm.png', and change the wording of the value associated with the alt property. |
|||
*To make Cumulus upload the solar graph, select it on the 'files' tab of the internet settings. |
|||
*To show sunshine instead, replace 'intemp.png' with 'sunshine.png', replace 'intempsm.png' with 'sunshinesm.png', and change the wording of the value associated with the alt property. |
|||
*To make Cumulus upload the sunshine graph, select it on the 'files' tab of the internet settings. |
|||
*To show UV instead, replace 'intemp.png' with 'uv.png', replace 'intempsm.png' with 'uvsm.png', and change the wording of the value associated with the alt property. |
|||
*To make Cumulus upload the UV graph, select it on the 'files' tab of the internet settings. |
|||
If you want to do more than a straight one for one swap see [[Customised_templates#Slightly_less_simple_customisation_of_trendsT.htm| customisation page here]]. |
|||
If you want to insert historic data (i.e. from before you first use this feature in MX), the Cumulus 1 script just referenced can be used, or you can write your own SQL to do this one-off task. |
|||
== How do I include extra items on supplied web templates? == |
|||
Open the folder cumulus\web and edit the relevant file named xxxxxT.htm. For example instead of deleting the sections in the [[#I don't have a solar sensor. How do I remove the solar data from the supplied web templates?|remove solar answer]], edit their contents. |
|||
'''Mandatory section''' |
|||
See [[Customised_templates#Changing_the_Standard_Templates]] for fuller description. |
|||
* Server Details - expand this drop down as it is used for essential information for any access to database |
|||
*# Enter your host name or a IPv4 address for your web server. If you host your own server, it might be something like 127.0.0.1. It is the same as you enter for host in the "internet settings" screen. |
|||
*# Enter the port for communicating with database server e.g. 33106. |
|||
*# Enter the User Name for updating your database. |
|||
*# Enter the password for updating your database. |
|||
*# Enter the name of the database that holds the tables you wish to update |
|||
If you do change the standard templates, take a copy of your new versions, and store elsewhere. |
|||
'''Optional Sections''' |
|||
The sub-folder cumulus\web\originals has copies of the standard templates from the installed build, do not edit these. |
|||
When you install a new build of Cumulus, you have an option to replace or not replace the contents of cumulus\web with the new build's standard templates. |
|||
== How do I upload extra web pages? == |
|||
The remaining 6 drop-down sections are optional, you choose which you want to use, they appear on the screen in a different order to how I explain them below. |
|||
See Cumulus help for the Internet Settings screen, or for a step-by-step guide see [[Customised_templates#What_to_select_on_the_.27Files.27_tab_of_the_Internet_Settings_screen_within_the_.27Configuration.27_menu]] |
|||
== What character encoding does Cumulus use for the web pages it generates? == |
|||
* 1.''Dayfile.txt upload'' |
|||
** This feature takes the set of values that MX has just used for the line added to this [[dayfile.txt|log file]] at the end of the day, and soon afterwards inserts those same values into a new row (with columns named as per SQL example below) in a database table |
|||
** There are 3 items to use, 2 in this section and below all the option sections a Save button: |
|||
**# Enable - tick here when you are ready for this action [using the schema (set of column names) in the SQL quoted below] to happen at end of day |
|||
**# Table name - the default table name is "Dayfile", but you can choose any other name |
|||
**# Save - a button after all option sections, until you click it any changes you make in this section have no effect |
|||
** Before you reach the end of day that will use this option you do need to create the required database table, and you will find the necessary option lower down on the setting page '''Create Dayfile'''. Do not use the Create action until you have chosen a table name in the upload section (if you don't want default table name) and have clicked Save to tell MX to use your chosen name. Once you have done that, click this Create Dayfile option and it will create the table using the following SQL (here using default table name): |
|||
<pre>CREATE TABLE Dayfile (LogDate date NOT NULL ,HighWindGust decimal(4,1) NOT NULL,HWindGBear varchar(3) NOT NULL,THWindG varchar(5) NOT NULL,MinTemp decimal(5,1) NOT NULL,TMinTemp varchar(5) NOT NULL,MaxTemp decimal(5,1) NOT NULL,TMaxTemp varchar(5) NOT NULL,MinPress decimal(6,1) NOT NULL,TMinPress varchar(5) NOT NULL,MaxPress decimal(6,1) NOT NULL,TMaxPress varchar(5) NOT NULL,MaxRainRate decimal(4,1) NOT NULL,TMaxRR varchar(5) NOT NULL,TotRainFall decimal(6,1) NOT NULL,AvgTemp decimal(4,1) NOT NULL,TotWindRun decimal(5,1) NOT NULL,HighAvgWSpeed decimal(3,1),THAvgWSpeed varchar(5),LowHum decimal(4,0),TLowHum varchar(5),HighHum decimal(4,0),THighHum varchar(5),TotalEvap decimal(5,1),HoursSun decimal(3,1),HighHeatInd decimal(4,1),THighHeatInd varchar(5),HighAppTemp decimal(4,1),THighAppTemp varchar(5),LowAppTemp decimal(4,1),TLowAppTemp varchar(5),HighHourRain decimal(4,1),THighHourRain varchar(5),LowWindChill decimal(4,1),TLowWindChill varchar(5),HighDewPoint decimal(4,1),THighDewPoint varchar(5),LowDewPoint decimal(4,1),TLowDewPoint varchar(5),DomWindDir varchar(3),HeatDegDays decimal(4,1),CoolDegDays decimal(4,1),HighSolarRad decimal(5,1),THighSolarRad varchar(5),HighUV decimal(3,1),THighUV varchar(5),HWindGBearSym varchar(3),DomWindDirSym varchar(3),PRIMARY KEY(LogDate)) COMMENT = "Dayfile from Cumulus"</pre> |
|||
Cumulus 1.9.4 build 1093 changed all the template pages from XHTML 1.0 Transitional using charset=iso-8859-1 encoding to HTML 5 using charset="UTF-8" encoding. It uses this without [http://en.wikipedia.org/wiki/Byte_order_mark Byte Order Mark] (BOM). |
|||
From that build, you can tell Cumulus which of those two encodings to use: |
|||
*2. ''Custom upload - at rollover'' |
|||
*For standard template names in standard 'cumulus\web' folder, if you replace them with customised templates not using [http://en.wikipedia.org/wiki/UTF-8 "Universal Character Set Transformation Format — 8-bit" (UTF-8)], |
|||
** In the previous option, you have no ability to vary the schema, it will update a column for Total Evaporation even if your weather station cannot calculate that. It will update columns for total hours of sunshine, highest solar radiation level, and the maximum UV in the day even if you cannot measure these. It will not record whether snow was falling or lying, or the depth of snow if you wanted to be recording those. |
|||
**unselect '''UTF-8 encode''' in the web settings frame on the Sites/Options tab of Internet settings screen in Configuration menu. |
|||
** MX provides this alternative option, again doing an upload as part of roll over to next day ([[#MX_End_of_Day_Process|sequence shown below]], the Custom EOD SQL is run after the day reset to new date, but before the dayfile.txt update with existing values and so before today.ini to yesterday.ini processing). |
|||
**Cumulus will then, as in earlier builds, use [http://en.wikipedia.org/wiki/ISO-8859-1 iso-8859-1] encoding. |
|||
**In this section you can specify the schema, and say which columns are to be updated with three selections: |
|||
*For extra templates, the Files tab of the Internet settings screen in Configuration menu has the option to choose which of the two Cumulus encodings to use. See Wiki article referenced in previous answer. |
|||
**# Save - a button after all option sections, until you click it any changes you make in this section have no effect |
|||
**# A tick box to enable or disable this upload (so you can leave the SQL recorded, but stop running it when you like. |
|||
**# The SQL you want to run, what you type in this small text box should include INSERT IGNORE (or REPLACE) to insert a row, or include UPDATE to change columns in a row that already exists, like any SQL it must include the name of the table, the columns to be updated, and the values you want to insert into the columns are either expressed as web tags, as SQL functions on web tags, or as a sub-query reading the values from somewhere else. |
|||
**#* Here is an example of a suitable query that MX can process for you [note I have had to include some yesterday tags e.g. for primary key ('''<#metdateyesterday format=yyyy-MM-dd>''', and I have used the SUBSTRING function at one point, but I don't have a sub-query in this example): |
|||
<pre>INSERT IGNORE INTO `test_daily_summary` (`MaxRainRate`, `TMaxRainRate`, `HighHourRain`, `THighHourRain`, `TotRainFall`, `SnowFalling`, `SnowLying`, `SnowDepth`, `CumChillHours`, `LogDate`, `RollOver`, `MinTemp`, `TMinTemp`, `HeatDegDays`, `AvgTemp`, `MaxTemp`, `TMaxTemp`, `CoolDegDays`, `LowDewPoint`, `TLowDewPoint`, `LowHum`, `TLowHum`, `HighHum`, `THighHum`, `HighDewPoint`, `THighDewPoint`, `GreatWindChill`, `TGreatWindChill`, `LowAppTemp`, `TLowAppTemp`, `HighAppTemp`, `THighAppTemp`, `HighHeatInd`, `THighHeatInd`, `MinPress`, `TMinPress`, `MaxPress`, `TMaxPress`, `HighAvgWSpeed`, `THighAvgWSpeed`, `StrongestWindGust`, `TStrongestWindGust`, `BearStrongestWindGust`, `BearStrongestWindGustSym`,`BearDomWind`, `BearDomWindSym`, `TotWindRun`) VALUES ('<#rrateTM>', '<#TrrateTM>', '<#hourlyrainTH>', '<#ThourlyrainTH>', '<#rfall> ', '<#snowfalling>', '<#snowlying>', '<#snowdepth>', '<#chillhours>', '<#metdateyesterday format=yyyy-MM-dd>', '(1 * SUBSTRING(<#rollovertime>,0,2))', '<#tempYL>', '<#TtempYL> ', '<#heatdegdays> ', '<#avgtemp>', '<#tempTH>', '<#TtempTH> ', '<#cooldegdays> ', '<#dewpointTL>', '<#TdewpointTL>', '<#humTL>', '<#ThumTL>', '<#humTH>', '<#ThumTH>', '<#dewpointTH>', '<#TdewpointTH>', '<#wchillTL>', '<#TwchillTL>', '<#apptempTL>', '<#TapptempTL>', '<#apptempTH>', '<#TapptempTH>', '<#heatindexTH>', '<#TheatindexTH>', '<#pressTL>', '<#TpressTL>', '<#pressTH>', '<#TpressTH>', '<#windTM>', '<#TwindTM>', '<#wgustTM>', '<#TwgustTM>', '<#bearingTM>', '<#directionTM>', '<#domwindbearing>', '<#domwinddir>', '<#windrun>');</pre> |
|||
** Again before you enable this option, there is a facility lower down this setting page (under the heading '''Create database table''') where you can type some SQL to be run immediately, that can create the table you want this option to update, (although it could even populate any table with historic data, it is only intended for a small query). I am using a table that already exists as I have used it for testing changes to my PHP scripts, so I did not need to create a table before I enabled the query shown above. |
|||
Note that since Cumulus 1.9.4 build 1078 there has been an option on the NOAA Setup screen in Configuration menu to specify whether character set utf-8 encoding is to be used for those reports. |
|||
== Why does a standard gauges web page have text where it should show gauges? == |
|||
*3.''Monthly log file upload'' |
|||
{{Version badge 1}} |
|||
** Just like with the dayfile.txt upload option, you select the table name in this option and click Save button, then use a separate option, lower down this settings page, to create the necessary table and that option is '''Create Monthly'''. |
|||
[[File:Gauges missing.jpg]] If a standard Cumulus 1 'gauges.htm' web page displays like this then either |
|||
** This feature allows you to upload the file that Cumulus creates each month to log detailed measurements on a regular basis, apart from the Save button below it there are just two items: |
|||
**# A tick box, where you tick if you want a standard table structure to be used to reflect the fields in the [[Monthly_log_files|detailed log file]] |
|||
**# A text box where you can change the default table name to one that suits you better. Do not leave this blank, SQL requires a table name. |
|||
** The upload you select here will happen every time MX creates a new line in the monthly log file, it might be every 10 minutes, but you may have configured a different interval. |
|||
1) (Most Likely) The weather station owner has not loaded the required files/folders onto his/her server; |
|||
* The gauges graphics require the 'images' subfolder (see next answer), containing the script and many images to be pre-loaded in the 'dbimages' subfolder. |
|||
* All these should exist within the destination folder that holds the HTML files as instructed in the Cumulus Help ('setting up your website' page) |
|||
* Also explained in [[Simple Website setup]] on this Wiki. |
|||
or 2) JavaScript is not enabled (or not available) in the browser being used to view the page (if not enabled, this can be switched on in either 'Options', 'Preferences' or 'Settings' depending on browser). Note that Firefox from version 23 removed the ability to change this in Option preferences, so ignore this solution in that browser. |
|||
*4. ''Custom upload - minutes interval'' |
|||
** One way you could use this option, is to replace the monthly log file upload if you wanted to change the schema, by leaving out some columns if your weather station is not able to measure all the derivatives included in the standard schema. |
|||
** This feature allows you to specify your own SQL for an upload to be repeated every NN minutes. Unlike the Monthly log file upload option you choose what schema (columns) are in the table that you are uploading a new row to and indeed exactly what SQL is used. |
|||
**Apart from the need to press the Save button that follows all the options, there are 3 items just for this option: |
|||
**# A tick box to enable or disable this upload (so you can leave the SQL recorded, but stop running it when you like. |
|||
**# The SQL you want to run, it should include INSERT IGNORE (or REPLACE or UPDATE) to insert/replace/update a row, include as all SQL needs the name of the table, include the columns to be updated and include the values either expressed as web tags or derived from a sub-query. |
|||
**# A drop down for the number of minutes between runs, the default is 10, but if your weather station updates less frequently, maybe you will choose 15, 20, 30, or 60 as the interval out of the 11 available in drop down. |
|||
or 3) You are using a browser add-on such as 'NoScript' (over 2 million use this) which requires you to explicitly turn on JavaScript for each web site you visit within the 'NoScript' options. (This sort of add-on may be used to restrict advertising or tracking of your actions, or for security against unwanted processes being started by sites you visit). |
|||
== Why are there no graphs on my standard trends web page? == |
|||
*5. ''Realtime.txt upload'' |
|||
{{Version badge 1}}CUMULUS 1 ONLY |
|||
** This feature allows you to upload the file that Cumulus recreates on the most frequent basis. MX does not use the realtime.txt file in any of its supplied components, so that file by default is not available on your web server. There is an option elsewhere (Internet Settings screen) to upload this file, but an alternative is to get MX to put the values it would put into that file into a database table and this option is to do that. |
|||
**Apart from the Save button below all options, there are 3 items specifically for this option: |
|||
**# A tick box to enable this very frequent upload |
|||
**# A text box where you can change the default table name |
|||
**# A text box where you enter a retention string in format '''retainVal=NNN retainUnit=XXXX''' where NNN is a number from 1 to 3 digits long, and XXX is a time unit e.g. second, minute, hour, day, week, month, quarter, or year. |
|||
** Because the updates are so frequent this database table grows very quickly, and you need to say when it should delete the older rows so the table never has too many rows. If you think about it, after a few days, you probably do not need to look at this very detailed level of values information within a day. In that case set retention to delete after a few days ''retainVal=3 retainUnit=day''. |
|||
Either 1) You have not created an images sub-folder (within your folder that holds web pages) as instructed in the Cumulus Help ('setting up your website' page) - also explained in [[Simple Website setup]]. In this case, the bird image will not be appearing in the bottom left corner of your web pages. |
|||
Or 2) You have switched off '''Include Standard Images''' on the file tab of the Internet dialogue of the configuration menu. In this case Cumulus believes you are working in a non-standard way, and does not automatically upload the graphs (nor moon image). |
|||
*6. ''Custom upload - seconds interval'' |
|||
** This feature allows you to specify your own SQL for an upload to be repeated every NN seconds. This caters for when you want something like the values in "realtime.txt" but want to specify your own schema (set of column names) or own interval between updates. In theory the number of seconds specified here might represent anything between how frequently your weather station reports readings and several hours. |
|||
**Apart from the Save button below all options, there are 3 items specifically for this option: |
|||
**# A tick box to enable or disable this upload (so you can leave the SQL recorded, but stop running it when you like. |
|||
**# The SQL you want to run, it should include INSERT IGNORE (or REPLACE or UPDATE) to insert a row, the name of the table, the columns to be updated and the values you include in your SQL are expressed as web tags. You can have more than one SQL statement in this box (end each with semi-colon) so you might want to add a delete "DELETE FROM YourTableName WHERE LogDateTime < DATE_SUB(NOW(), INTERVAL 7 DAY);" after your update/insert command to replicate the retention option of the previous feature, in this case deleting rows over a week old. |
|||
**# The number of seconds between runs, the default is 10, but if your weather station updates less frequently, maybe you will choose 40 or 60 as the interval. |
|||
== What is the size of the standard Cumulus update? == |
|||
=== Alarms === |
|||
This is identical to Cumulus 1 functionality, apart from using a new default location for the files "\CumulusMX\interface\sounds", the alarms available are already explained [[Cumulus.ini#Section:_Alarms|elsewhere]] in this wiki. |
|||
{{Version badge 1}}The default is that all of the standard pages and standard images are uploaded on each update at whatever standard update frequency you select. |
|||
The alarms are shown at the bottom of the Dashboard page of the user interface. They also feed a set of [[Webtags#Alarms|Webtags]]. |
|||
In total for version 1.9.2, it's about half a megabyte - about 100kB for the pages (about half of that is the gauges.htm page with all the detailed wind plotting points, and half the other pages) and 400kB for the variable images (moon phase, some gauges images and trend graphs - the exact size of latter can vary if you change the period they cover). |
|||
=== FTP Now === |
|||
This is similar to the option in the file menu of Cumulus 1 to do an update now. Depending on which build of MX you are using, the functionality varies. On latest build it does whatever updates are set up to happen at normal updating interval whether these are by FTP to your web site, or by copying files between local and remote filenames with path (although both could be on same device). |
|||
Version 1.9.3 adds the monthly records page which contains 12 months worth of a lot of data, and adds 25kB to every update (although usually very little changes between updates). |
|||
== Editing the Admin Interface == |
|||
The NOAA monthly and annual pages are uploaded once a day, that is another 8kB for a full month and full year, obviously less at the start of a month/year. |
|||
=== Caution against editing Admin Interface === |
|||
The general advice is do not change any files that are part of the MX package, they are a package and therefore there are interdependencies. Also updating to a newer release is more complicated if you have edited any files. The files as provided in the MX package are a compromise, for example they include reporting on solar measurements but not all weather stations include such measurements. Given that the admin interface is not shared with anyone else, it could be argued its look and content is not that important. In particular this interface is the only way to change settings, so do not change anything that stops those setting screens from working! |
|||
'''Optional extras''' |
|||
Finally, if you don't like the look of the admin interface, then why not look at your web pages, apart from settings, they should show you the same information, and you can edit your web pages to show information in whatever way suits you. |
|||
*[[realtime.txt]] file, this is less than 1kB (1024 Bytes) in size. |
|||
*[[dayfile.txt]] a file that is about (30 times number of years) kB |
|||
*The files required to update external sites are no more than a few kB. |
|||
== How do I upload my own pages or files once a day? == |
|||
=== Caution when updating if you have edited Admin Interface === |
|||
Remember, if you decide to download a new release to not overwrite any file(s) that you have edited, or your edit will be lost. It is less likely that a new release will change the interface files than other files, but some releases do change these files. Remember, each release zip contains all MX files, even those not changed since previous release. The release notice will usually give some idea of whether interface files have changed, but it may not list which interface files have been added, modified, or removed. |
|||
Cumulus allows you to specify a command (with optional parameters) that will be actioned just after daily rollover. The command is entered in the ''External programs'' frame at the bottom left of the Internet Settings screen. The box is labelled '''Daily'''. Click the Cumulus ''Help'' button for guidance. For example you could type 'c:\cumulus\daily.cmd' in the box labelled ''Daily''. |
|||
=== General points for editing === |
|||
If you do decide to change any file, I suggest you maintain a back-up copy of the original elsewhere (so it can be gone back to) and you save the edited file under a new name (so you can't lose my edited file by installing a new release). |
|||
This could be used to upload the pages with the longer term extremes (as your monthly, annual and all-time extremes may only change a few times a month or even less frequently) and so reduce the upload burden at the standard uploading frequency. To achieve this you would use the content of that example file 'daily.cmd', in the default Cumulus folder, to call your own [[FTP_tools| file transfer tool]] for those infrequently changing pages. Remember to also unselect '''Include Standard Files''' on the'' 'Files' tab'' of 'Internet settings', and list [[Customised_templates#How_Cumulus_uses_its_templates|the templates]] on that tab, selecting '''Process?''' for all of them, but only selecting '''FTP?''' for the other frequently changing pages that are still to be uploaded at the standard interval. You may find help on the forum or elsewhere on this wiki [[SFTP| for the FTP call]] and [[Customised_templates#Creating_Your_Own_Templates| for 'Files' tab settings]]. |
|||
If you are editing files, use Notetab lite, notepad++ (for windows), or BB-edit on a Mac, i.e. use an editor designed for code, do not use a word processor, a Microsoft or Google editor or Dreamweaver or any other web editor. The encoding that should be used is UTF, if your editor does not mention encoding, it is the wrong sort of editor! |
|||
It can also be used for the optional files mentioned in the previous answer or to update a database using a [[ImportCumulusFile|PHP batch job]]. For the daily command specified above, in the default Cumulus folder, add a file 'daily.cmd' that contains (if you host your own server using 'XAMPP'), 'copy c:\cumulus\data\dayfile.txt C:\xampp\htdocs\weather\daj\' for example to enable you to use the [[AnnualDataSummary| Annual Day-by-day Summary]] tool. (Uploading if you do not host your own server is described at [[Upload_Dayfile| upload dayfile]] but basically you swap the copy command for a FTP command). |
|||
=== Changing the look === |
|||
You need some understanding of Cascading Style Sheets (CSS) to do this, but all you need to do is to edit the relevant style sheet either in '''\CumulusMX\interface\css''' or in the relevant folder within the lib folder. |
|||
You may feel that the default look of grey, black, and white, is either boring or does not offer sufficient contrast for you, perhaps you feel certain font sizes are too small, or you want to change the page background. Well, you can change the look, it is all defined in .css files. However, because MX makes use of standard libraries (bootstrap, datatables, alcapa etc.) there are a multitude of .css files used and it might not be easy to work out which one to edit. Each HTML page has links to a number of css files. You will probably make use of developer functions in your browser to inspect any element whose look you wish to change to see where its different properties are defined. It is better to make any such edits at a high level, rather than on any CSS just for that particular element. As always when editing, keep a copy of original so you can go back to it; keep a copy of your edited file, so installing a new release does not lose you edited file. |
|||
== The 'real time wind data' gauges on the standard gauges page aren't working == |
|||
=== Removing Solar Figures === |
|||
If your weather station does not have solar instrumentation you might wish to remove some of the display elements that relate to that. You need some understanding of Hyper-Text Markup Language to do this correctly, but here are simple examples. |
|||
# Navigate to '''\CumulusMX\interface''' folder. |
|||
# Open the file '''now.html''' in an editor designed for code (e.g. Notepad++ for Windows, Notetab Lite) |
|||
# Near the bottom of the file edit it by inserting HTML comment delimiters (opening after </thead>, closing before </table>) so it looks like this: |
|||
<pre><table id="SolarTable" style="width:100%"> |
|||
<thead> |
|||
<tr> |
|||
<th> Solar</th> |
|||
<th></th> |
|||
<th></th> |
|||
</tr> |
|||
</thead> |
|||
<!-- |
|||
<tr> |
|||
<td>Solar Radiation</td> |
|||
<td><span id="SolarRad">--</span></td> |
|||
<td>W/m<sup>2</sup></td> |
|||
</tr> |
|||
<tr> |
|||
<td>Sunshine Today</td> |
|||
<td><span id="SunshineHours">--</span></td> |
|||
<td>hrs</td> |
|||
</tr> |
|||
<tr> |
|||
<td>UV</td> |
|||
<td><span id="UVindex">--</span></td> |
|||
<td></td> |
|||
</tr> |
|||
--> |
|||
</table> </pre> |
|||
IMPORTANT NOTES: |
|||
#The above approach works on "now.html", but it does not work on other pages where table rows are dynamically created by an external script, so the existing rows in the table body are dummies whose content is ignored. |
|||
*An alternative technique is to delete the whole table and any "<div> .. </div>" that surrounds only that table, that will work on all the HTML pages. |
|||
These require a [[realtime.txt]] file to be uploaded by Cumulus. Tick the "Enable Realtime", "Enable Realtime FTP" and "Enable realtime.txt FTP" boxes on the internet settings screen. If the gauges still do not work, check that the [[realtime.txt]] file is being uploaded to the correct place. If it is not, it is likely that you have specified an incorrect 'ftp directory' in Cumulus. If your 'normal' pages are being uploaded correctly, but realtime.txt is not, then it is likely that you simply need to leave the ftp directory blank (but see the note below first). |
|||
=== Adding derivatives not shown on the existing admin interface page === |
|||
It is a JavaScript file '''\CumulusMX\interface\js\dashboard.js''' that reads the real-time file and inserts particular content into position indicated by values of the HTML attribute "id" on the admin interface screens. The standard '''\CumulusMX\interface\now.html''' does not include temperature trend for example, but because there is a '''temptrend: inp.TempTrend.toString()''' defined in the JavaScript file, you can easily add it to the "now" page by a simple insert of the middle row here: |
|||
<pre><tr> |
|||
<td>Outdoor Temperature</td> |
|||
<td><span id="OutdoorTemp">--</span></td> |
|||
<td><span class="TempUnit">--</span></td> |
|||
</tr> |
|||
<tr> |
|||
<td>Trend</td> |
|||
<td><span id="TempTrend">--</span></td> |
|||
<td><span class="TempUnit">--</span> hour<sup>-1</sup></td> |
|||
</tr> |
|||
<tr> |
|||
<td>Dew Point</td> |
|||
<td><span id="OutdoorDewpoint">--</span></td> |
|||
<td><span class="TempUnit">--</span></td> |
|||
</tr></pre> |
|||
You can't add any derivatives into any table unless the value (for the derivative you want to add) is already defined in the related files. |
|||
A possible cause for this problem is that your web space provider does not allow .txt files to be accessed. For example, the free hosting provider 000webhost.com do not. |
|||
There is a section of the support forum devoted to [https://cumulus.hosiene.co.uk/viewforum.php?f=28 Cumulus MX interface customisation], so you can see what other people are doing. There is also [https://cumulus.hosiene.co.uk/viewforum.php?f=36 another sub-forum] for making suggestions on what you would like added to MX. |
|||
== I'm using the supplied web pages, and get lower case in places where I want upper case == |
|||
= MX End of Day Process = |
|||
I have added this section, because this process has given me some headaches. If you write custom SQL, or have a template being processed at end of day, then what I find strange is that web tags related to system date report the new date, but other web tags report weather derivatives from the old day. Put another way, the date changes at start of rollover, but the weather web tags change at end of rollover. However, it is not quite as simple as that, the month and year are reset after any Custom SQL is run (so that SQL can use monthly and yearly web tags related to previous day), but before the extra files are processed (so they cannot use monthly web tags at end of month, nor yearly web tags at end of year). See why I found it hard to digest, and why I wanted to write it here to make it easier for others. |
|||
It's in the CSS. Go to the webfiles sub-folder of your cumulus installation, edit weatherstyle.css and find lines like: "text-transform: lowercase;" and remove them. Use FTP tool to replace the weatherstyle.css on your website. |
|||
Mark Crossley says the MX day reset does this... |
|||
<tt> |
|||
Reset midnight rain |
|||
Entering Day Reset (message about current day of month, at this stage web tag <#metdate> changes to new date) |
|||
Day Reset (message about date ending, time shown as 00:00:00 because time not defined, not because it is midnight, it might be 9am or 10am) |
|||
Run EOD custom SQL |
|||
Save dayfile entry (uses what is still in today.ini that includes old date, i.e. what is now in web tag <#metdateyesterday>) |
|||
Write monthly & yearly file entries |
|||
Write any new daily extreme records |
|||
if day of month = 1 then: copy month.ini to saved file, reset monthly figures |
|||
if day of month = 1 and month = 1 then: copy year.ini to saved file, reset yearly figures |
|||
Copy todays high/lows to yesterdays |
|||
Reset todays high/lows to current |
|||
Write today.ini & yesterday.ini |
|||
Create NOAA reports |
|||
Execute user daily external program |
|||
Process Extra EOD files |
|||
</tt> |
|||
But independent of above EOD thread that occurs on the rollover hour, the '''normal interval''' and '''hourly processes''' thread is seeking to run at same time, whether that happens at same time depends on processing capability and whether it can process multiple threads. |
|||
== My web pages have things like <#location> in them == |
|||
What actually happens in above list depends on your settings, and if your FTP interval is synchronised with the logging interval. |
|||
You’ve edited your templates with something like Dreamweaver, and it’s changed the angle brackets on the [[Webtags]] to "&lt ;" and "&gt ;" - you need to change them back to < and >. ''These may look the same when viewed in your browser, but you can see the difference if you 'view source''' |
|||
Alternatively, if the web templates are listed in [[cumulus.ini]] (and for the first 10 appear on the '''files''' tab of ''Internet'' dialogue of '''Configuration''' menu), the '''Process''' option must be ticked for the web pages generated by Cumulus to have values replacing the [[Webtags]]. Otherwise at each web update, Cumulus will generate web pages the same as the templates. |
|||
= SPECIAL CONSIDERATIONS - Text by Steve Loft = |
|||
== Restrictions in MX for decimal separators == |
|||
On the subject of decimal and list separators, there are a couple of issues which users of decimal commas may encounter. |
|||
#The first is that there may be an issue with some of the user interface not working correctly. Please report these issues and I will fix them. There may be aspects of the displays that I cannot change (because the package used does not support decimal commas) but it should be possible to at least get it working. |
|||
#The second issue with decimal separators only affects the Raspberry Pi (as far as I am aware). There is apparently an issue with a version (3.2.8) of the Mono package on Raspbian 'hard float' where it cannot parse values using decimal commas. If this does turn out to be an issue, there are a number of possible workarounds until the Raspbian package gets updated. One workaround is to use the 'soft float' version of Debian instead. Obviously, this will have performance issues, but is probably the easiest. The second workaround is to build Mono from the latest sources, see http://www.mono-project.com/docs/compiling-mono/linux/. I am told that this fixes the problem. Another possible workaround would be to find an already fixed binary package, but I don't know if one currently exists. |
|||
== My web pages are empty == |
|||
''PLEASE NOTE: The issues that Steve describes seem to have gone away with currently available versions of Mono; update your Mono if you are using an old version and encounter problems.'' Like any software, Mono might have bugs at a particular version, and sometimes you might need to swap to an older version if the current version has an outstanding issue. |
|||
One common cause of web pages appearing to be of size zero, or not uploading with new contents when Cumulus attempts to use FTP, is that your firewall (or your FTP server) has limited the allowed operations (e.g. can't delete, can't insert, can't rename ...). Try changing from passive mode to active mode transfers (or vice versa). Try using a manual FTP operation (with your own FTP client) and see if that works. |
|||
{{Version badge 1}} |
|||
If empty web pages are being successfully uploaded to your web site (i.e. they report size of 0 kB, but do not produce 'error 404 - page not found' message), and your browser shows that their modification date is recent (see next FAQ), then another likely cause is that the [[Customised_templates#What_is_meant_by_.27Cumulus_processes_templates.27| Cumulus processing]] of templates is failing: |
|||
*Either (since build 1093, as made clear in the release notes)[[File:Web settings.JPG]] the character encoding (for standard named templates that are [[Customised_templates#What_is_meant_by_.27Cumulus_processes_templates.27| processed by Cumulus]]) is specified incorrectly on the '''Configuration''' menu, ''Internet'' dialog, '''Sites/Options''' tab, ''Web Settings'' frame as shown about half way down on this screen extract: |
|||
**Select the option where indicated by red arrow if your template includes in a line near the start <code><meta charset="UTF-8"></code> |
|||
**Deselect the option where indicated by red arrow if your template includes something like <code><meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" /></code> |
|||
**For customised pages, (without standard Cumulus template names), select/un-select the UTF-8 encoding in the appropriate column on the '''Configuration''' menu, ''Internet'' dialog, '''Files''' tab screen where you list the local and remote names. |
|||
*Or you have edited/customised the template and added an incorrectly specified Cumulus [[webtag]] that has caused [[Customised_templates#What_is_meant_by_.27Cumulus_processes_templates.27| Cumulus processing]] to abort for that template. If you stop cumulus you can use a text editor to open the latest [[Diags|diagnostic file]]. Look at entries time-stamped just before the hour and repeated at your auto-update ''interval'' (just below red arrow in screen image above). You might find a message like "Error processing C:\web\indexT" (i.e. mentioning whichever template is at fault) followed by a brief hint as to the nature of the error. |
|||
== |
== My web pages have obsolete web tag values in them == |
||
If the information showing on your web pages is out of date, then it must have been working before, so you have made a change somewhere. |
|||
If you use decimal commas in your Cumulus 1 data, you will need to edit the .ini files to change the decimal commas into periods/full stops, because '''Cumulus MX always expects periods/full stops in .ini files''' ''regardless of the locale in use''. The other data files will be OK - assuming you are using the same decimal and list separators in MX as you used in Cumulus 1 (i.e. the same locale). If you try to switch to a different locale, then your data log files will of course no longer be in the correct format, so you would need to edit all of your files. You can select the locale for MX to use as a switch parameter when it starts up, see earlier on this page. |
|||
*Most browsers will display 'page information' that tells you when the page was last modified (by querying the web server). |
|||
**if the page on your web server was recently modified, |
|||
***then the next item to investigate is the template file; a template file contains Cumulus web tags and the [[Customised_templates#What_is_meant_by_.27Cumulus_processes_templates.27|'process']] that Cumulus does to create a web page involves reading text from a template and when it finds a web tag it inserts the latest value in as it creates the page. A [[FAQ#What_file-names_does_Cumulus_use_when_processing_and_uploading_files_to_my_web_site.3F|local file]] is then created and Cumulus will FTP (or copy) this to the web server according to the settings. If the template file cannot be processed, Cumulus may still upload an existing old local file. |
|||
**if the page was not recently modified, |
|||
***maybe you are not running Cumulus, so it is not updating. |
|||
***maybe your file transfer is not working, turn ftp logging on for technical output, and look for any filenames and any 'successfully transferred' messages. |
|||
***maybe your 'internet settings' screen has accidentally been changed, see Cumulus help for simple instructions. If you took a backup of [[cumulus.ini]] you can stop Cumulus, rename the current file and copy your cumulus.ini backup back into the 'cumulus' directory containing the Cumulus program. |
|||
***maybe your web server provider has changed something. |
|||
== Running a web server on the same PC as Cumulus == |
|||
== A note to Davis owners == |
|||
If you do not have a web site, or run a web server locally (same PC, or on your local network), you can get Cumulus to generate/copy either html, or image, files locally instead of using FTP to place them remotely. |
|||
I am experimenting with the use of the LOOP2 packet. The current code uses this for two purposes. First, it uses the 'peak 10-minute gust' value, to avoid the problem where a gust might be missed (although hopefully this will not be such an issue with Cumulus MX as it does not use the Davis DLL), and secondly it uses the 'absolute pressure' value to make calculation of 'altimeter pressure' easier and more accurate. This is mainly used if you upload to CWOP. |
|||
You'll need to list the (source) file including paths on the files tab of the internet settings, and specify a destination path and file name for the remote file in each case. Don't tick the ''FTP?'' box for standard cumulus pages (the exception is for a local web server and any non-standard web page that attempts to read using a script a local file such as dayfile.txt as this does need FTP to generate the server-based web page). For the standard images, you can supply a folder name (specify on the same screen), and they will all get copied there. See [[Customised_templates#What_to_select_on_the_.27Files.27_tab_of_the_Internet_Settings_screen_within_the_.27Configuration.27_menu|here]] for greater detail. |
|||
The LOOP2 packet is supported on the VP2 with firmware version 1.90 or later, and on the Vue. If you have a Vantage Pro (i.e. the original 'VP1'), or a VP2 with pre-1.90 firmware, or if you are using Virtual VP, none of these support the LOOP2 packet. In these cases, you should edit cumulus.ini and add a line to the [Station] section: |
|||
There's a limit of 10 entries on the files tab in Cumulus 1.9.x (in Cumulus MX all 100 entries are included in the settings interface). Entries for the full 100 files can also be amended by editing [[Cumulus.ini#Section:_FTP_site|cumulus.ini]], with Cumulus stopped. Follow the format of any existing entries for specifying additional files. |
|||
UseDavisLoop2=0 |
|||
== Error Codes generated by FTP or Winsock == |
|||
With this setting, Cumulus will revert to calculating the 10-minute gust value itself from the individual wind speed readings, but it will not currently attempt to calculate altimeter pressure correctly, it will simply use the sea-level pressure instead. This is likely to be an issue if you are at high altitude and you upload to CWOP using Cumulus MX. |
|||
You should be able to look these up on the web. [http://kb.globalscape.com/KnowledgebaseArticle10142.aspx Try Here] |
|||
== How do I configure Cumulus for Secure FTP (SFTP/FTPS)? == |
|||
Also for Davis stations, I have assumed that people using millimetres in Cumulus have a metric rain gauge (0.2 mm per tip), and those using inches have a 0.01" rain gauge. This can be over-ridden by adding a line to the [Station] section of Cumulus.ini: |
|||
Cumulus 1 doesn't support Secure FTP. You can configure Cumulus to invoke an external program like WinSCP, as described here: [[SFTP | SFTP article]] |
|||
Cumulus MX supports FTPS (FTP over TLS) natively, but not SFTP. Just enable it in the settings. |
|||
VPrainGaugeType=0 |
|||
== Directory related problems in FTP == |
|||
or |
|||
The following pointers should help: |
|||
* All web site file references are case sensitive. So if your FTP server directory is ''public_html'', then 'Public_HTML' will not work! |
|||
* On the ''Internet settings'' screen in '''Sites/Options''' the optional Directory parameter required is ''the path from your FTP root'', to where the web pages are to be stored. It is ''not'' the '''Universal Resource Locator (URL)''' that you would specify to view the web page in a browser. Click the '''Help''' button for full explanation, or search the support forum (as many people before you have found this directory is the hardest parameter to get right). |
|||
* The error window is not useful for diagnosing ftp problems; you need to '''turn on ''ftp logging'' '''and look at ftplog.txt. Most FTP directory problems are due to you quoting an incorrect ftp directory, and the ftp log will show an error when an attempt is made to change to the directory you have specified incorrectly. |
|||
* Relative paths (without a leading slash) are always safer than absolute paths (with a leading slash) and you may find that just specifying (for example) "public_html" works OK, but this all depends on how your ftp server and your ftp account is set up. |
|||
VPrainGaugeType=1 |
|||
* IN CUMULUS 1.x.y ONLY: The ''standard pages'' are uploaded after a 'change directory' attempting to select the directory you specified in '''Sites/Options'''; if this fails, the files will still be uploaded but to the FTP server root. So some mistakes do not matter because if no change of directory was actually required, these pages will be uploaded correctly. |
|||
Where 0 is a 0.2mm gauge and 1 is a 0.01" gauge. Note that changing this after MX has already read some data may cause your rainfall reading for today etc to change considerably, so you will need to correct that. |
|||
* IN CUMULUS MX, the ''standard pages'' are uploaded with their file name prefixed by the directory you specified in '''Sites/Options'''. In this case, if that path is invalid, the upload fails. |
|||
* Any ''files you specify'' for uploading at standard update frequency are uploaded between standard pages (if 'Include Standard Files' selected) and (applies only to Cumulus 1) standard images (if 'Include Standard Images' selected). You should specify the path (including any web site directory) in 'remote filenames', as there is no call to 'change directory'. In this case, if that path is invalid, the upload fails. |
|||
* IN CUMULUS 1.x.y ONLY: The standard images for gauges and trends pages are uploaded after the standard pages, (and any pages you specify for uploading), by performing a second 'change directory' this time fixed at 'images'; if this fails, the files will still be uploaded to the current web site directory (FTP root or the directory you specified in '''Sites/Options'''). |
|||
* If you have enabled ''Realtime'', the realtime.txt file is uploaded without doing a change directory, (by appending "/realtime.txt" to the directory on the ''Internet settings'' screen in '''Sites/Options'''). In this case, if the web site directory in your settings is invalid, the upload of the real time file fails. |
|||
* On the ''NOAA Setup'' screen the optional '''Directory''' parameter required is the relative path; from your FTP root, to where the NOAA report pages are to be stored. (It is totally independent of the directory on the ''Internet settings'' screen in '''Sites/Options'''). Click the '''Help''' button for full explanation. Like realtime.txt, the upload destination is determined by appending the file-name for the report to any NOAA directory, and will fail if that directory is specified wrongly. |
|||
See '''Setting up your website''' in Cumulus help for a simple guide to the sub-folder structure you need to create and the list of files that need to be uploaded manually when first installing a website. Or see [[Website_setup]] for all the options including customised pages. |
|||
= Web Tags and related features = |
|||
== My standard web pages are uploading but the uploading fails for images, realtime and/or NOAA reports == |
|||
Almost all of the [[Webtags|web tags for all Cumulus flavours on this Wiki page]] that you could use in Cumulus 1 are also supported in Cumulus MX. |
|||
See previous answer, you have probably got your web pages in the default FTP directory of your web site, but specified the wrong directory on the settings screen. Turn on the ''FTP logging'' in the configuration menu to see the technical detail. You should have an FTP tool that you used to upload the 'static' files required on your web site, and that will help you to see what is your site's root directory for file transfer uploads, and therefore any relative directory change you require. |
|||
== What file-names does Cumulus use when processing and uploading files to my web site? == |
|||
Each new build of the beta MX has increased the range of web tags it supports. Since MX has come out of beta, new versions have not only implemented the remaining tags from Cumulus 1, they have also added new tags not previously available. For full details see the [[Webtags#Differences_between_Cumulus_1_and_Cumulus_MX_.28Cumulus_3.29:|web tags]] article, but a quick précis follows in next few sections. |
|||
[[File:Cumulus_FTP_Process.png|150px|thumb|FTP Process]]Cumulus use two slightly different processes depending on if the file is part of the supplied 'standard' web site, or an extra file you have specified on the ''Internet Settings|Files'' configuration dialog. For each of these processes there is an further variation depending on whether you have enabled the ''Use FTP rename'' option. This graphic shows the various combinations of file-names used for each step of the process. For the standard files, you can substitute any of the file names for indexT.htm, e.g. trendsT.htm |
|||
For more details of Cumulus ''Process'' see [[Customised_templates#What_is_meant_by_.27Cumulus_processes_templates.27| here]]. |
|||
=Selecting a Weather Station sensor site= |
|||
== All builds of MX == |
|||
A simple guide is at [http://weatherfaqs.org.uk/node/124 uk.sci.weather newsgroup], note this advises against roof mounting. |
|||
The ''''format' parameter''' on the date/time output modifier for web tags is unfortunately different, because many of the characters used are different. See [[Webtags#List_of_allowed_modifiers|the modifiers list]] page of this Wiki. |
|||
An attempt to compare the conflicting siting standards that apply across the world is included in a portable document format guide from [ftp://ftp.campbellsci.com/pub/outgoing/apnotes/siting.pdf Campbell Scientific]. |
|||
For more advice see the website of your local Meteorological Bureau, an educational place (e.g. in USA see [http://newa.nysaes.cornell.edu/public/NEWAStationSitingGuidelines.htm Cornell University]), the [http://library.wmo.int/opac/index.php?lvl=notice_display&id=12407 World Meterological Organisation] (WMO), or a specialist organisation (e.g. in UK see [http://www.rmets.org/weather-and-climate/observing/guidelines-observing-0 Royal Meteorological Society] rather than the Met Office web site). |
|||
Modern Stevenson Screens are uPVC constructed with a black interior (so they do not radiate heat onto the sensors) and a white exterior (so they reflect as much radiation as possible). There is a lot of discussion on the [https://cumulus.hosiene.co.uk/viewforum.php?f=16 Homebuilt forum] about different approaches to improving measurements, and the problems with out of the box instrumentation from the different manufacturers. |
|||
Note that this difference in date/time modifiers also affects how you specify the '''NOAA report''' file names. For example in Cumulus 1 you can specify a 2 digit month number by either 'mm' or 'MM', but MX (later versions) has to change the former to the latter as MX uses 'mm' for minutes. The same applies to using 'mmm' or 'MMM' for 3 letter month abbreviation in Cumulus 1, only the latter works in MX, so MX (later versions) will adjust that. If you are using an older MX version, you should upgrade to latest as you are missing a lot of functionality, but while you use that old version, ensure that your file names for NOAA reports do use the correct modifiers for MX. |
|||
If you are contributing to an external site like APRS/CWOP, Weather Underground, PWS weather, Weatherbug and/or WOW, see guidance from these organisations re instrument placement. |
|||
== Beta builds of MX == |
|||
The following web tags were not available or worked differently: |
|||
*The individual 'record set' tags such as <#TempRecordSet> etc did not work (because the interface then had no indicators for new records and no way to reset them). |
|||
*The <#newrecord> tag does work, but works differently, it turns itself off automatically after 24 hours. |
|||
*Some of the 'system status' web tags do not work: <#CpuName>, <#MemoryStatus>, <#DisplayMode>, <#DiskSize> and <#DiskFree> |
|||
*The <#txbattery> web tag has no content currently. Using it with a 'channel' parameter causes a 'token error'. |
|||
*The snow tags were not available as there was no '''Weather Diary''' |
|||
'''Note:''' Some stations have all sensors in one unit, positioning of these is a compromise between the ideals below for each sensor. |
|||
== Current builds of MX == |
|||
The web tags you have depend on which build you are using: |
|||
== Where should I position the wind sensors == |
|||
From beta version 3.0.0 - Build 3046 of 2 Jan 2019 |
|||
The side labelled 'North' on the wind vane mount should face ''True North'', remember that the magnetic north deviation from true north varies from year to year, see details on maps or online. Most wind vanes have a large surface that follows the wind and a thin end that points where the wind comes from, it is the latter direction that is reported. |
|||
* added <#snowdepth> tag processing |
|||
* added '''diary.db''' file |
|||
In the UK, the standard climatological measuring height is 10 metres. Advice varies on whether you should apply a correction factor for any lower height. Cumulus allows you to apply such a factor to either just wind speed, or wind speed and gust speed, by using the Calibration screen within the configuation menu. In the Cumulus Help it recommends that you also adjust wind chill - in practice this means ask Cumulus to ''calculate wind chill'' by selecting this in the settings frame on the '''station settings screen accessed from configuration menu''' (i.e. ignore any wind chill output by your weather station). |
|||
From beta version 3.0.0 - build 3047 |
|||
* Web token parser updated to cope with html tag characters "<>" in the format string e.g. <#TapptempH format="dd' 'MMM' 'yyyy'<span class=\'xx\'> at 'HH:mm'</span>'"> |
|||
*All record Value tags should now return '---' and Date tags '----' until they are first set. |
|||
*<#MoonAge>, <#MoonPercent>, <#MoonPercentAbs> - all given new 'dp' and 'rc' parameters. |
|||
If you are mounting near a building of height 'h' above ground level, ideally the wind sensor should be at a height of '1.5 times h' above ground level. |
|||
From version 3.1.1 - build 3054 |
|||
If you are positioning away from a building or tree (or other object) of height 'h' (or the mean height of several objects is 'h'), then the distance away depends on which standard you are trying to meet, and can vary between 1.5 and 3 times 'h'. |
|||
*Adds new web tags <#snowlying>, <#snowfalling>, both provide 1|0 responses |
|||
== Where should I position the rain sensor == |
|||
From version 3.2.0 - build 3056 of 19 November 2019: |
|||
The WMO says the rain gauge should at a distance away of 2 times the height of each nearby object (buildings, trees, walls, solid fences etc.) and just high enough off ground level to avoid possibility of splashing. You can experiment, but for amateurs, no more than a metre off the ground (or roof if mounted above it) and at least a metre from any chimney, wall or solid fence whose height exceeds that of the sensor seems good enough for most gauges. |
|||
* Enables alarms as per Cumulus 1 |
|||
See [[Rain measurement]] or your local offical organisation. |
|||
**New Alarm page under Settings |
|||
**Alarms are shown visually on the dashboard |
|||
**Due to browser restrictions, alarm sounds on the browser page may require you to click a button on the first alarm in order to hear it. |
|||
***You can add the MX admin site to your browsers list of sites allowed to play sound automatically. Your browser should "learn" that you want to allow sounds to play automatically. |
|||
*** Alarm sound files should be placed in the /interface/sounds folder, they must be a browser compatible format (mp3 are good). The alarm settings for the sound file should be just the filename without any path |
|||
*Lots of new web tags not available in Cumulus 1, see release announcement for details |
|||
== How do I protect my rain gauge against spiders or other natural problems == |
|||
From Version 3.2.2 - build 3058 |
|||
There is a lot of discussion on the [https://cumulus.hosiene.co.uk/viewforum.php?f=16 Homebuilt forum]. In terms of siting, it is important to position your rain gauge where you can safely get to it. |
|||
*Implements the missing <#txbattery> web tag |
|||
== How do I get good temperature and humidity measurements == |
|||
From version 3.5.1 - build 3072 of 10 April 2020 |
|||
The international standard states ambient air temperature/humidity is measured at 1.25 metres above ground level, above soil or grass not paving, protected from direct sun radiation (and direct rain), unless you are measuring soil or ground temperatures. The height is important for derived values as an air frost is defined as a temperature at or below the freezing point for water at this height, and the count of these is a standard reporting requirement in some countries. |
|||
*Implements the tags that indicate when records are broken |
|||
* You configure whether if a record is set it turns off after 24 hours or a different period. |
|||
If you are using a ''Fine Offset sensor'', the thin depth of the thermometer/hygrometer (transmitter) should face where your console (receiver) is, for maximum transmission strength/distance, with the wide face at right angles to the transmission route. (Although if you use a model requiring a radio time signal, you will probably be trying to optimise that instead). |
|||
= [[Cumulus MX FAQ]] = |
|||
The [[FAQ]] page that was originally written for Cumulus 1 has now had some MX differences highlighted. A new FAQ for MX has been started at [[Cumulus_MX_FAQ|another page]]. |
|||
== Pressure == |
|||
MX specific questions, such as those related to installation are now covered by the updated text on this "Cumulus MX" page. |
|||
Varies with altitude and temperature, but no significant variation with spatial position with regard to nearby fixed bulky objects. Often measured indoors, do not mount above any heating or cooling system as there temperature may be particularly variable, and try to avoid any forced ventilation or extraction as such air moving systems could have different pressures on intake and outlet sides. Equally operation in close proximity to opening doors/windows or to fast moving (road or railway) vehicles or tunnels can distort readings. |
|||
== Solar == |
|||
= [[MX Issues|Cumulus MX Known Issues]] = |
|||
One would expect solar sensors should be positioned for maximum unshaded exposure to sunlight throughout the year, but again the forum contains advice for specific makes. |
|||
See [https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=12943#p101209 Steve Loft's post] |
|||
Revision as of 14:44, 6 July 2020
This is the
Cumulus 1 FAQ
(consult also the Help screens within Cumulus software, and learn more from the rest of this Wiki)
Some references to other flavours of Cumulus are included here. There is also a separate FAQ specifically for Cumulus MX.
Installing and Running Cumulus
What operating systems does Cumulus run on?
Cumulus 1 - All versions of Windows from XP to Windows 10 inclusive (and the server versions). It works on 32 bit and 64 bit editions. It may also work on Windows 2000, but this is not supported. You will probably not be able to get it to work on Windows 2000 with a Fine Offset station.
Where do I find the Cumulus 1 installer?
All available via the [[Downloads page]] in this Wiki
What do I need to get right when first getting Cumulus 1?
The installation process for Cumulus 1 displays readme.txt, that has many tips. See also Setup. Below are three key points.
- Install Cumulus in its own directory directly under a drive root.
- Connect your weather station before you start Cumulus
- When you first run Cumulus 1, it displays the Station settings screen. On this, make sure you pick the right sort of station (to ensure Cumulus communicates correctly with your weather station, and can identify all the observations) and choose your units wisely. (Changing units later means all stored Lowest and highest numbers up to that point have to be converted immediately manually). See the Help for information about the rest of the screen, but generally you can easily adjust the other options later.
What weather stations does Cumulus 1 work with?
Reminder, this FAQ answer is ONLY for Cumulus 1
- Davis Vantage Pro (VP), Vantage Pro2 (VP2), and Vue (the Envoy8X is not supported).
- Oregon Scientific WM918, WMR918, WMR928, WMR968, WMR88 (see this FAQ), WMR100, WMR180, WMR200.
- Fine Offset - USB-connected stations which use the Easyweather software such as MyDEL, Nevada, Watson and Fine Offset, with model numbers such as WH1080, WH1081, W8681, 265NC etc.
- La Crosse WS2300 range (see this FAQ). You may have problems with corrupt data if you use a WS23xx with a serial/USB adapter; this combination is therefore not supported.
For a more complete list see the Supported Devices page.
Will you support a new weather station type?
Reminder, this FAQ answer is ONLY for Cumulus 1
Cumulus 1 is no longer being developed, its source code is no longer available, so it cannot be edited to support anything new.
How do I get Cumulus to update to the internet?
Reminder, this FAQ answer is ONLY for Cumulus 1
Cumulus 1 provides multiple options:
- Internet Update - this feature is to place web pages onto a personal web server. You can use the web templates provided with Cumulus, or your own (customised) pages. This is optional, and there are a lot of settings to get right, but it is a standard feature that has always been part of Cumulus.
- APRS/CWOP - this feature is to update your observations onto the cwop.aprs.net server, the update will happen automatically while Cumulus is running if you configure it in the APRS/CWOP frame within Cumulus internet settings.
- Weather Underground - this feature is to update your observations onto the weather underground web pages, the update will happen automatically while Cumulus is running if you configure it in the weather underground frame within Cumulus internet settings.
- PWS Weather/WeatherForYou/HAMweather - this feature is to update your observations onto these systems, the update will happen automatically while Cumulus is running if you configure it in the PWS weather frame within Cumulus internet settings.
- Weatherbug - this feature is to update your observations onto Weatherbug, the update will happen automatically while Cumulus is running if you configure it in the Weatherbug frame within Cumulus internet settings.
- WOW - this feature is to update your observations onto UK Met Office Weather Observations Website, the update will happen automatically while Cumulus is running if you configure it in the WOW frame within Cumulus internet settings.
- Twitter - this feature allows you to send a message to http://www.twitter.com at an interval that you configure in the twitter frame within Cumulus internet settings.
How do I request a new feature for Cumulus 1
Reminder, this FAQ answer is ONLY for Cumulus 1
As of 2017, development of both Cumulus 1 and Cumulus MX was abandoned by Steve Loft. Although there have been a couple of patches to change the years listed in drop downs with Cumulus 1, its code is frozen as the relevant development environment is no longer available.
Consequently, there is no possibility of any new features for Cumulus 1.
Why haven't you added the feature I asked for a long time ago?
Reminder, this FAQ answer is ONLY for Cumulus 1
Steve Loft developed and supported Cumulus in his spare time while having a full time job. He invited donations, but didn't make a living from Cumulus. He added facilities when he could. There was a long list of enhancement requests but many were not implemented and the list was lost during a move between hosts. Thus any feature requested in that list, which has not been implemented since, will not be implemented.
How do I upgrade to a new Cumulus 1 release?
There are no upgrades available for Cumulus 1.
If you are using an earlier version of Cumulus 1, do upgrade now,
- first download the installer CumulusSetup.exe from (Downloads/CumulusSetup.exe).
- Next follow the instructions at Setup page
- Finally, replace just the one file "Cumulus.exe" in your installation by the patch available from Downloads page.
If you are using the final version of Cumulus 1, and your drop down dates do not run to 2030, then you need to follow this last instruction and apply the patch
Do I need to leave Cumulus running all the time
This answer applies to all flavours of Cumulus.
Cumulus is designed on the basis that it works best if it is operating continuously, so it can interrogate the weather station at maximum frequency and has least risk of missing extreme measurements. All the derived calculations (maximum and minimum in a day, apparent temperature, average temperature,and many more will be more accurately calculated if based on the most possible measurements at consistent intervals.
if you are using the EasyWeather input option or your weather station does not have a logger, then Cumulus must run all the time, because there is no way of accessing readings while it is 'switched off'.
That said, many Cumulus users do turn their devices off when they are not around, to save energy or reduce fire risk; and accept that the quality of the derivatives output is poorer and that some extremes may be missed, some averages might be biased etc. When Cumulus is restarted, if the weather station it is talking to has retained measurements in a logger, Cumulus will read these, and do a catch-up from when you turned it off (it may miss some if the clocks have changed, see later question). Cumulus will roll over to next day when it has finished reading logger results from previous day and starts with those to assign to new day.
Changing to different weather station
Reminder, this FAQ answer is ONLY for Cumulus 1
Just change the station type. If Cumulus doesn't start reading the data from the new station, stop Cumulus and start it again. Some of the rain figures may be odd for a while (e.g. rain in last 24 hours). It is as simple as that.
In testing planned changes to Cumulus, I switch backwards and forwards between a Fine Offset and a WMR200 frequently, the only thing that happens is that the rain figures go wrong initially (because the two stations have different counters).
Moving Cumulus software to a new PC (or updating Windows Operating System)
Reminder, this FAQ answer is ONLY for Cumulus 1
Cumulus will continue to work with your existing weather station and existing log files, providing
- Your Windows regional settings are the same (i.e. date format unchanged, same time zone, decimal point symbol unchanged, list separator character unchanged) - if there is a difference, the new installation cannot understand the old lines in the log files and will give an error when Cumulus is restarted.
- You may need to 'tweak' a few things (serial port number etc) in cumulus.ini.
- In the folder with cumulus.exe in it, copy across 'cumulus.ini', and if you have created a 'strings.ini' that file must be copied across too.
- The Cumulus 'data' sub-folder has been copied across.
- Obviously if you use customised web pages, then you need the corresponding templates in the new installation.
- Any other customised files (images and/or a twitter.txt file, for example), you may want to copy those over too.
Can I view my Cumulus data on another device?
Reminder, this FAQ answer is ONLY for Cumulus 1
- If Cumulus uploads your weather information to an online web site, you can view that on another device.
- Software like 'Remote Desktop' can be used to view the computer that is running Cumulus - see many postings on the Support Forum.
- A back-up as described in the next answer can be viewed in Cumulus installed on another PC (see point about Windows regional settings in previous question) to look at past extremes or graphs; although obviously that additional installation will not be able to add further observations from the weather station connected to the original PC.
- If your web site is on your local network, but not online, your device may be able to view it directly or view a back-up of how it was in the past.
How do I back up my data?
Reminder, this FAQ answer is ONLY for Cumulus 1
Recent builds of Cumulus 1 back up some of the log files each time the software is restarted in the backup folder and each time it processes a rollover it stores the log files as they are at the start of a new day in the daily folder. The routine that does this ensures no more than 7 sub-folders are kept in each of those main folders. These back up are designed to help you restart Cumulus 1 in the event of a problem they are not not preserving your valuable data.
Consequently you are advised to make your own arrangements for ensuring you do not lose your data.
- Copy the contents of the Cumulus ‘data’ sub-folder on a regular basis to a different storage device. Then if you have any problem with the original storage device, or corruption of files, you can minimise the loss of logged observations. To restore from the backup, just copy the saved data folder back into your Cumulus installation, with Cumulus stopped.
- It can be useful to take copies of the Cumulus 'backup' sub-folder on key dates (e.g. at change of month or year), or if you think you might have some rogue figures. The '.ini' files in the backup sub-folder contain past extreme values that you might want to look up.
- You should also back up, at least once, your cumulus.ini file in the main Cumulus folder. This contains all the key settings and you need a record of those!
Moving Cumulus 1 software to a different location on your PC?
This article in the wiki gives more details above moving Cumulus: Moving cumulus
What are the formats of the Cumulus data files?
These are detailed in the Log Files section of this Wiki, see that category page for key information about log files and the differences between the Cumulus 1 and Cumulus MX content.
Format information is also in the Cumulus 1 help file, in the section “Data log file format”
Can I import logged information from before I installed Cumulus?
The Configuration menu, Station setting screen (near bottom) has option to enter there the rainfall total for the bit of the year (starting month can be selected here too) until when you first start using Cumulus. See the Cumulus Help for this screen for further details.
Yes is the answer for other weather information, providing you can manipulate the information you have into either (preferably) the format used by the Standard_log_files#Importing_pre-Cumulus_data or (second best) Dayfile.txt. Look up those cross-references in this Wiki (or the Cumulus Help) for further information on required formats. The support forum includes a few threads related to this topic, and if you post there then people who have already imported from particular systems may offer their services to import your past observations.
A converter for Weather Display log files is available from software page
A converter for WeatherLink log files is available from Software page
I was away on the last day of last month/year - How do I see the final lowest and highest figures for last month/year?
View menu, This month or This year screens show some figures for any month or year selected by you, but do not show all the figures shown on a standard web page or as shown on the Highs and Lows screen for the current month/year.
View menu, Highs and Lows - This month (or This year) (or thismonth.htm or thisyear.htm web page) only shows the lowest and highest values for the current calendar month (or current year). This answer describes a way to see the same information for the month (or year) that fairly recently ended. It is valid only until build 1088 (from 5 March 2014 build 1089 'Delay writing of end of day backup files until the first log entry is written' means the stored month.ini relates to the initial entries for the start of the new month). From version 1.9.3 build 1041, Cumulus creates a daily backup of the log files.
- Look in the backup\daily subfolder within your Cumulus installation.
- These daily backups will be created if Cumulus was left running during the period of interest, or stopped before that period and since restarted.
- Normally about 10 such back ups are available, each folder has a name based on the timestamp and contains the 6 xxxx.ini files, the current monthly standard data log/monthly extra data log, and the most recent update of daily summary log.
Open as a text file month.ini in the folder whose name is bearing the timestamp after your final rollover, for Cumulus builds 1041 to 1088 the final lowest and highest for each observation in the month will be listed.
In a similar manner if you miss the last day of the year, for Cumulus builds 1041 to 1088 see the final 'this year' figures for last year by opening year.ini from the appropriate backup.
What do the various wind speeds in Cumulus 1 correspond to, with Davis stations?
Davis station firmware supplies two wind speeds, a 3-second average and a 10-minute average (later versions of the firmware also supply a 2-minute average, Cumulus currently doesn't use this).
- The latest Davis 3-second average is treated by Cumulus as 'Latest' (available via <#wlatest>, matching direction is '<#currentwdir>' and '<#bearing>')
- The highest of the station's 3-second readings over the previous 10 (configurable by adding AvgSpeedMinutes=N in Cumulus.ini#Section:_Station where 'N' is number of) minutes becomes the Cumulus 'Gust (available via <#wgust>, no matching direction web tag). Note that the WMO definition of a wind gust is the mean wind speed over a 2 to 3 second sample period (so Cumulus reports this within an extended 10, or as configured, minute period, not the 'latest' gust).
- The Davis 10-minute average is the Cumulus 'Average' (available via <#wspeed>, matching direction reported as '<#wdir>' and '<#avgbearing>').
Davis VP2 station loggers record a single spot wind speed, so if you restart Cumulus and the software attempts to catch up from the station logger there may be only one or two values to include in the Cumulus average (over 10, or as configured) minutes calculation.
Note that if you sample these readings at shorter (real time) intervals it is possible for Cumulus 'Latest' to be lower than Cumulus 'Average' because approximately half of the 3-second wind speeds will be higher and half of them lower than the 10-minute average.
If the Cumulus figure seems lower than the Davis figure see #My_Davis_station_shows_a_higher_maximum_wind_speed_than_Cumulus.
What do the various wind speeds in Cumulus 1 correspond to, with Fine Offset stations?
Fine Offset sensors measure wind over 48-second intervals, divided into 24 2-second intervals. At the end of each 48-second period, the outdoor unit (anemometer) transmits two values, the "Gust" is calculated from the number of revolutions of the anemometer in last two seconds and the "Average" from the number of revolutions adding all two second counts in the 48 seconds. The console keeps overwriting the newly received 'Gust' and 'Wind' values to the same area of console memory every 48 seconds, until the station logging interval time is reached, then it moves on to the next memory location, leaving the last values it wrote in the previous console memory location. Note that Fine Offset Consoles can display a 'MAX' figure, this is highest recorded since it was last reset (on touchscreen models multiple touches of the displayed speed will cause maximum speed, or gust, to be shown, and when a max value is displayed continuing to hold touching that value for 3 seconds will reset max to current value). Cumulus maintains its own various extremes for different periods (e.g high wind and high gust for yesterday on its main screen) calculated from all values processed by Cumulus in that period.
- If Cumulus is not running all the time, on restart it works through the console memory locations and extracts the Fine Offset Wind and Gust in each memory location, i.e. at the station logging interval.
- While Cumulus is running, it reads the current wind speeds (and direction) every 10 seconds. There are new values only every 48 seconds (i.e. every fourth or fifth read).
Note that the World Meteorological Office definition of a wind gust is the mean wind speed over a 2 to 3 second sample period (not the maximum instantaneous wind speed). So the Fine Offset is reporting gust correctly to WMO definition.
Cumulus, for various reasons, uses different terminology, and also has configuration settings which control how some of the wind values are displayed.
Summary with default selections
- '<#wgust>' contains "Calculated Wind Gust (highest value for any 2 seconds in last 10 minutes) Speed" reports highest console gust value in last 10 minutes (this is capturing WMO gust definition over a longer 10 minute reporting interval)
- '<#wlatest>' contains "Latest Peak (the value for last 2 seconds in 48 seconds prior to storing) Wind Speed" taken from console gust value (this is capturing the latest WMO Gust)
- '<#wspeed>' contains "Current Average (over same 48 seconds) Wind Speed" taken from console wind value
In detail with all the configurations
- The highest of the Fine Offset 'Gust' values over the previous 10 (number fixed and not configured to match any other interval set) minutes becomes what Cumulus reports as the 'Gust' speed ('<#wgust>'). Cumulus does not report a matching direction for this as a web tag, although it will be somewhere in array '<#wdirdata>'.
- The value labelled 'Latest'('<#wlatest>', matching direction is '<#currentwdir>' and '<#bearing>') by Cumulus is Fine Offset console 'Gust' value. (Cumulus also adds each new latest value to the array <#wspddata> and moves the index of the array <#nextwindindex> onto the next position in the circular array.
- The Cumulus 'Average' ('<#wspeed>' matching direction reported as '<#wdir>' and '<#avgbearing>') can be calculated in 3 different ways:
- The default: If 'Calculate 10-min wind average' is not selected on the Station Settings screen, the console 'Wind' value is reported.
- If 'Calculate 10-min wind average' is selected, but 'Use speed for avg calculation' is left un-selected; then the average of the Fine Offset 'Gust' values read over the previous N (configurable, defaults to 10) minutes is reported.
- If 'Calculate 10-min wind average' and 'Use speed for avg calculation' are both selected; the average of the Fine Offset 'Wind' values read over the previous N (configurable, defaults to 10) minutes is reported.
Select value for 'N' using AvgSpeedMinutes=N in Cumulus.ini#Section:_Station.
How do I set up recording wind speeds in Cumulus 1, with Oregon Scientific and La Crosse stations
La Crosse and some Oregon Scientific weather stations only output a single wind speed. To allow Cumulus to calculate 'gust' and 'wind speed' with different values, select the Station dialogue from the Configuration menu and set Calculate 10 min wind average in the 'Settings' frame, so in cumulus.ini this will produce the parameter 'Wind10MinAverage=1 when cumulus is next stopped.
- The station's 'Wind' value will then display as Cumulus 'Latest'.
- A 10 (configurable by adding AvgSpeedMinutes=N in Cumulus.ini#Section:_Station where 'N' is number of) minutes average of the station's 'Wind' value will then display as Cumulus 'Average'.
- The highest of the station's 'Wind' value in a 10 minute period will then display as Cumulus 'Gust'. Note that the WMO definition of a wind gust is the mean wind speed over a 2 to 3 second sample period (not the maximum instantaneous wind speed).
See LCMaxWind=X parameter in Cumulus.ini#La_Crosse_specific: where X is the maximum (uncalibrated) wind speed in m/s that you want to allow.
How do I make Cumulus 1 run automatically when Windows starts?
Reminder, this FAQ answer is ONLY for Cumulus 1
There is no option in Cumulus to set this up automatically as I prefer to leave it under the control of the user: The safest and most reliable method is simply to put a shortcut in your Startup folder. If you are running Vista or Windows 7, or later versions of Windows, you may find that Cumulus gets blocked by UAC if you try to run it from the Startup folder, in which case it is recommended that you use Task Scheduler instead. See here for a good description of how to do this - http://blogs.techrepublic.com/window-on-windows/?p=616
How does Cumulus handle Daylight Saving Time?
Cumulus provides the option for you to use rollover at 9am winter time that is preserved throughout the year so all days are 24 hours long even when clock changes, simply click "Use 10am in summer" on the Station settings.
As far as the timestamps in the extreme logs, monthly log, and the graphs, are concerned; Cumulus doesn't do anything in particular for DST.
- It generates timestamps based on the clock in the device you run Cumulus on.
- So basically, at the start of DST (i.e. when the clocks 'go forward' for the summer) you will get an apparent gap of one hour in your data logs and on graphs.
- Similarly at the end of DST (i.e. when the clocks 'go back' for the winter) you will get an apparent hour of duplicate timestamps in your logs and graphs.
- You will tend to get better results if you leave Cumulus running during the clock change, because if it is stopped you may lose data,
- the exact timing of the affected hours depends on the type of station and the times when Cumulus was running/stopped.
... How do Davis stations handle Daylight Saving Time?
Note that there seems to be an issue with Davis stations, either in the console/logger, or in the Davis DLL which Cumulus uses.
- If you don't have Cumulus running when DST ends (autumn), then when you start Cumulus up again, it doesn't receive all of the logger data it needs to catch up to the present time - the previous hour or so is missing.
- So with Davis stations, I strongly recommend that you leave Cumulus running at the end of DST, if at all possible.
... How do Fine Offset stations handle Daylight Saving Time?
- For Fine Offset models without access to a radio controlled clock, if you don't have Cumulus running when DST ends in autumn, then when you start Cumulus up again, the catch up misses off the first hour after the time Cumulus was stopped (unless you have adjusted the time in today.ini by subtracting one hour for end of DST while Cumulus was stopped).
- This is because the console memory does not time-stamp the data blocks and each memory location simply contains the number of minutes elapsed since the previous memory location was last updated.
- Cumulus does not remember the console data block used just before shutdown, (after all depending on how long Cumulus has been stopped and the station logging interval, the old memory location could be overwritten by now), and so Cumulus works out a time-stamp based on current clock time and the stored elapsed interval times as it works back through those memory locations.
- The stored minutes elapsed value will be consistent with the logging interval you selected for the station (might be different to that selected on Cumulus) and that stored value will add an extra minute if a read from the transmitter (every 48 seconds on models without solar sensors) delays a particular log update, However, the console clock (unless radio-controlled) is unaware of DST, it is like a clock without a hour hand, it can only count in minutes.
- On restart Cumulus just tries to read the appropriate number of hours worth of observations back from the block now marked as latest.
- For example if it was stopped at 2200 DST and restarted at 0600 standard time, Cumulus catches up with the last 8 hours worth of stored measurements as if going back to 2200 standard time, that means it retrieves back to 2300 DST and has forever lost the period 2200 to 2300 DST.
- So with Fine Offset stations, I strongly recommend that you leave Cumulus running at the end of DST, if at all possible, to ensure that average temperature, heating/cooling degree days, wind run, and similar calculations are accurate.
- See Fine Offset forum discussions for further information.
What formula does Cumulus 1 use for values derived from temperature?
see Cumulus_Calculated_Parameters
How does Cumulus know the height of the cloud base?
It doesn't. It uses a calculation which gives the theoretical height above ground level at which Cumulus clouds might form, based on the current temperature and dew point. It assumes that the difference between temperature and dew point decreases by about 4.4 degrees Fahrenheit per 1000 feet increase in altitude. When the two values coincide, the air is saturated (relative humidity = 100%) and Cumulus clouds may form.
How is my rain rate calculated?
For stations which supply a rain rate, Cumulus uses that. For stations which don't supply a rain rate (e.g. Fine Offset and La Crosse), Cumulus simply takes the rain total from the last five minutes and calculates a rate based on that; e.g. a single tip of 0.3mm in 5 minutes is a rate of 3.6mm/hr. When data from the station's logger is used, a similar calculation is performed, but the interval used is the logger interval rather than five minutes.
Where does Cumulus 1 get its this month and this year rainfall totals from?
- The rainfall totals (for this month, year, and season), are initialised when Cumulus is (re-)started by adding up the corresponding daily totals in dayfile.txt and storing those sums in memory.
- Don't forget that Cumulus uses binary arithmetic to base 2, that does not correctly represent what in base 10 are decimal places, so you may see slight errors for those using inches and expecting correctness to two decimal places (read up this on internet if you don't understand binary arithmetic).
- The rainfall totals shown on the This period, This month, and This year screens within the View menu in Cumulus 1 are generated by adding up the daily rainfall totals found in dayfile.txt for the selected period. Using default settings via View menu in Cumulus 1, This month screen for this month excluding today, This year screen for this calendar year (this does always start on 1 January, unless you only started using Cumulus after that) excluding today. Note any rainfall for the current (meteorological) day is excluded as the latest dayfile.txt row is for yesterday. Totals can be shown for any past period, by selecting the required dates, the figures are recalculated when you press the Update display button and will include all days available in dayfile.txt for the chosen period. Important note: The view menu 'This year' screen always calculates the total for a selected calendar year starting in January.
- Cumulus MX builds below 3008 do not include rainfall for year to date, other rainfall calculation items were fixed in 3022 to 3042, you should use latest build for best functionality.
- Each time Cumulus (both 1 and MX) reads records from the weather station it applies any change to the 'total rain count' against today's total in its memory. This "Count" approach has been chosen because different weather stations output different values, and an independent count is a way of working that can be applied for any weather station.
- As you will see if you look in diags, Cumulus stores the 'total rain count' figure at rollover, so by maintaining the current figure it can subtract off the start of day figure to deduce the rainfall today and this is shown on the front screen in Cumulus 1, labelled Today. In Cumulus 1 the Edit menu gives access to the Today's rain screen and that provides the ability to edit the start of day figure so that the figure shown for today is correct. Equivalent functionality is provided in Cumulus MX. If there is no rain in a day, the start of day count will be the same at the start of the next day.
- Today's rain is added to the figures (as described above) derived from dayfile.txt for what the front screen in Cumulus 1, labels This month, and This year (this last figure is the seasonal total, you can choose for it to start on 1 January or any other month). Thus these figures are updated each time Cumulus receives a rain reading from the station (they all include today-so-far), and these figures will not be displayed if Cumulus is unable to read rain information from your station.
- The today's total so far at each reading time is also added to the 'recent tag' array allowing total values for the day-so-far at one minute intervals for up to a week ago to be added as web tags to a web template.
- For the web tags, Cumulus (both 1 and MX) takes its stored sums and adds today's latest total each time, to give the current totals for this month and this rain season (year so far) when processing 'indexT.htm' web template which is where these figures ase shown (not on this month nor on this year templates).
- Important, for the <#ryear> web tag, and for the 'This year' display on the main Cumulus screen, the processing reads the dayfile.txt for the rainfall season starting with the month set on the station settings screen and stored as the value for attribute RainSeasonStart in Cumulus.ini#Section:_Station (its default is January).
- If you have set a 'year to date' value and Cumulus is being re-started when the year specified beside that figure matches the current calendar year, your year-to-date amount is also added into this year's total. This should normally only be relevant in your first rain season of operating Cumulus, but could be used if in any season you needed to add an extra amount because for some reason you had a gap in your recording period. Do be aware that if you select a rain season starting in a month other than January, the year to date figure will stop being added on 1 January because the year specified next to the figure to add on will then be the previous calendar year!
- There is no corresponding setting for amending the total for the first 'this month' of Cumulus operation. The only way round this is to manually change the rainfall in dayfile.txt for the first day of operation to include rainfall on all previous days of month, but that could potentially cause you to set the maximum daily rainfall extreme record wrongly.
- Note that you need to stop and then restart Cumulus to update these initial values that are stored in memory and get any corrections you made to rogue values in the daily summary log (or year-to-date) reflected on the main Cumulus screen and in web tags.
The built-in dayfile.txt editor is used if it is necessary to amend the daily totals (to correct any monthly, rain season, or calendar year, totals); the built-in all-time (or monthly records) editor(s) in Cumulus 1 and MX is used if it is necessary to regenerate the extreme records from dayfile.txt; see FAQ about correcting incorrect rainfall displays.
How do I reset all my data to start again from scratch?
Stop Cumulus 1 and delete all of the files in the data folder. You may also want to edit the 'StartDate=' line in cumulus.ini to set the date for the start of your data, if you are starting again on a different date, although Cumulus 1 does not make any decisions based on that date, it simply outputs it twice (!) on one standard web page.
How do I localise Cumulus 1 to my own language?
Cumulus does not directly support languages other than English. It was never intended for use in other languages, and it is not possible to add support for this now. However, the text used for:
- Forecasting
- Moon phases
- Beaufort Scale
- Trend descriptions
- Compass points
- Graph titles
- Extra sensor channels
can all be customised by using the strings.ini file.
This wiki page Other Languages has some obsolete (valid in 2009-2010) information about customising what were the standard web pages in versions of Cumulus 1 up to 1.8.x. The translations there are NOT compatible with later (or final) Cumulus 1 version, nor will they work with Cumulus MX.
On the downloads page you can find third-party alternative web pages, these typically include some language translation modules, but beware that these may not be maintained to work with latest versions of Cumulus.
Can I connect/disconnect my weather station while Cumulus 1 is running?
No. You must make sure your weather station is connected to your PC and switched on, before running Cumulus 1. Do not disconnect your station while Cumulus 1 is running.
How does Cumulus deal with extra sensors?
By default, Cumulus 1 deals with weather stations incorporating solar sensors, if you have selected the relevant station 'Type' or 'Display solar/extra data' in configuration, but it has some capability to deal with extra sensors added including the Blake-Larsen Sun Recorder.
Cumulus 1 has the ability to input, log, and display Current Values/Outputs from the Hydreon Optical Rain Sensor - Model RG-11 and from either Oregon Scientific or Davis extra sensors. Only today's and yesterday's total rainfall from a Hydreon sensor are available in today.ini and yesterday.ini respectively.
For some Oregon Scientific models, the temperature from an extra sensor can replace the temperature from the main sensor for processing by Cumulus 1, but all extra sensor values are stored in a series of monthly log files.
No other processing is performed for Davis extra sensors, but past values are retained in a series of monthly log files. The file strings.ini is used to customise the description associated with extra sensors.
What is this "Solar Max" value which Cumulus is displaying?
Reminder, this FAQ answer is ONLY for Cumulus 1
It's the current theoretical maximum solar radiation value at the current date and time at your location. It is calculated using the Ryan-Stolzenbach formula, and uses the 'transmission factor' configurable in the station settings to allow for the effect of transmission through the atmosphere. The figure is not particularly useful in itself; it is used if you have a solar sensor, to compare with the current solar radiation reading, in an attempt to determine whether the sun is currently shining or not.
My Fine Offset console says the memory is nearly full - how do I clear it?
You don't need to, and it's much safer if you don't; clearing the memory could lead to a loss of data. The memory indicator on the console has no effect on the logging of data; the console will automatically start re-using the oldest memory locations. As long as you are running Cumulus (at least occasionally), Cumulus will have downloaded the data it needs from the console, so the console is free to overwrite the oldest data when it needs to.
How do I get my Davis station with USB working with Cumulus 1?
Reminder, this FAQ answer is ONLY for Cumulus 1
Cumulus cannot drive the station in USB mode, you must install 'virtual serial port' drivers, and configure Cumulus to use the virtual serial port. Make sure you have the station connected to the PC during the following operations.
You should first make sure that you can use the station with Weatherlink, in serial mode. If you have not already installed the Weatherlink software, install the version which came with your weather station. You should then upgrade to the latest version of Weatherlink; you can download the update from the Davis web site, here.
You now need to install the 'CP210X USB to Serial Converter'. You may find a link on your Start menu under 'Weatherlink'. Alternatively, you should find it in the folder where Weatherlink was installed, under 'Support' then 'Utilities'. Davis also make version 2 of this utility available on their web site, here, and you may find that this version will work for you if the installed version does not. It should be clear from the messages output by the utility that it has successfully switched the logger to serial mode.
It's a good idea to then update the driver to the latest version from the Silicon Labs web site, particularly if you use Windows 7 or later. You can download it here - click on 'VCP driver kit' under 'Download for Windows XP/Server 2003/Vista/7...' to begin the download. Run the executable once it's downloaded.
At this point, it's best to restart your computer.
You should now run Weatherlink, and attempt to connect to the weather station in serial mode. Weatherlink should find the appropriate COM port number automatically. If not, you can find it under 'Ports (COM & LPT)' in the Windows device manager. Look for the port called 'USB Serial Port (COMn)', where 'n' is a number. That's the number of the port you need to use in Weatherlink. If you cannot get Weatherlink to work using this virtual COM port, it is unlikely that you will be able to get Cumulus to work either, so either contact Davis support, explaining that you are trying to use the virtual serial port drivers because you want to run third-party software, or ask in the Cumulus forum, someone may be able to advise.
Once you have Weatherlink connected and working via the virtual serial port, close it down, and start Cumulus.
In the station settings in Cumulus, select the appropriate station type for your station; under 'VP Type' select Serial; in the serial port section enter the COM port number that you found earlier. You may need to restart Cumulus at this point. It will then start displaying live data. Note that the it deliberately does not download any historical logger data from before the current point in time. When you run it subsequently, it will download logger data to catch up if necessary from when you last ran it, but never from earlier than when you first ran it.
If you still having difficulty, the Davis Weatherlink manual offers this advice, which may be useful:
"Included with the WeatherLink software is a utility that allows you to convert a USB data logger from a direct USB data logger back to a USB data logger that emulates the serial port. To use this utility, select Convert USB to Virtual Serial in your WeatherLink program group on the Start menu of your computer (Start>AllPrograms>WeatherLink>Convert USB to Virtual Serial) and run the utility to convert your data logger. Please contact Davis Technical Support (“Contacting Davis Technical Support” on page 26) for more information."
Why does Cumulus 1 do some things the way it does, when there are better ways?
Reminder, this FAQ answer is ONLY for Cumulus 1
Cumulus was originally something Steve Loft 'knocked together' quickly when I got my first weather station, simply because I couldn't find any other software anywhere which I was prepared to use. No 'design' went into it, it was really just a prototype. Some of the things I did were just quick 'hacks' that I intended to fix when I did it 'properly'. But I never got around to going back and doing it 'properly', and it was never my intention that anyone else would use it. But I was persuaded to make it available for others, and then to add more and more enhancements.
The fact that it works with several different types of weather station means that much of it is a compromise; it doesn't use certain features of the weather station which it could use if it were dedicated to that type of weather station. For example, it typically does not use any high/low data that the station might store internally. Instead, it maintains its own high/low data from individual readings. There are a number of reasons for this; the fact that Cumulus supports an 0900-0900 day, and the weather station does not, and the fact that typically Cumulus maintains far more high/low values than the station does, and these need to be self-consistent.
So yes, I am aware that some of things that Cumulus does may seem strange, but it is simply not possible for me to start again from scratch, knowing what I know now. And it is not possible for me to effectively produce separate versions of Cumulus specifically for each type of weather station. If you don't like the way Cumulus does certain things, do what I did and write your own software!
Can I run 2 copies of Cumulus 1?
3 options:
- You can install Cumulus 1 (or MX) on more than one machine, but each copy must connect directly to its own weather station (one station connected per Cumulus installation).
- You can install 2 copies of Cumulus 1 in different paths on a single PC, if you have two weather stations and Cumulus is able to distinguish between them, e.g. they are from different manufacturers, or both are serial port stations (different ports), or one is USB and one is serial, or one is a Weatherlink IP. In other words the combination that does not work on a single PC is two USB stations (including clones from different suppliers) from the same manufacturer. Note that Davis stations with USB loggers are serial port stations as far as Cumulus is concerned, so there are no problems using multiple copies of Cumulus with multiple Davis stations on the same PC. (Same rules for two copies of Cumulus MX).
- It is possible to back up the Cumulus files from one installation running off a weather station, and briefly have another reduced functionality copy just looking at historic data without ever any updating (the second Cumulus is set up as if reading from an EasyWeather.dat file, but not given a path/file name) - see Easyweather.dat section here.
Don't attempt to run Cumulus 1 and MX at same time, they cannot share a single weather station. However you can with a single weather station, stop Cumulus 1 and then run MX if they use different data folders, then later stop MX and run Cumulus 1.
Troubleshooting
Please note, these answers are written for Cumulus 1.x.y.
The equivalent page for Cumulus MX is Cumulus MX FAQ.
My 'Error' light is flashing
Click on it, and a window will open describing the error. It may just be a temporary ftp problem. If you want to stop ftp errors being reported in this way, you can turn them off in the display settings ("Show FTP errors on error log window").
My ‘new record’ light has stopped flashing
It is the normal situation that the light does not flash. The ‘new record’ light only flashes when an all-time record has been broken. It stops flashing if you click on it or restart Cumulus, until another all-time record is broken. When you first start using Cumulus, inevitably the light will flash a lot, even if you cancel it, as you will be breaking records constantly. After a while, it will 'settle down' and not flash so often.
I installed a new version and my web page templates got over-written
The supplied web page templates are part of Cumulus and will be over-written on upgrade. If you want to create your own web pages, don’t edit the supplied ones, place them in a different folder and use the ‘extra files’ facility. From version 1.8.9, the installer offers the option of not over-writing the web templates; it unconditionally also installs them to a sub-folder of the web folder called 'originals', so you can refer to them if required, even if you chose not to over-write those in the web folder.
I can’t find my data files!
You’re probably running Windows Vista/Windows 7/Windows 8 (or one of the corresponding server versions of Windows). Look in C:\Users\[username]\AppData\Local\VirtualStore\Program Files\Cumulus - note that this is a 'hidden' folder. Ideally, to avoid this situation, you would install to somewhere outside the Program Files hierarchy, as recommended in the readme.txt.
I can't save my NOAA reports!
You've probably corrupted your Cumulus.ini file in the default Cumulus folder. See Cumulus.ini#Section:_NOAA. It can only be edited either (if Cumulus is stopped) with an external text file editor or (with Cumulus running) using the NOAA Setup in the configuation menu. Pay attention to where the quotes are required for the file names, and check that you have an allowed date format (see Webtags#Time.2FDate_.27format.27_Parameter).
My sunrise and sunset times are wrong
You've almost certainly entered your co-ordinates incorrectly, or not entered them at all - on the station settings screen. You must enter DEGREES, MINUTES, and SECONDS, no other format will work. Make sure to use unsigned whole numbers for degrees, minutes, and seconds, with a 'W' for your longitude if you're West of the Greenwich meridian (e.g. if you are in the United States), and the appropriate letter for your latitude (N for northern hemisphere, S for southern hemisphere).
If you are not familiar with the degrees/minutes/seconds standard format and have your co-ordinates in some other format, there are pages on the web which will convert for you. One such is here: http://transition.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html
One other less likely possibility is that you have set the wrong time zone on your PC.
The Moon rise or set time is showing dashes.
The moon doesn’t rise and set every day, the dashes appear when that event doesn’t occur on that particular day. The period between a moon rise and set is approximately 12 hours and 25 minutes, on average. The moon rises (or sets) approximately 50 minutes later, on average, each day. It therefore follows that sometimes the moon will not rise or set on a particular day - i.e. it had risen the previous day, or will set on the following day.
The Moon image is just black
It's probably a New Moon.
End of Day Rollover Failures
The yesterday values on the Main Screen under "Recent Extremes" are not shown correctly:
- EITHER when the end of day rollover has not taken place.
- The usual cause of this is allowing your PC to 'sleep' while Cumulus is running.
- The support forum mentions a few other causes.
- Cure this (if you have a weather station type that has an internal log that Cumulus reads) by looking in "Cumulus\backup" folder, and finding a backup directly in that folder or in "daily" sub-folder for just before the problem. With Cumulus stopped, copy all the files in that backup into the "Cumulus\data" folder, and then restart Cumulus.
- OR if Cumulus was unable to read observations from your station during that day, but can today.
- You can try the same cure, but may not be able to recover the lost information in this case.
If you are viewing or editing log files at the time when rollover takes place, it is likely that some parts of the daily rollover will fail. Although Cumulus 1 provides the functionality to view and (except for the data file) update the log files, make sure you have exited out of the built-in viewer or editor before rollover is due. If you inadvertently forget this, the cure of overwriting files mentioned above is applicable if your weather station has an internal log and it is around 2 logging intervals (see #Cumulus_takes_a_long_time_to_download_the_data_from_my_Davis_station_at_start_up) after rollover. When using an external editor, close Cumulus 1 or Cumulus MX before opening any Cumulus file.
Why do I have some unexpected zero figures?
Cumulus may not be able to update some values/extremes, leaving them at zero, if:
- EITHER you are allowing your PC (or its peripherals) to go into sleep/standby while Cumulus is running,
- OR you have more than one copy of Cumulus attempting to interrogate the same weather station,
- OR you are opening/closing Cumulus down very close (within the time for two logger data cycles) to before/after roll-over (this is a restriction due to the way the processing of logger data works).
Other FAQ and the forum describe further each of these cases.
I’ve ‘zoomed’ a graph, how do I get it back to full size?
Drag from lower right to upper left.
Cumulus can't read a data update from my station
CUMULUS RUNNING If Cumulus error light comes on and message says "Data input appears to have stopped":
- Could be interference:
- Another software package is attempting to interrogate the station at (almost) the same time, so inhibiting a further connection
- A process on your computer (possibly one that you initiate using Cumulus 1) terminates with an error, making Cumulus miss one of its normal station reading actions
- Other devices could be affecting, either the frequency of any radio transfer by your station, or the signal passing along your USB connection lead
- Could be a connection lead has been knocked and so your USB connection has ceased
- Could be USB port has setting that allows it to sleep
- Could be you are making some change on your station console that prevents Cumulus reading it at the same time
- If you have one of the Fine Offset clones, make sure you have configured your relative pressure correctly. If Cumulus finds an 'impossible' value, it will ignore all data from your station.
CUMULUS RE-STARTED If Cumulus does not read catch-up data from the station logger:
- Might be problem with connection lead, or interference from nearby electrical unit.
- Your station type may not have a logger, if so Cumulus cannot read anything from station while software was not running.
- There is a bug in the Davis DLL (Dynamic-Link Library) that Cumulus 1.x.x uses, where it never downloads the last archive record; so if there is only one to download (compare how long Cumulus was stopped with logging interval on your Davis station), it doesn't get any at all. (See here for opposite problem). Cure this by ensuring if you stop Cumulus you either leave it stopped for less than Davis logging interval time, or don't restart until after at least 2 logging intervals.
- You have not selected "Use data logger" in the Settings section of the Station settings screen accessed from Configuration menu. Correct this:
- Stop Cumulus after changing this setting
- Look in Cumulus\backup folder (or its daily sub-folder) for a folder of .ini files prior to the problem, copy all those files to overwrite the ones in Cumulus\data folder
- Re-start Cumulus, it should use revised start date/time, and read the station logger for the whole re-wind period
- If there is another problem, read the instructions accessed from "Please read this post before posting" at the top of the support forum page including the request to zip up the contents of the Cumulus\diags folder when asking for such support.
On restarting Cumulus, it did not successfully read all data from when it last ran
Assuming you use the type of weather station that does have an internal memory that retains observations that have already been read by your computer (and assuming that you have not left Cumulus off for so long that some of the days you want are no longer there)...
- Use the 'rewind feature' of Cumulus. Look in the backup folder for the backup which Cumulus took when it first started up today. Stop Cumulus, copy all of the files from that backup folder into the data folder (overwriting the files which are there) - this restores Cumulus to the state it was in before you ran it today. Make sure nothing else on the computer is running that might affect either your station or Cumulus log files. You can look in today.ini to see the date and time that you will rewind back to. Start Cumulus and it should then download the data (from the date and time in the "today.ini"), to get up to date. (Ignore remaining paragraphs if this has worked).
- As mentioned elsewhere if option 1 does not work, you can choose an older back-up and rewind back further providing the information is in the station logger. Remember however, that when you restart Cumulus it will only have access to observations at the station's logging interval, so any extremes between logging times previously picked up by the frequent querying of the station while Cumulus was previously running during the period you are now rewinding may be lost.
- If Cumulus still cannot catch-up, then you can try this more risky solution, you can edit timestamp in today.ini to exactly match a logging time in your station, the restart should then read all subsequent timed storage locations in the station. This only applies to makes of stations that store the exact time with each logging, not to station types that only record duration since previous logging.
- If you are very skilled in understanding how Cumulus uses its various Log Files, it is possible (when you stop Cumulus) to back up all the Cumulus log files, before you perform the rewind and a restart, then stop Cumulus again and partially merge data from old and new files, this might enable you to keep some extremes that would otherwise be lost by the rewind, finally do a normal restart.
Cumulus read some invalid figures from my station
If you have:
- just started using Cumulus,
- just re-started Cumulus and you are only getting bad data when you start Cumulus up (i.e. when it is using archive data from the station logger),
- or you have just changed some settings,
... check you have the correct station type selected (see the Cumulus Help for the settings screen).
Choosing the wrong station type means individual items of information are not correctly assigned to weather parameters. Cumulus knows what is at what location for each station type.
- Is the information correct on the station console (i.e. not a fault with a sensor), but incorrectly displayed on Cumulus screen (i.e. transfer problem)?
Check all your settings on Cumulus, or see a previous question.
- If the station itself shows incorrect figures, a sensor may have a problem (mechanical or electrical failure, obstruction by animal activity) or a battery may need replacing.
Over successive versions of Cumulus more and more code has been incorporated to deal with the way some stations are prone to reporting rogue readings.
- Ensure you are using the latest Cumulus build, if you are using an old version you will not have any enhancements made since the earlier build that might improve the way Cumulus reads from your station type.
In general, if Cumulus 1.x.x identifies an odd value it will reuse the last good value instead, assuming that the problem will either right itself, or be spotted and dealt with quickly.
Fine Offset stations are prone to reporting the odd non-sensical value, and Cumulus has the ability to compare successive readings:
- From the Configuration menu select Calibration and in the Spike removal frame you can specify "the maximum differences between successive values" that Cumulus is to tolerate. See the Help for that screen, and note that spike removal applies while Cumulus is running, not to catch-up readings from the station's logger.
Possible Cure: The purpose of the backup files is to allow Cumulus to be 'rewound' to a particular point in time. It simulates the situation where someone had closed Cumulus down at that point, and is only now starting it up again, and needs data to be downloaded from the station's logger to catch up to the present time. Obviously this cure will not work if your station type does not have a logger (one is needed for Cumulus to read old readings again).
- If you have only installed Cumulus a few days ago, or have just re-started Cumulus after it was stopped and encounter multiple rogue readings in the catch-up from the station logger; one possibility is to stop Cumulus and find the backup files that it took when you started it up (or just after the previous roll-over time), copy those files into the data folder, overwriting the ones that are there, then when you start it up again it will rewind back to the time in that back-up, and could sort itself out.
The Diags log often contains useful information for sorting out what has been read, which values have been ignored, and which highs or lows may have been updated incorrectly. Note that automatic backups are made just after roll-over time because restarting Cumulus when there are no logger records to read before roll-over has been known to cause problems. Therefore, the backup to choose might be one with the date before when the problem occured, but remember that any calculations Cumulus makes are based on readings at least every minute when Cumulus is running, but for the catch up period such calculations can only use the readings available at your station's logging interval. Note if you choose a later backup and it does not work, you can always then repeat the 'rewind' with a earlier backup.
How to restore a corrupted log file
Full information about all the log files is elsewhere Category:Log_Files, so you can study the notes linked from there, but here is a very quick summary.
These notes are written for Cumulus 1, some attempt is made to also cover Cumulus MX, but the way that date/times are stored in Cumulus 1 and Cumulus MX files can be different, particularly for the '*.ini' files; consequently this summary does not cover any problems in files that have been ported from Cumulus 1 to Cumulus MX.
Both Cumulus 1 and Cumulus MX create a copy of each of the logs in the backup folder, both at end of day rollover, and when the software is (re-)started. If the corrupted file in 'data' folder is a log holding extremes (not the detailed log created for each month nor 'today.ini'), then the easiest way to remove false extremes recorded recently is to to overwrite the current file with the one from the most recent back-up. Since 'today.ini' is updated very frequently (every time Cumulus interogates your weather station), it is not advised that you overwrite that file, unless you are able to do a rewind as described in earlier answer. If you were to use the backup folder copy of the detailed log, you would lose all of the stored values since the backup, so again only do that in a rewind context where all the files from the backup are overwriting those in data folder, and you simply want to copy in what is still in any station logging memory.
Cumulus 1 provides editors - go to Edit menu and pick the relevant extremes file, the either type over the figures that you want to change or use the buttons that load the more detailed log files and then figures from them can be copied into extreme file. There is an option (in the view menu) to read the latest detailed log for the current (or past) month, but there is no built in editor for those files.
Cumulus MX (from version 3.2.2 - build 3058) provides editors for key log files (all-time and monthly-all-time).
- Remember 'alltimelog.txt' logs each change made to 'alltime.ini' so you don't need to correct the former, but it can help you know how to regress the latter.
- "speciallog.txt" (if used) holds internal temperature and internal humidity, it does not get copied to backup folder, so you need to back it up yourself.
- 'yesterday.ini' will get overwritten at end of day, so it is rare to edit that.
- "dayfile.txt" has a new line appended to it at the end of each day, if you go back to the backup copy and you lose the latest line, then most of the information can be extracted from the 'today.ini' in the same backup folder, but you need to understand the process and content differences as explained in the Wiki for the two files.
- 'year.ini' and 'month.ini' record extremes shown for this year and this month, the diagnostics logs created in the sub-folder 'diags' record each new extreme added to these files, so you can work through the diagnostic logs to identify what to correct.
- "monthlyalltime.ini" is essentaily a more complicated 'month.ini', it separates out extremes for each month of year. Any change in the diagnostic logs for the current month may, or may not, affect "monthlyalltime.ini", but again searching through the logs should help.
- 'log.xml' is another file that Cumulus does not copy to the backup folder, so you should back it up periodically. It is only found in Cumulus 1 and is edited using the 'Weather Diary' screen in the 'View' menu. Although it can be edited by a 'XML' editor, I advise against it, as the way that the field 'RowState' is calculated is complex, and if you corrupt the file, Cumulus 1 will crash.
- "mmmyy.txt" (naming varies depending on computer settings) is the detailed log mentioned above
I get very large amounts of rainfall shown, or other high readings
Fine Offset stations have a habit of producing unbelievable readings, and Cumulus filters many of these out automatically. You can also use the 'spike removal' settings on the calibration page, and Cumulus will then filter out large changes in readings. Please read the help for how to use these settings. Another possible explanation is that you have chosen the wrong station type in the Cumulus station settings. You should only select the "Fine Offset with UV/Light sensor" type if your station actually has SENSORS for these. Your station may have solar CHARGING, but this is not the same as having a solar SENSOR, and so you should choose the "Fine Offset (WH1080 etc)" type. Typically, stations which do have solar SENSORS have a model number which starts with a '3', e.g. WS3080, and stations without solar sensors start with a '1' or '2'. Selecting the wrong type of station will cause Cumulus to misinterpret the logger data read from the station (which it uses when it starts up) and hence incorrect readings will result, typically when you restart Cumulus.
If you have bought your Fine Offset station in recent years, a USB lock-up problem is very common and around 50 threads in the support forum are about this. Correcting the lock-up often requires resetting the console, and that can have an undesirable side effect of Cumulus then getting invalid data from the station. The correction of invalid rainfall figures is covered in subsequent paragraphs. Errors in other measurements are one-off errors and should not affect subsequent readings. You still may need, as explained in the relevent Wiki entries, to delete a single line from your monthly log file with rogue values, and correct any incorrect extremes that have been recorded in the various record log files.
My station invented some rain that didn't really occur, and I want to set it to zero (or some other figure)
Cumulus does include some code to try to ignore some obvious rain errors:
- For example, if the station reports negative (the counter that Cumulus uses decreases in value) rain, Cumulus will normally ignore that, but if for 6 consecutive readings the rain cumulative count stays below what it was before, Cumulus will normally accept the new count as a new starting point.
- While Cumulus is running (not when catching up with stored past values from the station log), it will ignore large increases in rainfall. (See below).
Because many positive values are realistic, Cumulus generally will accept those odd increases as a result of accidental knocking of a tipping bucket gauge, due to wind effects on the gauge, or even due to the station electronics generating a rogue reading. The sub-answers below explain how to correct such errors.
(Invented rain) Error in today's total
Easy - correct today's total using the 'today's rain' editor on the edit menu (select from main screen in Cumulus 1, or find in the MX browser interface).
(Invented rain) Error in date/time of 'Last Tip'
You must exit out of Cumulus and then edit today.ini to change the LastTip=(usually helpful to look up previous last tip date/time in a recently backed up today.ini) parameter.
(Invented rain) Error in number of consecutive days with or without rain
- The counts are for completed days, not part days. The threshold for whether a day counts as a wet day is set in the optional parameter RainDayThreshold= -1, and the parameter NoFlashWetDryDayRecords=1 is also relevant.
- Remember that 'ConsecutiveDryDays' and 'ConsecutiveWetDays' do not include today, they reflect the daily rainfall amounts stored in the daily summary log.
To edit the count reported by Cumulus, stop Cumulus and edit the today.ini log file by changing the integer value. Remember, that invented rain can affect monthly, annual, all-time, and monthly_all_time extreme records, and you may need to edit these as described in sub-answers below.
(Invented rain) Error in yesterday's total
- edit the total for the relevant day in dayfile.txt, (using the dayfile.txt editor available in Cumulus 1 on the edit menu, use any external text editor for MX).
- optionally edit yesterday's total (which is only held temporarily for display purposes) in today.ini, while Cumulus is stopped.
(Invented rain) Error in total or high rainfall rate for any day before today
Just edit the total or rate for the relevant day in dayfile.txt, using the the daily summary log file - dayfile.txt editor on the Cumulus 1 edit menu (or a suitable external editor that does not add 'BOM' for Cumulus MX). Don't edit the daily summary file close to roll-over time.
(Invented rain) Error in total, or extremes, for this month and/or this year
See next FAQ. Once you have corrected the daily totals (or high rainfall rates) in dayfile.txt, you can use the editors (on the Cumulus 1 edit menu) for 'This Month' and 'This Year' to fetch the corrected values from dayfile.txt (or enter figures manually).
(Invented rain) Error in all-time extremes or month-by-month all time extremes
Cumulus stores the following rain extremes; for all time and for every January, February ... December:
- Highest rain rate
- Highest hourly total
- Highest daily total
- Highest monthly total
- Longest dry period
- Longest wet period
The correction procedure for all these is as described in this FAQ.
To see the previous value for all-time records see Alltimelog.txt. If your all-time records, or month-by-month all-time records have been affected, in Cumulus 1 you can use the built-in editors (in Cumulus MX, use any external text editor). The Cumulus 1 editors can fetch the correct values after you have corrected dayfile.txt.
(Invented rain and) Rain Counter
Cumulus uses a counter supplied by the station to determine its rainfall data (exactly what that counter is, depends on the type of station). A search of the forum will help for your particular model, for example for some models there might be a counter that represents rain since station bought (or since it was reset), for some stations Cumulus will use an annual total supplied by the station (that resets each new year).
If the rain counter is reset by the station for some unexpected reason, you will have to accept that, and let Cumulus handle it - it does its best to cope when the rain counter changes unexpectedly. Assuming it doesn't change unexpectedly again, you should find that the rain figure is only affected for one day, and then you can amend if necessary subsequently as per other sub-answers here. You can see the counter value being used by Cumulus labelled "raindaystart=" in the diagnostics file (for cumulus 1 - "Cumulus\Diags\cumulus.009") and labelled "start=" in "Cumulus\data\today.ini".
(Invented rain and) Other rain figures
Note that other rain figures, such as 'rain last hour', 'rain last 24 hours' and 'rain since midnight' depend on a sensible progression of the rain counter described in previous sub-answer, so it's not easy to correct this; it is easier to wait until the erroneous figure is far enough in the past so as not to affect the calculation of these 3 other values. Note that if you're using a midnight start of day then you don't need the 'rain since midnight' figure anyway, as it is normally the same as 'rain today', and that figure is much more easily corrected.
If you really do want to try to correct these other rain figures; you would need to stop Cumulus, then find (for the period in question), the correct standard log file field 11 (assuming date is field 0), which stores the Cumulus 'rain counter' values, and edit (increasing the value in the count field, decreases the difference to the next (or current) count, and therefore reduces the rain in the in-between period) so they are correct relative to the current value of the rain counter (i.e. the latest one logged).
(Invented rain) Error prevention by Spike removal
- It is better to try to avoid spurious rain being recorded in the first place.
- Cumulus attempts to ignore large increases in the rain total automatically, and is quite often successful.
- For 'hourly rain' and 'rain rate', you can set 'spike removal' settings on the calibration settings screen. The value you set here, is the maximum change allowed between successive observations. Rain Rate corrections apply only to Fine Offset and La Crosse stations (which are known to occasionally produce faulty rain readings).
(Invented rain) More information
There is more information about correcting rogue data elsewhere in the Wiki, in the pages about the log files.
My monthly and/or annual rainfall totals are wrong
Cumulus calculates these when it is restarted, holds the values within memory, and increments them as required while it is running. This FAQ in the previous section #Where_does_Cumulus_get_its_this_month_and_this_year_rainfall_totals_from.3F has a concise description of how Cumulus calculates these figures.
The rainfall total shown on the This month screen within the View menu, is calculated from summing dayfile.txt totals for a selected month, and so for the default current month will exclude the current meteorological day. The rainfall total for today so far is added for the web tag <#rmonth>. If too small a figure is shown, then the most likely issue is that your dayfile.txt is corrupted and Cumulus cannot read one or more lines. Such corruption might be introduced if you have had a power blip while Cumulus was writing to the file, or if you have viewed the file in a Microsoft tool that might have introduced unwanted characters. Both Cumulus 1 and MX provide editors for dayfile.txt, you should use these as they arrange the fields in columns and you should be able to spot when the fields in one line don't match others. The editors for monthly records (and others) have a facility to read dayfile.txt that can pick up some errors in this file and tell you the line number of the first error.
The rainfall total shown on the This year screen within the View menu, is calculated from summing totals in dayfile.txt for a selected calendar year. For the default current year, it will exclude the current meteorological day. Note that for Cumulus 1 the value labelled "This year" in the rainfall frame may not be the total for this calendar year, as you can choose it to start in any month (see next point).
- The rainfall total reported by the <#ryear> web tag is for the rainfall season to date, it is calculated from taking today's rain and then adding the sum of the totals in dayfile.txt starting with the first (meteorological) day of the month specified in the 'rainfall season' frame on the station settings screen within the Configuration menu, until the end of dayfile.txt is reached. So check you have specified the right starting month there before deciding the rainfall total shown is wrong. This is the same figure as is shown on the main screen of Cumulus 1 for "This year" in the rainfall frame.
If you need to, you can specify a year-to-date total to add in for the period up to the point where you started using Cumulus, so that your first year’s total is correct. This is also on the Station Configuration screen. Make sure you specify the first Cumulus operating year here, otherwise the extra will be added to the annual total for the wrong year! Do note, if your rain season starts in a month other than January, the extra is added throughout the calendar year specified, it is lost when the season swaps to a different calendar year, and if you change the specified year then it will also apply to the next season!
See immediately preceding FAQ correcting rainfall for how to correct errors in total for particular days and how to correct the high extremes for the various periods.
In all cases, wait until Cumulus has written the next log entry (i.e. wait the number of minutes that you have set as the Cumulus logging interval), then restart Cumulus to get the monthly and annual totals recalculated from correct daily totals.
If you need to correct within day values for trend graphs as well as the longer period totals, provided you know roughly when the rogue rainfall was recorded, find (and edit) it in the Standard_log_files, field 11 (assuming date is field 0) is the count used to derive other parameters. Increasing the value in the count field, decreases the difference to the next (or current) count, and therefore reduces the rain in the in-between period.
The ‘gust’ line has disappeared from my graph
You probably have Cumulus set to calculate a 10-minute average, and your logger period is 10 minutes or longer, so your gust comes out the same as the average when using data from the logger. Depending on your weather station type, there are a few things you could try, to improve things. Decrease your station's logger interval, and if you have Cumulus calculating the wind speed average and you have a Fine Offset station, set 'Use speed for avg calculation'.
My ‘gust’ values are the same as my ‘average’ wind speed values.
As above, you probably have Cumulus set to calculate a 10-minute average, and your station logger period is 10 minutes or longer, so your gust comes out the same as the average when using data from the logger. See the previous FAQ for suggestions on how to improve this.
I’ve just installed Cumulus, and it didn’t download all the old data from my weather station
Cumulus deliberately doesn’t attempt to download any data from before the point when you first run it. If you wish, although this isn't recommended, you can force it to download data from any point by editing the ‘Timestamp’ line in the today.ini file (in the data folder), before starting it (you will need to have run it at least once previously). Note that if you do this, it is at your own risk, and you will need to sort out any issues which may arise yourself.
If you do this, you will probably need to edit your log files in the data folder as you may have duplicate entries and/or entries out of order. Your rain totals will almost certainly also be wrong - the total for "today" in particular. See the FAQ entry about correcting rainfall data. If you have only just started using Cumulus, you could delete all of the files in the data folder, and just create a simple today.ini as below. Then when you start Cumulus, processing will start again with just the data from the station's logger.
Note that this method does not work for the Oregon WMR200 station. This station deletes logger entries when they are downloaded, and there is no mechanism for retrieving logger entries for a particular period - it just sends all the entries that it has. You may be able to circumvent this by creating a today.ini file in the data folder before you run Cumulus 1, with just this in it:
[General] Date=10/04/2012 Timestamp=10/04/2012 10:00:00 CurrentYear=2012 CurrentMonth=4 CurrentDay=10
Note that Cumulus MX stores some time-stamps in ISO format (yyyy/MM/dd HH:mm:ss) within 'today.ini', the format example above only works for Cumulus 1, see the article on the log file itself for specifics. Change the dates and time to match the point from which you want Cumulus to start downloading data. If the station has already sent the data, this may not work, unfortunately.
If you stored data from your weather station (on another file-based system) before you first ran Cumulus, then you may be able to (using a text editor outside Cumulus) generate Monthly log files for the pre-Cumulus period. See that Wiki article for more information on what you can then do with those files within Cumulus.
I have inserted pre-Cumulus data and now I get errors
Probably some of your inserts used the wrong format (blank rows, fields with real numbers where integers expected, alternatively missing or duplicated fields). See Category:Log_Files. Note that Cumulus will only flag errors in the log files that it reads (e.g. those relating to the period for which it displays trends graphs). Check all the log files you have amended.
I have inserted pre-Cumulus data making 'Records began on' date wrong
Stop Cumulus and edit Cumulus.ini (station section) within the main Cumulus folder. Change the "StartDate=" line. Be sure to use the same format for the date.
Note StartDate=xxxx does not need to be updated for Cumulus 1 to recognise earlier data in log files in its data subfolder.
However in calculating and updating extremes, Cumulus MX will ignore any monthly log file data prior to the start date set, so it is crucial to make sure the start date is right before you (re-)start MX.
It really represents "Cumulus began on", so there is an alternative of leaving cumulus.ini unchanged, but editing default Cumulus recordsT.htm template twice:
- after the h2 heading is <p>Records began on <#recordsbegandate>. Here are the extremes recorded since then.</p>; you can replace '<#recordsbegandate>' with the new earliest date typed in as text; and
- at the start of the table is the <caption>Records Since <#recordsbegandate></caption>; replace the label "Records since" with "Cumulus began on" leaving the web tag unchanged.
Cumulus doesn’t show the same pressure as my Fine Offset console
Cumulus displays atmospheric pressure corrected to sea level. The console calls this ‘relative pressure’; it displays the letters "rel" when this is being displayed. First of all, check
- that you are comparing the Cumulus display with the ‘relative’ pressure on your console,
- that only one copy of Cumulus is accessing the weather station (and no other software),
- that you do not have a 'EWpressureoffset=x.y' line in the [Station] section of cumulus.ini,
- and that you do not have a setting for pressure on the Cumulus calibration screen.
The Fine Offset stations only store absolute/station pressure readings in their weather memory locations updated with each transmission and read by Cumulus. Within Cumulus, the software applies the adjustment to sea level before any further processing. It does not use the altitude setting in the cumulus station configuration screen. Normally when Cumulus starts, it reads in the fixed block in the console a pair of absolute/station pressure and relative/sea level pressure readings and uses the difference between these as the ‘offset’ in millibar for the station; Cumulus uses this offset subsequently to calculate the sea level pressure (each time when reading the absolute pressure in the weather memory locations of the station), but it is possible to define the offset in Cumulus.ini instead.
Make sure that you have set your console's relative pressure correctly:
- for a push button operated model, press 'menu' key 4 times for pressure mode, press 'enter' to move to relative pressure setting, press 'up' or 'down' to adjust value.
- if your model uses a touch sensitive screen then it is probably tap the reading three times, then touch '+' or '-' to adjust value.
The support forum includes discussion on where to find isobar charts or other sources to determine what the pressure should be - make sure you use a reliable source of data, e.g. a Met Office station if in the UK. Obviously after any adjustment you need to stop Cumulus, because it is when you restart it that Cumulus reads the new pressure offset.
Sometimes the offset that cumulus reads from the fixed block is clearly garbage, so
- the cumulus error light is set
, - an error message suggests you check the station, and
- Cumulus uses zero offset instead as a best effort.
In this situation, Cumulus will display the same value as the 'absolute' pressure on the console (no "rel" is displayed on the console when it is displaying absolute pressure). Often, if you restart Cumulus, it will then be able to read the correct value. If the problem happens often, you can circumvent it by editing cumulus.ini (while Cumulus is stopped), and in the [Station] section add an entry:
EWpressureoffset=x.y
where x.y is your pressure offset. Cumulus will then use this instead of reading the fixed block offset from the station. Note that you must supply the offset in hPa (i.e. the millibar units that the station works with) and that this circumvention generally stops Cumulus from agreeing with the relative pressure displayed on the console. If you swap from Cumulus 1 to Cumulus MX, remove this pressure offset, MX is much better at communicating with the weather station and rarely needs use of this offset.
My pressure suddenly dropped! Or suddenly increased!
If you have a Fine Offset station, and this happened when you (re)started Cumulus, it is quite likely a problem with reading the pressure 'offset' from the station. See: "Cumulus doesn’t show the same pressure as my Fine Offset console" above.
I get an error when I try to view my all-time records. Also, they don’t appear on my web site
The date format on your system has probably changed. Look at the Startdate line in cumulus.ini and check whether this is in the correct format for your system. If not, stop Cumulus and correct the date format.
I get an error when I close Cumulus
Cumulus does sometimes report an error when you close it. This does not appear to cause any problems, you can just close the error message. I don't seem to be able to do anything about this, as the 'crash' is not in code that I have control over. You may be able to avoid this error by avoiding closing Cumulus while it is uploading to the internet. Please don't bother sending me a bug report about this.
My forecast says "Not available"
You can get Cumulus to create a simple forecast by selecting 'Cumulus Forecast' on the Stations Settings screen.
My forecast always says "Exceptional Weather, Stormy, much precipitation"
You probably have incorrect Pressure Extreme settings in the Forecast section on the Station Settings window. Make sure that the values you have supplied match the units you have selected for the extremes. Note that the units for the extremes are not related to the units you have chosen for pressure display in Cumulus. The option of supplying mb/hPa or inHg for the extremes is merely a convenience; you can supply either, but the values and the units must of course match.
My computer hibernated/suspended, and I lost data/my graphs 'flat-lined'
Cumulus can't cope with being suspended, it just carries on as normal after being woken. There is an option in the station settings to 'close on suspend', so Cumulus will close itself as a safety measure, if you forget to do it manually. Don't use the 'close on suspend' option and the 'confirm shutdown' option at the same time; this will cause problems.
But I strongly recommend that you don't have your computer set to go into any form of standby while Cumulus is running - it's continuously gathering real-time data, after all, so it's a rather strange thing to do.
My heat index/humidex/wind chill is the same as my temperature
- These can only be calculated when you have not only your temperature sensor working, but also your humidity sensor must be working for humidex and heat index; and your wind speed sensor must be working for wind chill
- Wind chill only applies when the average wind speed is above 4.8 kph and (by default in Cumulus as it should really always be set, but this is an option that can be unset) the temperature is below 10 degrees Celsius.
- Heat index only applies when the temperature is above 27 degrees Celsius and the humidity is above 40%.
- Humidex does not have any 'cutoff' values, but at low temperature and/or humidity it will give the same figure as ambient temperature.
If heat index or wind chill is not applicable, Cumulus will set them the same as the ambient temperature. You may wish to use a script on your web pages to set to null heat index, humidex and wind chill when required sensors are not working or when the measure is notapplicable.
Cumulus is showing a different wind speed compared to my console
You have probably misunderstood Cumulus processing of wind speeds, looking at different parameters, or different averaging periods.
- If you have a Davis weather station see #What_do_the_various_wind_speeds_in_Cumulus_correspond_to.2C_with_Davis_stations.3F
- If you have a Fine Offset station, see #What_do_the_various_wind_speeds_in_Cumulus_correspond_to.2C_with_Fine_Offset_stations.3F
- For Oregon Scientific and La Crosse stations see #How_do_I_set_up_recording_wind_speeds_in_Cumulus.2C_with_Oregon_Scientific_and_La_Crosse_stations
Note that you can't compare the graphs drawn by Easyweather and Cumulus unless you are certain that they are plotting the same data. They can't both be running at the same time, so one would normally be plotting 'live' data at a given interval, and the other will be plotting data downloaded from the station's logger. The wind speed will hence not normally be the same for a particular time on the graph as it may well have changed at the point that it is saved to the logger. The only situation where it would be valid to compare the graphs would be if neither were running at the times you are comparing, and both subsequently downloaded the same data from the logger.
I get error -32710 with Cumulus and my USB Davis station
The USB support in the Davis DLL which Cumulus uses doesn't seem to work. You need to use the CP210X USB/serial software which Davis supply, and use the station in serial mode. If you have previously been using your station with Weatherlink in USB mode, you will need to change to serial mode in Weatherlink before you can use the station with Cumulus. You can do this using this utility from Davis. See also this FAQ entry - https://cumuluswiki.org/a/FAQ#How_do_I_get_my_Davis_station_with_USB_working_with_Cumulus.3F
When I start Cumulus, the graphs restart again each time and don't show the earlier data
You probably have an error in one or more data files. Look near the beginning of the latest file in the Diags folder for an error message which will tell you which file is in error and which line is causing the problem. It may simply be a blank line. Edit the file with Cumulus stopped. Note that you may need to repeat this process; only the first error is shown.
This problem can also occur if you change your system format settings (date format, decimal and list separators etc). Again, check the diags file for a message about a number not being a valid floating point value.
The peak values on my graphs are not the same as my extreme values
The graphs are snapshots of the data, taken once a minute while Cumulus is running; it is not feasible to plot every data point. If the extreme value did not coincide exactly with the point at which the data was added to the graph, then it will not appear on the graph. The graphs are not intended to show all of the highs and lows, they are there to give an idea of the trends. This also applies to 'Select-A-Graph', which takes its data from the data logs; the highs and lows do not necessarily appear in the periodic data logs.
This is most noticeable with wind gusts, the value of which can change rapidly, even over a period of a minute. The 'Plot latest gust' setting causes the 'Latest' figure (as shown on the main screen) to be plotted. What this figure represents exactly depends on your weather station type. This figure may vary rapidly, e.g. on Davis stations, it changes every 3 seconds or so. The graphs are plotted once a minute, and hence, with Davis stations, for example, there is approximately a one in 20 chance of any given 'latest' figure actually being plotted.
Cumulus also stores the peak value of the 'latest' figure from the last 10 minutes. It calls this the 'gust', as this is a reasonable representation of a true 'gust' figure. If you untick 'plot latest gust', it will plot this figure instead. As it contains the peak figure from the last 10 minutes, and the graph is plotted once a minute, plotting this value means that the high gust figure will always appear on the graph. The exception to this is with Davis stations, in the situation where the 'high gust' figure has been read directly (as a way of ensuring that the high gust isn't missed) rather than by the usual reading of the current data. In this case, the gust is recorded as the high, but is not written to the current value, and hence does not appear on the graph, as it may be out of sequence with the current data.
My extreme values do not appear in the 'monthly' data logs
The data logs are snapshots of the data, taken at the configured interval while Cumulus is running (or at the station's configured interval when data is read from the station's logger directly into the Cumulus monthly log). Cumulus, while it is running, reads the station frequently, detecting each change in observations, and can update extremes at each of these reading times.
If the extreme value reading time did not immediately precede a time at which the data was logged, then it will not appear in the log. This is most noticeable with wind gusts, the value of which can change rapidly between log entries.
Cumulus is designed to be kept running, if you only run it once a day, then the information it reads from the station's logger during catch up may miss extremes. For example when Cumulus reads the archive temperatures from a Davis station, (in a compromise to allow Cumulus to have as much code as possible that is common to all weather station types) the design means that it ignores the first and second figures representing highest and lowest reported at each logged time, just reading the third figure that, depending on console configuration, is either the average value over the archive period or the final reading of the archive period (I don't know what the default is).
Cumulus takes a long time to download the data from my Davis station at start up
When Cumulus starts, it asks the station for all the data from the logger since the last time it was running. If the time-stamp that it supplies does not exactly match the time-stamp of an entry in the Davis logger, the station has a strange 'feature' where it decides to send the entire contents of the logger. This will take some time to download, during which the Davis console display may appear to freeze.
- It is recommended that you enable the feature Synchronise station clock in the 'Settings' block accessed from the Configuration menu Station Screen.
- It is recommended that you set the logging interval in Cumulus (in the 'Data log interval' block accessed from the Configuration menu Station Screen) to the same interval as the station (the station interval can be changed using Weatherlink), then Cumulus will be able to make sure it uses a time-stamp that matches an entry in the logger. Note that this is mentioned in the readme.txt file that appears during the Cumulus installation, which you were asked to read at the time. If you didn't read it, it is strongly recommended that you do so now; it contains important information.
Note that this situation can also occur if you close Cumulus and then start it up again very soon afterwards, for similar reasons. There is nothing that Cumulus can do about this, it is an issue with the logger (or Virtual VP, which behaves in the same way).
Davis to Cumulus skips one logged set of readings
The Davis DLL which Cumulus 1 uses never downloads the latest archive record. Consequently, if you have Davis and Cumulus set to logging every five minutes and restart Cumulus at 07:33, the archived readings up to 07:25 will be read across to Cumulus, the set of readings stored on Davis at 07:30 will be skipped, and Cumulus will create its own logs from 07:35 onwards.
My Davis console clock is not exactly the same as my PC clock, but I have "Synchronise station clock" selected
The Davis protocol only allows hours and minutes to be set, so there is always likely to be a difference of up to 60 seconds between the PC and the station.
Today is the shortest/longest day, but Cumulus says that tomorrow will be a few seconds shorter/longer
The routines I use to calculate (at midnight GMT) the length of the day aren't really suitable for this level of accuracy and may use the previous day in one parameter. I don't consider it an issue.
(Also remember that due to refraction affecting route of sunlight to earth, the official equinox is usually a couple of days after when day and night are actually equal).
Cumulus got the forecast wrong!
Cumulus uses a forecast based on the Zambretti Forecaster (see Google). I didn't design the algorithm myself and to be honest I don't know how it works, so I can't answer any questions about it. Note that this is a 'forecast' for the following 12 hours or so; it is not a 'nowcast' (what the weather is doing now). Please regard the forecast as 'for entertainment purposes only'. Do not base any decisions on it, and bear in mind that it is a very simple calculation based on only a few basic parameters. Some people get reasonable results, others do not. You can try tweaking the pressure extreme settings (in the Forecast section in the station settings), but don't expect the forecast to be as good as that provided by the weather agencies which have invested millions in their forecasting systems.
I only see one set of points on the wind direction graph
This happens just after you restart Cumulus, if the data came from the weather station's logger (i.e. Cumulus hasn't been running for a while). Weather stations only supply a 'current' direction, and Cumulus calculates the average direction when running 'live'. So there is only one set of data available to be plotted, if it comes from the station logger.
My average wind bearing remains at zero
Cumulus will always show zero average bearing when the average wind speed is zero (it can't be otherwise because it's calculated using the wind speed). In addition, it will show zero current bearing when the current wind speed is zero if you have use bearing zero when calm selected in the station settings (accessible from Configuration menu).
This also happens if your anemometer has a fault.
My graphs appear to be plotted less frequently just after Cumulus starts up
When running live, Cumulus plots data at 1-minute intervals. When it starts up, it pre-fills the graphs with data from the log files, which generally (depending on how you have Cumulus and your station configured) will be at less frequent intervals.
I closed Cumulus, the 'please wait' form appeared, but Cumulus didn't close, even after several minutes
If you've closed Cumulus shortly after it has downloaded a lot of data from the logger, it can take a while for the logging thread to get everything written away to disk, and Cumulus won't close until this has completed. However, in some circumstances, there seems to be a situation where Cumulus will never close, so you will need to close it with task manager. If you think you know what conditions cause this to happen, please let me know.
Cumulus isn't logging data at the interval that I set
It logs data at the interval you have configured, while it is running. If there is data to read from the station logger at start up, each logger entry is logged to the Cumulus log files, so those entries will be at the logger interval that you have configured in your station.
Cumulus takes a very long time to shut down
You may have closed it very soon after starting it up, when it had a lot of data to download from the station logger, and you use Weather Underground. From version 1.9.1 there is a facility where it 'catches up' with data that hasn't been uploaded to Weather Underground while it hasn't been running. This takes a little while, and if you close it while it is doing it, it will take a long time for all of the updates to time out. You need to give it sufficient time to finish the upload. From version 1.9.2, there is a 'catch up' light which shows that the upload is taking place, and the 'catch up' is optional'; and it will abort much more quickly if you still close it while the catch up is taking place.
My temperature Min/Max/Avg graph is empty
The most likely explanation is that you have only recently started running Cumulus (in the last day or two). It adds new values to this graph at the end of each day; it wouldn't make sense to add a value part of the way through the day, and you need a few points to be plotted before the graph starts to take shape. You need to wait until you have been running Cumulus for a few days.
If you've been running Cumulus for more than a few days, but the graph is still empty, the most likely explanation is that it was unable to read your dayfile.txt file. Look at the latest file in the 'diags' folder (the files are plain text) for error messages mentioning dayfile.txt.
The longest dry/wet spell for this month/year includes days from last month/year
This is intentional. I decided that it didn't make sense to arbitrarily chop off a dry/wet spell at the start of the month/year, as then the figure is meaningless. So the figures are to be interpreted as "the longest dry/wet spell which includes this month/year". I note that other software takes the same approach.
Cumulus isn't performing periodic tasks, like data logging or web uploads
Cumulus assumes a certain level of weather station functionality. It checks that it has received data from a number of sensors (e.g. pressure, outside temperature, wind) before it starts periodic calculations, logging, uploading to the web, or drawing graphs. If any of these stop, the previous value will be substituted, for up to 6 readings, then Cumulus 1 will stop working correctly. The reading interval depends on weather station being used, but Cumulus will always read at least once a minute, so it can keep going for just 6 minutes.
This is an attempt to make sure that bad data is not logged. If your weather station is not fully functional, you will not be able to use Cumulus fully.
You can over-ride the start up check by adding a line to the [Station] section of cumulus.ini, thus: NoSensorCheck=1 (You need to do this while Cumulus is stopped). Note that you are likely to get bad data logged if you do this.
I've changed my Twitter password, and now Cumulus won't update Twitter
You need to force Cumulus to re-authenticate with Twitter. Stop Cumulus and edit cumulus.ini. Find the [Twitter] section, and delete the lines which start
OauthToken=
OauthTokenSecret=
Start Cumulus and it should be able to update Twitter again.
This also applies if you want to change to a different Twitter account.
When I start Cumulus, I get the error message "The station is not initialised"
For Fine Offset stations, when Cumulus starts up, it checks the first two bytes of the station's memory. They are supposed to contain the values Hex 55 and Hex AA to indicate that the station has initialised itself correctly. If they do not, then presumably the station has had some kind of internal problem, so Cumulus doesn't try to read any data from it. A reset of the station normally fixes this - remove the batteries and the USB cable; but note that you will almost certainly lose any stored data in the logger.
If you want to force Cumulus to ignore this check (not recommended), edit cumulus.ini and add a line to the [Station] section: EWdisablecheckinit=1
You will most likely not have any success with this, as your station memory is probably corrupted anyway.
Note that for this setting to work, you need to be using version 1.9.3, build 1034 or later.
How do I correct today's or yesterday's highs and lows?
If the problem occurred because Cumulus wasn't able to download the data from the station's logger when you started it up in the morning (or perhaps you turned off the 'use data logger' setting for some reason), you can get it to try again by 'rewinding' to the time when you started Cumulus, and allowing it to try again. Cumulus takes a copy of the current files each time it starts up, and puts them in a folder in the backup folder in the Cumulus installation. Both flavours of Cumulus also take a copy of all files as a new day starts and store those in a folder within the sub-folder daily (within folder backup).
To do a rewind:
- Stop Cumulus,
- find the backup folder with the appropriate timestamp,
- copy all of the files from the backup folder into the Cumulus data folder,
- start Cumulus up again.
Today's totals, highs and lows (and yesterday's rain total) are held in today.ini in the Cumulus data folder. Follow the cross-references if you are unsure which parameter is what. To change any values, stop Cumulus and edit the file(s) in a text editor. Be sure to keep any date and time formats the same (they vary between Cumulus 1 and MX).
If you are editing yesterday's highs and lows, the totals (including RG11 rain but not standard rain), highs, and lows are held in yesterday.ini. However, you probably also need to edit dayfile.txt, as many of the values should have been written to that file. Both flavours of Cumulus (1 and MX) have log file editors, be sure to us the right editor for the type of log file you are editing.
If your all-time and/or monthly all-time records have been affected, see the next FAQ entry.
If the value you want to change is today's high hourly rain figure, it is best to wait until the current figure has returned to a sensible value. There is no easy way to correct the current figure, so if you change it in today.ini while the current figure is incorrect, the high value in today.ini will immediately be changed again when you start Cumulus. More information about correcting rain in this FAQ.
How do I correct my all-time (or monthly all-time) records?
Cumulus works by whenever the reading it is currently processing exceeds a particular record, that record is updated. In essence, Cumulus end-of-day works by reading what is in the monthly Standard_log_files to find the highs and lows during the day just ended, these then update the daily summary log. Cumulus can also read what is in the daily summary log to update the all-time extremes held in alltime.ini and month-by-month all-time extremes held in monthlyalltime.ini. Look up those cross-references to help you understand the various items, and how they can be updated.
Either 1) Consequently, you can manually copy the sequence remembering it requires several steps:
- Correct the rogue values or values in the monthly Standard_log_files with Cumulus stopped. Neither Cumulus 1 nor Cumulus MX provides an editor to do this, and you need to guess new values for readings as there is no other file provided by Cumulus to offer any suggestions, often people interpolate between earlier and later readings.
- Correct the daily summary log (don't do this near the rollover time), the editor in Cumulus 1 requires you to manually change the numbers, unless you delete the whole day (or it was previously missing) and you ask Cumulus to Insert missing i.e. populate a single line (day) from the detailed log, ignoring any extremes at times between logged readings.
- Correct the all-time extremes held in alltime.ini and monthly all-time extremes held in monthlyalltime.ini. Using the Cumulus 1 built-in appropriate editor from the first couple of commands in the Edit menu (and now also in CumulusMX) allows you to see, and copy across, suggested extremes based on contents of the monthly Standard_log_files or contents of the daily summary log.
or 2) If you know the correct figures, you can alternatively enter them manually directly into the .ini files and not bother to update the detailed log or the daily summary log. (It is pointless to edit the .ini files directly and then afterwards edit the log files):
- You can look at the Alltimelog.txt file to find the previous values for the all-time records.
- Similar entries are logged to the diags files for any updates to the monthly highs and lows in month-by-month records.
or 3) Cumulus takes a backup of most of the active data files when it starts up, and also at the start of the meteorological day (just after midnight for a lot of users). The backups are kept in folders within the backup sub-folder in the Cumulus installation. So yet another alternative method would be to find the latest backup from before the error occurred, and copy the alltime.txt and/or monthlyalltime.txt file from the backup to the Cumulus data folder. Do this with Cumulus stopped. There is more information in Category:Log_Files, for all of the types of file.
It's January 1st and my 'rain since midnight' and/or 'last 24 hours rain' and/or Evapotranspiration are wrong/negative
You are probably using a Davis station. Cumulus needs an incrementing rain counter to calculate all of the rain figures, and the nearest to that on a Davis station is the annual total. When this resets at the end of the year, this causes some of the rain data to show odd values for a day. You will notice this particularly if you use an 0900 start of meteorological day, as the 'rain since midnight' figure is used for services such as Weather Underground. There's no easy solution to this, sorry.
Cumulus stops at the "Downloading data" screen
If you have a Fine Offset station, this is probably caused by the station's USB interface locking up - a known problem with some Fine Offset stations. You should be able to get it going again by doing a reset - remove batteries and the USB cable. Recent Fine Offset models have a problem where they can lock up frequently, requiring a reset. From version 1.9.3 of Cumulus onwards, there is an option to synchronise the reading of data with the console writing the data, to avoid doing both at the same time, and this seems to avoid most lockups. The setting is "Synchronise Fine Offset reads" on the station settings screen.
If you look in the status bar at the bottom of the Cumulus window, there may a message "Error: no response"; this would confirm that the station has locked up and needs resetting.
If you are using the "Synchronise" setting but are still getting frequent console interface lockups, then the clocks on the console and the platform running Cumulus may be drifting too far between synchronisations. Look in the diags files for the word "drift" and see how many seconds apart the clocks are drifting. If it is more than 3 seconds, you will need to adjust the period that Cumulus allows where it doesn't read the console data. Stop Cumulus and edit Cumulus.ini. In the [Station] section, add a line:
FOReadAvoidPeriod=N
where N is the required setting in seconds. If you find you are getting a drift of 9 seconds, say, you might set the value to 10.
Cumulus locks up when it starts and I have to use the task manager to kill it
If you have a Fine Offset station, this is most likely caused by the station's interface locking up, i.e the station has stopped communicating with the PC.
The problem where Cumulus locks up when the Fine Offset station doesn't respond is fixed in version 1.9.4. If you look in the status bar at the bottom of the Cumulus main window, there may be a message "Error: no response"; this would confirm that the station has locked up and needs resetting.
You should be able to get the station going again by doing a reset - either remove console batteries and the USB cable or press the reset button hidden below the small hole (on 1081-based models, above the top RH corner of the battery cover). Recently manufactured Fine Offset models have a problem where they can lock up frequently, requiring a power reset. From version 1.9.3 of Cumulus onwards, there is an option on station settings screen to Synchronise Fine Offset Reads (Cumulus reading data from console) with the timing of received transmissions from sensors updating the data, to avoid doing both at the same time, and this seems to avoid most lockups.
Error messages with "Error on line..." or "Error at line..."
These are corruptions in the log files, typically caused by Cumulus being unexpectedly closed (e.g. killed using Task Manager, or a PC reboot) while it is writing to the log files, but there can be other causes such as power blips or you using a spreadsheet to look at or edit the log file. The error message may say something like "List index out of bounds". The error message will name the affected file(s) and the affected line number(s).
Stop Cumulus and open the named file(s) in a good text editor, such as Notepad++. Do not use Notepad. At the line number(s) mentioned correct the error(s), which will be obvious as the lines won't look like the other lines, they will be blank or have garbage characters, have an extra field that throws other fields out of position, or perhaps two lines have been run together. Save the file(s) and start Cumulus again.
Cumulus gives an error and won't run on my HP computer
It's a known problem with HP computers; they have missing fonts. One solution is to install this font update from Microsoft. It appears that computers other than HP can have the same font issue, so it is worth installing the font update anyway, if you get a problem where Cumulus won't start.
The headings or data look wrong in the data log viewer
You're probably trying to view the wrong type of file. Use menus on main screen.
"View | Data logs" is only for the monthly data logs, e.g. Oct13log.txt, "View | Extra data logs" is for "extra" data logs, e.g. ExtraLog201310.txt, and if you want to view the daily summaries in dayfile.txt, use the dayfile.txt editor - "Edit | dayfile.txt".
The wind rose in Cumulus does not display anything with my Fine Offset
The Fine Offset weather stations are supposed to supply data for 16 wind directions, however the design is such that most of them only actually use 8 of the possible 16. Try setting the wind rose to only display 8 directions by setting the 'wind rose points' value to 8 on the display settings screen.
I've set the graph background to white, but there's a problem with the small wind direction graph
This appears to be an issue with the third party chart component. The work around is to choose a gradient background and set all three colours in the gradient to white.
My Weather Underground tabular data interval is not the same as the interval I've set in Cumulus (I'm using Rapid Fire)
If you have selected 'rapid fire', the data is uploaded every 5 seconds, and the interval you configure in Cumulus is not used. Weather Underground decide how often your tabular data is logged when using rapid fire, not Cumulus.
My WU or PWS highest and lowest do not match Cumulus
Note that Cumulus does not send minimum and maximum values to PWS and WU, they determine those themselves from the individual values that Cumulus sends.
My monthly (month-by-month) all-time records don't have entries for all of the months that I have been using Cumulus
You need to initialise them. See the release announcement for version 1.9.3, which is when this facility was introduced: https://cumulus.hosiene.co.uk/viewtopic.php?f=2&t=9286
You only need to do this once; when you have initialised them, Cumulus will keep them up to date thereafter.
I am getting I/O error 32 or I/O error 103
I/O error 32 = ERROR_SHARING_VIOLATION; I/O error 103 = 'file not open' mean something on your system has one of the Cumulus files open, preventing Cumulus writing to it (Cumulus needs exclusive access). If you are seeing "file access denied", you may have a permissions problem. Possible reasons for locked files:
- Anti-virus, or back-up, software scanning/accessing the file (this is the cause in almost all cases that I've seen).
- An edit or file transfer in progress (the Cumulus thread for logging and the Cumulus thread for FTP are independent so can overlap). This is likely to happen if you are getting Cumulus to frequently upload the log file to your web site.
- Some other software that a user is running which is processing the file in some way.
- More than one instance of Cumulus running (see #Can_I_run_2_copies_of_Cumulus.3F).
- An issue with the system clock on the PC.
I have problems after upgrading to Windows 10
See this forum post - https://cumulus.hosiene.co.uk/viewtopic.php?f=2&t=14148
How do I enable debug logging in CumulusMX?
There are a number of ways of enabling logging
- From b3068 CumulusMX can be started with the -debug parameter to switch on debug and data logging from start-up. This is often the best option.
- Whilst MX is running the logging can be switched off/on via the administrator interface - Settings|Station settings|Options Debug logging & Data logging
- With MX stopped, edit Cumulus.ini. In the [Station] section set (or add if missing) the two entries...
Logging=1 DataLogging=1
Website
How do I set up a website?
The crucial settings are selected on the Internet screen in the Configuration menu.
- On the Sites/Options tab, you must have Auto Update selected if you want Cumulus to generate web pages at the standard interval. Other parameters will depend on your particular set-up, but are explained in the Cumulus Help and in Wiki pages starting with Website_setup and following links as required.
- On the Files tab, you select whether to use the standard Cumulus templates and images, or specify your own templates and destinations.
I’ve configured my ftp details but the web pages aren’t appearing on my site
Try setting ‘use active FTP mode’. If you already have it set, try unsetting it. If it was previously working OK, something may have changed on your network, or at the server end.
I’ve tried active FTP mode, but my web pages (or my realtime.txt file) still don’t appear?
Are you absolutely sure you have set the ftp path correctly? Most problems like this are a result of an incorrect path. Note that the information in the 'FTP progress' window is not generally useful for diagnosing upload issues' try turning on the ftp logging (on the Configuration menu) and look in the ftplog.txt and realtimeftplog.txt files (in the Cumulus folder). It is best to supply a relative path - i.e. with no leading 'slash'. Please don't ask me what path you need to supply, it is impossible for me to guess how your web space is set up. If you cannot work it out, ask your web space provider for help.
How do I replace the 'bird' image on my website?
There are several ways to change the image of the 'bird' on the standard Cumulus web page. You will need a FTP tool.
- The simplest way is to upload a new picture to the images folder of your website; the file should be called picture.jpg. Please ensure the image is not too large and bear in mind it will appear on the bottom left of the page; the site data may cover some of the image. As a guide, the default image is 600 x 450 pixels.
- Secondly, you may upload an image using your own file name. Edit the weatherstyle.css file and look for the line background-image: url(images/picture.jpg); around line 9 and adjust as necessary. Upload the edited css file to your website.
- if you wish to remove the image completely edit the weatherstyle.css file and remove the line background-image: url(images/picture.jpg); Upload the edited css file to to your website.
NOTE: It is not recommended that you overwrite the image in your local folder (webfiles\images\picture.jpg) because that gets overwritten when you update to a new build of Cumulus. Ideally your image will be in its own local folder outside the Cumulus structure.
Why does the heading say 'weather weather' ?
The standard first template page contains <h1><#location> weather</h1>, so do not include 'weather' in your station name (this is what the tag <#location> represents, see next answer) to avoid it being duplicated.
How do I change the "Welcome to." on the front page
The Welcome message is controlled within Cumulus. Click on the Station screen in Configuration menu and Edit the Description field within the Location frame to amend what the tag <#longlocation> represents in "Welcome to <#longlocation>." on template page.
I don't have a solar sensor. How do I remove the solar data from the supplied web templates?
Locate the Cumulus 'web' folder on your PC and edit the following files (there are comments in the html to guide you):
indexT.htm
Remove the following code:
<!-- Solar data. If you don't have a solar sensor, you may wish to delete everything from here to the next comment -->
<tr class="td_temperature_data">
<td>Solar Radiation</td>
<td><#SolarRad> W/m²</td>
<td>Evapotranspiration Today</td>
<td><#ET> <#rainunit></td>
</tr>
<!-- End of solar data -->
todayT.htm
Remove the following code:
<!-- Solar data. If you don't have a solar sensor, you may wish to delete everything from here to the next comment -->
<tr class="td_temperature_data">
<td>Hours of Sunshine</td>
<td><#SunshineHours></td>
<td> </td>
</tr>
<!-- End of solar data -->
yesterdayT.htm
Remove the following code:
<!-- Solar data. If you don't have a solar sensor, you may wish to delete everything from here to the next comment -->
<tr class="td_temperature_data">
<td>Hours of Sunshine</td>
<td><#YSunshineHours></td>
<td> </td>
</tr>
<!-- End of solar data -->
How do I remove Inside Temperature graph, or add solar/UV/sunshine, to Trends Web Page?
BELOW ONLY APPLIES TO CUMULUS 1.
Locate the Cumulus 'web' folder on your PC and edit the following file:
trendsT.htm
Modify the following code:
<td class="td_thumbnails"><a onclick='changeImage("images/intemp.png")'><img src="images/intempsm.png" alt="Inside Temperature Graph Thumbnail" width="150" height="100" style="border:0" /></a></td>
- To simply remove Inside Temperature graph, change code above to this
<td></td>
- If you want to stop Cumulus uploading the indoor temperature graph, you can un-tick 'Include standard images' on the 'files' tab of the internet settings, and list all of the images that you still want to be uploaded as extra files. Cumulus 1 configuration only allows you to add 10 files so you would need to do this by editing Cumulus.ini, ironically these notes do not apply to Cumulus MX but in that all 100 slots can be edited within the settings pages.
- To show solar instead, replace 'intemp.png' with 'solar.png', replace 'intempsm.png' with 'solarsm.png', and change the wording of the value associated with the alt property.
- To make Cumulus upload the solar graph, select it on the 'files' tab of the internet settings.
- To show sunshine instead, replace 'intemp.png' with 'sunshine.png', replace 'intempsm.png' with 'sunshinesm.png', and change the wording of the value associated with the alt property.
- To make Cumulus upload the sunshine graph, select it on the 'files' tab of the internet settings.
- To show UV instead, replace 'intemp.png' with 'uv.png', replace 'intempsm.png' with 'uvsm.png', and change the wording of the value associated with the alt property.
- To make Cumulus upload the UV graph, select it on the 'files' tab of the internet settings.
If you want to do more than a straight one for one swap see customisation page here.
How do I include extra items on supplied web templates?
Open the folder cumulus\web and edit the relevant file named xxxxxT.htm. For example instead of deleting the sections in the remove solar answer, edit their contents. See Customised_templates#Changing_the_Standard_Templates for fuller description.
If you do change the standard templates, take a copy of your new versions, and store elsewhere. The sub-folder cumulus\web\originals has copies of the standard templates from the installed build, do not edit these. When you install a new build of Cumulus, you have an option to replace or not replace the contents of cumulus\web with the new build's standard templates.
How do I upload extra web pages?
See Cumulus help for the Internet Settings screen, or for a step-by-step guide see Customised_templates#What_to_select_on_the_.27Files.27_tab_of_the_Internet_Settings_screen_within_the_.27Configuration.27_menu
What character encoding does Cumulus use for the web pages it generates?
Cumulus 1.9.4 build 1093 changed all the template pages from XHTML 1.0 Transitional using charset=iso-8859-1 encoding to HTML 5 using charset="UTF-8" encoding. It uses this without Byte Order Mark (BOM).
From that build, you can tell Cumulus which of those two encodings to use:
- For standard template names in standard 'cumulus\web' folder, if you replace them with customised templates not using "Universal Character Set Transformation Format — 8-bit" (UTF-8),
- unselect UTF-8 encode in the web settings frame on the Sites/Options tab of Internet settings screen in Configuration menu.
- Cumulus will then, as in earlier builds, use iso-8859-1 encoding.
- For extra templates, the Files tab of the Internet settings screen in Configuration menu has the option to choose which of the two Cumulus encodings to use. See Wiki article referenced in previous answer.
Note that since Cumulus 1.9.4 build 1078 there has been an option on the NOAA Setup screen in Configuration menu to specify whether character set utf-8 encoding is to be used for those reports.
Why does a standard gauges web page have text where it should show gauges?
If a standard Cumulus 1 'gauges.htm' web page displays like this then either
1) (Most Likely) The weather station owner has not loaded the required files/folders onto his/her server;
- The gauges graphics require the 'images' subfolder (see next answer), containing the script and many images to be pre-loaded in the 'dbimages' subfolder.
- All these should exist within the destination folder that holds the HTML files as instructed in the Cumulus Help ('setting up your website' page)
- Also explained in Simple Website setup on this Wiki.
or 2) JavaScript is not enabled (or not available) in the browser being used to view the page (if not enabled, this can be switched on in either 'Options', 'Preferences' or 'Settings' depending on browser). Note that Firefox from version 23 removed the ability to change this in Option preferences, so ignore this solution in that browser.
or 3) You are using a browser add-on such as 'NoScript' (over 2 million use this) which requires you to explicitly turn on JavaScript for each web site you visit within the 'NoScript' options. (This sort of add-on may be used to restrict advertising or tracking of your actions, or for security against unwanted processes being started by sites you visit).
Why are there no graphs on my standard trends web page?
Either 1) You have not created an images sub-folder (within your folder that holds web pages) as instructed in the Cumulus Help ('setting up your website' page) - also explained in Simple Website setup. In this case, the bird image will not be appearing in the bottom left corner of your web pages.
Or 2) You have switched off Include Standard Images on the file tab of the Internet dialogue of the configuration menu. In this case Cumulus believes you are working in a non-standard way, and does not automatically upload the graphs (nor moon image).
What is the size of the standard Cumulus update?
The default is that all of the standard pages and standard images are uploaded on each update at whatever standard update frequency you select.
In total for version 1.9.2, it's about half a megabyte - about 100kB for the pages (about half of that is the gauges.htm page with all the detailed wind plotting points, and half the other pages) and 400kB for the variable images (moon phase, some gauges images and trend graphs - the exact size of latter can vary if you change the period they cover).
Version 1.9.3 adds the monthly records page which contains 12 months worth of a lot of data, and adds 25kB to every update (although usually very little changes between updates).
The NOAA monthly and annual pages are uploaded once a day, that is another 8kB for a full month and full year, obviously less at the start of a month/year.
Optional extras
- realtime.txt file, this is less than 1kB (1024 Bytes) in size.
- dayfile.txt a file that is about (30 times number of years) kB
- The files required to update external sites are no more than a few kB.
How do I upload my own pages or files once a day?
Cumulus allows you to specify a command (with optional parameters) that will be actioned just after daily rollover. The command is entered in the External programs frame at the bottom left of the Internet Settings screen. The box is labelled Daily. Click the Cumulus Help button for guidance. For example you could type 'c:\cumulus\daily.cmd' in the box labelled Daily.
This could be used to upload the pages with the longer term extremes (as your monthly, annual and all-time extremes may only change a few times a month or even less frequently) and so reduce the upload burden at the standard uploading frequency. To achieve this you would use the content of that example file 'daily.cmd', in the default Cumulus folder, to call your own file transfer tool for those infrequently changing pages. Remember to also unselect Include Standard Files on the 'Files' tab of 'Internet settings', and list the templates on that tab, selecting Process? for all of them, but only selecting FTP? for the other frequently changing pages that are still to be uploaded at the standard interval. You may find help on the forum or elsewhere on this wiki for the FTP call and for 'Files' tab settings.
It can also be used for the optional files mentioned in the previous answer or to update a database using a PHP batch job. For the daily command specified above, in the default Cumulus folder, add a file 'daily.cmd' that contains (if you host your own server using 'XAMPP'), 'copy c:\cumulus\data\dayfile.txt C:\xampp\htdocs\weather\daj\' for example to enable you to use the Annual Day-by-day Summary tool. (Uploading if you do not host your own server is described at upload dayfile but basically you swap the copy command for a FTP command).
The 'real time wind data' gauges on the standard gauges page aren't working
These require a realtime.txt file to be uploaded by Cumulus. Tick the "Enable Realtime", "Enable Realtime FTP" and "Enable realtime.txt FTP" boxes on the internet settings screen. If the gauges still do not work, check that the realtime.txt file is being uploaded to the correct place. If it is not, it is likely that you have specified an incorrect 'ftp directory' in Cumulus. If your 'normal' pages are being uploaded correctly, but realtime.txt is not, then it is likely that you simply need to leave the ftp directory blank (but see the note below first).
A possible cause for this problem is that your web space provider does not allow .txt files to be accessed. For example, the free hosting provider 000webhost.com do not.
I'm using the supplied web pages, and get lower case in places where I want upper case
It's in the CSS. Go to the webfiles sub-folder of your cumulus installation, edit weatherstyle.css and find lines like: "text-transform: lowercase;" and remove them. Use FTP tool to replace the weatherstyle.css on your website.
My web pages have things like <#location> in them
You’ve edited your templates with something like Dreamweaver, and it’s changed the angle brackets on the Webtags to "< ;" and "> ;" - you need to change them back to < and >. These may look the same when viewed in your browser, but you can see the difference if you 'view source'
Alternatively, if the web templates are listed in cumulus.ini (and for the first 10 appear on the files tab of Internet dialogue of Configuration menu), the Process option must be ticked for the web pages generated by Cumulus to have values replacing the Webtags. Otherwise at each web update, Cumulus will generate web pages the same as the templates.
My web pages are empty
One common cause of web pages appearing to be of size zero, or not uploading with new contents when Cumulus attempts to use FTP, is that your firewall (or your FTP server) has limited the allowed operations (e.g. can't delete, can't insert, can't rename ...). Try changing from passive mode to active mode transfers (or vice versa). Try using a manual FTP operation (with your own FTP client) and see if that works.
If empty web pages are being successfully uploaded to your web site (i.e. they report size of 0 kB, but do not produce 'error 404 - page not found' message), and your browser shows that their modification date is recent (see next FAQ), then another likely cause is that the Cumulus processing of templates is failing:
- Either (since build 1093, as made clear in the release notes)
the character encoding (for standard named templates that are processed by Cumulus) is specified incorrectly on the Configuration menu, Internet dialog, Sites/Options tab, Web Settings frame as shown about half way down on this screen extract:
- Select the option where indicated by red arrow if your template includes in a line near the start
<meta charset="UTF-8"> - Deselect the option where indicated by red arrow if your template includes something like
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" /> - For customised pages, (without standard Cumulus template names), select/un-select the UTF-8 encoding in the appropriate column on the Configuration menu, Internet dialog, Files tab screen where you list the local and remote names.
- Select the option where indicated by red arrow if your template includes in a line near the start
- Or you have edited/customised the template and added an incorrectly specified Cumulus webtag that has caused Cumulus processing to abort for that template. If you stop cumulus you can use a text editor to open the latest diagnostic file. Look at entries time-stamped just before the hour and repeated at your auto-update interval (just below red arrow in screen image above). You might find a message like "Error processing C:\web\indexT" (i.e. mentioning whichever template is at fault) followed by a brief hint as to the nature of the error.
My web pages have obsolete web tag values in them
If the information showing on your web pages is out of date, then it must have been working before, so you have made a change somewhere.
- Most browsers will display 'page information' that tells you when the page was last modified (by querying the web server).
- if the page on your web server was recently modified,
- then the next item to investigate is the template file; a template file contains Cumulus web tags and the 'process' that Cumulus does to create a web page involves reading text from a template and when it finds a web tag it inserts the latest value in as it creates the page. A local file is then created and Cumulus will FTP (or copy) this to the web server according to the settings. If the template file cannot be processed, Cumulus may still upload an existing old local file.
- if the page was not recently modified,
- maybe you are not running Cumulus, so it is not updating.
- maybe your file transfer is not working, turn ftp logging on for technical output, and look for any filenames and any 'successfully transferred' messages.
- maybe your 'internet settings' screen has accidentally been changed, see Cumulus help for simple instructions. If you took a backup of cumulus.ini you can stop Cumulus, rename the current file and copy your cumulus.ini backup back into the 'cumulus' directory containing the Cumulus program.
- maybe your web server provider has changed something.
- if the page on your web server was recently modified,
Running a web server on the same PC as Cumulus
If you do not have a web site, or run a web server locally (same PC, or on your local network), you can get Cumulus to generate/copy either html, or image, files locally instead of using FTP to place them remotely.
You'll need to list the (source) file including paths on the files tab of the internet settings, and specify a destination path and file name for the remote file in each case. Don't tick the FTP? box for standard cumulus pages (the exception is for a local web server and any non-standard web page that attempts to read using a script a local file such as dayfile.txt as this does need FTP to generate the server-based web page). For the standard images, you can supply a folder name (specify on the same screen), and they will all get copied there. See here for greater detail.
There's a limit of 10 entries on the files tab in Cumulus 1.9.x (in Cumulus MX all 100 entries are included in the settings interface). Entries for the full 100 files can also be amended by editing cumulus.ini, with Cumulus stopped. Follow the format of any existing entries for specifying additional files.
Error Codes generated by FTP or Winsock
You should be able to look these up on the web. Try Here
How do I configure Cumulus for Secure FTP (SFTP/FTPS)?
Cumulus 1 doesn't support Secure FTP. You can configure Cumulus to invoke an external program like WinSCP, as described here: SFTP article
Cumulus MX supports FTPS (FTP over TLS) natively, but not SFTP. Just enable it in the settings.
The following pointers should help:
- All web site file references are case sensitive. So if your FTP server directory is public_html, then 'Public_HTML' will not work!
- On the Internet settings screen in Sites/Options the optional Directory parameter required is the path from your FTP root, to where the web pages are to be stored. It is not the Universal Resource Locator (URL) that you would specify to view the web page in a browser. Click the Help button for full explanation, or search the support forum (as many people before you have found this directory is the hardest parameter to get right).
- The error window is not useful for diagnosing ftp problems; you need to turn on ftp logging and look at ftplog.txt. Most FTP directory problems are due to you quoting an incorrect ftp directory, and the ftp log will show an error when an attempt is made to change to the directory you have specified incorrectly.
- Relative paths (without a leading slash) are always safer than absolute paths (with a leading slash) and you may find that just specifying (for example) "public_html" works OK, but this all depends on how your ftp server and your ftp account is set up.
- IN CUMULUS 1.x.y ONLY: The standard pages are uploaded after a 'change directory' attempting to select the directory you specified in Sites/Options; if this fails, the files will still be uploaded but to the FTP server root. So some mistakes do not matter because if no change of directory was actually required, these pages will be uploaded correctly.
- IN CUMULUS MX, the standard pages are uploaded with their file name prefixed by the directory you specified in Sites/Options. In this case, if that path is invalid, the upload fails.
- Any files you specify for uploading at standard update frequency are uploaded between standard pages (if 'Include Standard Files' selected) and (applies only to Cumulus 1) standard images (if 'Include Standard Images' selected). You should specify the path (including any web site directory) in 'remote filenames', as there is no call to 'change directory'. In this case, if that path is invalid, the upload fails.
- IN CUMULUS 1.x.y ONLY: The standard images for gauges and trends pages are uploaded after the standard pages, (and any pages you specify for uploading), by performing a second 'change directory' this time fixed at 'images'; if this fails, the files will still be uploaded to the current web site directory (FTP root or the directory you specified in Sites/Options).
- If you have enabled Realtime, the realtime.txt file is uploaded without doing a change directory, (by appending "/realtime.txt" to the directory on the Internet settings screen in Sites/Options). In this case, if the web site directory in your settings is invalid, the upload of the real time file fails.
- On the NOAA Setup screen the optional Directory parameter required is the relative path; from your FTP root, to where the NOAA report pages are to be stored. (It is totally independent of the directory on the Internet settings screen in Sites/Options). Click the Help button for full explanation. Like realtime.txt, the upload destination is determined by appending the file-name for the report to any NOAA directory, and will fail if that directory is specified wrongly.
See Setting up your website in Cumulus help for a simple guide to the sub-folder structure you need to create and the list of files that need to be uploaded manually when first installing a website. Or see Website_setup for all the options including customised pages.
My standard web pages are uploading but the uploading fails for images, realtime and/or NOAA reports
See previous answer, you have probably got your web pages in the default FTP directory of your web site, but specified the wrong directory on the settings screen. Turn on the FTP logging in the configuration menu to see the technical detail. You should have an FTP tool that you used to upload the 'static' files required on your web site, and that will help you to see what is your site's root directory for file transfer uploads, and therefore any relative directory change you require.
What file-names does Cumulus use when processing and uploading files to my web site?
Cumulus use two slightly different processes depending on if the file is part of the supplied 'standard' web site, or an extra file you have specified on the Internet Settings|Files configuration dialog. For each of these processes there is an further variation depending on whether you have enabled the Use FTP rename option. This graphic shows the various combinations of file-names used for each step of the process. For the standard files, you can substitute any of the file names for indexT.htm, e.g. trendsT.htm
For more details of Cumulus Process see here.
Selecting a Weather Station sensor site
A simple guide is at uk.sci.weather newsgroup, note this advises against roof mounting. An attempt to compare the conflicting siting standards that apply across the world is included in a portable document format guide from Campbell Scientific. For more advice see the website of your local Meteorological Bureau, an educational place (e.g. in USA see Cornell University), the World Meterological Organisation (WMO), or a specialist organisation (e.g. in UK see Royal Meteorological Society rather than the Met Office web site).
Modern Stevenson Screens are uPVC constructed with a black interior (so they do not radiate heat onto the sensors) and a white exterior (so they reflect as much radiation as possible). There is a lot of discussion on the Homebuilt forum about different approaches to improving measurements, and the problems with out of the box instrumentation from the different manufacturers.
If you are contributing to an external site like APRS/CWOP, Weather Underground, PWS weather, Weatherbug and/or WOW, see guidance from these organisations re instrument placement.
Note: Some stations have all sensors in one unit, positioning of these is a compromise between the ideals below for each sensor.
Where should I position the wind sensors
The side labelled 'North' on the wind vane mount should face True North, remember that the magnetic north deviation from true north varies from year to year, see details on maps or online. Most wind vanes have a large surface that follows the wind and a thin end that points where the wind comes from, it is the latter direction that is reported.
In the UK, the standard climatological measuring height is 10 metres. Advice varies on whether you should apply a correction factor for any lower height. Cumulus allows you to apply such a factor to either just wind speed, or wind speed and gust speed, by using the Calibration screen within the configuation menu. In the Cumulus Help it recommends that you also adjust wind chill - in practice this means ask Cumulus to calculate wind chill by selecting this in the settings frame on the station settings screen accessed from configuration menu (i.e. ignore any wind chill output by your weather station).
If you are mounting near a building of height 'h' above ground level, ideally the wind sensor should be at a height of '1.5 times h' above ground level. If you are positioning away from a building or tree (or other object) of height 'h' (or the mean height of several objects is 'h'), then the distance away depends on which standard you are trying to meet, and can vary between 1.5 and 3 times 'h'.
Where should I position the rain sensor
The WMO says the rain gauge should at a distance away of 2 times the height of each nearby object (buildings, trees, walls, solid fences etc.) and just high enough off ground level to avoid possibility of splashing. You can experiment, but for amateurs, no more than a metre off the ground (or roof if mounted above it) and at least a metre from any chimney, wall or solid fence whose height exceeds that of the sensor seems good enough for most gauges. See Rain measurement or your local offical organisation.
How do I protect my rain gauge against spiders or other natural problems
There is a lot of discussion on the Homebuilt forum. In terms of siting, it is important to position your rain gauge where you can safely get to it.
How do I get good temperature and humidity measurements
The international standard states ambient air temperature/humidity is measured at 1.25 metres above ground level, above soil or grass not paving, protected from direct sun radiation (and direct rain), unless you are measuring soil or ground temperatures. The height is important for derived values as an air frost is defined as a temperature at or below the freezing point for water at this height, and the count of these is a standard reporting requirement in some countries.
If you are using a Fine Offset sensor, the thin depth of the thermometer/hygrometer (transmitter) should face where your console (receiver) is, for maximum transmission strength/distance, with the wide face at right angles to the transmission route. (Although if you use a model requiring a radio time signal, you will probably be trying to optimise that instead).
Pressure
Varies with altitude and temperature, but no significant variation with spatial position with regard to nearby fixed bulky objects. Often measured indoors, do not mount above any heating or cooling system as there temperature may be particularly variable, and try to avoid any forced ventilation or extraction as such air moving systems could have different pressures on intake and outlet sides. Equally operation in close proximity to opening doors/windows or to fast moving (road or railway) vehicles or tunnels can distort readings.
Solar
One would expect solar sensors should be positioned for maximum unshaded exposure to sunlight throughout the year, but again the forum contains advice for specific makes.
Subcategories
This category has the following 5 subcategories, out of 5 total.
Pages in category "Cumulus MX"
The following 72 pages are in this category, out of 72 total.
A
C
- Calculate Missing Values
- Compare C1 and MX
- Correcting Extremes
- Cs Code Modules
- Cumulus 3 (MX) beta documentation
- Cumulus MX FAQ
- Cumulus MX formal release versions
- Cumulus MX Local API
- Cumulus template file
- Cumulus.ini
- Cumulus.ini (MX 3.0.0 to 3.7.0)
- Cumulusmx.db
- Cumulusmx.db (preserving history)
- Customised templates