Page 54 of 55

Re: Yet Another Dayfile Reader (PHP)

Posted: Fri 10 Nov 2023 5:11 am
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

Re: Yet Another Dayfile Reader (PHP)

Posted: Fri 10 Nov 2023 8:19 am
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.

Re: Yet Another Dayfile Reader (PHP)

Posted: Fri 10 Nov 2023 9:22 am
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

Re: Yet Another Dayfile Reader (PHP)

Posted: Sun 12 Nov 2023 11:31 am
by Mrc
I downloaded the script and now it works. I didn't notice that it was updated so it was my mistake.

Re: Yet Another Dayfile Reader (PHP)

Posted: Sun 03 Dec 2023 1:25 pm
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

Re: Yet Another Dayfile Reader (PHP)

Posted: Sun 03 Dec 2023 3:18 pm
by Mapantz
This one:
Screenshot_20231203_151714_Samsung Internet.jpg
It maybe a UTF8 thing?!

Re: Yet Another Dayfile Reader (PHP)

Posted: Tue 05 Dec 2023 2:17 am
by Hunter362
Weird that it's there twice at the top, but missing below...

Re: Yet Another Dayfile Reader (PHP)

Posted: Tue 05 Dec 2023 3:44 pm
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.

Re: Yet Another Dayfile Reader (PHP)

Posted: Wed 06 Dec 2023 10:20 am
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

Re: Yet Another Dayfile Reader (PHP)

Posted: Sat 09 Dec 2023 1:28 pm
by Hunter362
That raindrop image was it..

Re: Yet Another Dayfile Reader (PHP)

Posted: Wed 31 Jan 2024 7:45 am
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.

Re: Yet Another Dayfile Reader (PHP)

Posted: Wed 31 Jan 2024 1:02 pm
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

Re: Yet Another Dayfile Reader (PHP)

Posted: Thu 01 Feb 2024 6:50 am
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..

Re: Yet Another Dayfile Reader (PHP)

Posted: Thu 01 Feb 2024 9:07 am
by mcrossley
Does the MX dashboard show a decimal?

Re: Yet Another Dayfile Reader (PHP)

Posted: Thu 01 Feb 2024 9:15 am
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.