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 4018) - 28 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 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
Yet Another Dayfile Reader (PHP)
Moderator: daj
- PaulMy
- Posts: 3777
- 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)
Doesn't appear to be just right yet. The default temp view for July 28 is different than your PWS upload and when you select any of the items on the reader's pull down menu nothing shows. I also couldn't see your /dayfile.txt file.
Paul
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
- aznetcowboy
- Posts: 357
- Joined: Fri 04 Jan 2013 6:03 pm
- Weather Station: Davis 6153 Vantage Pro2
- Operating System: Windows 10 Home 64-bit
- Location: West Bend, WI USA
- Contact:
Re: Yet Another Dayfile Reader (PHP)
My dayfile.txt file is at http://www.elgheko.us/data/dayfile.txt.PaulMy wrote:Doesn't appear to be just right yet. The default temp view for July 28 is different than your PWS upload and when you select any of the items on the reader's pull down menu nothing shows. I also couldn't see your /dayfile.txt file.
Paul
UPDATE: You made me do some research and I found the dayfile.txt wasn't going to the data folder like it should. I had made some changes earlier to my Cumulus Toolbox and ended up sending it to the root. Until I find out if any harm will be done, I will allow it to do updates to each location.
Now to get the highlighing problem resolved.
- aznetcowboy
- Posts: 357
- Joined: Fri 04 Jan 2013 6:03 pm
- Weather Station: Davis 6153 Vantage Pro2
- Operating System: Windows 10 Home 64-bit
- Location: West Bend, WI USA
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Things look okay again. One problem I will need to keep an eye on is the /data/dayfile.txt got set to a length of zero. Then back to the highlighting issue.aznetcowboy wrote:My dayfile.txt file is at http://www.elgheko.us/data/dayfile.txt.PaulMy wrote:Doesn't appear to be just right yet. The default temp view for July 28 is different than your PWS upload and when you select any of the items on the reader's pull down menu nothing shows. I also couldn't see your /dayfile.txt file.
Paul
UPDATE: You made me do some research and I found the dayfile.txt wasn't going to the data folder like it should. I had made some changes earlier to my Cumulus Toolbox and ended up sending it to the root. Until I find out if any harm will be done, I will allow it to do updates to each location.
Now to get the highlighting problem resolved.
UPDATE: I have also addressed the dayfile.txt issue at https://cumulus.hosiene.co.uk/viewtopic.p ... 197#p97197. Hopefully this will be resolved soon.
- 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)
The version I am seeing ATM has no data content, plus it still has a call to non-existant css file.Then back to the highlighting issue.
I suggest you start from scratch carefully following the "How To ..." example for saratoga templates.
If the the css is incomplete, maybe that there are other (JavaScript) issues.
It maybe omissions, duplicates, incorrect sequence, etc. etc.
......................Imagine, what you will KNOW tomorrow !
- aznetcowboy
- Posts: 357
- Joined: Fri 04 Jan 2013 6:03 pm
- Weather Station: Davis 6153 Vantage Pro2
- Operating System: Windows 10 Home 64-bit
- Location: West Bend, WI USA
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Beteljuice,beteljuice wrote:The version I am seeing ATM has no data content, plus it still has a call to non-existant css file.Then back to the highlighting issue.
I suggest you start from scratch carefully following the "How To ..." example for saratoga templates.
If the the css is incomplete, maybe that there are other (JavaScript) issues.
It maybe omissions, duplicates, incorrect sequence, etc. etc.
What non-existant css file? Maybe I can narrow it down if I know I am looking for. Wait a minute, I think I found it. It wasa duplicate entry of the betel_datasummary.css file. I removed it as it was pointing to the wrong place.
Tom
- 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 see that a local copy of jquery.min is being loaded AFTER the full remote version.
The min copy will supercede the full version and if this is an 'old' version ( < 1.8.2) then that may be why your mouseover highlights are not fully working.
The min copy will supercede the full version and if this is an 'old' version ( < 1.8.2) then that may be why your mouseover highlights are not fully working.
......................Imagine, what you will KNOW tomorrow !
- aznetcowboy
- Posts: 357
- Joined: Fri 04 Jan 2013 6:03 pm
- Weather Station: Davis 6153 Vantage Pro2
- Operating System: Windows 10 Home 64-bit
- Location: West Bend, WI USA
- Contact:
Re: Yet Another Dayfile Reader (PHP)
How can I tell what version the copy I have is? BTW, moving the jquery.min made a difference on the highlighting! Thanks Beteljuice!beteljuice wrote:I see that a local copy of jquery.min is being loaded AFTER the full remote version.
The min copy will supercede the full version and if this is an 'old' version ( < 1.8.2) then that may be why your mouseover highlights are not fully working.
-
- 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: Yet Another Dayfile Reader (PHP)
If you are using IE9,10,11 then hitting F12 on a page brings up the developer tools. If you click on Network, the 4th icon down on the left, and then Start Capture and refresh the page it will show you all the code, images etc. that the page loads and from where and the time it takes to load them. Very useful when testing a page and you want to check all the elements are loading OK.
I believe that Chrome, Firebird etc. have similar tools but I am not familiar with them.
I believe that Chrome, Firebird etc. have similar tools but I am not familiar with them.
- aznetcowboy
- Posts: 357
- Joined: Fri 04 Jan 2013 6:03 pm
- Weather Station: Davis 6153 Vantage Pro2
- Operating System: Windows 10 Home 64-bit
- Location: West Bend, WI USA
- Contact:
Re: Yet Another Dayfile Reader (PHP)
So far I have found nothing that means anything to me using these methods. However, one thing I have done is is been going through my usage logs to see if anything shows up. So far nothing that means anything to me. The following are the last 10 data lines from log when the data file got reset to zero. I don't right off hand see anything, so I'm sending them up here to see if anyone sees anything, anything at all. My IP Address is the 24.251.141.62.water01 wrote:If you are using IE9,10,11 then hitting F12 on a page brings up the developer tools. If you click on Network, the 4th icon down on the left, and then Start Capture and refresh the page it will show you all the code, images etc. that the page loads and from where and the time it takes to load them. Very useful when testing a page and you want to check all the elements are loading OK.
I believe that Chrome, Firebird etc. have similar tools but I am not familiar with them.
24.251.141.62 - - [02/Aug/2014:13:54:15 -0700] "GET /betel_readDayfile.php?year=2013&data=mintemp&disp=t1r1w0b1&pane=0&lang=en HTTP/1.1" 200 6744 "http://www.elgheko.us/wxbetel.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 IceDragon/26.0.0.2"
24.251.141.62 - - [02/Aug/2014:13:54:25 -0700] "GET /betel_readDayfile.php?year=2014&data=mintemp&disp=t1r1w0b1&pane=0&lang=en HTTP/1.1" 200 5739 "http://www.elgheko.us/wxbetel.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 IceDragon/26.0.0.2"
24.251.141.62 - - [02/Aug/2014:13:54:28 -0700] "GET /betel_readDayfile.php?year=2013&data=mintemp&disp=t1r1w0b1&pane=0&lang=en HTTP/1.1" 200 6744 "http://www.elgheko.us/wxbetel.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 IceDragon/26.0.0.2"
66.249.79.32 - - [02/Aug/2014:13:54:21 -0700] "GET /WU-History.php?ID=KAZTUCSO210&month=1&day=30&year=2014&units=E&mode=3 HTTP/1.1" 200 12600 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
24.251.141.62 - - [02/Aug/2014:13:54:37 -0700] "GET /betel_readDayfile.php?year=2013&data=baromax&disp=t1r1w0b1&pane=0&lang=en HTTP/1.1" 200 4296 "http://www.elgheko.us/wxbetel.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 IceDragon/26.0.0.2"
24.251.141.62 - - [02/Aug/2014:13:54:41 -0700] "GET /betel_readDayfile.php?year=2013&data=rainfall&disp=t1r1w0b1&pane=0&lang=en HTTP/1.1" 200 4164 "http://www.elgheko.us/wxbetel.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 IceDragon/26.0.0.2"
24.251.141.62 - - [02/Aug/2014:13:54:43 -0700] "GET /betel_readDayfile.php?year=2013&data=rhmin&disp=t1r1w0b1&pane=0&lang=en HTTP/1.1" 200 5278 "http://www.elgheko.us/wxbetel.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 IceDragon/26.0.0.2"
24.251.141.62 - - [02/Aug/2014:13:54:52 -0700] "GET /betel_readDayfile.php?year=2014&data=rhmin&disp=t1r1w0b1&pane=0&lang=en HTTP/1.1" 200 4721 "http://www.elgheko.us/wxbetel.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 IceDragon/26.0.0.2"
24.251.141.62 - - [02/Aug/2014:13:55:05 -0700] "GET /betel_readDayfile.php?year=2014&data=dpmax&disp=t1r1w0b1&pane=0&lang=en HTTP/1.1" 200 3035 "http://www.elgheko.us/wxbetel.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 IceDragon/26.0.0.2"
184.168.152.192 - - [02/Aug/2014:13:55:07 -0700] "GET /realtime.txt HTTP/1.1" 200 472 "-" "Mesomap Loader"
- 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)
You are using FF v26 (why not 31 ?)
Goto developer tools > network
Then refresh the page .. you will see all the 'calls' and network response and time to load.
Clicking on one of them shows the 'header response' and content sent from the server.
There are other tools there to inspect / modify the css / html / JS etc. etc.
The beteljuice uses the firebug plug-in rather than the 'native' dev tools but all very similar.
Goto developer tools > network
Then refresh the page .. you will see all the 'calls' and network response and time to load.
Clicking on one of them shows the 'header response' and content sent from the server.
There are other tools there to inspect / modify the css / html / JS etc. etc.
The beteljuice uses the firebug plug-in rather than the 'native' dev tools but all very similar.
......................Imagine, what you will KNOW tomorrow !
- aznetcowboy
- Posts: 357
- Joined: Fri 04 Jan 2013 6:03 pm
- Weather Station: Davis 6153 Vantage Pro2
- Operating System: Windows 10 Home 64-bit
- Location: West Bend, WI USA
- Contact:
Re: Yet Another Dayfile Reader (PHP)
A suggestion by my ISP is "Sounds like there is some sort of locking issue with the file, where the php script tries to update it when it’s being accessed by the web process and it gets cleared but not re-written. You’ll probably have to reach out to the developers on that one." Now to try and figure this out.
- aznetcowboy
- Posts: 357
- Joined: Fri 04 Jan 2013 6:03 pm
- Weather Station: Davis 6153 Vantage Pro2
- Operating System: Windows 10 Home 64-bit
- Location: West Bend, WI USA
- Contact:
Re: Yet Another Dayfile Reader (PHP)
I think this observation by my ISP may have resolved the problem. I wasn't aware of it but the dayfile.txt was being uploaded from the Cumulus.ini file which meant every 10 minutes of so it was being uploaded. I know I had it being uploaded from the Cumulus Toolbox, every 10 minutes when I could not resolve the issue.aznetcowboy wrote:A suggestion by my ISP is "Sounds like there is some sort of locking issue with the file, where the php script tries to update it when it’s being accessed by the web process and it gets cleared but not re-written. You’ll probably have to reach out to the developers on that one." Now to try and figure this out.
Now I have removed the dayfile.txt upload from the Cumulus uploads and changed the every 10 miutes upload from the Cumulus Toolbox to once a day at 8:00 AM (MST). So far it seems to be working okay.
I would say it was a simple solution, but I wasn't aware of the Cumulus uploads. I'm not sure why it was in there.
-
- Posts: 1
- Joined: Fri 12 Sep 2014 2:43 pm
- Weather Station: Oregon WMR200
- Operating System: Windows 8.1
- Location: Banyeres del Penedès-Baix Penedès
Re: Yet Another Dayfile Reader (PHP)
I do not understand the next step in explaining Cumulus Wiki. I could explain it more detailed please? That I have to put in the daily box?
Thank you
Thank you
-
- Posts: 1
- Joined: Sat 27 Sep 2014 2:58 pm
- Weather Station: Raspberry Pi
- Operating System: Debian
- Location: Halton
Re: Yet Another Dayfile Reader (PHP)
Just stumbled upon this now and have got it working. Great job.
2 questions.
1) How difficult would it be to add a key to the bottom as seen here:
http://weather.wilmslowastro.com/datasummary.php
2) Also is it possible to replace the wind direction arrows with png images of arrows?
2 questions.
1) How difficult would it be to add a key to the bottom as seen here:
http://weather.wilmslowastro.com/datasummary.php
2) Also is it possible to replace the wind direction arrows with png images of arrows?
- De Hout
- Posts: 17
- Joined: Thu 09 Oct 2014 5:40 pm
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows 11
- Location: Alkmaar, The Netherlands
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Thanks beteljuice for making the php dayfile reader.
I've just implemented it in my Weather Blues 1 template (the html-version).
http://meteodehoutalkmaar.ddns.net/history.php
Main page: http://meteodehoutalkmaar.ddns.net
I've just implemented it in my Weather Blues 1 template (the html-version).
http://meteodehoutalkmaar.ddns.net/history.php
Main page: http://meteodehoutalkmaar.ddns.net
Weather Station Website: http://www.alkmaarweer.nl