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 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Moon Phases

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
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Moon Phases

Post by water01 »

I noticed my MX moon phase is different to a Cumulus 1 moon phase i.e. http://www.dmjsystems.co.uk/weather/index.php says Full Moon and http://www.combwichweather.info/ says Waning Gibbous.
On reading the FAQ it says "Moon phases are wrong - should be fixed in 3024". So I am running 3025, is it still wrong or is Cumulus 1 wrong?
David
Image
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Moon Phases

Post by steve »

It's only 24 hours since Full Moon and it's currently at about 99%, so presumably the MX code will start saying 'Waning Gibbous' shortly (in the next few hours). The code is all completely different and the boundaries between each phase are done in a different way.
Steve
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Moon Phases

Post by water01 »

OK thanks Steve.
David
Image
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Moon Phases

Post by ronwright418 »

My moon graphic in MX b3030 is 180 degrees out of phase. The text says waning crescent, but the graphic is an almost full moon. Everything in the almanac agrees with v1.94 # 1092 except the graphic. The time is also correct. Looking through the volumes of queries on moon phase I didn't see anything relating to this. Did I miss something? What do I need to do to change this?
Thanks -- Ron
Ron Wright (ronwright418)
Image
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Moon Phases

Post by water01 »

Cumulus MX provides the words of the phase of the moon, but it does not provide the graphic unlike Cumulus 1 (I assume you mean the one on your front page).

I wrote a PHP program that provides the correct image to the front page using the title provided in the webtag.
David
Image
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Moon Phases

Post by ronwright418 »

Hi David,
That looks good on your page. Better than the Cumulus 1 graphic. Is that php script available for others to use?
Ron
Ron Wright (ronwright418)
Image
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Moon Phases

Post by water01 »

I will package it up and post it here if that is OK. Should be ready tomorrow latest.
David
Image
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Moon Phases

Post by ronwright418 »

That will be great. I think there would be many others that would like to use it.
Thanks,
Ron
Ron Wright (ronwright418)
Image
willyweather
Posts: 54
Joined: Tue 15 May 2012 8:50 pm
Weather Station: WH 1080
Operating System: Windows 8.1 and Raspbian
Location: Assling

Re: Moon Phases

Post by willyweather »

Oh yes, I can confirm that statement !
I'm waiting for the possibility of showing such a Moonphase picture for half a year :-)

Would be great!

Regards, Wilfried
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Moon Phases

Post by water01 »

OK I have now packaged it for both HTML and PHP users, although my instructions assume your are using Steve's standard indexT.htm file as your index.htm. I am assuming that anyone who uses PHP should be able to modify their code in line with the instructions, but if not let me know.

The zip file contains a Word doc with full instructions on how to install. Any problems let me know.

This is where the latest version will be kept.
You do not have the required permissions to view the files attached to this post.
Last edited by water01 on Sat 12 Dec 2015 12:08 pm, edited 5 times in total.
David
Image
ronwright418
Posts: 90
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Moon Phases

Post by ronwright418 »

Thanks David, Looks like two others even downloaded before me. I'm sure it will help them as well. I'll get it installed as soon as possible and let you know, but I'll bet there won't be any problems.
Ron
Ron Wright (ronwright418)
Image
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Moon Phases

Post by laulau »

Hi David,

It's only working for english language (string.ini) because in my case i have :
$moonphase = "premier croissant"; // current phase of the moon
:oops: :?:
Laurent

Image
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Moon Phases

Post by water01 »

Very true, but then I am English :D :D . If you send me the 8 French phases that Cumulus MX sends you I would be happy to modify my code to cater for that.
David
Image
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Moon Phases

Post by laulau »

Hi David,

Why not choose the image with <#MoonPercent> or <#MoonAge> to avoid language issue ?

There was a discussion here https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=13983 about the relationship between moonphase and % illumination.
Laurent

Image
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Moon Phases

Post by nitrx »

Can't you change the name of the images to the text ?
Post Reply