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

Yet Another Dayfile Reader (PHP)

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

flort
Posts: 224
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by flort »

Hi Ray,

I loaded your dayfile into my system and the total is correct so maybe you should download a new copy of the php script and see if that makes a difference.
Seasonal Rainfall.jpg
I'm in southern hemisphere so changed it to northern just in case there was a scripting error but it still displayed the correct value.

Regards,
Trevor
You do not have the required permissions to view the files attached to this post.
RayProudfoot
Posts: 3390
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by RayProudfoot »

flort wrote: Fri 10 Nov 2023 5:11 am Hi Ray,

I loaded your dayfile into my system and the total is correct so maybe you should download a new copy of the php script and see if that makes a difference.

Regards,
Trevor
Many thanks Trevor. I’ll do that later and report back. I’m always a bit nervous about changes to files on the server as this is one area I’m not that confident with.
Cheers,
Ray, Cheshire.

Image
flort
Posts: 224
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by flort »

@ Mrc, I don't have a UV sensor but enabled it in the script to see what is displayed and I get all 0's showing. Do you have a link to your website? It might also be a good idea to download a fresh copy of the script and replace your existing one in case you have inadvertently altered something.

Regards,
Trevor
Mrc
Posts: 57
Joined: Mon 11 Apr 2016 12:39 pm
Weather Station: Ecowitt hp2551
Operating System: Windows 10
Location: Finland

Re: Yet Another Dayfile Reader (PHP)

Post by Mrc »

I downloaded the script and now it works. I didn't notice that it was updated so it was my mistake.
Hunter362
Posts: 93
Joined: Tue 19 Oct 2010 12:20 am
Weather Station: Ambient Weather WS-2080
Operating System: Ubuntu 14.4
Location: Fairmount, New York (USA)
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by Hunter362 »

What symbol is missing here? only shows up in the Seasonal rainfall screen
Screenshot from 2023-12-03 07-39-06.png
Read Dayfile v7.1.4
PHP 7.2
You do not have the required permissions to view the files attached to this post.
Mapantz
Posts: 1822
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by Mapantz »

This one:
Screenshot_20231203_151714_Samsung Internet.jpg
It maybe a UTF8 thing?!
You do not have the required permissions to view the files attached to this post.
Image
Hunter362
Posts: 93
Joined: Tue 19 Oct 2010 12:20 am
Weather Station: Ambient Weather WS-2080
Operating System: Ubuntu 14.4
Location: Fairmount, New York (USA)
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by Hunter362 »

Weird that it's there twice at the top, but missing below...
AndyKF650
Posts: 718
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by AndyKF650 »

Surely the top two sums are valid, the monthly is a sum of the rain in the days of the month and the second is the sum of the three months rain.

The bottom screen only needs one sum sign as it only takes the monthly data.
flort
Posts: 224
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by flort »

It's actually the raindrop image you are missing. The file is raindrop.png. This always shows against the number of days rain.

Regards,
Trevor
Hunter362
Posts: 93
Joined: Tue 19 Oct 2010 12:20 am
Weather Station: Ambient Weather WS-2080
Operating System: Ubuntu 14.4
Location: Fairmount, New York (USA)
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by Hunter362 »

That raindrop image was it..
Mrc
Posts: 57
Joined: Mon 11 Apr 2016 12:39 pm
Weather Station: Ecowitt hp2551
Operating System: Windows 10
Location: Finland

Re: Yet Another Dayfile Reader (PHP)

Post by Mrc »

Hi. I noticed that the uv index can also display decimal numbers. Like here: http://www.komokaweather.com/cumulusmx/ ... hp?lang=en
Mine only shows even numbers like 1.0 or 8.0. How can I show the decimals as well?. I suppose the weather station doesn't matter.
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: Yet Another Dayfile Reader (PHP)

Post by mcrossley »

Mrc wrote: Wed 31 Jan 2024 7:45 am Mine only shows even numbers like 1.0 or 8.0. How can I show the decimals as well?. I suppose the weather station doesn't matter.
It does, some stations only supply an integer value. I don't know which station you have, but another thing to check is Station Settings > General > Units > Advanced. Check if that is set to 0 for UV. BUT if your station only sends integer values you will just values like 4.0, 5.0 etc
Mrc
Posts: 57
Joined: Mon 11 Apr 2016 12:39 pm
Weather Station: Ecowitt hp2551
Operating System: Windows 10
Location: Finland

Re: Yet Another Dayfile Reader (PHP)

Post by Mrc »

I checked settings and UV decimals was set to 1. My station is Ecowitt hp2551. Well, this is not a big problem, as long as I thought it would show those decimals too..
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: Yet Another Dayfile Reader (PHP)

Post by mcrossley »

Does the MX dashboard show a decimal?
water01
Posts: 3257
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by water01 »

It does Mark, but I am not sure the HP2551 provides it. Even Ecowitt data graphs on the Ecowitt.net site show only whole numbers for UV for the HP2551. Same for my GW1000 and GW1100.
David
Image
Post Reply