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

b3278 Custom MySQL minutes issue

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
billy
Posts: 255
Joined: Mon 30 Nov 2015 10:54 am
Weather Station: WLL / Davis VP2+
Operating System: RPi bullseye
Location: Gooseberry Hill, Western Australia

b3278 Custom MySQL minutes issue

Post by billy »

After installing b3278 (by unzipping over b3269, I noticed in MYSQL settings the Custom Uploads - minutes section highlighted in red. I can't remember exactly what the associated error message said but maybe something to the effect that a time interval had to be chosen, even though it was clearly set to one minute (whcih is what it has been). I chose 1 minute again from the drop down box and saved. It then proceeded to upload every 10 minutes! I set it to 2 minutes, and that worked as expected - ie uploaded every 2 minutes. I guess there is a little problem here? In the meantime I have used the seconds interval section, set it to 60, and I get a one minute interval 8-)
cliftonweather
Posts: 26
Joined: Sat 14 Nov 2009 12:34 pm
Weather Station: Vantage pro+
Operating System: RPi3 Model 3 running Buster
Location: Clifton, Beds
Contact:

Re: b3278 Custom MySQL minutes issue

Post by cliftonweather »

Same issue here, though mine is still uploading every minute.

Cumulus.ini has these lines in it:-

CustomMySqlSecondsEnabled=1
CustomMySqlMinutesEnabled=1
CustomMySqlRolloverEnabled=1
CustomMySqlSecondsInterval=5
CustomMySqlMinutesIntervalIndex=0

should there be a 'CustomMySqlMinutesInterval' rather than 'CustomMySqlMinutesIntervalIndex' ?

I also noted this on a previous build on 'Custom upload - Timed'.
Mapantz
Posts: 1823
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: b3278 Custom MySQL minutes issue

Post by Mapantz »

This?
Screenshot 2024-01-10 131945.png
My table gets updated every 5 minutes.
You do not have the required permissions to view the files attached to this post.
Image
User avatar
billy
Posts: 255
Joined: Mon 30 Nov 2015 10:54 am
Weather Station: WLL / Davis VP2+
Operating System: RPi bullseye
Location: Gooseberry Hill, Western Australia

Re: b3278 Custom MySQL minutes issue

Post by billy »

cliftonweather wrote: Wed 10 Jan 2024 12:16 pm Same issue here, though mine is still uploading every minute.
I think mine did too initially but I selected 1 minute from the dropdown in an attempt to get rid of the error and that's when it went to 10 minutes.
I've had a fiddle adjusting the settings directly in Cumulus.ini without success
User avatar
mcrossley
Posts: 12778
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: b3278 Custom MySQL minutes issue

Post by mcrossley »

Sorry, some partially developed stuff snuck in.
Try putting these JSON files in your /interface/json folder.

You will have to force a page refresh - or clear your browser cache.

Issue affects the display only, anything previously setup will continue to work.
You do not have the required permissions to view the files attached to this post.
cliftonweather
Posts: 26
Joined: Sat 14 Nov 2009 12:34 pm
Weather Station: Vantage pro+
Operating System: RPi3 Model 3 running Buster
Location: Clifton, Beds
Contact:

Re: b3278 Custom MySQL minutes issue

Post by cliftonweather »

Thats fixed it. Thanks Mark your a star. Take it easy.
User avatar
mcrossley
Posts: 12778
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: b3278 Custom MySQL minutes issue

Post by mcrossley »

I'll not be online for long :)
User avatar
billy
Posts: 255
Joined: Mon 30 Nov 2015 10:54 am
Weather Station: WLL / Davis VP2+
Operating System: RPi bullseye
Location: Gooseberry Hill, Western Australia

Re: b3278 Custom MySQL minutes issue

Post by billy »

mcrossley wrote: Wed 10 Jan 2024 2:07 pm Sorry, some partially developed stuff snuck in.
Try putting these JSON files in your /interface/json folder.
that's done the trick.
You're not meant to be monitoring this site atm ;)
Mapantz
Posts: 1823
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: b3278 Custom MySQL minutes issue

Post by Mapantz »

Thanks Mark, all good.
Image
Post Reply