Author Topic: Alternative-Dashboard Version 6.21  (Read 150542 times)

0 Members and 1 Guest are viewing this topic.

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.09
« Reply #350 on: March 06, 2011, 04:40:13 PM »
Scott,
Interesting current conditions description today.
"It is Sleet fall"


Yes, some conditions don't quite work well with the text version!

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 tonyva

  • Senior Member
  • **
  • Posts: 71
    • Mangawhai Heads Weather
Re: Alternative-Dashboard Version 6.09
« Reply #351 on: March 09, 2011, 03:33:33 PM »
My FWI displays low on the dashboard and when Ajax kicks in it shows moderate. I have tried changes in ajaxWDwx.js but cannot seem to get it right. http://www.keygroup.co.nz/

thanks

Tony


Davis VP2 Cabled, WDisplay, Windows XP

Offline i_fiorentino

  • Forecaster
  • *****
  • Posts: 562
  • Davis Vantage Vue, Boltek Stormtr., Mobotix M22-IT
    • Meteopistoia.it
Re: Alternative-Dashboard Version 6.09
« Reply #352 on: March 09, 2011, 06:52:32 PM »
Hi Scott,
i've installed your latest release (6.09) but i've an issue about rain box.
It doesn't show anymore and i don't know why.
Could you give me an eye please?
I've updated my 6.01 version and probably i've forgotten any php code!
I've attached the screenshot and my ajaxdashboard.php copy.
Many thanks in advance,

Alessandro
« Last Edit: March 10, 2011, 04:22:22 PM by i_fiorentino »

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.09
« Reply #353 on: March 09, 2011, 07:33:52 PM »
My FWI displays low on the dashboard and when Ajax kicks in it shows moderate. I have tried changes in ajaxWDwx.js but cannot seem to get it right. http://www.keygroup.co.nz/

thanks

Tony

What is it saying in WD, does that match what is being displayed?  When I looked at it tonight it was low and stayed low.

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 BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.09
« Reply #354 on: March 09, 2011, 07:37:43 PM »
Hi Scott,
i've installed your latest release (6.09) but i've an issue about rain box.
It doesn't show anymore and i don't know why.
Could you give me an eye please?
I've updated my 6.01 version and probably i've forgotten any php code!
I've attached the screenshot and my ajaxdashboard.php copy.

Other thing:
i've also installed your mobile dashboard but i've the preg_match errors.
I'm confusing because with the latest rel that issue should be fixed!
Here is the link: http://www.meteocarmignano.it/WWL-mobile.php

Many thanks in advance,

Alessandro

I looked at your site and it seems to be fine in version 6.01 but I'll have to look at the file you sent me more a bit later tonight.  I think there is still some issue with the wetbulb code for those that are not stripping the unit of measure.  I'll work on it some more.  It's hard to know if I fixed it because I can't get it to do it for me.  I think it's PHP version 5.2 because it seems to work better in 5.3.  I'll let you know

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 tonyva

  • Senior Member
  • **
  • Posts: 71
    • Mangawhai Heads Weather
Re: Alternative-Dashboard Version 6.09
« Reply #355 on: March 09, 2011, 09:02:08 PM »
Quote
What is it saying in WD, does that match what is being displayed?

It seems to have corrected itself.

Scott another question, I am using your ajaxWDwx.js, if i want to use ajaxWDwx-settings.js do I need to insert the code in top.php?

Thanks
Tony


Davis VP2 Cabled, WDisplay, Windows XP

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.09
« Reply #356 on: March 09, 2011, 09:35:20 PM »
Quote
What is it saying in WD, does that match what is being displayed?

It seems to have corrected itself.

Scott another question, I am using your ajaxWDwx.js, if i want to use ajaxWDwx-settings.js do I need to insert the code in top.php?

Thanks
Tony

ajaxWDwx-settings is read by ajaxWDwx.js and needs to be in the same directory as ajaxWDwx.js.  It contains the defaults for the java script so you don't have to re-enter things everytime there is a new version.

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 i_fiorentino

  • Forecaster
  • *****
  • Posts: 562
  • Davis Vantage Vue, Boltek Stormtr., Mobotix M22-IT
    • Meteopistoia.it
Re: Alternative-Dashboard Version 6.09
« Reply #357 on: March 10, 2011, 07:04:19 AM »
I looked at your site and it seems to be fine in version 6.01 but I'll have to look at the file you sent me more a bit later tonight.  I think there is still some issue with the wetbulb code for those that are not stripping the unit of measure.  I'll work on it some more.  It's hard to know if I fixed it because I can't get it to do it for me.  I think it's PHP version 5.2 because it seems to work better in 5.3.  I'll let you know

Scott


Hi Scott,
thanks for your answer.
Yes, with 6.01 version i haven't had any problem.
With the latest version i don't see anymore the rain/snow box in my dashboard.
It's very strange because i've overwritten only the new code from the new version (6.09) to my old release of ajax-dashboard (6.01).

About line 497 and 507....if i change the functions from:
Code: [Select]
<?php if ((preg_match('|in|i',$uomSnow) and strip_units($wetbulb) > 32) or (preg_match('|cm|i',$uomSnow) and strip_units($wetbulb) > 0)) { ?>
to
Code: [Select]
<?php if ($temperature $Freezing) { ?>
the ajax-dashboard works perfectly again!

I've 5.2.17 PHP version.

Thanks in advance for your support,

Alessandro
« Last Edit: March 10, 2011, 03:42:55 PM by i_fiorentino »

Offline i_fiorentino

  • Forecaster
  • *****
  • Posts: 562
  • Davis Vantage Vue, Boltek Stormtr., Mobotix M22-IT
    • Meteopistoia.it
Re: Alternative-Dashboard Version 6.09
« Reply #358 on: March 13, 2011, 01:17:02 PM »
Hi Scott!

I've seen that the date about "All Time Low Temp" on my dashboard is wrong.
It shows 12 August 2010 but it is not possible!!
The relative code is about on line 1793:
Code: [Select]
<td class="data1" style="text-align: center; font-size: 11px;">
                  <?php echo strip_units($recordlowtemp) . $uomTemp ?><br />
                  <?php
                      
if ($WDdateMDY)
                          echo 
date("M-j-Y"mktime(0,0,0,$recordlowtempmonth,$recordlowtempday,$recordlowtempyear));
                      else
                          echo 
date("j-M-Y"mktime(0,0,0,$recordlowtempday,$recordlowtempmonth,$recordlowtempyear));
                   
?>

How to fix this issue?
Thanks in advance,

Alessandro

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.09
« Reply #359 on: March 13, 2011, 01:32:31 PM »
I looked at your site and it seems to be fine in version 6.01 but I'll have to look at the file you sent me more a bit later tonight.  I think there is still some issue with the wetbulb code for those that are not stripping the unit of measure.  I'll work on it some more.  It's hard to know if I fixed it because I can't get it to do it for me.  I think it's PHP version 5.2 because it seems to work better in 5.3.  I'll let you know

Scott


Hi Scott,
thanks for your answer.
Yes, with 6.01 version i haven't had any problem.
With the latest version i don't see anymore the rain/snow box in my dashboard.
It's very strange because i've overwritten only the new code from the new version (6.09) to my old release of ajax-dashboard (6.01).

About line 497 and 507....if i change the functions from:
Code: [Select]
<?php if ((preg_match('|in|i',$uomSnow) and strip_units($wetbulb) > 32) or (preg_match('|cm|i',$uomSnow) and strip_units($wetbulb) > 0)) { ?>
to
Code: [Select]
<?php if ($temperature $Freezing) { ?>
the ajax-dashboard works perfectly again!

I've 5.2.17 PHP version.

Thanks in advance for your support,

Alessandro


Try downloading the latest archive and putting in the newer version of the dashboard file, the code has been fixed to make it work now.

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 i_fiorentino

  • Forecaster
  • *****
  • Posts: 562
  • Davis Vantage Vue, Boltek Stormtr., Mobotix M22-IT
    • Meteopistoia.it
Re: Alternative-Dashboard Version 6.09
« Reply #360 on: March 13, 2011, 01:37:43 PM »
Hi Scott,
thanks for your answer.

Quote
Try downloading the latest archive and putting in the newer version of the dashboard file, the code has been fixed to make it work now.

That issue showed on the latest version af ajax-dashboard 6.09a!
So, i've just fixed that issue.
I've change the code around the line 1793 from:
Code: [Select]
<td class="data1" style="text-align: center; font-size: 11px;">
                  <?php echo strip_units($recordlowtemp) . $uomTemp ?><br />
                  <?php
                      
if ($WDdateMDY)
                          echo 
date("M-j-Y"mktime(0,0,0,$recordlowtempmonth,$recordlowtempday,$recordlowtempyear));
                      else
                          echo 
date("j-M-Y"mktime(0,0,0,$recordlowtempday,$recordlowtempmonth,$recordlowtempyear));
                   
?>

to:
Code: [Select]
<?php
                      
if ($WDdateMDY
                          echo 
fixup_date($recordlowtempmonth "/" $recordlowtempday "/" $recordlowtempyear);
                      else    
                          echo 
fixup_date($recordlowtempday "/" $recordlowtempmonth "/" $recordlowtempyear);
                   
?>

What do you think about?
Regards,

Alessandro
« Last Edit: March 13, 2011, 01:47:12 PM by i_fiorentino »

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.09
« Reply #361 on: March 13, 2011, 02:10:54 PM »
Hi Scott,
thanks for your answer.

Quote
Try downloading the latest archive and putting in the newer version of the dashboard file, the code has been fixed to make it work now.

That issue showed on the latest version af ajax-dashboard 6.09a!
So, i've just fixed that issue.
I've change the code around the line 1793 from:
Code: [Select]
<td class="data1" style="text-align: center; font-size: 11px;">
                  <?php echo strip_units($recordlowtemp) . $uomTemp ?><br />
                  <?php
                      
if ($WDdateMDY)
                          echo 
date("M-j-Y"mktime(0,0,0,$recordlowtempmonth,$recordlowtempday,$recordlowtempyear));
                      else
                          echo 
date("j-M-Y"mktime(0,0,0,$recordlowtempday,$recordlowtempmonth,$recordlowtempyear));
                   
?>

to:
Code: [Select]
<?php
                      
if ($WDdateMDY
                          echo 
fixup_date($recordlowtempmonth "/" $recordlowtempday "/" $recordlowtempyear);
                      else    
                          echo 
fixup_date($recordlowtempday "/" $recordlowtempmonth "/" $recordlowtempyear);
                   
?>

What do you think about?
Regards,

Alessandro

At about line 73 of the dashboard script, what do you have $WDdateMDY set to?  Is it true or false??

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 i_fiorentino

  • Forecaster
  • *****
  • Posts: 562
  • Davis Vantage Vue, Boltek Stormtr., Mobotix M22-IT
    • Meteopistoia.it
Re: Alternative-Dashboard Version 6.09
« Reply #362 on: March 13, 2011, 02:18:54 PM »
I've set it to true

Edit: I've just set it to false :) but without success!
The date that these function are wrong!
This function:
Code: [Select]
<?php
                      
if ($WDdateMDY)
                          echo 
date("M-j-Y"mktime(0,0,0,$recordlowtempmonth,$recordlowtempday,$recordlowtempyear));
                      else
                          echo 
date("j-M-Y"mktime(0,0,0,$recordlowtempday,$recordlowtempmonth,$recordlowtempyear));
                   
?>

shows 12 Aug 2010 but the low temp record are 20/12/2009 (20 Dec 2009) like this function shows:
Code: [Select]
<?php
                      
if ($WDdateMDY
                          echo 
fixup_date($recordlowtempmonth "/" $recordlowtempday "/" $recordlowtempyear);
                      else    
                          echo 
fixup_date($recordlowtempday "/" $recordlowtempmonth "/" $recordlowtempyear);
                   
?>

Any ideas?
Thanks,

Alessandro
« Last Edit: March 13, 2011, 02:37:01 PM by i_fiorentino »

Offline ed2kayak

  • Ed
  • Forecaster
  • *****
  • Posts: 613
  • Davis Vantage Pro2 w/12 hr FARS, solar/uv
    • Cumberland Valley Weather
Re: Alternative-Dashboard Version 6.09
« Reply #363 on: March 17, 2011, 08:07:41 AM »
I was trying the Saratoga ver 3 template, have since revert back to ver 2. In process icon for current condition ajaxconditionicon2 and ajaxwindiconwr, now don't display. I have not changed any paths., rain icon does display.
Thx
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

Offline ed2kayak

  • Ed
  • Forecaster
  • *****
  • Posts: 613
  • Davis Vantage Pro2 w/12 hr FARS, solar/uv
    • Cumberland Valley Weather
Re: Alternative-Dashboard Version 6.09
« Reply #364 on: March 17, 2011, 10:18:35 AM »
ok to answer my own question, the script is asking for jpg. My ajax-images dir., has gif, jpg, and png's. Should they all be the same, which format. I'm not exactly sure  how I changed them,.
I see the ajax-dashboard6.php has a setting to change Wind Rose graphic wr type. So if I change that to gif, they work..
« Last Edit: March 17, 2011, 10:31:22 AM by ed2kayak »
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.09
« Reply #365 on: March 17, 2011, 05:04:58 PM »
ok to answer my own question, the script is asking for jpg. My ajax-images dir., has gif, jpg, and png's. Should they all be the same, which format. I'm not exactly sure  how I changed them,.
I see the ajax-dashboard6.php has a setting to change Wind Rose graphic wr type. So if I change that to gif, they work..

Version 3 of Ken's script brings ajaxWDwx.js back to Ken's version again, that may be why a lot of things changed.  You need to over-write it with version 3.04 of ajaxWDwx.js and add back in the ajaxWDwx-settings.js if you haven't already.

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 ed2kayak

  • Ed
  • Forecaster
  • *****
  • Posts: 613
  • Davis Vantage Pro2 w/12 hr FARS, solar/uv
    • Cumberland Valley Weather
Re: Alternative-Dashboard Version 6.09
« Reply #366 on: March 17, 2011, 07:18:04 PM »
Ok Scott Thanks. I"ll have to revisit the ALt-Dashboard, spent too much time today, getting  other changes made.
I really do like the alt-dash, so I'll b back..
 
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.09
« Reply #367 on: March 17, 2011, 08:28:02 PM »
Ok Scott Thanks. I"ll have to revisit the ALt-Dashboard, spent too much time today, getting  other changes made.
I really do like the alt-dash, so I'll b back..
 

I'm working on a version for Ken's version 3 script too, just got delayed with the high/low/avg script in the mean time!

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 mava

  • Member
  • *
  • Posts: 22
    • mavahome
Re: Alternative-Dashboard Version 6.09
« Reply #368 on: March 27, 2011, 02:34:05 PM »
Hi,
I have upgraded from 6.02 to 6.09 and I have one problem.

The time-format on High Today and Low Today is wrong. It shows am/pm and should be 24 h format.

I tried to copy the fixed_time part of the script from 6.02 to 6.09 but that didn't work.

Any suggestions how to fix this ?

www.mavahome.com

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.09
« Reply #369 on: March 27, 2011, 04:26:48 PM »
I have upgraded from 6.02 to 6.09 and I have one problem.
The time-format on High Today and Low Today is wrong. It shows am/pm and should be 24 h format.
I tried to copy the fixed_time part of the script from 6.02 to 6.09 but that didn't work.
Any suggestions how to fix this ?

I looked at the code for the script and it's using the exact format that WD is supplying from the TestTags file.  I'm not sure if there is a setting in WD to stop it from using AM/PM times or not.  The only think I could do is change the command to a print command (like I did with all the dates) and then specify the time format in a setting file.  That would take a bit of work but is do-able.  Perhaps in my next version I'll try to do that.

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 mava

  • Member
  • *
  • Posts: 22
    • mavahome
Re: Alternative-Dashboard Version 6.09
« Reply #370 on: March 28, 2011, 01:02:56 AM »
I have upgraded from 6.02 to 6.09 and I have one problem.
The time-format on High Today and Low Today is wrong. It shows am/pm and should be 24 h format.
I tried to copy the fixed_time part of the script from 6.02 to 6.09 but that didn't work.
Any suggestions how to fix this ?

I looked at the code for the script and it's using the exact format that WD is supplying from the TestTags file.  I'm not sure if there is a setting in WD to stop it from using AM/PM times or not.  The only think I could do is change the command to a print command (like I did with all the dates) and then specify the time format in a setting file.  That would take a bit of work but is do-able.  Perhaps in my next version I'll try to do that.

Scott

Hi,
Thanks for the answer Scott.
6.02 was working fine, so I will change back. I also had to change the all time records date to show correct dates. So I think I have to look at my settings also.

rgs

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.09
« Reply #371 on: March 28, 2011, 07:42:10 AM »
I have upgraded from 6.02 to 6.09 and I have one problem.
The time-format on High Today and Low Today is wrong. It shows am/pm and should be 24 h format.
I tried to copy the fixed_time part of the script from 6.02 to 6.09 but that didn't work.
Any suggestions how to fix this ?

I looked at the code for the script and it's using the exact format that WD is supplying from the TestTags file.  I'm not sure if there is a setting in WD to stop it from using AM/PM times or not.  The only think I could do is change the command to a print command (like I did with all the dates) and then specify the time format in a setting file.  That would take a bit of work but is do-able.  Perhaps in my next version I'll try to do that.

Scott

Hi,
Thanks for the answer Scott.
6.02 was working fine, so I will change back. I also had to change the all time records date to show correct dates. So I think I have to look at my settings also.

rgs

Make sure your settings are right for the WD date, that is what I'm using to format dates.

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 jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative-Dashboard Version 6.09
« Reply #372 on: April 01, 2011, 12:44:35 AM »
Scott,

The case of the missing ° returns. Running 6.09 (for some time with no apparent errors). Not sure when this started, but just noticed it a few days ago. Running Ken's V3 templates with your WDwx. See attachment.

Thanks!
John
W7JKG

Offline Silversword

  • --Stan Y.
  • Forecaster
  • *****
  • Posts: 558
    • Up Country Maui Weather
Re: Alternative-Dashboard Version 6.09
« Reply #373 on: April 01, 2011, 02:55:22 AM »
Scott,

The case of the missing ° returns. Running 6.09 (for some time with no apparent errors). Not sure when this started, but just noticed it a few days ago. Running Ken's V3 templates with your WDwx. See attachment.

Thanks!
Hi John,

I kinda remember that we had double ° a while back.  There could have been a change in WD.  Try looking at that line of script and put back the original line and see what happens. Mine is set like this in the function area and it seems to be working for me:

return "$rtemp$uomTemp<br />$rdate";

See if this works for you.

--Stan Y.
   Maui, Hawaii
Stan Y. - KH6HHG - Maui, Hawaii
 --- Blitzortung ID: 993
 --- FlightRadar24 ID: F-PHOG1

WDL 6.05
MS Windows 7 Pro
Dell Optiplex GX280-Intel Pentium 4 CPU 3.00GHz, 4 GB RAM
Davis Vantage Pro 2+ Wireless
Webcam: Axis 211

Offline stewart45

  • Contributor
  • ***
  • Posts: 123
    • Newlands Weather Station
Re: Alternative-Dashboard Version 6.09
« Reply #374 on: April 01, 2011, 04:39:17 AM »
Just upgrades to version 6.09, since then the snow flake grafic  seems to be permanently displayed despite the temp being around 12c where can I check the settings for this, not that I've changed anything

 

anything