ssGauges comes up with Wind Chill

Post Reply
User avatar
BobW55
Forecaster
Forecaster
Posts: 115
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

ssGauges comes up with Wind Chill

Post by BobW55 » Sat Nov 25, 2017 8:30 pm

Every now and then, the SSGauges blocks displays "WINDCHILL"
windchill.PNG
windchill.PNG (37.2 KiB) Viewed 18610 times
There is no option to select windchill and no data is ever displayed.
Selecting Apparent or Dew Point functions ok.
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: ssGauges comes up with Wind Chill

Post by Jachym » Sat Nov 25, 2017 9:57 pm

Did you make any modifications to the block? Because from what I can see in the code I cant get my head around where it would come from, look:

<div class="gauge" id="tip_1">
<canvas id="canvas_dew" class="gaugeSizeStd"></canvas>
<span class="mticon-dewpoint tooltip feelLikeGaugeSelector" id="ssGaugesSetD" title="<?php echo lang('dew point','c')?>"></span>
<span class="mticon-apparent tooltip feelLikeGaugeSelector" id="ssGaugesSetA" title="<?php echo lang('apparent temperature','c')?>"></span>
<div style="display:none">
<input id="rad_dew1" type="radio" name="rad_dew" value="dew" onclick="gauges.doDew(this);">
<label id="lab_dew1" for="rad_dew1"><?php echo lang('dewpoint','c')?></label>
<input id="rad_dew2" type="radio" name="rad_dew" value="app" checked onclick="gauges.doDew(this);">
<label id="lab_dew2" for="rad_dew2"><?php echo lang('apparent temperature','c')?></label>
</div>
</div>

User avatar
BobW55
Forecaster
Forecaster
Posts: 115
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

Re: ssGauges comes up with Wind Chill

Post by BobW55 » Sat Nov 25, 2017 11:30 pm

I have not touched the code other than what is in the block configuration offered in the control panel.
unless there is an artifact from Mark's original code somewhere.
Will have a look at what is actually loaded up on the server.
Will also see what loads next time it shows up. Does not always show.
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

User avatar
BobW55
Forecaster
Forecaster
Posts: 115
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

Re: ssGauges comes up with Wind Chill

Post by BobW55 » Sat Nov 25, 2017 11:39 pm

<title>Gauges</title>
<script type="text/javascript" src="http://www.melvinweather.com/template/s ... "></script>
<script type="text/javascript" src="http://www.melvinweather.com/template/s ... "></script>
<link rel="stylesheet" href="css/gauges-ss.css"> <-- Should this not point to a directory?
<link rel="stylesheet" href="http://www.melvinweather.com/template/css/main.php?v=" media="all" title="screen">
<link rel="stylesheet" type="text/css" href="http://www.melvinweather.com/template/c ... ipster.css" media="all" title="screen">
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/vader/jquery-ui.css">
<link rel="stylesheet" href="http://www.melvinweather.com/template/c ... styles.css">
<link rel="stylesheet" href="http://www.melvinweather.com/template/c ... me.min.css">
<style>


The entire frame:
<!DOCTYPE html>
<html>
<head>
<title>Gauges</title>
<script type="text/javascript" src="http://www.melvinweather.com/template/s ... "></script>
<script type="text/javascript" src="http://www.melvinweather.com/template/s ... "></script>
<link rel="stylesheet" href="css/gauges-ss.css">
<link rel="stylesheet" href="http://www.melvinweather.com/template/css/main.php?v=" media="all" title="screen">
<link rel="stylesheet" type="text/css" href="http://www.melvinweather.com/template/c ... ipster.css" media="all" title="screen">
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/vader/jquery-ui.css">
<link rel="stylesheet" href="http://www.melvinweather.com/template/c ... styles.css">
<link rel="stylesheet" href="http://www.melvinweather.com/template/c ... me.min.css">
<style>
.ddimgtooltip{
z-index: 2000;
border-radius: 3px;
display: none;
position: absolute;
border: 1px solid #B39DDB!important;
background: #311B92!important;
color: white!important;
padding: 0 7px 3px 7px;
}
.tipinfo{
text-align: left;
padding: 3px 0 3px 2px;
}
.tipimg{
width: 438px;
height: 175px;
}
.termWindow{
font-size: 1.3em;
cursor: pointer;
opacity: 0.7;
}
.termWindow:hover{
opacity: 1.0;
}
.ui-dialog .ui-dialog-content{
padding: 0px;
}
.gaugeSizeStd{
width: 205px;
height: 205px;
}
.timeValue{
font-size:0.8em;
}
.actualValue{
font-weight: bold;
font-size: 1.2em;
}
.feelLikeGaugeSelector{
font-size: 1.5em;
cursor: pointer;
opacity: 0.7;
}
.feelLikeGaugeSelector:hover{
opacity: 1;
}
</style>
</head>
<body style='background:none;overflow:hidden;color:white'>
<div style="width:98%;margin:0 auto;font-weight:bold;font-size:1.3em;font-variant:small-caps;text-align:center;position:absolute;top:10px" id="loadingDiv">
Loading...
</div>
<div style="width:100%;margin;text-align:center">
<div id="gaugeSSTime" style="width:98%;margin:0 auto;text-align:center;font-weight:bold;font-size:1.5em"><span style="color:#311B92">0:00:00</span></div>
<div class="gauge">
<div id="tip_0">
<canvas id="canvas_temp" class="gaugeSizeStd"></canvas>
</div>
</div>
<div class="gauge">
<div id="tip_1">
<canvas id="canvas_dew" class="gaugeSizeStd"></canvas>
</div>
<span class="mticon-dewpoint tooltip feelLikeGaugeSelector" id="ssGaugesSetD" title="Dew point"></span>
<span class="mticon-apparent tooltip feelLikeGaugeSelector" id="ssGaugesSetA" title="Apparent temperature"></span>
<div style="display:none">
<input id="rad_dew1" type="radio" name="rad_dew" value="dew" onclick="gauges.doDew(this);">
<label id="lab_dew1" for="rad_dew1">Dewpoint</label>
<input id="rad_dew2" type="radio" name="rad_dew" value="app" checked onclick="gauges.doDew(this);">
<label id="lab_dew2" for="rad_dew2">Apparent temperature</label>
</div>
</div>
<div class="gauge">
<div id="tip_4">
<canvas id="canvas_hum" class="gaugeSizeStd"></canvas>
</div>
</div>
<div class="gauge">
<div id="tip_5">
<canvas id="canvas_baro" class="gaugeSizeStd"></canvas>
</div>
</div>
<div class="gauge">
<div id="tip_6">
<canvas id="canvas_wind" class="gaugeSizeStd"></canvas>
</div>
</div>

<div id="tip_7" class="gauge">
<canvas id="canvas_dir" class="gaugeSizeStd"></canvas>
</div>
<div class="gauge">
<div id="tip_2">
<canvas id="canvas_rain" class="gaugeSizeStd"></canvas>
</div>
</div>
<div class="gauge">
<div id="tip_3" class="gauge">
<canvas id="canvas_rrate" class="gaugeSizeStd"></canvas>
</div>
</div>
<div class="gauge">
<div id="tip_9">
<canvas id="canvas_solar" class="gaugeSizeStd"></canvas>
</div>
</div>
<div class="gauge">
<div id="tip_8" class="gauge">
<canvas id="canvas_uv" class="gaugeSizeStd"></canvas>
</div>
</div>
<div id="tip_10" class="gauge">
<canvas id="canvas_rose" class="gaugeSizeStd"></canvas>
</div>
<div id="tip_11" class="gauge">
<canvas id="canvas_cloud" class="gaugeSizeStd"></canvas>
</div>
</div>
<script src="scripts/steelseries_tween.php"></script>
<script src="scripts/language.php"></script>
<script src="scripts/gauges.php"></script>

<script src="scripts/RGraph.common.core.min.js"></script>
<script src="scripts/RGraph.rose.min.js"></script>
<script>
$(document).ready(function(){
$("#ssGaugesSetD").click(function(){
$("#rad_dew1").click();
});
$("#ssGaugesSetA").click(function(){
$("#rad_dew2").click();
});
})
</script>
</body>
</html>
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: ssGauges comes up with Wind Chill

Post by Jachym » Sun Nov 26, 2017 11:43 am

No matter what I cannot replicate the issue, did anyone else encounter it?

User avatar
Johnny
Developer
Developer
Posts: 313
Joined: Sat Aug 19, 2017 10:16 pm
Location: Watford, Hertfordshire, England
Station model: Davis Vantage Pro2 Plus
Software: Meteobridge
Contact:

Re: ssGauges comes up with Wind Chill

Post by Johnny » Sun Nov 26, 2017 5:30 pm

Wind chill is not appearing on my gauges: http://www.watfordweather.uk/plugins/st ... /index.php
Image
Davis Vantage Pro2 Plus: http://www.watfordweather.uk

User avatar
BobW55
Forecaster
Forecaster
Posts: 115
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

Re: ssGauges comes up with Wind Chill

Post by BobW55 » Tue Nov 28, 2017 2:41 pm

Will delete the Block and the plug in from my site and reinstall later this week.

Johnny,
Could you go to my site: www.melvinweather.com and see if it comes up with Wind Chill on your browser.

Only thing I can think of is an artifact left over when I changed from "Weather For You" templates to Meteotemplate, although everything was deleted from my WEB Server before I installed Meteo.
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

User avatar
Johnny
Developer
Developer
Posts: 313
Joined: Sat Aug 19, 2017 10:16 pm
Location: Watford, Hertfordshire, England
Station model: Davis Vantage Pro2 Plus
Software: Meteobridge
Contact:

Re: ssGauges comes up with Wind Chill

Post by Johnny » Wed Nov 29, 2017 10:17 am

Hi Bob,

Just been to your site and there is no gauge with Wind Chill on display, see image below. Not that I'm Mr. Technical on this stuff, but is it worth clearing your web browser cache? I'm using Chrome by the way.

Melvin-Weather.jpg
Melvin-Weather.jpg (39.3 KiB) Viewed 18504 times
Image
Davis Vantage Pro2 Plus: http://www.watfordweather.uk

User avatar
Johnny
Developer
Developer
Posts: 313
Joined: Sat Aug 19, 2017 10:16 pm
Location: Watford, Hertfordshire, England
Station model: Davis Vantage Pro2 Plus
Software: Meteobridge
Contact:

Re: ssGauges comes up with Wind Chill

Post by Johnny » Wed Nov 29, 2017 11:27 am

I've noticed your second dial in from the left says 'Feels Like' where as mine says 'Apparent Temperature' I've looked at the settings for this plugin and there is no option to change the wording - so not sure how you managed that. I prefer your wording 'Feels Like' I think it's more descriptive than 'Apparent'.

Apparent-and-Feels-Like.jpg
Apparent-and-Feels-Like.jpg (17.54 KiB) Viewed 18500 times
Image
Davis Vantage Pro2 Plus: http://www.watfordweather.uk

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: ssGauges comes up with Wind Chill

Post by Jachym » Wed Nov 29, 2017 11:58 am

:D yes.... one of the very few cases where GB and US language files are different :D

User avatar
Johnny
Developer
Developer
Posts: 313
Joined: Sat Aug 19, 2017 10:16 pm
Location: Watford, Hertfordshire, England
Station model: Davis Vantage Pro2 Plus
Software: Meteobridge
Contact:

Re: ssGauges comes up with Wind Chill

Post by Johnny » Wed Nov 29, 2017 12:53 pm

That's Not Fair.jpg
That's Not Fair.jpg (76.52 KiB) Viewed 18495 times
Image
Davis Vantage Pro2 Plus: http://www.watfordweather.uk

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: ssGauges comes up with Wind Chill

Post by Jachym » Wed Nov 29, 2017 12:56 pm

You have, if you like "feels like" more, switch to US English :D

andyk1
Professional
Professional
Posts: 433
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: ssGauges comes up with Wind Chill

Post by andyk1 » Fri Mar 02, 2018 11:17 pm

BobW55 wrote: Sat Nov 25, 2017 11:30 pm I have not touched the code other than what is in the block configuration offered in the control panel.
unless there is an artifact from Mark's original code somewhere.
Will have a look at what is actually loaded up on the server.
Will also see what loads next time it shows up. Does not always show.
For what it's worth I am responding it looks like 3 months late but if it matters to you, your gauge is reading as "Apparent" when I checked your site for the first time.

Andy
Image

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: ssGauges comes up with Wind Chill

Post by Dehatter » Sun Mar 04, 2018 4:39 am

there is verbiage to set up a Wind Chill radio button on line 839 of gauges.php but I do not have that option in my setup. WindChill is also in langauge.php line 587.

I see on non-meteotemplate pages a radio button for windchill (along with indoor Temp and Humidity options and a few other options).
SteelGuages.jpg
SteelGuages.jpg (23.03 KiB) Viewed 17901 times
It seems we do not have those option available.

Tom
Image

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: ssGauges comes up with Wind Chill

Post by Dehatter » Thu Mar 08, 2018 7:07 am

Looks like you have it fixed and even done a step or two extra.

Nice work!

Tom
Image

User avatar
BobW55
Forecaster
Forecaster
Posts: 115
Joined: Thu Sep 28, 2017 11:43 pm
Location: Michigan USA
Station model: Davis Pro2
Software: Cumulus
Contact:

Re: ssGauges comes up with Wind Chill

Post by BobW55 » Tue May 22, 2018 12:29 am

I know this is a late reply.

I ended up going back to the original SS-Gauges, and placing them into a "IFRAME".
While I would rather stay away from Iframes, it solved 2 issues.

1) I could have the gauges update every 10 seconds as opposed to every 60 seconds.
2) I could have the multi function gauge be user selected.

I still have to move the control panel over to the middle with the Units selection. But it all works.
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: ssGauges comes up with Wind Chill

Post by Dehatter » Thu May 24, 2018 9:11 am

Bob - would you be willing to PM me how you did that?

Tom
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: ssGauges comes up with Wind Chill

Post by Jachym » Wed Jun 06, 2018 10:03 am

Yes, this is also a solution

Post Reply