cloudy cloudy

Recent Posts

Pages: [1] 2 3 ... 10
1
Creating Weather Web Sites / Re: How to setup jpgraphs and wxgraphs
« Last post by broadstairs on Today at 08:26:00 AM »
I have updated my wxgraphs.zip file to contain the new version of snow.php, so any new downloads will get the updated file.

Stuart
2
Creating Weather Web Sites / Re: How to setup jpgraphs and wxgraphs
« Last post by broadstairs on Today at 07:21:11 AM »
The corrected version of the snow.php graph script is shown here simply copy and paste this into the snow.php file you have now and it should obey the font settings in the config file.

Code: [Select]
<?php
// Graphs Package V3.0 21st November 2016
if (!file_exists("graphsconf.php")) include("error_msg.php");
include (
"graphsconf.php");
if (!
file_exists($jploc."jpgraph.php")) {
  
$string "Unable to find JPGraph files";
  
create_image1($string,$jploc);
  exit;
}
include (
$jploc."jpgraph.php");
include (
$jploc."jpgraph_bar.php");

$clientrawextra get_raw ("${hostloc}clientrawextra.txt");//for this graph we only need the values from this file

// Here we create an array of the values we need depending of the month we are in (each month we shift to the left 1 place)
$x=array();
$y=array();

$y=array($clientrawextra['479'],$clientrawextra['480'],$clientrawextra['481'],$clientrawextra['697']);

$datay $y;

if (
$snow_conv != 1) {
array_walk($datay"SMtoI");
}

//With this-one we calculate the labels for the x-axis
$curmth date("n");

$x = array($txt_today,$month_array[$curmth],$txt_season,$txt_depth);

// Create the graph. These two calls are always required
$graph = new Graph($xsize,$ysize,"auto",60);
$graph->SetScale("textlin");

//Setup margin color
$graph->SetMarginColor("$margincolour");

//Here we set a dropshadow around the graph
$graph->SetShadow();

// Adjust the margin a bit to make more room for titles
$graph->img->SetMargin(30,30,30,40);

// Create a bar pot
$bplot = new BarPlot($datay);

//Setup width of bars
$bplot->SetWidth(0.7);

// Setup color for gradient fill style 
$bplot->SetFillGradient("$snow_col","#EEEEEE",GRAD_LEFT_REFLECTION);

// Use 10% "grace" to get slightly larger scale then max of
// data or the value of max will end up in the title area
// you can commend this out if you dont show the values themselves
$graph->yscale->SetGrace(10);

// Create a line plot
$bplot = new BarPlot($datay);
$graph->Add($bplot);

$bplot->SetWeight(2);
$bplot->SetColor("$snow_col");
$bplot->SetFillGradient("$snow_col","#EEEEEE",GRAD_LEFT_REFLECTION);
if  (
$bar_snow == 1) {
    
$bplot->SetValuePos($bar_pos);
    
$bplot->value->Show();
    
$bplot->value->SetAngle($bar_angle);
    
$bplot->value->HideZero();
    
$bplot->value->SetColor($barTXT_col);
    
$bplot->value->SetFormat("$snow_format");
    eval (
$bset);
//    $bplot->value->SetFont(FF_FONT0,FS_BOLD,6);
    
eval ($bsetv);
    }

// Setup the titles
eval ($tset);
$graph->title->Set("$txt_snow ($snow_unit)");
$graph->title->SetColor("$textcolour");

//x-axis
eval ($xtset);
eval (
$xset);
$graph->xaxis->SetTickLabels($x); 
$graph->xaxis->SetTextLabelInterval(1);
$graph->xaxis->SetPos("min");
//$graph->xaxis->SetFont(FF_FONT0,FS_BOLD,8); 
$graph->xgrid->Show(true);
$graph->xaxis->SetColor("$xtextcolour"); 
$graph->xaxis->SetTickLabels($x);

//y-axis
eval ($yset);
//$graph->title->SetFont(FF_FONT0,FS_BOLD,10);
//$graph->yaxis->SetFont(FF_FONT0,FS_BOLD,8);
$graph->yaxis->SetColor("$ytextcolour");
$graph->yaxis->HideTicks(true,true); 

// Display the graph
$graph->Stroke();
?>


Stuart
3
Hi,
I have just purchased a Wansview 1080p Pro HD W2 ip camera, great camera and IP66 waterproof just need to to set it up now with WD or ftp to webpage. I got it from Amazon
4
I should be able to fix the info in the task bar so it was like it was in build 81 hopefully
for the other issue, I will need your settings files and your data file
last31daysdata.inf
(zip and email to me)
5
I'm not sure if these are bugs or if I'm doing something wrong.  However, I checked all the settings and I'm pretty certain these are bugs.  I just updated to the current version of Weather Display (10.37S57) using Windows 10 and the Davis VP2-Pro.  Prior to the update (using a 2010 version), everything was working good. 

1)  The tab on my system tray will not show the current wind gust and temp.  It previously worked with the 2010 version using Windows 10.  Since the update, the tab on the system tray is is showing "Weather Display - Version".    (see screenshot)

I went into Control Panel > Unit & Other Settings > System Tray Icons and the proper checkboxes are all checked to update the icon and the title bar.

I also went into Setup > Advanced > Program.  All the way at the bottom, the Windows 10 title bar option is checked.  I also rebooted my computer, but it didn't help.

2)  The bottom graph showing the rainfall / humidity / temp / heat index is not auto-scaling for the heat index.  The heat index line goes off the top of the chart and disappears.  The graph is auto-scaling for all other data, just not the heat index.

3)  The heat index on the data part of the screen (the left side) does not match the heat index in the graph.  The heat index on the graph is correct and matches my VP2 console.  However, the heat index in the data screen shows the actual current temp.  Also, on the graph, there is one line for the heat index, but it shows twice in the small text above the graph.  Both of those values are different. The bottom value is correct; the top is not  (see screenshot).
6
WD Questions / Re: Weather Underground Station Showing No Data
« Last post by Nimbus7 on September 20, 2017, 10:00:52 PM »
Yep getting same messages PWS not reporting.  Also my account does not show my station in the list on their site.
7
Creating Weather Web Sites / Re: How to setup jpgraphs and wxgraphs
« Last post by broadstairs on September 20, 2017, 08:22:13 PM »
This was an error on my part. I will take a close look at the snow.php file and provide a modified version in a day or so. It's easy to forget when changing so many files.

Stuart
8
you can set WU to pull your web cam image from a URL
9
WD Questions / Re: Showing older hourly webcam images
« Last post by dan43 on September 20, 2017, 06:54:43 PM »
Easy with .php, my site had a similar script to Martyn but running hourly.

I wonder if I could get a copy of your .php script, please?  This sounds very intriguing!
10
WD Questions / Re: Showing older hourly webcam images
« Last post by niko on September 20, 2017, 06:49:24 PM »
Easy with .php, my site had a similar script to Martyn but running hourly.
Pages: [1] 2 3 ... 10
cumulus