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

0 Members and 1 Guest are viewing this topic.

Offline mava

  • Member
  • *
  • Posts: 22
    • mavahome
Re: Alternative-Dashboard Version 6.04
« Reply #125 on: January 17, 2011, 08:15:17 AM »
Hi,
Just discovered strange reading in Current Solar Energy
Feels like: 28.5 Deg C

Not very likely when temp outside is 2 Deg C and Solar energy is 22 W  :-)

Is there a setting I have missed or somewhere in the script this can be corrected?

Scott : Moon phase translation didn't have any effect. Translated to Norwegian and still printed in English.

I'll take a look at it tonight.  Did you translate in both the dashboard and the ajaxWDwx.js spots?

Scott


Hi,
Just wanted to let you know that when I changed apparentsolartemperaturef to c the Dashboard changed from Deg F to Deg C.
Could there be something wrong with the script since it doesn't do this change automatically?

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative-Dashboard Version 6.06
« Reply #126 on: January 17, 2011, 12:44:35 PM »
Hey Scott,

Another small problem, this time in WDwx v3.03.

As supplied, under Lightning Strikes/Last Distance, the value displayed is out to 10 decimal places or so. The problem is around line 2081...

lighteningdistance = parseFloat(clientraw[118]).convertDist();
set_ajax_obs("ajaxlightningdist",lighteningdistance +' '+ uom.Dist);

Change to...

lighteningdistance = parseFloat(clientraw[118]).convertDist();
set_ajax_obs("ajaxlightningdist",lighteningdistance .toFixed(dp.Dist) +' '+ uom.Dist);

This will display the distance to 2 decimal places and prevent the dashboard from running off the right side of the page.

John
W7JKG

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.06
« Reply #127 on: January 17, 2011, 06:50:55 PM »
As supplied, under Lightning Strikes/Last Distance, the value displayed is out to 10 decimal places or so. The problem is around line 2081...

lighteningdistance = parseFloat(clientraw[118]).convertDist();
set_ajax_obs("ajaxlightningdist",lighteningdistance +' '+ uom.Dist);

Change to...

lighteningdistance = parseFloat(clientraw[118]).convertDist();
set_ajax_obs("ajaxlightningdist",lighteningdistance .toFixed(dp.Dist) +' '+ uom.Dist);

This will display the distance to 2 decimal places and prevent the dashboard from running off the right side of the page.



Dang, I had that in there.  I must be going bonkers and forgetting to save.  It's back in there.  I will update the archive.

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.04
« Reply #128 on: January 17, 2011, 07:02:19 PM »
Hi,
Just wanted to let you know that when I changed apparentsolartemperaturef to c the Dashboard changed from Deg F to Deg C.
Could there be something wrong with the script since it doesn't do this change automatically?

I just played around with it a bit here and am not able to get the same results, it remains F no matter what here.

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.06
« Reply #129 on: January 17, 2011, 08:01:35 PM »
Dang, I had that in there.  I must be going bonkers and forgetting to save.  It's back in there.  I will update the archive.

Scott
Heh - thought I was the only one around here with ARS (Age Related Syndrome)...   :roll:
John
W7JKG

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.06
« Reply #130 on: January 17, 2011, 09:24:31 PM »
Dang, I had that in there.  I must be going bonkers and forgetting to save.  It's back in there.  I will update the archive.

Scott
Heh - thought I was the only one around here with ARS (Age Related Syndrome)...   :roll:

Mine is just stupidity!  (ok, age too!)
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.06
« Reply #131 on: January 17, 2011, 09:53:46 PM »
Just updated to Version 6.06 16-Jan-2011. When I click on the click here for full forecast, it links to wxsimforecast.php, which I'm not using.
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative-Dashboard Version 6.06
« Reply #132 on: January 17, 2011, 09:55:26 PM »
Mine is just stupidity!  (ok, age too!)
Naw. Just fittin' in with the crowd...   :grin:
John
W7JKG

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative-Dashboard Version 6.06
« Reply #133 on: January 17, 2011, 09:58:29 PM »
Just updated to Version 6.06 16-Jan-2011. When I click on the click here for full forecast, it links to wxsimforecast.php, which I'm not using.
Neither am I. You can change that link around line 549 or so.
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.06
« Reply #134 on: January 17, 2011, 10:07:19 PM »
Yes I did that. Wasn't sure if that was the correct way to handle it. Thanks
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Alternative-Dashboard Version 6.06
« Reply #135 on: January 17, 2011, 10:34:15 PM »
Yes I did that. Wasn't sure if that was the correct way to handle it. Thanks
My pleasure. That'll be $.25, please...
John
W7JKG

Offline ke9lz

  • De Pere - Athelstane Weather
  • Contributor
  • ***
  • Posts: 143
    • De Pere Weather
Re: Alternative-Dashboard Version 6.06
« Reply #136 on: January 19, 2011, 11:56:46 PM »
Hi Scott,

First off I want to thank you for the great script.  I recently switched my home weather station and site to Weather Display so I could take advantage of some of the great scripts that are being passed around.  I have your Alt-Dashboard up and running and has been running fine.  The last week or so when the temp has gone below 10 deg f, I have noticed that the snow icon switches to the rain icon and occasional the record high icon would appear.  The rest of the data seems to be fine as there is no temperature spikes that I can find nor is there anything displayed.  My home web site is at http://depereweather.com if you mind taking a look at it.  This evening it is below 10 deg and it is showing the problem. Any help would be appreciated.

Thanks
Steve
Steve (KE9LZ)
Athelstane Weather
Blitzortung 1177, 1565


Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.06
« Reply #137 on: January 20, 2011, 07:43:46 AM »
Hi Scott,

First off I want to thank you for the great script.  I recently switched my home weather station and site to Weather Display so I could take advantage of some of the great scripts that are being passed around.  I have your Alt-Dashboard up and running and has been running fine.  The last week or so when the temp has gone below 10 deg f, I have noticed that the snow icon switches to the rain icon and occasional the record high icon would appear.  The rest of the data seems to be fine as there is no temperature spikes that I can find nor is there anything displayed.  My home web site is at http://depereweather.com if you mind taking a look at it.  This evening it is below 10 deg and it is showing the problem. Any help would be appreciated.

Thanks
Steve

I looked this morning and everything seems to be fine (it shows 2.5F), I'll keep checking back in tonight when it's supposed to be even colder and see if I can see anything.  If you can caputure your Testtags.php file when you see the problem that will help figure out the problem.  Thanks

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 ke9lz

  • De Pere - Athelstane Weather
  • Contributor
  • ***
  • Posts: 143
    • De Pere Weather
Re: Alternative-Dashboard Version 6.06
« Reply #138 on: January 20, 2011, 12:13:39 PM »
Hi Scott,

Thanks for taking the time to help!  I have attached a screen shot and the testtags.php file from when it was failed.


Thanks,

Steve
Steve (KE9LZ)
Athelstane Weather
Blitzortung 1177, 1565


Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.06
« Reply #139 on: January 20, 2011, 08:08:18 PM »
Thanks for taking the time to help!  I have attached a screen shot and the testtags.php file from when it was failed.

I'm looking at it now, I see it happening.  In your config file for the dashboard, what do you have $Freezing set to?

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 ke9lz

  • De Pere - Athelstane Weather
  • Contributor
  • ***
  • Posts: 143
    • De Pere Weather
Re: Alternative-Dashboard Version 6.06
« Reply #140 on: January 20, 2011, 08:18:41 PM »
Both $freezing and $showSnowTemp are set at 33.

Steve
Steve (KE9LZ)
Athelstane Weather
Blitzortung 1177, 1565


Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.06
« Reply #141 on: January 20, 2011, 09:04:20 PM »
Both $freezing and $showSnowTemp are set at 33.

Steve

Crazy, looking at the $Temperature tag, it is way less then 33 so it should be showing the right image..  It's not something I'm seeing on other sites either.  What version of PHP?

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 ke9lz

  • De Pere - Athelstane Weather
  • Contributor
  • ***
  • Posts: 143
    • De Pere Weather
Re: Alternative-Dashboard Version 6.06
« Reply #142 on: January 20, 2011, 09:21:36 PM »
Yes it is crazy.  PHP is ver 5.  Just noticed that the dash changed back to being correct after the temp went bellow 4 deg.  As the temp cooled this evening it changed to the incorrect display when it went below 10.

Steve
Steve (KE9LZ)
Athelstane Weather
Blitzortung 1177, 1565


Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.06
« Reply #143 on: January 20, 2011, 09:25:19 PM »
Yes it is crazy.  PHP is ver 5.  Just noticed that the dash changed back to being correct after the temp went bellow 4 deg.  As the temp cooled this evening it changed to the incorrect display when it went below 10.

Steve

Yup, I was watching mine all afternoon, it dropped from 6F to now -10F and the snow image has been rock solid with the same settings as you have all afternoon and evening.  I'll keep looking and see if I can see anything though.  Can you send me a copy of your ajax-dashboard6.php and config.  I'll see if there is anything screwed up there... thats about all I can think of.

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 ke9lz

  • De Pere - Athelstane Weather
  • Contributor
  • ***
  • Posts: 143
    • De Pere Weather
Re: Alternative-Dashboard Version 6.06
« Reply #144 on: January 20, 2011, 09:53:48 PM »
Thanks Scott.  I have attached my config files.  Do you also want the dashboard?

Steve
Steve (KE9LZ)
Athelstane Weather
Blitzortung 1177, 1565


Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.06
« Reply #145 on: January 21, 2011, 07:08:25 AM »
Thanks Scott.  I have attached my config files.  Do you also want the dashboard?

Steve
Yes if you can, that will help me check for an error.  Thanks

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 ke9lz

  • De Pere - Athelstane Weather
  • Contributor
  • ***
  • Posts: 143
    • De Pere Weather
Re: Alternative-Dashboard Version 6.06
« Reply #146 on: January 21, 2011, 11:33:28 AM »
Here is my dash.

Thanks,

Steve
Steve (KE9LZ)
Athelstane Weather
Blitzortung 1177, 1565


Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.06
« Reply #147 on: January 21, 2011, 07:01:22 PM »
Thanks Scott.  I have attached my config files.  Do you also want the dashboard?
Yes if you can, that will help me check for an error.  Thanks
Steve,

I've looked all through the code (compared it to the original) and there is nothing missing or different other then setting for your station.  I can't figure out why it would change that image on it's own.  Your TestTags show that the temperature is below freezing (the 33F) and that is the logic it uses to set the image.  There is no logical reason for the rain icon to show when it's below 33F.  Sorry to say but I don't know of any other place to look.  We've checked all the files, PHP version and java should have nothing to do with the freezing or temperature tag so that counts that out too.  There is nothing else involved.  Do it happen on a browser other then IE?

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 ke9lz

  • De Pere - Athelstane Weather
  • Contributor
  • ***
  • Posts: 143
    • De Pere Weather
Re: Alternative-Dashboard Version 6.06
« Reply #148 on: January 21, 2011, 09:47:17 PM »
Hi Scott,
Well, glade to know that it wasn't an easy error on my part. :lol:.  I have been through all the files and the data several times and can not find anything.I have watched it and seems that when the temp dips bellow 10 deg and then rises above 4 degs, the problem exists.  Also have noticed now today that when the temp went below 10 the record high temp icon appeared then this morning when the temp went above 4 the record low appeared.  Maybe that is a clue?  I will sit down this evening and see if I can do some more looking.  Thanks for your time!

Steve
Steve (KE9LZ)
Athelstane Weather
Blitzortung 1177, 1565


Offline ed2kayak

  • Ed
  • Forecaster
  • *****
  • Posts: 613
  • Davis Vantage Pro2 w/12 hr FARS, solar/uv
    • Cumberland Valley Weather
Re: Alternative-Dashboard Version 6.06
« Reply #149 on: January 22, 2011, 06:45:07 AM »
I have the rain icon also.  First time I've seen it.
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

 

anything