Author Topic: Alternative Dashboard Version 6.53 NOW RELEASED  (Read 51130 times)

0 Members and 1 Guest are viewing this topic.

Offline Andy G

  • Forecaster
  • *****
  • Posts: 306
    • SunPrairieWeather.com
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #50 on: November 13, 2011, 04:22:34 PM »
Thanks to everyone that has downloaded and uses my scripts and dashboard modifications.  Its been fun working with it and you all.  :grin:

Scott



Thank You Scott for all your hard work. Off the top of my head I would have to say that the Alt Dashboard is my favorite part of my site. GET WELL SOON!!

Andy G
Once you can accept the universe as being something expanding into an infinite nothing which is something, wearing stripes with plaid is easy.
~Einstein


SunPrairieWeather.com
Davis VP2 24 FARS

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #51 on: November 13, 2011, 05:10:52 PM »
Posted with no problems (no soil/leaf here either). Well done, as always.

Get some rest, my friend. You deserve/need it.
John
W7JKG

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #52 on: November 13, 2011, 07:35:37 PM »
OK - I spoke too soon. The animated forecast icons are not working. Followed Ken's instructions, but the only one there is the conditions icon. Got a new set of the icons and loaded them to /forecast/images/, have $condIconType = '.gif';, and $iconDir = './forecast/images/'; and $iconType = '.gif'; in advforecast2. Also noticed that

<?php if($condIconType <> '.jpg') {
   print "<small>".langtransstr('Animated icons courtesy of')." <a href=\"http://meteotreviglio.com/\">meteotreviglio.com</a>.</small>";

does not print out. Am I missing a .gif somewhere?

Thanks.
John
W7JKG

Offline Weather Display

  • Forecaster
  • *****
  • Posts: 2611
    • West Coast Road Weather Data
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #53 on: November 13, 2011, 08:15:44 PM »
should they not be forward slashes?
Brian
info@weather-display.com
http://www.weather-display.com

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #54 on: November 13, 2011, 11:29:37 PM »
should they not be forward slashes?
Don't think so in that PHP statement. The \ are escapes for the " symbols used within the overall "PHP statement". Besides, it prints that line just fine on Scott's page.

Thanks.
John
W7JKG

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #55 on: November 14, 2011, 12:57:58 AM »
In your Settings.php, you have
Code: [Select]
$SITE['fcsticonstype'] = '.jpg'; set.  Change that to
Code: [Select]
$SITE['fcsticonstype'] = '.gif'; and the Meteotreviglio.com animated icons will be used.

Remember that the support scripts (like advforecast2.php) have customizations set in Settings.php first :)

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #56 on: November 14, 2011, 02:56:23 AM »
In your Settings.php, you have
Code: [Select]
$SITE['fcsticonstype'] = '.jpg'; set.  Change that to
Code: [Select]
$SITE['fcsticonstype'] = '.gif'; and the Meteotreviglio.com animated icons will be used.

Remember that the support scripts (like advforecast2.php) have customizations set in Settings.php first :)

Best regards,
Ken
Apparently it was past my bedtime all day - Triple-D (Drat, Dumb, Dumber).   ](*,)

Saw that in your how-to post, but obviously actually doing it fell through the cracks.   :oops:

Thank you, Ken!
John
W7JKG

Offline ed2kayak

  • Ed
  • Forecaster
  • *****
  • Posts: 613
  • Davis Vantage Pro2 w/12 hr FARS, solar/uv
    • Cumberland Valley Weather
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #57 on: November 15, 2011, 11:03:16 AM »

Addition of 1st snow of the season and Average 1st snow dates.

Scott

Cool new feature, (If you live in snow area), w/this version:
First Snow of Season:
10/29/2011
Average 1st Snow:
23 of November

My results above.

Nice job, Scott
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #58 on: November 15, 2011, 06:42:00 PM »
Glad you liked it, Brian released those tags just as I was packing up the stuff for this release so I quickly added it before I finished! 

Scott


Addition of 1st snow of the season and Average 1st snow dates.

Scott

Cool new feature, (If you live in snow area), w/this version:
First Snow of Season:
10/29/2011
Average 1st Snow:
23 of November

My results above.

Nice job, Scott
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline Weather Display

  • Forecaster
  • *****
  • Posts: 2611
    • West Coast Road Weather Data
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #59 on: November 15, 2011, 07:55:19 PM »
was not an easy thing to work...average start to snow...
I have done a fudge...have used a routine to calculate average wind direction
will mean that start days from 26th to 31st december will always be 26th December (i.e 360 days instead of 365 days)
Brian
info@weather-display.com
http://www.weather-display.com

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #60 on: November 15, 2011, 09:13:43 PM »
was not an easy thing to work...average start to snow...
I have done a fudge...have used a routine to calculate average wind direction
will mean that start days from 26th to 31st december will always be 26th December (i.e 360 days instead of 365 days)

Around here in upper Midwest (USA), there is no chance of a average snow coming that late in the year so safe for at least most of us here!  Our average first snow is usually in October!
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #61 on: November 16, 2011, 10:10:05 AM »
OK, got another problem (this one not because of my inability to read/execute instructions!).

Was missing the solar index graphic. The source at the time was...

Code: [Select]
<span class="ajax" id="ajaxsolar" style="font-size: 14px;">26</span><br/>W/m<sup>2</sup><br/>
<span class="ajax" id="ajaxsolarpct">29</span>%</td>
<td width="30%" align="center">
<span class="ajax" id="ajaxSIimg">
<img src="ajax-images/SI.gif" height="65" width="34" alt="" title="Current Solar Index" />
</span>

Note that it is looking for SI.gif, which doesn't exist. They run from SI0-SI10.

A few minutes later when the sun got a bit stronger the graphic appeared, with the following source...

Code: [Select]
<span class="ajax" id="ajaxsolar" style="font-size: 14px;">46</span><br/>W/m<sup>2</sup><br/>
<span class="ajax" id="ajaxsolarpct">44</span>%</td>
<td width="30%" align="center">
<span class="ajax" id="ajaxSIimg">
<img src="ajax-images/SI4.gif" height="65" width="34" alt="" title="Current Solar Index" />
</span>

Note the now correct SI4.gif.

Thoughts appreciated.
John
W7JKG

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #62 on: November 16, 2011, 11:04:06 AM »
Given the above code where ajaxsolarpct = 29, and the following snip from the get_SIrange function...

Code: [Select]
case (($solarpercent >= 20) and ($solarpercent < 29)):
       $si = '2';
break;
     case (($solarpercent >= 30) and ($solarpercent < 39)):
       $si = '3';

...doesn't the above code leave out an exact value of 29 (and 39, etc.)? Should they not all be <=?

Thanks.
John
W7JKG

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #63 on: November 16, 2011, 11:26:50 AM »
Made some minor mods to the get_SIrange function...

Code: [Select]
function get_SIrange ( $solarpercent ) {
   switch (TRUE) {
     case ($solarpercent == 0):
       $si = '0';
     break;
     case (($solarpercent > 0) and ($solarpercent <= 9)):
       $si = '0';
     break;
     case (($solarpercent >= 10) and ($solarpercent <= 19)):
       $si = '1';
     break;
     case (($solarpercent >= 20) and ($solarpercent <= 29)):
       $si = '2';
     break;
     case (($solarpercent >= 30) and ($solarpercent <= 39)):
       $si = '3';
     break;
     case (($solarpercent >= 40) and ($solarpercent <= 49)):
       $si = '4';
     break;
     case (($solarpercent >= 50) and ($solarpercent <= 59)):
       $si = '5';
     break;
     case (($solarpercent >= 60) and ($solarpercent <= 69)):
       $si = '6';
     break;
     case (($solarpercent >= 70) and ($solarpercent <= 79)):
       $si = '7';
     break;
     case (($solarpercent >= 80) and ($solarpercenti <= 89)):
       $si = '8';
     break;
     case (($solarpercent >= 90) and ($solarpercent <= 99)):
       $si = '9';
     break;
     case ($solarpercent >= 100):
       $si = '10';
     break;
   } // end switch
   return $si;
} // end get_Solarrange

Each case statement with a value of 'n9' is now <=, and the second statement was changed from ($solarpercent < 10) to ($solarpercent <= 9). This removes the conflict with the third statement.

Given my vast -   :roll:  - PHP expertise, how far wrong did I go?

Thanks.
John
W7JKG

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative Dashboard Version 6.50 NOW RELEASED
« Reply #64 on: November 19, 2011, 06:36:11 PM »
Fixed in 6.51 release.  (again  #-o  )

Made some minor mods to the get_SIrange function...

Code: [Select]
function get_SIrange ( $solarpercent ) {
   switch (TRUE) {
     case ($solarpercent == 0):
       $si = '0';
     break;
     case (($solarpercent > 0) and ($solarpercent <= 9)):
       $si = '0';
     break;
     case (($solarpercent >= 10) and ($solarpercent <= 19)):
       $si = '1';
     break;
     case (($solarpercent >= 20) and ($solarpercent <= 29)):
       $si = '2';
     break;
     case (($solarpercent >= 30) and ($solarpercent <= 39)):
       $si = '3';
     break;
     case (($solarpercent >= 40) and ($solarpercent <= 49)):
       $si = '4';
     break;
     case (($solarpercent >= 50) and ($solarpercent <= 59)):
       $si = '5';
     break;
     case (($solarpercent >= 60) and ($solarpercent <= 69)):
       $si = '6';
     break;
     case (($solarpercent >= 70) and ($solarpercent <= 79)):
       $si = '7';
     break;
     case (($solarpercent >= 80) and ($solarpercenti <= 89)):
       $si = '8';
     break;
     case (($solarpercent >= 90) and ($solarpercent <= 99)):
       $si = '9';
     break;
     case ($solarpercent >= 100):
       $si = '10';
     break;
   } // end switch
   return $si;
} // end get_Solarrange

Each case statement with a value of 'n9' is now <=, and the second statement was changed from ($solarpercent < 10) to ($solarpercent <= 9). This removes the conflict with the third statement.

Given my vast -   :roll:  - PHP expertise, how far wrong did I go?

Thanks.
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative Dashboard Version 6.51 NOW RELEASED
« Reply #65 on: November 19, 2011, 08:55:16 PM »
Hmmm - one-in-a-row for the AZ guy?

Your reply seems to indicate we've been through this before. I don't remember, but then I'm aging quickly...

Thanks.
John
W7JKG

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative Dashboard Version 6.51 NOW RELEASED
« Reply #66 on: November 19, 2011, 09:58:04 PM »
Hmmm - one-in-a-row for the AZ guy?
Your reply seems to indicate we've been through this before. I don't remember, but then I'm aging quickly...
Thanks.

Actually, I fixed it in one version awhile back then copied over it when I made some changes and didn't notice it till you pointed it out!  For some reason, when ever I do those types of statements I always put the wrong number in there, its a quirk I guess!  Thanks for pointing it out!  Its fixed in both the dashboard and mobile versions now... till I copy over it again!  #-o

Scott
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Alternative Dashboard Version 6.51 NOW RELEASED
« Reply #67 on: November 26, 2011, 08:06:12 PM »
Hi,

Last night it was clear and this morning the same however the clear icon is not showing. Also my solar icon is no longer showing. Can someone help me figure this out.

http://lebanontnwx.org

Thank you.

Bob
Bob
KK4QXH

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative Dashboard Version 6.51 NOW RELEASED
« Reply #68 on: November 27, 2011, 12:32:42 PM »
Last night it was clear and this morning the same however the clear icon is not showing. Also my solar icon is no longer showing. Can someone help me figure this out.
Bob
Did you change or upgrade anything? 

Scott

PS:  You're using a bit of an old version, there were several fixes after version 6.06
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Alternative Dashboard Version 6.51 NOW RELEASED
« Reply #69 on: November 27, 2011, 12:37:01 PM »
Ok, I figured out why the current condition icon was not showing, it was in the ajaxWDwx.js it had gif in icon setting. Ok now I would like to know why my solar icon does not show in the solar section. Also I marked the options for soil and leaf wetness as I have both but neither show why?

Appreciate any help I can get.

Scott I see you just replied. I upgraded to 6.51 and that is when it happened. See my situation regarding solar icon, soil, and leaf wetness etc.
Bob
KK4QXH

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Alternative Dashboard Version 6.51 NOW RELEASED
« Reply #70 on: November 27, 2011, 12:45:58 PM »
Hi Scott,

Just did the 6.51 update and that is when the situations started. I have the current condition icon resolved. Before upgrade the solar icon use to appear now it does not. Also I have soil temp, soil moisture and leaf sensors. I have those marked to display and I updated the test tags. I can send any files you need to check.

Thanks.

Bob
Bob
KK4QXH

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative Dashboard Version 6.51 NOW RELEASED
« Reply #71 on: November 27, 2011, 12:51:54 PM »
Bob,

You need to go back and look at your 6.51 upgrade from the beginning. Your site indicates you are still running 6.06.
John
W7JKG

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Alternative Dashboard Version 6.51 NOW RELEASED
« Reply #72 on: November 27, 2011, 01:30:30 PM »
Hi John,

 Thanks. I see that. I downloaded from Scotts website on wendesday. Unzipped into its own folder which was named by the unzip program as Alt-Dashboard651. I did all the config changes to match my site and weather station. Any suggestions where I should look.
I am sure it is something i set or did wrong but what?
« Last Edit: November 27, 2011, 02:48:47 PM by tnwxman »
Bob
KK4QXH

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative Dashboard Version 6.51 NOW RELEASED
« Reply #73 on: November 27, 2011, 04:45:56 PM »
Bob,

After you carefully (right?   :grin:  ) followed Scott's config instructions, where did you upload the new files to? Remember they need to go at the root of your weather site, not in a Alt-Dashboard651 directory.
John
W7JKG

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative Dashboard Version 6.51 NOW RELEASED
« Reply #74 on: November 27, 2011, 05:47:09 PM »
John is correct, I believe you have the file in the wrong path.

Scott
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

 

anything