Cumulus.ini (Beta): Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m (Text replacement - "Cumulus.ini" to "Cumulus.ini_(Cumulus_1)")
 
(18 intermediate revisions by the same user not shown)
Line 5: Line 5:
Each new version of cumulus may add additional parameters set by revised configuration screens (these initially appear at the end of the relevant section), and/or permit additional parameters to be added manually (these can be inserted anywhere within the section). If you are using an old version, then checking the release information may be advisable to identify the sections applicable to your build and the parameters allowed within those sections may be a subset of those listed below.
Each new version of cumulus may add additional parameters set by revised configuration screens (these initially appear at the end of the relevant section), and/or permit additional parameters to be added manually (these can be inserted anywhere within the section). If you are using an old version, then checking the release information may be advisable to identify the sections applicable to your build and the parameters allowed within those sections may be a subset of those listed below.
== Live Version ==
== Live Version ==
See [[cumulus.ini]] for list of sections, attributes and allowed values for the current live version of Cumulus. Below is a list of the additional items available in this beta version. These details will be explained fully and transferred to the main page when the beta version becomes 'live'.
 
See [[cumulus.ini]] for list of sections, attributes and allowed values for the current live version of Cumulus.
 
== Beta builds ==
== Beta builds ==
If you are using a beta build, there may be  additional sections and/or additional parameters (attribute=value) under test.  Brief details of such changes will be given in the support forum announcement for the relevant build. Once such changes seem established they should be added here.
If you are using a beta build, there may be  additional sections and/or additional parameters (attribute=value) under test.  Brief details of such changes will be given in the support forum announcement for the relevant build. Once such changes seem established they should be added here.


Currently, this page reflects some changes in MX version as notified in the forum, if you are using MX and find something missing from here, please add it (or post request in forum).
Below is a list of the additional items available in any current beta version. These details will be explained fully and transferred to the main page when each beta version becomes 'live'.


= File Contents =
= File Contents =
== Introduction ==
== Introduction ==
The entries shown include the default value from the configuration screen where applicable, a typical example value where appropriate, or just the attribute and an equals sign where there is no typical value.
The entries shown include the default value from the configuration screen where applicable, a typical example value where appropriate, or just the attribute and an equals sign where there is no typical value.




== Section: MySQL ==
== Current Beta ==
Cumulus MX uses Cumulus.ini to store the MySQL configuration details.
All details are input on '''The MySQL settings screen'''.
This is a beta introduction still being tested, please check release information for latest.
 
== Section: Station ==
Cumulus MX builds only. Edit file with Cumulus MX stopped. Remember earlier builds of MX may have fewer parameters,all those listed are available in latest build, see announcements on forum, in case even more have been added since this list was last updated.
{| class="wikitable" border="1"
|-
!style="width:150px" | Parameter Line Entry
!style="width:600px" | Function
|-
|style="background:lightgray;"|[Station]
|style="background:lightgray;"|Section name - the following parameters relate to the station configuration.
|-
|Type= -1
|Station Type as set by the checked radio box in the [[Cumulus_Screenshots#Configuration_Menu_Screens|Station Configuration Screen]], Station Type block.  For details of [[Supported_Devices]] click that link.
*11=Davis WLL
*12=Ecowitt GW1000
|-
|ComportName=/dev/ttyUSB0
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
You can set the serial port name in the MX user interface, but if for some reason you want to do it by editing Cumulus.ini, note that the item in MX is called ComportName (which is a string, for the full device name, e.g. COM1 or /dev/ttyUSB0) rather than 'Port' which is just an integer. 
|-
|Logging=0
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
Note that if set on the user interface, it only remains set while Cumulus MX continues to run (as in Cumulus 1, it defaults to off on restart).
*0 (default) = Cumulus MX will not add debug logging.
*1 = For '''debug''' logging when Cumulus MX (re-)starts, add ''Logging=1'' to the station section of Cumulus.ini.
 
NB - this parameter also appears in [[Cumulus.ini#Section:_Station|Cumulus 1 list]], repeated here for those looking up ''datalogging=1'' parameter below.
|-
|DisableFtpsExplicit=0
|(Add to Cumulus.ini file, no option in station settings screen) Default 0 use Explicit FTPS; Change to 1 to use Implicit mode
|}
 
==== Davis family specific: ====
 
'''NOT AVAILABLE IN CUMULUS MX - at time of writing "RestartIfDataStops" is not available'''
{| class="wikitable" border="1"
|-
!style="width:150px" | Parameter Line Entry
!style="width:600px" | Function
|-
|style="background:lightgray;"|[Station]
|style="background:lightgray;"|Section name - the following parameters relate to the station configuration.
|-
|UseDavisLoop2=1
|This parameter (attribute=value) is added directly to the file, it does not appear on a configuration screen.
The current MX code uses ''LOOP2'' for two purposes. First, it uses the 'peak 10-minute gust' value, to avoid the problem where a gust might be missed, 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.
*1 (default) = Cumulus MX will use the LOOP2 packet for Davis Weather Stations by default.
 
The LOOP2 packet is supported on the VP2 with firmware version 1.90 or later, and on the Vue.
 
*0 = Select this 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.
 
Without 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.
|-
|DavisIPResponseTime=500
|This parameter (attribute=value) is added directly to the file, it does not appear on a configuration screen.
The length of time in milliseconds which Cumulus waits to allow a response from the console to a command (i.e. a request for any kind of data) from an IP logger .  Default is 500ms, see Cumulus MX forum where times up to 2000ms are suggested.
|-
|ForceVPBarUpdate=0
|This parameter (attribute=value) is added directly to the file, it does not appear on a configuration screen.  The default (value=0) is to assume standard barometer updates on Davis stations. Set to 1, by adding ForceVPBarUpdate=1 in [Station] section to force more frequent barometer updates on Davis stations. Steve says "Having checked the code, I see it asks for 20 packets from the 'LOOP2' if the barometer forcing is on, otherwise it stops receiving LOOP data after 50 packets". Added in build 3042 (January 2017). Note that ForceVPBarUpdate=1 is only useful on very old versions of the console firmware.
|-
|DavisIncrementPressureDP=0
|(from version 3.0.0 build 3042) A Cumulus.ini setting to turn off the 'extra' decimal place in pressure values on Davis stations. To limit the pressure to 1 decimal for mb/hPa and 2 for inHg, add this to the [Station] section
|-
|VPrainGaugeType=0
|This parameter (attribute=value) is added directly to the file, it does not appear on a configuration screen.  The default is to assume that people using MM units to display rain in Cumulus have a Metric Rain Adapter fitted to their rain gauge so it tips for every 0.2mm, and those selecting inches as their unit have the unmodified 0.01" rain gauge. This parameter over-rides that assumption, but note that conversion rounding errors will then occur.
 
Specifies the units selected on your Vantage Pro Rain Gauge.  Set to 0 for a 0.2mm gauge and 1 for a 0.01" gauge.
 
NOTE: This setting supersedes the setting "DavisRainCollectorModel" used in Cumulus 1
|-
|DataLogging=0
|This parameter (attribute=value) is added directly to the file, it does not appear on a configuration screen. Default is 0, change to 1 for more detailed Davis logging.
*0 (default) = Cumulus MX will not add extra logging.
*1 = To add extra logging to the diags file for data received from Davis stations. Use this with care, the log will get very large. (Build 3018 onwards).
I've also added some more diagnostics to try to find the cause of the problem where data stops being read from Davis stations. Debug logging is required to be turned on. (Build 3022 onwards).|-
|-
|AutoUpdateIpAddress=1
|(read-only, you cannot edit this on station settings screen, you must type it directly into file) default = 1, set to 0 to switch off the WLL autodetection of IP address. This is a workaround for a WLL firmware bug that does not update the IP address when it changes using DHCP.
|-
|ZeroConfig
|set this on station settings screen; to enable/disable the entry/update of the stations IP address via auto-discovery
 
|}
 
==== Instromet family specific: ====
 
{| class="wikitable" border="1"
|-
!style="width:150px" | Parameter Line Entry
!style="width:600px" | Function
|-
|style="background:lightgray;"|[Station]
|style="background:lightgray;"|Section name - the following parameters relate to the station configuration.
|-
|ImetBaudRate=19200
|This parameter (attribute=value) is added directly to the file, it does not appear on a configuration screen.
The default value is 19200. Some ?older? Instromet loggers operate at 115200, if you have one of these older loggers you will need to manually set this value in Cumulus.ini before running the program.
|}
 
== Section: GW1000 ==
Settings specific to the EcoWitt GW1000 device
{| class="wikitable" border="1"
|-
!style="width:150px" | Parameter Line Entry
!style="width:600px" | Function
|-
|style="background:lightgray;"|[GW1000]
|style="background:lightgray;"|Section name - the following parameters relate to the station configuration.
|-
|IPAddress=
|There is no default value, stores the IP address of your GW1000 WiFi logger, set via the station configuration screen.
|}
 
== Section: WLL ==
{| class="wikitable" border="1"
|-
!style="width:150px" | Parameter Line Entry
!style="width:600px" | Function
|-
|style="background:lightgray;"|[WLL]
|style="background:lightgray;"|Section name - the following parameters relate to the station configuration.
|-
|PrimaryRainTxId=1
|Default value = 1, which transmitter do you want to use as your primary rain sensor, set via the station configuration screen.
|-
|PrimaryTempHumTxId=1
|Default value = 1, which transmitter do you want to use as your primary temp/hum sensor, set via the station configuration screen.
|-
|PrimaryWindTxId=1
|Default value = 1, which transmitter do you want to use as your primary wind sensor, set via the station configuration screen.
|-
|PrimarySolarTxId=1
|Default value = 1, which transmitter do you want to use as your primary solar sensor, set via the station configuration screen.
|-
|PrimaryUVTxId=1
|Default value = 1, which transmitter do you want to use as your primary rain sensor, set via the station configuration screen.
|-
|ExtraSoilTempTxId[1 to 4]=0
|Default value = 0, which transmitter do you want to use as your soil temperature sensor [1-4], set via the station configuration screen.
|-
|ExtraSoilTempIdx[1 to 4]=0
|Default value = 1 to 4, which sensor number on the transmitter do you want to use as your soil temperature sensor [1-4], set via the station configuration screen.
|-
|ExtraSoilMoistureTxId[1 to 4]=0
|Default value = 0, which transmitter do you want to use as your soil moisture sensor [1-4], set via the station configuration screen.
|-
|ExtraSoilMoistureIdx[1 to 4]=0
|Default value = 1 to 4, which sensor number on the transmitter do you want to use as your soil moisture sensor [1-4], set via the station configuration screen.
|-
|ExtraLeafTxId[1 to 2]=0
|Default value = 0, which transmitter do you want to use as your leaf wetness sensor [1-2], set via the station configuration screen.
|-
|ExtraLeafIdx[1 to 2]=0
|Default value = 1 to 2, which sensor number on the transmitter do you want to use as your soil moisture sensor [1-2], set via the station configuration screen.
|-
|ExtraTempTxId[1 to 8]=0
|Default value = 0, which transmitter do you want to use as your extra temperature sensor [1-8], set via the station configuration screen.
|-
|ExtraHumOnTx[1 to 8]=0
|Default value = 0, does the temperature sensor transmitter [1-8] also have a humidity sensor, set via the station configuration screen.
|-
|BroadcastDuration=300
|Default value = 300, how long the WLL device is requested to broadcast for before timing out. Only set via the ini file, there should be no need to change this.
|-
|BroadcastPort=22222
|Default value = 22222, what port the WLL device broadcasts on. Only set via the ini file, there should be no need to change this.
|}
 
== Section: Offsets ==
Set most of these parameters using the '''Configuration''' menu and ''Calibration'' screen, the exception is 'TempMult2'.
{| class="wikitable" border="1"
|-
!style="width:150px" | Parameter Line Entry
!style="width:600px" | Function
|-
|style="background:lightgray;"|[Offsets]
|style="background:lightgray;"|Section Name - the following 'attribute=value' parameters are the adjustment factors for your specific sensors
|-
|PressMult=Multiplier_Value
|Default 'Multiplier_Value' is 1.0 in this parameter, used for formula: Cumulus pressure = (Measured Pressure * 'Multiplier_Value') + 'Offset_Value'
|}
 
== Section: Web Site ==
No changes.
== Section: FTP site ==
In Cumulus MX the user interface Internet Settings page is used for changing some  parameters but there is a separate Extra Pages settings page for all 100 possible sets of settings for processing a file, uploading it at realtime interval, normal updating interval or (added functionality in MX) at end of day. On the Internet Settings screen, changes take effect when you click 'Save' button. On the Extra Pages screen, changes take effect when you move to next row in the table.
 
{| class="wikitable" border="1"
|-
!style="width:150px" | Parameter Line Entry
!style="width:600px" | Function
|-
|style="background:lightgray;"|[FTP site]
|style="background:lightgray;"|Section Name - the following parameters relate to your website FTP parameters
|-
|DisableEPSV=0
|(Add this to the Cumulus.ini file, it is not available on the Internet Settings page) The default is 0, change to 1 to Disable the Extended Passive FTP-mode.
|}
 
== Section: Display ==
No changes.
== Section: Graphs ==
No changes.
== Section: Alarms ==
No changes.
 
== Section: Windy ==
{| class="wikitable" border="1"
|-
!style="width:150px" | Parameter Line Entry
!style="width:600px" | Function
|-
|style="background:lightgray;"|[Windy]
|style="background:lightgray;"|Section name - the following parameters relate to the Windy.com configuration.
|-
|APIkey=
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
The value is set in the MX user interface when your Windy.com API Key value is set.
|-
|Enabled=0
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
*0 = Disable sending of data (default)
*1 = Enable sending of data
|-
|Interval=5
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
*5 = Send new data every 5 minutes - the default and minimum allowed value
|-
|SendUV=0
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
The value is set in the MX user interface when the Include UV value is set.
*0 = Do not send UV data (default)
*1 = Send UV data
|-
|CatchUp=1
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
The value is set in the MX user interface when option to send catchup data from the logger is set.
*0 = Do not send Catchup data
*1 = Send Catchup data (default)
|-
|StationIdx=0
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
The value is set in the MX user interface when option to set the Station Index is set. Normally set to zero, this is only used if you
have defined more than one station under your Windy.com stations user id.
*0 = Use the first defined station (default)
|}
 
== Section: WeatherCloud ==
{| class="wikitable" border="1"
|-
!style="width:150px" | Parameter Line Entry
!style="width:600px" | Function
|-
|style="background:lightgray;"|[WeatherCloud]
|style="background:lightgray;"|Section name - the following parameters relate to the Weathercloud configuration.
|-
|Wid=
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
The value is set in the MX user interface when the Weathercloud ID value is set.
|-
|Key=
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
The value is set in the MX user interface when your Weathercloud API Key value is set.
|-
|Enabled=0
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
*0 = Disable sending of data (default)
*1 = Enable sending of data
|-
|SendUV=0
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
The value is set in the MX user interface when the Include UV value is set.
*0 = Do not send UV data (default)
*1 = Send UV data
|-
|SendSR=0
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
The value is set in the MX user interface when the Include Solar Radiation value is set.
*0 = Do not send Solar data (default)
*1 = Send Solar data
|}


== Section: NOAA ==
No changes.
No changes.
== Section: Solar ==
See main Cumulus.ini_(Cumulus_1) page.
 
{| class="wikitable" border="1"
|-
!style="width:150px" | Parameter Line Entry
!style="width:600px" | Function
|-
|style="background:lightgray;"|[Solar]
|style="background:lightgray;"|Section name - the following parameters relate to the solar configuration.
|-
|SolarCalc=1
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.  
The value is set in the MX user interface when the solar calculation method is set.
*0 (default) = Ryan-Stolzenbach calculation, which uses the RStransfactor entry to tune the output.
*1 = Bras calculation, which uses the BrasTurbidity entry below to tune the output.
|-
|BrasTurbidity=2.0
|This parameter (attribute=value) can be added directly to the file, it does also appear on the user interface screen.
*2.0 (default) = Perfect clear sky
*decimal value = The normal range is 2 (Clear sky) to 5 (Smoggy)
|}
 
== Section: [MQTT] ==
ONLY in Cumulus MX.
Server=
Port=
UseTLS=0
Username=
Password=
EnableDataUpdate=0
UpdateTopic=CumulusMX/DataUpdate
UpdateTemplate=DataUpdateTemplate.txt
EnableInterval=0
IntervalTime=600
IntervalTopic=CumulusMX/Interval
IntervalTemplate=IntervalTemplate.txt
 
== Section: Proxies ==
No changes
[[Category: Configuration_Files]]
[[Category: Configuration_Files]]

Latest revision as of 16:24, 22 March 2021

Introduction

The main cumulus.ini configuration file is located in the directory in which you installed Cumulus.exe. It is a text file containing initialization parameters used by the Cumulus application, and is read only when Cumulus starts up. Parameter lines are in the form 'attribute=value' and grouped into sections. Cumulus re-writes the contents of the application configuration screens to the file when it shuts down.

Each new version of cumulus may add additional parameters set by revised configuration screens (these initially appear at the end of the relevant section), and/or permit additional parameters to be added manually (these can be inserted anywhere within the section). If you are using an old version, then checking the release information may be advisable to identify the sections applicable to your build and the parameters allowed within those sections may be a subset of those listed below.

Live Version

See cumulus.ini for list of sections, attributes and allowed values for the current live version of Cumulus.

Beta builds

If you are using a beta build, there may be additional sections and/or additional parameters (attribute=value) under test. Brief details of such changes will be given in the support forum announcement for the relevant build. Once such changes seem established they should be added here.

Below is a list of the additional items available in any current beta version. These details will be explained fully and transferred to the main page when each beta version becomes 'live'.

File Contents

Introduction

The entries shown include the default value from the configuration screen where applicable, a typical example value where appropriate, or just the attribute and an equals sign where there is no typical value.


Current Beta

No changes. See main Cumulus.ini_(Cumulus_1) page.