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

Davis 'Live' Console for Saratoga Websites Ver CW2.4.0

Discussion of Ken True's web site templates

Moderator: saratogaWX

BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Davis 'Live' Console for Saratoga Websites Ver CW1.1d

Post by BCJKiwi »

Yes, as advised, it is an option.

The script is being reworked at present and this section of the code is changing so your suggestion may be included.
the code block would be;

Code: Select all

// directory and name of "real time" data file(s)
if (isset($SITE['realtimefile']))  {$dataurl = $SITE['realtimefile'];}
if (isset($SITE['clientrawfile'])) {$dataurl = $SITE['clientrawfile'];}
User avatar
gluepack
Posts: 460
Joined: Tue 22 Jan 2013 9:20 pm
Weather Station: PCE-FWS 20
Operating System: Win 7 Pro
Location: Zlatina, Bulgaria

Re: Davis 'Live' Console for Saratoga Websites Ver CW1.1d

Post by gluepack »

Thanks again (I think, lol, just another "work in progress" for me) and I have modified the code to provide for my PCE-FWS 20.

I still have to figure out the wind direction arrow and the tendency/forecast image (not even sure how many variations there are) and I really need to tidy up the code to get rid of all the extraneous Davis material before I promote it to publicly visible, but it doesn't look too bad... http://www.jerbils.info/saratoga/pceconvueCW.php
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Davis 'Live' Console for Saratoga Websites Ver CW2.0

Post by BCJKiwi »

Hi folks,

Version 2.0 posted

see first post in this thread.
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: Davis 'Live' Console for Saratoga Websites Ver CW1.1d

Post by nitrx »

gluepack wrote:Thanks again (I think, lol, just another "work in progress" for me) and I have modified the code to provide for my PCE-FWS 20.

I still have to figure out the wind direction arrow and the tendency/forecast image (not even sure how many variations there are) and I really need to tidy up the code to get rid of all the extraneous Davis material before I promote it to publicly visible, but it doesn't look too bad... http://www.jerbils.info/saratoga/pceconvueCW.php
Nice !
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Davis 'Live' Console for Saratoga Websites Ver CW2.1

Post by BCJKiwi »

Hi folks,

Version 2.1 posted - see first post in this thread.
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Davis 'Live' Console for Saratoga Websites Ver CW2.1b

Post by BCJKiwi »

Hi folks,

Version 2.1b posted - see first post in this thread.
nicksnet
Posts: 26
Joined: Mon 23 Sep 2013 6:09 pm
Weather Station: davis vantage pro2 inc FARS.
Operating System: windows 10
Location: Oshawa, Ontario, CANADA.
Contact:

Re: Davis 'Live' Console for Saratoga Websites Ver CW2.1b

Post by nicksnet »

Thanks for the fast reply, now have everything installed and working, check it out.......

http://dw7240.com/Base-Canada/index.php

One problem I do have with the scripts.........file named "davconvp2CW-inc.php" line 6, which reads "$t[] = (time()+($i*3600)*1000);"

This line has a problem, if its allowed to be read the script returns a fatal error, namely "Fatal error: [] operator not supported for strings in D:\Hosting\11561464\html\Base-Canada\davconvp2CW-inc.php on line 6" :bash:

Any ideas ?

Strange thing is if I rem out the line.......using // which turns the line green and tells the script to ignore reading the line, the script works fine. :D

I'm complext at this............is it me ? :roll:

Let me know please, its obvious this line is there for a reason !

Thanks. Nick.
ImageImage
Image
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Davis 'Live' Console for Saratoga Websites Ver CW2.1b

Post by BCJKiwi »

Hi,
Well the script is not actually working correctly without that line as the graphs are not being filled.
There should be 25 dots.

That line consists of very standard code to set up an array of the hourly intervals to go with the hourly data items.
The data items are being found OK but with the line remmed out, there is no time to go with it.

I am not sure why this line should be a problem.
It has been present in the original code from which this package was developed and I am not aware of any other user having this issue.

All I can assume at this point is that there may be some corruption in the file.
perhaps you could retype that line in its entirety in a new line below the existing, then delete all of the exiting line just to be sure.
I don't know what editor you are using but please ensure that it is configured as described in the HowTo file.
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Davis 'Live' Console for Saratoga Websites Ver CW2.1b

Post by BCJKiwi »

@nicksnet

Sent you a PM
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Davis 'Live' Console for Saratoga Websites Ver CW2.2

Post by BCJKiwi »

Hi folks,

Version 2.2 posted - see first post in this thread.
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Davis 'Live' Console for Saratoga Websites Ver CW2.2.2

Post by BCJKiwi »

Hi folks,

Version 2.2.2 posted - see first post in this thread.
kapo
Posts: 246
Joined: Thu 03 Jan 2013 1:59 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Vihtavuori, Laukaa, Finland

Re: Davis 'Live' Console for Saratoga Websites Ver CW2.2.2

Post by kapo »

Hi!

What should I do next? I installed that Davcon 222, and after that my Davis console looks like this. Something is wrong, but what? I don't understand.... Could someone give some help to me?
You do not have the required permissions to view the files attached to this post.
User avatar
PaulMy
Posts: 3830
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: Davis 'Live' Console for Saratoga Websites Ver CW2.2.2

Post by PaulMy »

Hi Kapo,
In the davconvp2CW.php file you may need to edit the line that shows ./data/dayfile.txt so that it shows to your dayfile.txt file.
I have changed line 125 to ../weather/dayfile.txt as that is the path to my dayfile.txt

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
Image
kapo
Posts: 246
Joined: Thu 03 Jan 2013 1:59 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Vihtavuori, Laukaa, Finland

Re: Davis 'Live' Console for Saratoga Websites Ver CW2.2.2

Post by kapo »

Hi Paul
Thank You for that advice. Davcon works after that change o.k.
Many thanks to You once again... Problem solved!!


-kapo-
User avatar
PaulMy
Posts: 3830
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: Davis 'Live' Console for Saratoga Websites Ver CW2.2.2

Post by PaulMy »

Hi Kapo,
You may still be working on your install as the buttons are not yet displaying, so have a look in lines 168 to 189 for the correct name of your files to display.

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
Image
Post Reply