Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

b4017 and b4018 MySql Custom Upload Mins Interval

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

Moderator: mcrossley

Post Reply
User avatar
BeaumarisWX
Posts: 375
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

b4017 and b4018 MySql Custom Upload Mins Interval

Post by BeaumarisWX »

Hi Mark,
Only just noticed this, in both b4017 and b4018 I have always had 5 mins selected since moving from v3 to v4 it actually now uploads at 1 min interval.
Regardless of what I change/save it to. 5 / 10 /20 mins (always uploads at 1 minute), always uploaded correctly in v3.
Kindest regards,
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: b4017 and b4018 MySql Custom Upload Mins Interval

Post by mcrossley »

Thanks, problem found and fixed for the next build.
User avatar
BeaumarisWX
Posts: 375
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: b4017 and b4018 MySql Custom Upload Mins Interval

Post by BeaumarisWX »

Thanks Mark,
Greatly Appreciated,
Kindest Regards,
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
User avatar
BeaumarisWX
Posts: 375
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: b4017 and b4018 MySql Custom Upload Mins Interval

Post by BeaumarisWX »

Hi Mark,
With ref to this fix, could I just question when adding more than one "Custom Upload Minute Interval" does the fix address this too.
I noticed in "Cumulus.ini"

Code: Select all

MonthlyTable=Monthly
DayfileTable=Dayfile
RealtimeTable=Realtime
RealtimeRetention=8 DAY
CustomMySqlSecondsEnabled=0
CustomMySqlMinutesEnabled=1
CustomMySqlRolloverEnabled=0
CustomMySqlSecondsInterval=10
CustomMySqlMinutesIntervalIndex=4
CustomMySqlSecondsCommandString=
CustomMySqlMinutesCommandString="IMy code removed"
CustomMySqlRolloverCommandString=
CustomMySqlTimedEnabled=0
CustomMySqlStartUpEnabled=0
CustomMySqlStartUpCommandString=
CustomMySqlMinutesIntervalIdx=4
CustomMySqlMinutesCommandString1="IMy code removed"
CustomMySqlMinutesIntervalIdx1=4
1 Entry is : "CustomMySqlMinutesIntervalIndex=*"

2 Entry is : "CustomMySqlMinutesIntervalIdx=*"

Kindest Regards,
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: b4017 and b4018 MySql Custom Upload Mins Interval

Post by mcrossley »

CustomMySqlMinutesIntervalIndex= was the entry used when there was only one global interval defined, it is still used for the first entry on the list

CustomMySqlMinutesIntervalIdx[n]= is used for the second entry onwards, it starts at n=1

It is the same for the command string itself:

CustomMySqlMinutesCommandString= is the original and used for the first entry.

CustomMySqlMinutesCommandString[n]= is used for entries 2-10, it also starts with n=1


I may clean it up at some point!
User avatar
BeaumarisWX
Posts: 375
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: b4017 and b4018 MySql Custom Upload Mins Interval

Post by BeaumarisWX »

Thanks Mark,
Greatly Appreciated,
Kindest Regards,
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
User avatar
BeaumarisWX
Posts: 375
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: b4017 and b4018 MySql Custom Upload Mins Interval

Post by BeaumarisWX »

Cheers Mark,
CU-MX (4.0.0-b4019) Fixed this issue.
kindest Regards,
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
Post Reply