Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki 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.
User avatar
dazza1223
Posts: 431
Joined: Sun 25 Jan 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

Post by dazza1223 » Fri 20 Jan 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/
have fun and keep learning

dazza :D

BCJKiwi
Posts: 874
Joined: Mon 09 Jul 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

Post by BCJKiwi » Fri 20 Jan 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.

User avatar
dazza1223
Posts: 431
Joined: Sun 25 Jan 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

Post by dazza1223 » Fri 20 Jan 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
have fun and keep learning

dazza :D

BCJKiwi
Posts: 874
Joined: Mon 09 Jul 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

Post by BCJKiwi » Sat 21 Jan 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 ?

User avatar
dazza1223
Posts: 431
Joined: Sun 25 Jan 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

Post by dazza1223 » Sat 21 Jan 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
have fun and keep learning

dazza :D

Phil23
Posts: 111
Joined: Sat 16 Jul 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

Post by Phil23 » Thu 16 Feb 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'&nbsp;26"';

$longitudedms = 'E&nbsp;151&deg;&nbsp;07'&nbsp;14"';

$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: 874
Joined: Mon 09 Jul 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

Post by BCJKiwi » Thu 16 Feb 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 16 Jul 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

Post by Phil23 » Thu 16 Feb 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
ConligWX
Posts: 736
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: MeteoBridge Nano SD
Location: Bangor, NI
Contact:

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

Post by ConligWX » Thu 16 Feb 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 Plus - Meteobrige Nano SD + Saratoga/PWS Templates

User avatar
PaulMy
Posts: 1732
Joined: Sun 28 Sep 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

Post by PaulMy » Fri 17 Feb 2017 3:00 am

Looks good now Phil,

Enjoy,
Paul

Phil23
Posts: 111
Joined: Sat 16 Jul 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

Post by Phil23 » Fri 17 Feb 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: 874
Joined: Mon 09 Jul 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

Post by BCJKiwi » Fri 17 Feb 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
ConligWX
Posts: 736
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: MeteoBridge Nano SD
Location: Bangor, NI
Contact:

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

Post by ConligWX » Fri 17 Feb 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 Plus - Meteobrige Nano SD + Saratoga/PWS Templates

BCJKiwi
Posts: 874
Joined: Mon 09 Jul 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

Post by BCJKiwi » Fri 17 Feb 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.

User avatar
dazza1223
Posts: 431
Joined: Sun 25 Jan 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

Post by dazza1223 » Fri 17 Feb 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
have fun and keep learning

dazza :D

Post Reply