cloudy

Author Topic: Alternative Dashboard Setup Issue  (Read 873 times)

0 Members and 1 Guest are viewing this topic.

Online CNYWeather

  • Professional Trophymaker!
  • Posts: 1,431
  • Rome, New York
    • CNYWeather.com
Alternative Dashboard Setup Issue
« on: October 31, 2010, 12:56:12 PM »
Hey Scott.

I've installed version 5.03 so when 6 is all set I can get that going.
I have a couple issues though:

*Dashboard  time updates but the dashboard doesnt
*Solar summary is blank. Here is that setup"
Code: [Select]
$haveUV        = false;               // set to false if no UV sensor
$haveSolar     = true;               // set to false if no Solar sensor

http://www.cnyweather.com/indexbu.php is where I have it installed.

finally took the step to ajaxWDwx.js 9.11  Looking forward to you version 6.

Thanks!
Tony  8)
« Last Edit: October 31, 2010, 01:27:26 PM by cnyweather »
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline HometownZone

  • Scott
  • Posts: 1,240
  • Webster Weather LIVE Scripts
  • Webster, MN, USA
    • Webster Weather LIVE
Re: Alternative Dashboard Setup Issue
« Reply #1 on: October 31, 2010, 01:29:14 PM »
Hey Scott.

I've installed version 5.03 so when 6 is all set I can get that going.
I have a couple issues though:

*Dashboard updates but the update timer doesnt
*Solar summary is blank. Here is that setup"
Code: [Select]
$haveUV        = false;               // set to false if no UV sensor
$haveSolar     = true;               // set to false if no Solar sensor

http://www.cnyweather.com/indexbu.php is where I have it installed.

finally took the step to ajaxWDwx.js 9.11  Looking forward to you version 6.

Thanks!
Tony  8)

Hey Tony,

I did a quick verify on version 6 with UV or Solar set to false and everything is working correctly.  I took a quick look at your version 5 code and at the top of the ajax-dashboard.php in the settings there you have:

$haveUV   = false;        // set to false if no UV sensor
$haveSolar = true;       // set to false if no Solar sensor

I think that may be the problem.

Scott
Scott

www.WebsterWeatherLIVE.com

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp

Online CNYWeather

  • Professional Trophymaker!
  • Posts: 1,431
  • Rome, New York
    • CNYWeather.com
Re: Alternative Dashboard Setup Issue
« Reply #2 on: October 31, 2010, 01:59:51 PM »
Hey Scott.

Here's the flavor of dashboard I'm testing out  http://www.cnyweather.com/ajax-dashboardnew.php

Here's the .js file: http://cnyweather.com/ajaxWDwxnew.js

I dont have a UV sensor, but do have solar. So I think I have it set right.

The new dashboard updates fine if I use the original ajaxWDwx.js file also.



Thanks!
« Last Edit: October 31, 2010, 02:45:42 PM by cnyweather »
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline HometownZone

  • Scott
  • Posts: 1,240
  • Webster Weather LIVE Scripts
  • Webster, MN, USA
    • Webster Weather LIVE
Re: Alternative Dashboard Setup Issue
« Reply #3 on: October 31, 2010, 03:37:28 PM »
Ok, I'm a bit confused now!  In your first message you show code that says UV=false and Solar=True, in the second you say you have UV but no solar!  :?

Lets make sure in Settings.php you have the correct UV and Solar settings, then in the config for the dashboard make sure you have them both set right there too, then everything should display correctly!

Scott
Scott

www.WebsterWeatherLIVE.com

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp

Online CNYWeather

  • Professional Trophymaker!
  • Posts: 1,431
  • Rome, New York
    • CNYWeather.com
Re: Alternative Dashboard Setup Issue
« Reply #4 on: October 31, 2010, 04:04:47 PM »
Sorry.

I have Solar and no UV Scott. My bad.

here's my settings in ajaxdashboard-new.php
Code: [Select]
$haveUV        = false;               // set to false if no UV sensor
$haveSolar     = true;               // set to false if no Solar sensor

Settings.php
Code: [Select]
$SITE['UV'] = false;  // set to false if no UV sensor
$SITE['SOLAR'] = true;  // set to false if no Solar sensor

ajaxWDwxnew.js
Code: [Select]
var clientrawFile = './weather/clientraw.txt'; // location of clientraw.txt relative to this page on website
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline HometownZone

  • Scott
  • Posts: 1,240
  • Webster Weather LIVE Scripts
  • Webster, MN, USA
    • Webster Weather LIVE
Re: Alternative Dashboard Setup Issue
« Reply #5 on: October 31, 2010, 04:38:28 PM »
Can you send me your zipped ajax-dashboard.php file? 

Scott
Scott

www.WebsterWeatherLIVE.com

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp

Offline HometownZone

  • Scott
  • Posts: 1,240
  • Webster Weather LIVE Scripts
  • Webster, MN, USA
    • Webster Weather LIVE
Re: Alternative Dashboard Setup Issue
« Reply #6 on: October 31, 2010, 05:48:15 PM »
After checking out your code, I can only see one possible reason!  You don't have the tag $dayornight in your testtags! 

Check that out and I'm sure it will work fine for you!


Scott
Scott

www.WebsterWeatherLIVE.com

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp

Online CNYWeather

  • Professional Trophymaker!
  • Posts: 1,431
  • Rome, New York
    • CNYWeather.com
Re: Alternative Dashboard Setup Issue
« Reply #7 on: October 31, 2010, 09:07:23 PM »
All set now Scott, but I can't get the ajax updates to work from the new .js file.

Mine is at http://cnyweather.com/ajaxWDwxnew.js

Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline HometownZone

  • Scott
  • Posts: 1,240
  • Webster Weather LIVE Scripts
  • Webster, MN, USA
    • Webster Weather LIVE
Re: Alternative Dashboard Setup Issue
« Reply #8 on: October 31, 2010, 10:20:46 PM »
All set now Scott, but I can't get the ajax updates to work from the new .js file.

Mine is at http://cnyweather.com/ajaxWDwxnew.js



If the updates don't happen it's been my experience that another js has an error in it and that stops it from updating.  I had to go through script by script to find which one was bad and then remove it.  Not sure why that happens but it started with the new 9.00 version of the ajaxWDwx.

Scott
Scott

www.WebsterWeatherLIVE.com

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp

Online CNYWeather

  • Professional Trophymaker!
  • Posts: 1,431
  • Rome, New York
    • CNYWeather.com
Re: Alternative Dashboard Setup Issue
« Reply #9 on: November 01, 2010, 12:28:33 AM »
I'll give it a go Scott. The newest is 9.11 correct?

Got it updating now. Stuck on Metric. Give me something to do at work tomorrow  :)

THANKS AGAIN!
Tony  8)
« Last Edit: November 01, 2010, 12:45:14 AM by cnyweather »
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline HometownZone

  • Scott
  • Posts: 1,240
  • Webster Weather LIVE Scripts
  • Webster, MN, USA
    • Webster Weather LIVE
Re: Alternative Dashboard Setup Issue
« Reply #10 on: November 01, 2010, 01:28:56 AM »
I'll give it a go Scott. The newest is 9.11 correct?

Got it updating now. Stuck on Metric. Give me something to do at work tomorrow  :)

THANKS AGAIN!
Tony  8)

LOL, 9.11 becomes 3.00 when you upgrade to 6.00!  Try to figure that one out!
Scott

www.WebsterWeatherLIVE.com

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp

Online CNYWeather

  • Professional Trophymaker!
  • Posts: 1,431
  • Rome, New York
    • CNYWeather.com
Re: Alternative Dashboard Setup Issue
« Reply #11 on: November 01, 2010, 10:52:28 AM »
I think my initial issue was with they ajax of the indoor temp/humidity.

I removed that and seems ok now.
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline HometownZone

  • Scott
  • Posts: 1,240
  • Webster Weather LIVE Scripts
  • Webster, MN, USA
    • Webster Weather LIVE
Re: Alternative Dashboard Setup Issue
« Reply #12 on: November 01, 2010, 11:14:35 PM »
I think my initial issue was with they ajax of the indoor temp/humidity.

I removed that and seems ok now.

Sound good, glad it was a semi-easy fix!
Scott

www.WebsterWeatherLIVE.com

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp

 

cumulus