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
Davis 'Live' Console for Cumulus Websites Ver CU2.4.1
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.0
is the main scripts folder my website fodler right?
- ConligWX
- Posts: 1632
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.0
Yes as far as I remember, copy the following to to your websites root folder:dazza1223 wrote:is the main scripts folder my website fodler right?
\davcon\ (and all files in that folder)
davconvp2CU.php
davconvp2CU-inc.php (vp console)
davconvueCU-inc.php (vue console)
make a copy of the davconvp2CU.php and rename it davconvueCU.php, edit the file and change the $console entry to make it say "vue".
you can copy all these files and folders to where ever you like, but then when calling them from your menu bar the correct paths would have to be setup in your web code. this is all entirely upto you.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.0
ok yep that look at good where the files ment to be nut it still the same http://www.davisworthing.co.uk/vue.php
i was thinking maybe the usb drive is giveing up as it says jquery.davconsoleCU.js:52 Uncaught TypeError: Cannot read property 'slice
or am i just over thinking now lol
i was thinking maybe the usb drive is giveing up as it says jquery.davconsoleCU.js:52 Uncaught TypeError: Cannot read property 'slice
or am i just over thinking now lol
- ConligWX
- Posts: 1632
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.0
I am not seeing any errors here on that link.
where do YOU see this error?
where do YOU see this error?
You do not have the required permissions to view the files attached to this post.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.0
when i open view source chrome click on console i see the error there and the forcast is not working?
- ConligWX
- Posts: 1632
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.0
the forecast on the LCD part of the console? seems to be working when I view it, perhaps you need to clear your browser cache and cookies.dazza1223 wrote:when i open view source chrome click on console i see the error there and the forcast is not working?
view-source:http://www.davisworthing.co.uk/vue.php
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- ConligWX
- Posts: 1632
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.0
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.0
yh it all way stay the same mate
- ConligWX
- Posts: 1632
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.0
ok I have view source on your link I see no errors like you do,
here is my source view.
so it would appear your browser is no possibly capable to showing js script correctly or something is blocking it and thus showing an error.
Please - search my view source for "error" there is none.
here is my source view.
Code: Select all
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Console</title>
<meta http-equiv="refresh" content="79" />
<link rel="stylesheet" type="text/css" href="./weatherstyle.css" />
<link rel="stylesheet" type="text/css" href="./davcon/davconCU.css" />
<!--[if lte IE 8]><script type="text/javascript" src="./davcon/excanvas.min.js"></script><![endif]-->
<script type="text/javascript" src="./davcon/jquery.console.min.js"></script>
<script type="text/javascript" src="./davcon/jquery.flot.min.js"></script>
<script type="text/javascript" src="./davcon/jquery.consolegauge.js"></script>
<script type="text/javascript" src="./davcon/jscroller2-1.61.js"></script>
<script type="text/javascript" src="davcon/jquery.davconsoleCU.js"></script>
</head>
<body>
<script type="text/javascript">
var n=0;
function BackLight() {
n++;
if (n%2)
document.getElementById('vueconsole').style.backgroundImage = "url('./davcon/vue_console.png')";
else
document.getElementById('vueconsole').style.backgroundImage = "url('./davcon/vue_console_lit.png')";
}
</script>
<div class="content">
<noscript><div class="warning"><h1>ENABLE JAVASCRIPT FOR LIVE UPDATES!</h1></div></noscript>
<h1>Worthing</h1>
<h2 style="text-align: left; text-transform: none;"> Latitude N 50° 48' 46"
Longitude W 00° 22' 58" Elevation 32 ft</h2>
<p></p>
<div id="main-copy">
<div style="text-align:left; margin:0 auto; width:700px;">
<br />
<div class="vueconsole" id="vueconsole">
<!-- TIME DATE -->
<span class="vajax" id="cajaxhhmm" style="font-size: 20px; top: 102px; right: 480px;"></span>
<span class="small" id="cajaxampm" style="top: 108px; right: 464px;"></span>
<span class="vajax" id="cajaxddmo" style="font-size: 20px; top: 102px; right: 415px;"></span>
<!-- MOON ICON -->
<span class="vajax" id="cajaxmoon" style="top: 142px; left: 195px;"></span>
<!-- FORECAST ICON -->
<span class="vajax" id="cajaxicon" style="top: 168px; left: 195px;"></span>
<!-- WIND -->
<span class="vajax" id="wdir" style="height:90px; width:90px; top: 132px; left: 90px;"></span>
<span class="small" id="cajaxwindu" style="top:150px; left: 130px;"></span>
<span class="vajax" id="cajaxwind" style="top: 160px; right: 444px;"></span>
<span class="small" id="cajaxwinddu" style="top:164px; left: 158px;"></span>
<!-- TEMP INSIDE -->
<span class="vajax" id="cajaxitemp" style="top: 98px; right: 322px;"></span>
<span class="smallb" style="top:102px; left: 280px;">°C</span>
<span class="small" style="top: 126px; left: 248px;">INSIDE</span>
<!-- TEMP OUTSIDE -->
<span class="vajax" id="cajaxtemp" style="top: 98px; right: 238px;"></span>
<span class="smallb" style="top:102px; left: 365px;">°C</span>
<span class="small" style= "top: 126px; left: 324px;">OUTSIDE</span>
<!-- HUMIDITY OUTSIDE -->
<span class="vajax" id="cajaxhumidity" style="top: 135px; right: 233px;"></span>
<!-- HUMIDITY INSIDE -->
<span class="vajax" id="cajaxihumidity" style="top: 135px; right: 321px;"></span>
<!-- BAROMETER -->
<span class="vajax" id="cajaxbaroarrow" style="height:30px; width:30px; top:159px; left:355px; z-index:100;"></span>
<span class="vajax" id="cajaxbaro" style="top: 163px; right: 245px;"></span>
<span class="small" style="top:178px; left: 360px;">hPa</span>
<!-- APPARENT TEMP -->
<span class="small" id="app" style="top:197px; right:355px;">Apparent</span>
<span class="vajax" id="cajaxapp" style="top: 206px; right: 355px;"></span>
<span class="smallb" style="top:210px; left: 248px;">°C</span>
<!-- IS RAINING or SNOW ICON -->
<span class="vajax" id="cajaxumbr" style="top:212px; right:316px;"></span>
<!-- DAILY RAIN -->
<span class="small" id="rrd" style="top:197px; right:247px;">RAIN DAY</span>
<span class="vajax" id="cajaxrain" style="top:206px; right:247px;"></span>
<span class="small" id="rrt" style="top:210px; left:355px;">mm</span>
<!-- RAIN RATE -->
<span class="small" id="rrh" style="top: 237px; right: 247px;">RAIN RATE</span>
<span class="vajax" id="cajaxrainratehr" style="top: 246px; right: 247px;"></span>
<span class="small" id="rrth" style="top: 254px; left: 355px;">mm/h</span>
<!-- FORECAST TEXT -->
<div id="vue_scroller_container">
<div class="jscroller2_left jscroller2_speed-50 jscroller2_mousemove jscroller2_ignoreleave">
Settled fine </div>
<div class="jscroller2_left_endless jscroller2">Settled fine </div>
</div>
<!-- STATION NUMBERS -->
<span class="small" style="position:absolute; top:300px; left:270px;">STATION NO.1 </span>
<!-- ANTENNA ICON -->
<span class="vajax" id="cajaxanten" style="top:215px; left:167px;"></span>
<!-- GRAPH LABEL -->
<span class="small" id="grlab" style="position:absolute; top:230px; left:80px;">TEMP</span>
<span class="small" id="grmax" style="position:absolute; top:241px; left:231px;">6.7</span>
<span class="small" id="grmin" style="position:absolute; top:300px; left:231px;">0.2</span>
<!-- GRAPH WINDOW -->
<div id="placeholder" style="height:62px; width:148px; position:absolute; top:246px; left:79px;"></div>
<!-- BUTTONS Console-->
<div id="lampsbtn" onclick="BackLight()" style="cursor:pointer; height:27px; width:43px; position:absolute; top:410px; left:90px"></div>
<div id="tempbtn" style="cursor:pointer; height:27px; width:43px; position:absolute; top:410px; left:140px;"></div>
<div id="humbtn" style="cursor:pointer; height:27px; width:43px; position:absolute; top:410px; left:190px;"></div>
<div id="windbtn" style="cursor:pointer; height:27px; width:43px; position:absolute; top:410px; left:240px;"></div>
<div id="rainbtn" style="cursor:pointer; height:27px; width:43px; position:absolute; top:410px; left:290px;"></div>
<div id="barbtn" style="cursor:pointer; height:27px; width:43px; position:absolute; top:410px; left:340px;"></div>
<!-- <div id="secndbtn" style="cursor:pointer; height:27px; width:43px; position:absolute; top:448px; left:90px;" ></div> -->
<div id="WxCenbtn" onclick="top.location.href=WxCenbtn" style="cursor:pointer; height:27px; width:43px; position:absolute; top:448px; left:140px"></div>
<div id="graphbtn" onclick="top.location.href=graphbtn" style="cursor:pointer; height:27px; width:43px; position:absolute; top:448px; left:190px"></div>
<div id="hilowbtn" onclick="top.location.href=hilowbtn" style="cursor:pointer; height:27px; width:43px; position:absolute; top:448px; left:240px"></div>
<div id="timebtn" onclick="top.location.href=timebtn" style="cursor:pointer; height:27px; width:43px; position:absolute; top:448px; left:290px"></div>
<div id="donebtn" onclick="top.location.href=donebtn" style="cursor:pointer; height:27px; width:43px; position:absolute; top:448px; left:340px"></div>
</div> <!-- END id="content" -->
<!-- preload main image -->
<div id="preload" style="display:none"><img src="./davcon/vue_console.png" alt=""></div>
<!-- showupdate and show age -->
<div class="content">
<div class="buttonTable">
<div class="rowCenter">
<div class="cellLeft50"> Next Graph & Forecast update @ ~ 16:05 </div>
<div class="cellLeft50"> Next "Realtime" update in ~ <b><span id="ajaxcounterdcdn"></span></b> secs </div>
</div>
</div>
<!-- message - button options -->
<div class="buttonTable">
<div class="rowCenter">
<div class="cellLeft50"> <b>Click Buttons on Console or Table</b> </div>
</div>
</div>
<!-- Button backlight -->
<div class="buttonTable">
<div class="rowCenter">
<div class="cellLeft10"> <input type="button" class="btnwhi" onclick="BackLight()" style="cursor:pointer" value="LIGHT" /> </div>
<div class="cellLeft40"> Turn Backlight on/off </div>
</div>
<!-- Button TEMP -->
<div class="rowCenter">
<div class="cellLeft10"><input type="button" class="btnbrn" style="cursor:pointer" value="TEMP" id="tempbtnt" /></div>
<div class="cellLeft40">24hr Outside Temperature Graph</div>
<!-- Button WxCen -->
<div class="cellLeft10"> <div data-tip="NewTab"><input type="button" class="btnbrn" value="WxCen" style="cursor:pointer" onclick="window.open('./gauges.htm')" /></div></div>
<div class="cellLeft40">Gauges</div>
</div>
<!-- Button HUM -->
<div class="rowCenter">
<div class="cellLeft10"><input type="button" class="btnbrn" style="cursor:pointer" value="HUM" id="humbtnt"/></div>
<div class="cellLeft40">24hr Outside Humidity Graph</div>
<!-- Button GRAPH -->
<div class="cellLeft10"> <div data-tip="NewTab"><input type="button" class="btnbrn" value="GRAPH" style="cursor:pointer" onclick="window.open('./today.htm')" /></div></div>
<div class="cellLeft40">Today's Data</div>
</div>
<!-- Button WIND -->
<div class="rowCenter">
<div class="cellLeft10"><input type="button" class="btnbrn" style="cursor:pointer" value="WIND" id="windbtnt"/></div>
<div class="cellLeft40">24hr Windspeed Graph</div>
<!-- Button HI/LOW -->
<div class="cellLeft10"> <div data-tip="NewTab"><input type="button" class="btnbrn" value="HI/LOW" style="cursor:pointer" onclick="window.open('./yesterday.htm')" /></div></div>
<div class="cellLeft40">Yesterday's Data</div>
</div>
<!-- Button RAIN -->
<div class="rowCenter">
<div class="cellLeft10"><input type="button" class="btnbrn" style="cursor:pointer" value="RAIN" id="rainbtnt"/></div>
<div class="cellLeft40">24hr Rain Graph</div>
<!-- Button TIME -->
<div class="cellLeft10"> <div data-tip="NewTab"><input type="button" class="btnbrn" value="TIME" style="cursor:pointer" onclick="window.open('./thismonth.htm')" /></div></div>
<div class="cellLeft40">This Month's Highs and Lows</div>
</div>
<!-- Button BAR -->
<div class="rowCenter">
<div class="cellLeft10"><input type="button" class="btnbrn" style="cursor:pointer" value="BAR" id="barbtnt"/></div>
<div class="cellLeft40">24hr Barometer Graph</div>
<!-- Button DONE -->
<div class="cellLeft10"> <div data-tip="NewTab"><input type="button" class="btnbrn" value="DONE" style="cursor:pointer" onclick="window.open('./thisyear.htm')" /></div></div>
<div class="cellLeft40">This Year's Highs and Lows</div>
</div>
</div><!-- END class="buttonTable" -->
</div><!-- END class="content" -->
</div></div></div>
<script type="text/javascript">
var wxsoftware = 'CU';
var dataurl = './realtime.txt'
var realint = '2000'
var imgdir = './davcon/'
var console = 'VUE'
var showsolar = 'N'
var itimeout = '3'
var windrotate = '2'
var dewrotate = '4'
var vpstormrain = '0'
var dayrnrotate = '1'
var timeformat = '1'
var dateformat = '1'
var fcastbtn = './gauges.htm'
var WxCenbtn = './gauges.htm'
var graphbtn = './today.htm'
var hilowbtn = './yesterday.htm'
var alarmbtn = './thismonth.htm'
var timebtn = './thismonth.htm'
var donebtn = './thisyear.htm'
var fcsticon = 'grid.png'
var moonic = 'nmoonlqtr.png'
var sensorlost = '0'
</script>
<script type="text/javascript" src="./davcon/showage.js"></script>
<script type="text/javascript">
// GRAPHS
<!--
var d1 = [[1484841842,4.1],[1488441842,3.6],[1492041842,2.0],[1495641842,2.1],[1499241842,1.6],[1502841842,1.2],[1506441842,1.3],[1510041842,1.4],[1513641842,1.4],[1517241842,1.0],[1520841842,0.7],[1524441842,0.7],[1528041842,0.6],[1531641842,0.5],[1535241842,0.4],[1538841842,0.2],[1542441842,1.1],[1546041842,1.3],[1549641842,2.3],[1553241842,3.6],[1556841842,3.8],[1560441842,4.7],[1564041842,5.9],[1567641842,6.7],[1571241842,6.5],[1574841842,5.9]];
var d2 = [[1484841842,69],[1488441842,72],[1492041842,77],[1495641842,77],[1499241842,79],[1502841842,82],[1506441842,83],[1510041842,84],[1513641842,84],[1517241842,84],[1520841842,87],[1524441842,88],[1528041842,89],[1531641842,90],[1535241842,90],[1538841842,90],[1542441842,88],[1546041842,87],[1549641842,83],[1553241842,79],[1556841842,80],[1560441842,77],[1564041842,67],[1567641842,59],[1571241842,61],[1574841842,64]];
var d3 = [[1484841842,3.0],[1488441842,2.0],[1492041842,1.0],[1495641842,2.0],[1499241842,2.0],[1502841842,3.0],[1506441842,3.0],[1510041842,4.0],[1513641842,2.0],[1517241842,0.0],[1520841842,1.0],[1524441842,1.0],[1528041842,2.0],[1531641842,3.0],[1535241842,5.0],[1538841842,3.0],[1542441842,5.0],[1546041842,4.0],[1549641842,5.0],[1553241842,4.0],[1556841842,5.0],[1560441842,6.0],[1564041842,4.0],[1567641842,4.0],[1571241842,5.0],[1574841842,2.0]];
var d4 = [[1484841842,0.0],[1488441842,0.0],[1492041842,0.0],[1495641842,0.0],[1499241842,0.0],[1502841842,0.0],[1506441842,0.0],[1510041842,0.0],[1513641842,0.0],[1517241842,0.0],[1520841842,0.0],[1524441842,0.0],[1528041842,0.0],[1531641842,0.0],[1535241842,0.0],[1538841842,0.0],[1542441842,0.0],[1546041842,0.0],[1549641842,0.0],[1553241842,0.0],[1556841842,0.0],[1560441842,0.0],[1564041842,0.0],[1567641842,0.0],[1571241842,0.0],[1574841842,0.0]];
var d5 = [[1484841842,1037.56],[1488441842,1037.39],[1492041842,1037.15],[1495641842,1037.05],[1499241842,1037.28],[1502841842,1037.25],[1506441842,1036.88],[1510041842,1036.78],[1513641842,1036.84],[1517241842,1036.88],[1520841842,1037.05],[1524441842,1036.74],[1528041842,1036.68],[1531641842,1036.40],[1535241842,1036.00],[1538841842,1035.79],[1542441842,1035.69],[1546041842,1036.10],[1549641842,1036.34],[1553241842,1036.44],[1556841842,1036.37],[1560441842,1035.73],[1564041842,1035.32],[1567641842,1034.74],[1571241842,1034.47],[1574841842,1034.47]];
var d6 = [[1484841842,0],[1488441842,0],[1492041842,0],[1495641842,0],[1499241842,0],[1502841842,0],[1506441842,0],[1510041842,0],[1513641842,0],[1517241842,0],[1520841842,0],[1524441842,0],[1528041842,0],[1531641842,0],[1535241842,0],[1538841842,0],[1542441842,0],[1546041842,0],[1549641842,0],[1553241842,0],[1556841842,0],[1560441842,0],[1564041842,0],[1567641842,0],[1571241842,0]];
var options = {
xaxis: {mode:null},
yaxis: {mode:null},
grid: {show:false},
legend:{ show:false}
};
var data = {
data: d1,
points: { show: true, fill: true,fillColor: "#053D6C",radius: 1 },
color: "#053D6C",
shadowSize: 1
};
var data2 = {
data: d2,
points: { show: true, fill: true,fillColor: "#053D6C",radius: 1 },
color: "#053D6C",
shadowSize: 1
};
var data3 = {
data: d3,
points: { show: true, fill: true,fillColor: "#053D6C",radius: 1 },
color: "#053D6C",
shadowSize: 1
};
var data4 = {
data: d4,
points: { show: true, fill: true,fillColor: "#053D6C",radius: 1 },
color: "#053D6C",
shadowSize: 1
};
var data5 = {
data: d5,
points: { show: true, fill: true,fillColor: "#053D6C",radius: 1 },
color: "#053D6C",
shadowSize: 1
};
var data6 = {
data: d6,
points: { show: true, fill: true,fillColor: "#053D6C",radius: 1 },
color: "#053D6C",
shadowSize: 1
};
<!-- console -->
var plot = $.plot($("#placeholder"), [data], options);
$("#tempbtn").click(function() { var plot = $.plot($("#placeholder"), [data], options);
$("#grlab").unbind('click').html('TEMP');
$("#grmax").unbind('click').html('6.7');
$("#grmin").unbind('click').html('0.2');
});
$("#humbtn" ).click(function() { var plot = $.plot($("#placeholder"), [data2], options);
$("#grlab").unbind('click').html('HUM');
$("#grmax").unbind('click').html('90');
$("#grmin").unbind('click').html('59');
});
$("#windbtn").click(function() { var plot = $.plot($("#placeholder"), [data3], options);
$("#grlab").unbind('click').html('WIND');
$("#grmax").unbind('click').html('6.0');
$("#grmin").unbind('click').html('0.0');
});
$("#rainbtn").click(function() { var plot = $.plot($("#placeholder"), [data4], options);
$("#grlab").unbind('click').html('RAIN');
$("#grmax").unbind('click').html('0');
$("#grmin").unbind('click').html('0');
});
$("#barbtn" ).click(function() { var plot = $.plot($("#placeholder"), [data5], options);
$("#grlab").unbind('click').html('BAR');
$("#grmax").unbind('click').html('1037.6');
$("#grmin").unbind('click').html('1034.5');
});
$("#solarbtn").click(function() { var plot = $.plot($("#placeholder"), [data6], options);
$("#grlab").unbind('click').html('SOL');
$("#grmax").unbind('click').html('0');
$("#grmin").unbind('click').html('0');
});
<!-- table -->
$("#tempbtnt").click(function() { var plot = $.plot($("#placeholder"), [data], options);
$("#grlab").unbind('click').html('TEMP');
$("#grmax").unbind('click').html('6.7');
$("#grmin").unbind('click').html('0.2');
});
$("#humbtnt" ).click(function() { var plot = $.plot($("#placeholder"), [data2], options);
$("#grlab").unbind('click').html('HUM');
$("#grmax").unbind('click').html('90');
$("#grmin").unbind('click').html('59');
});
$("#windbtnt").click(function() { var plot = $.plot($("#placeholder"), [data3], options);
$("#grlab").unbind('click').html('WIND');
$("#grmax").unbind('click').html('6.0');
$("#grmin").unbind('click').html('0.0');
});
$("#rainbtnt").click(function() { var plot = $.plot($("#placeholder"), [data4], options);
$("#grlab").unbind('click').html('RAIN');
$("#grmax").unbind('click').html('0');
$("#grmin").unbind('click').html('0');
});
$("#barbtnt" ).click(function() { var plot = $.plot($("#placeholder"), [data5], options);
$("#grlab").unbind('click').html('BAR');
$("#grmax").unbind('click').html('1037.6');
$("#grmin").unbind('click').html('1034.5');
});
$('a[rel*="external"]').click( function() {
window.open(this.href);
return false;
});
//-->
</script>
<div>
<br />
<table style="width:100%">
<tr>
<td class="td_navigation_bar">:<a href="index.htm">now</a>: :<a href="davconvp2CU.php">vp2 console</a>: :<a href="davconvueCU.php">vue console</a>: :<a href="gauges.htm">gauges</a>: :<a href="today.htm">today</a>: :<a href="yesterday.htm">yesterday</a>: :<a href="thismonth.htm">this month</a>: :<a href="thisyear.htm">this year</a>: :<a href="record.htm">records</a>: :<a href="monthlyrecord.htm">monthly records</a>: :<a href="trends.htm">trends</a>: :<a href="https://cumulus.hosiene.co.uk/">forum</a>:</td>
</tr>
</table>
<p class="credits"><br />
Page updated 19/01/2017 16:04:01<br />
Based on script by <a rel="external" href="http://www.axelvold.net">Axelvold's weather & Photo</a> and
<a rel="external" href="http://www.stenestad-vader.com/">Stenestads Vader</a><br />
Modification by <a rel="external" href="http://www.nordicweather.net/">Weatherstation Pertteli</a> and
<a rel="external" href="http://www.lokaltvader.se/">Saro/Budskars Vader</a><br />
Cumulus version developed and all Graphics revised by <a rel="external" href="http://silveracorn.nz/weather/">Silver Acorn Weather</a><span style="font-size:7px; color:gray"> v2.4.1</span><br />
powered by <a href="http://sandaysoft.com/products/cumulus" target="_blank">Cumulus</a>
v3.0.0 (3042)<br />
<a href="http://validator.w3.org/check?uri=referer"> Valid HTML5</a><br/>
Never base important decisions on this or any weather information obtained from the Internet.
</p>
</div>
</body>
</html>
Please - search my view source for "error" there is none.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- ConligWX
- Posts: 1632
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.0
as to forecast, did you read
davconCU_HowTo.txt? I suggest you read the file to understand what is required.
once the template is processed and davconfcst.php created and uploaded to your root folder you will then get it displayed as long as it is there.
line 91 davconvueCU.php and davconvp2CU.php
davconCU_HowTo.txt? I suggest you read the file to understand what is required.
failing all of this then there is something else wrong with your web server that has not even been discussed in detail as yet.8. davconfcstT.txt to generate davconfcst.php - delivers forecast strings and
other essential tags.
NOTE:- there are now 2 versions of davconfcstT.txt, one for Cumulus1 and
another for CumulusMX as the time format syntax is different. Select the
approriate file and save it in the Cumulus/web folder as davconfcstT.txt
once the template is processed and davconfcst.php created and uploaded to your root folder you will then get it displayed as long as it is there.
line 91 davconvueCU.php and davconvp2CU.php
Code: Select all
$fcst_data = './davconfcst.php'; // contains var $interval required for meta refresh
if (file_exists($fcst_data)) {include_once($fcst_data);} else {echo '<br /> ' . $fcst_data . ' not found! <br />' ; return;}
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.0
hi yh i did say that i did replace this davconfcstT.txt_MX as i stil had the old one but yh still the same as u said it might be somthink rong with the websever
-
- Posts: 1256
- 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 Cumulus Websites Ver CU2.4.0
Ok a few things to check.
Assuming that http://www.davisworthing.co.uk/ is your website:-
1. You are using a different template system so there will be issues with the presentation as the CU version of the scripts assumes the Cumulus standard weatherstyle.css You will need to install that, or ensure there are suitable settings in whatever style sheet you are using. You should use the standard setup until you have everything working before attempting to adapt it to a different template.
The ./davcon/davconCU.css will be required.
2. It appears that the C:\cumulus\web\templates are not being processed on your site as the tags format from the template file are appearing on the webpage instead of proceesed data.
I would suggest you get the basic pages working first as most appear not to be working properly.
3. The Forum topic heading indicates CU2.4.0 but I trust you have downloaded ver 2.4.1 Please confirm.
4. I have installed the distributed file set just as you would download into a different website where it has never previously been installed for testing.
I find there is actually an error in the file davconvp2CU.php on line 112 which causes the main changing values to be blank however it does not generate any error of the nature that you reported initially on the Apache webserver I use for testing which has all errors turned on:-should be
I have to assume other users have managed to work this out for themselves a no one has queried it to my knowledge.
5. The data files as standard actually have no closing CR or LF but have tested and work as expected with a CRLF pair.
Assuming that http://www.davisworthing.co.uk/ is your website:-
1. You are using a different template system so there will be issues with the presentation as the CU version of the scripts assumes the Cumulus standard weatherstyle.css You will need to install that, or ensure there are suitable settings in whatever style sheet you are using. You should use the standard setup until you have everything working before attempting to adapt it to a different template.
The ./davcon/davconCU.css will be required.
2. It appears that the C:\cumulus\web\templates are not being processed on your site as the tags format from the template file are appearing on the webpage instead of proceesed data.
I would suggest you get the basic pages working first as most appear not to be working properly.
3. The Forum topic heading indicates CU2.4.0 but I trust you have downloaded ver 2.4.1 Please confirm.
4. I have installed the distributed file set just as you would download into a different website where it has never previously been installed for testing.
I find there is actually an error in the file davconvp2CU.php on line 112 which causes the main changing values to be blank however it does not generate any error of the nature that you reported initially on the Apache webserver I use for testing which has all errors turned on:-
Code: Select all
<script type="text/javascript" src="<?php echo $sharedir ?>davcon/jquery.davconsoleCU.js"></script>
Code: Select all
<script type="text/javascript" src="./davcon/jquery.davconsoleCU.js"></script>
5. The data files as standard actually have no closing CR or LF but have tested and work as expected with a CRLF pair.
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Davis 'Live' Console for Cumulus Websites Ver CU2.4.1
Ok I what I do it close it all down and setup one working page and do u mind in I keep posting to you about this?