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

A little bit of help - VP2

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Mapantz
Posts: 1820
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: A little bit of help - VP2

Post by Mapantz »

water01 wrote:That is usually caused by the User not having the correct host name which should be the IP address of the computer logging into the database which is given to you by the error message.

Edit the User with phpMyAdmin and change the Host field to use it as text and then enter the IP address stated in the error message. Check that you have All Privileges and then Save and you should be able to connect.
That doesn't sound right to me.
A: I can adjust/add/remove items from a database I currently have with other software.
B: My IP address is dynamic

I've tried connecting to the current database I have on there, but that fails on MX too.

Host name: IP of my server
Username and password are 100% correct, as is the database name.

Shouldn't it be myusername@localhost that connects to the database?
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: A little bit of help - VP2

Post by steve »

Mapantz wrote:B: My IP address is dynamic
You'll need to give wildcard permissions for your user, to allow it access from any address.

GRANT ALL ON mydatabase.* TO 'myuser'@'%';FLUSH PRIVILEGES;

I'm not sure whether you also need to do this first:

CREATE USER 'myuser'@'%' IDENTIFIED BY 'mypass';
Steve
Mapantz
Posts: 1820
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: A little bit of help - VP2

Post by Mapantz »

steve wrote:
Mapantz wrote:B: My IP address is dynamic
You'll need to give wildcard permissions for your user, to allow it access from any address.

GRANT ALL ON mydatabase.* TO 'myuser'@'%';FLUSH PRIVILEGES;

I'm not sure whether you also need to do this first:

CREATE USER 'myuser'@'%' IDENTIFIED BY 'mypass';
That got it Steve! Thank you. :)
Image
Mapantz
Posts: 1820
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: A little bit of help - VP2

Post by Mapantz »

I've only just spotted this on my page, i'm not entirely sure if its a bug or not?

I have done my webtags for sunrise, moonrise, sunset and moonset like this:

Code: Select all

<#sunrise format="H:mm tt">
<#moonrise format="H:mm tt">
<#sunset format="H:mm tt">
<#moonset format="H:mm tt">
Sunrise and moonrise get processed correctly:

Sunrise: 6:37 AM
Moonrise: 6:13 AM

Sunset and moonset process like this:

Sunset: 18:02 PM
Moonset: 17:31 PM
Image
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: A little bit of help - VP2

Post by PaulMy »

Is that not correct?

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: A little bit of help - VP2

Post by PaulMy »

oops :oops: finally see the 24 hour time and PM

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
mcrossley
Posts: 12767
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: A little bit of help - VP2

Post by mcrossley »

H for 24h time, h for 12h time. The tag is doing what you have set, 24 hours with am/pm indicator.
Mapantz
Posts: 1820
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: A little bit of help - VP2

Post by Mapantz »

mcrossley wrote:H for 24h time, h for 12h time. The tag is doing what you have set, 24 hours with am/pm indicator.
Yep, you're right! I know why I got confused, because of the morning times and using them without the leading zero..
whoops!

Thank you!
Image
Mapantz
Posts: 1820
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: A little bit of help - VP2

Post by Mapantz »

Hi
I had to update my router's firmware earlier, so I popped offline for ten minutes.. before I did that, I closed Cumulus. After ten mins or so, I started Cumulus again, and naturally it downloaded the archive (1 min intervals) - It then updated the Mar16log.txt, I suddenly remembered I might need to update MySQL, but it already had done so. The data that had been sent was in 1 minute intervals for ten minutes (10 entries) instead of every 10 minutes. I just wanted to check that it is normal? Nice job that it automatically updates MySQL! :)

Cheers.
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: A little bit of help - VP2

Post by steve »

When it does any kind of updates, logging etc, from archive data, it does it at the archive interval, i.e. one update per archive entry - it's the only sensible approach. This is one reason that the Cumulus documentation recommends that you uses the same interval in the station as you do in Cumulus, then everything is consistent.
Steve
Mapantz
Posts: 1820
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: A little bit of help - VP2

Post by Mapantz »

steve wrote:When it does any kind of updates, logging etc, from archive data, it does it at the archive interval, i.e. one update per archive entry - it's the only sensible approach. This is one reason that the Cumulus documentation recommends that you uses the same interval in the station as you do in Cumulus, then everything is consistent.
Thanks Steve - I've set the data logger to 10 minutes. :)
Image
Locked