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
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)
Moderator: daj
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: Yet Another Dayfile Reader (PHP)
Just some further info of what I can now reproduce.
Refresh page.
Click on EVT & I get the error.
Choose Seasonal from the drop down & then EVT & I get valid data.
Change back to Daily in the drop down & I still have valid data.
Choose maxtemp & then back to evt & it errors again.
Cheers
Phil.
Refresh page.
Click on EVT & I get the error.
Choose Seasonal from the drop down & then EVT & I get valid data.
Change back to Daily in the drop down & I still have valid data.
Choose maxtemp & then back to evt & it errors again.
Cheers
Phil.
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yet Another Dayfile Reader (PHP)
I'm not seeing any problem !!
Everything including EVT is working fine, including different years /daily / season (Using FF)
Are you sure only EVT acts that way, page should load quickly ....
EDIT; Thought, you aren't loading the data at reatime interval are you ? - that may create access 'holes' because of it's size.
dayfile.txt only needs to be uploaded every 24 hrs.
Everything including EVT is working fine, including different years /daily / season (Using FF)
Are you sure only EVT acts that way, page should load quickly ....
EDIT; Thought, you aren't loading the data at reatime interval are you ? - that may create access 'holes' because of it's size.
dayfile.txt only needs to be uploaded every 24 hrs.
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: Yet Another Dayfile Reader (PHP)
Just investigated it a bit further.
Above unpredictability is reproducible on this Laptop. in IE, (will check my other PC in both a bit later).
BUT all works fine in Chrome.
Also edited a record for 31/12/18 that showed ET at -1446.13; changed it to 6.13 which follows trends,
This change is reflected in Chrome's pages but not IE.
Cleared the cache, but no difference.
Also just checked it in Edge, & it works perfectly there.
At this stage I've only uploaded a static copy of Dayfile.txt.EDIT; Thought, you aren't loading the data at reatime interval are you ? - that may create access 'holes' because of it's size.
dayfile.txt only needs to be uploaded every 24 hrs.
Would like to know also how best to upload once every 24 hours.
Thanks
Phil.
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yet Another Dayfile Reader (PHP)
Cu MX is alien to me but I believe something along the lines of:
" you could use the Extra web files function in CumulusMX by entering the source (i.e. \CumulusMX\Reports\dayfile.txt) and remote (\yourlocalfolder\dayflie.txt), tick FTP, and tick End of Day." (NO process or realtime)
... but I don't really know ....
" you could use the Extra web files function in CumulusMX by entering the source (i.e. \CumulusMX\Reports\dayfile.txt) and remote (\yourlocalfolder\dayflie.txt), tick FTP, and tick End of Day." (NO process or realtime)
... but I don't really know ....
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: Yet Another Dayfile Reader (PHP)
IE issue sorted now thanks.
Simply a matter of closing & restarting IE on that Laptop for some reason.
Now reading entire post to try & get it embedded in a standard Cumulus page.
Overlooked the end of day FTP option.
Cheers
Simply a matter of closing & restarting IE on that Laptop for some reason.
Now reading entire post to try & get it embedded in a standard Cumulus page.
Overlooked the end of day FTP option.
Cheers
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
- 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: Yet Another Dayfile Reader (PHP)
Yes the extra web files works and have been using that for www.komokaweather.com/cumulusmx/dayfile.txt" you could use the Extra web files function in CumulusMX by entering the source (i.e. \CumulusMX\Reports\dayfile.txt) and remote (\yourlocalfolder\dayflie.txt), tick FTP, and tick End of Day." (NO process or realtime)
... but I don't really know ....
Enjoy,
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
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
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yet Another Dayfile Reader (PHP)
Thanks for confirming Paul
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: Yet Another Dayfile Reader (PHP)
Up & working now.
Might need polishing a bit. Like most other stuff.
(As in the differnet menu's I have top & bottom.
http://weather.inverellit.com/datasummary.php
Full credit to Beteljuice for making this contribution to others.
Much appreciated.
Just one thing missing, & that's a credit to yourself at the bottom of the page.
Cheers.
Might need polishing a bit. Like most other stuff.
(As in the differnet menu's I have top & bottom.
http://weather.inverellit.com/datasummary.php
Full credit to Beteljuice for making this contribution to others.
Much appreciated.
Just one thing missing, & that's a credit to yourself at the bottom of the page.
Cheers.
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yet Another Dayfile Reader (PHP)
Add it if you wish ...Just one thing missing, & that's a credit to yourself at the bottom of the page.
the beteljuice scripts / snippets are usually recognized once seen / investigated
You've probably been using bits 'n' pieces all along ...
......................Imagine, what you will KNOW tomorrow !
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yet Another Dayfile Reader (PHP)
@phil23
You are using the large default (900px) css version, try using the 700 instead
You are using the large default (900px) css version, try using the 700 instead
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: Yet Another Dayfile Reader (PHP)
Yeah, I did try the various options in your first post & found large to most pleasing on my screens. 1920x1080.beteljuice wrote: ↑Mon 01 Jul 2019 11:09 pm You are using the large default (900px) css version, try using the 700 instead
An observation after having browsed my data a bit.
For Rainfall & EVT, a daily average seems less applicable on the bottom of the pages than a monthly total for each month of the year.
(Lol, maybe that's a British thing, cause it rains every day...)</Aussie Humour>
I see that present in the seasonal view, but the table at the bottom of the daily pages is nice & easily readable.
Edit,
Actually EVT lends it's self to both, as there's always a daily value for the calc,
but rainfall not so much.
Cheers.
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yet Another Dayfile Reader (PHP)
@phil23
See viewtopic.php?f=14&t=11397&start=285#p93823 for an example.
Read through the code on the 'flags' that can be set for existing data sets ...For Rainfall ..., a daily average seems less applicable on the bottom of the pages than a monthly total for each month of the year.
(Lol, maybe that's a British thing, cause it rains every day...)
See viewtopic.php?f=14&t=11397&start=285#p93823 for an example.
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: Yet Another Dayfile Reader (PHP)
Been editing a few of the rogue negative ET values from my dayfile & notice a similar IE issue as I saw before.
After uploading a new dayfile, the data doesn't update on the pages in IE.
Works absolutely perfectly in Chrome, but it appears as if IE keeps the array in memory & it is only refreshed but closing & reopening IE.
In IE I can refresh, hard refresh, clear cache, leave the page or close the tab, but still get the stale data until I actually close then reopen IE.
No biggie, but worth a mention to save others from a little hair tearing.
Put that one down to Microsoft.
After uploading a new dayfile, the data doesn't update on the pages in IE.
Works absolutely perfectly in Chrome, but it appears as if IE keeps the array in memory & it is only refreshed but closing & reopening IE.
In IE I can refresh, hard refresh, clear cache, leave the page or close the tab, but still get the stale data until I actually close then reopen IE.
No biggie, but worth a mention to save others from a little hair tearing.
Put that one down to Microsoft.
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yet Another Dayfile Reader (PHP)
Ensure the following two lines are in the <head> section of your page ..
If that doesn't work ?????
Code: Select all
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: Yet Another Dayfile Reader (PHP)
Browsed the code a few times, but at a bit of a loss understanding how the tables are built, let alone how the averages are put at the bottom.
Is there a specific block of code you can point me to?
Cheers
Phil.
Is there a specific block of code you can point me to?
Cheers
Phil.
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station: