Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Discussion and questions about Cumulus weather station software version 1. This section and its subforums are the main place to get help with Cumulus. Anything which is not specific to the type of weather station goes in here; for anything specific to a type of weather station, please use the appropriate subforum. Use the 'website development' section for any questions relating to creating or running a web site for Cumulus data. Discussion of the stations themselves in these sections is fine.
dazza1223
Posts: 172
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: davis vantage vue
Operating System: raspberry pi 3
Location: worthing
Contact:

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby dazza1223 » Fri Jan 20, 2017 11:16 pm

ok now look i took it back to baisc http://www.davisworthing.co.uk/davconvp2CU.php

so that link dosent have any of my menu worthing weather look http://www.davisworthing.co.uk/

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

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby BCJKiwi » Fri Jan 20, 2017 11:39 pm

Well I have no idea how any of your website template is set up so I cannot advise you on the details.

I note that none of your pages have that extra info at the top.
The info you displayed is static so it could just be added into the file but that would need to be done for all pages.

Normally this would be done in a header file or something similar that is loaded before (or included in) each page file.

dazza1223
Posts: 172
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: davis vantage vue
Operating System: raspberry pi 3
Location: worthing
Contact:

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby dazza1223 » Fri Jan 20, 2017 11:46 pm

yh what what im trying to do is add it but i dont know where to add it in the page

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

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby BCJKiwi » Sat Jan 21, 2017 12:19 am

The key is to make the addition in the template files somewhere.
Are there any instructions in the templates you got from css3templates.co.uk ?

dazza1223
Posts: 172
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: davis vantage vue
Operating System: raspberry pi 3
Location: worthing
Contact:

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby dazza1223 » Sat Jan 21, 2017 10:15 am

Ok I will give it a go later and just want to thank touch for all the ur help and info

Phil23
Posts: 111
Joined: Sat Jul 16, 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby Phil23 » Thu Feb 16, 2017 10:13 pm

Just dropped this on my test page & seem to be getting out of date data.

Not sure of it's origin.

I've got both files processing & uploading, when I look in the files, data seems current.

Most obvious is the incorrect time & date & temperatures.

This is what's in davconfcst.php

Any Ideas what I've done Wrong?

Test site is here:-

http://inverellit.com/weather2/davconvp2CU.php

Code: Select all

<?php

/*

File: davconfcstT.txt

 Purpose: load Cumulus tags required for davconvueCU.php and davconvp2CU.php Scripts.



Instructions: 

 Save this page as davconfcstT.txt and place in your cumulus\web directory

 

 Use the Cumulus, Configuration, Internet, Files panel select an unused entry.

  In the Local Filenames, press Browse and select the davconfcstT.txt file as the local filename.

  In the Remote Filenames box, enter the directory and davconfcst.php as the Remote Filename to use (no 'T').

  Leave the Binary? box unchecked,

  Check the Process? box.

  Leave the Realtime? box unchecked.

  Check the FTP? box.

  Press OK on the Internet Settings dialog to close it and save the settings.



Adapted from CUtags.txt by

  Author: Ken True - webmaster@saratoga-weather.org

  for this purpose by BCJKiwi - silveracorn.nz

  V 1.0   created 8  July 2013

  V 2.1a  Updated 2  Nov  2013

  V 2.4.1 Updated May 2014 - added $time

*/



$date  = '17/02/2017';

$tag_time  = '09:00:01';

$time  = '09:00';

$forecast  = trim('Fine weather');

$moonage   = '20';

$location  = htmlspecialchars("Phil's Backyard");

$latitude  = '-29.77389';

$latitudedms  = 'S&nbsp;29&deg;&nbsp;46&#39;&nbsp;26&quot;';

$longitudedms = 'E&nbsp;151&deg;&nbsp;07&#39;&nbsp;14&quot;';

$altitude  = '586&nbsp;m';

$update    = '17/02/2017 9:00:01 AM';

$version   = '3.0.0';

$build     = '3043';

$uomtemp   = '&#176;C';

$uomwind   = 'km/h';

$uombaro   = 'hPa';

$uomrain   = 'mm';

$interval  = '10';

$vpstormrain = '0.0';

$vpstormrainstart = '-----';

$tag_ver   = '!!3.0.0-3043!!';

?>


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

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby BCJKiwi » Thu Feb 16, 2017 10:43 pm

Not sure what this means
Not sure of it's origin.


Whenever I attempt to connect to your website, the protections I have set up reject your site as a Phishing site so I can't connect to your site.
The times and dates look OK to me - don't know when you processed the file.
There are no temperatures in the file.
So it seems the file is being processed OK but just to be sure;
Those instructions actually have not been updated for MX. It may be that the configuration in Extra web files is not actually processing and sending the processed file?
Typical config for MX UI, settings Extra web files;
LOCAL FILENAME:- C:\CumulusMX\web\davconfcstT.txt
REMOTE FILNAME:- /Your webserver home folder/your website folder/davconfcst.php
PROCESS, FTP, UTF8, are all ticked

Some users have skipped thru the settings a little too quickly and not customized all the things they should have to suit their local conditions.
Re-read the davconCU_Howto.txt instructions and check that all the steps have been followed.

Phil23
Posts: 111
Joined: Sat Jul 16, 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby Phil23 » Thu Feb 16, 2017 11:01 pm

Phil23 wrote:Just dropped this on my test page & seem to be getting out of date data.

Not sure of it's origin.

I've got both files processing & uploading, when I look in the files, data seems current.

Most obvious is the incorrect time & date & temperatures.


Ignore my previous post;

My test site contained old data the does not get refreshed.

All good now on the live page, list no links yet.

http://weather.inverellit.com/davconvp2CU.php


Phil.

User avatar
Toxic17
Posts: 542
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby Toxic17 » Thu Feb 16, 2017 11:55 pm

Phil23 wrote:All good now on the live page, list no links yet.

http://weather.inverellit.com/davconvp2CU.php

Phil.


Just need to fix your Forecast icon - it is just 3 bars....
Regards Simon

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
PaulMy
Posts: 1547
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby PaulMy » Fri Feb 17, 2017 3:00 am

Looks good now Phil,

Enjoy,
Paul

Phil23
Posts: 111
Joined: Sat Jul 16, 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby Phil23 » Fri Feb 17, 2017 9:44 am

Toxic17 wrote:
Phil23 wrote:All good now on the live page, list no links yet.

http://weather.inverellit.com/davconvp2CU.php

Phil.


Just need to fix your Forecast icon - it is just 3 bars....


Hmm,

Any suggestions on how that bit works?

I did wonder what they meant; then look sideways to the console....

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

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby BCJKiwi » Fri Feb 17, 2017 9:57 am

The 3 bars means that the code that decodes the Davis forecast cannot find a match to produce any of the icons.

Is the file davconfcst.php being delivered to the website with current data? Again this is all covered in the documentation including what the 3 bars means.

User avatar
Toxic17
Posts: 542
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby Toxic17 » Fri Feb 17, 2017 2:07 pm

BCJKiwi wrote:The 3 bars means that the code that decodes the Davis forecast cannot find a match to produce any of the icons.

Is the file davconfcst.php being delivered to the website with current data? Again this is all covered in the documentation including what the 3 bars means.


it also takes a few hours to put the icon on the console I think. it looks ok now...
Regards Simon

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

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

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby BCJKiwi » Fri Feb 17, 2017 7:30 pm

It takes at least 3 hours for a station coming on line to generate a forecast. In that case, the ticker should be telling you a forecast is not available.

dazza1223
Posts: 172
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: davis vantage vue
Operating System: raspberry pi 3
Location: worthing
Contact:

Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1

Postby dazza1223 » Fri Feb 17, 2017 9:22 pm

i hade that erro on min u need to un tick Use Cumulus forecast

http://www.davisworthing.co.uk/vue.php


Return to “Cumulus 1”

Who is online

Users browsing this forum: Bing [Bot] and 4 guests