Author Topic: Show WU Average temps on Alt Dashboard  (Read 820 times)

0 Members and 1 Guest are viewing this topic.

Offline andro700

  • Chuck
  • Forecaster
  • *****
  • Posts: 420
    • Gobles Weather Page
Show WU Average temps on Alt Dashboard
« on: February 28, 2023, 03:18:04 PM »
I was just wondering how to show the average temps set up with WD using Wunderground Almanac. Here is my settings.

Code: [Select]
$useSTAhilo = true;           // Use Stations Records under the Temperature.
                               // Set to True ONLY if you have over 2 years live data.  (WILL NOT WORK OTHERWISE - USE WU below)
                               // This setting has no effect on the Station Record HIGH/LOW Icon.
$useWU     = true;             // Use Weather Underground Records for a Site Closest to You.
                               // Set to true if you have UNDER 2years of data on your station.
                               // This is based on Weather Underground Records.  (Setup WU under View, Wunderground Almanac)
                               // This no longer has any effect on the New Record HIGH/LOW icon.
$useYHL    = true;             // Yesterday's High and Low Option.  Useful if you don't have 2 years of data yet! NEW with V6.80
$useORHL   = true;             // Use Official Record HIGH/LOW Icons:
                               // Set to true if using Weather Underground Records on your site and you want Record High & Lows to Display   
$useSRHL   = false;            // Use Station Record HIGH/LOW Icons:
                               // Set to true ONLY if you have more then 4-5 years of data or else it will display almost daily!!!

Chuck

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Show WU Average temps on Alt Dashboard
« Reply #1 on: March 01, 2023, 01:47:40 PM »
You have the data is testtags.php
Code: [Select]
$WUmaxtemp = '52.0';    // Todays average max temperature from the selected Wunderground almanac station
$WUmintemp = '38.0';    // Todays average min temperature from the selected Wunderground almanac station
//
$WUmaxtempr = '62.0';    // Todays record max temperature from the selected Wunderground almanac station
$WUmintempr = '23.0';    // Todays record min temperature from the selected Wunderground almanac station
$WUmaxtempryr = '1968';    // Year that it occured
$WUmintempryr = '1971';    // year that it occured
so Weather-Display is getting the values ok.

Setting $useWU = true; should be enough to show the display, and they are showing as Rec* High, Rec* Low with values and years.

The WU average values aren't programed in the ajax-dashboard6.php for display.. sorry.
« Last Edit: March 01, 2023, 01:51:48 PM by saratogaWX »
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 andro700

  • Chuck
  • Forecaster
  • *****
  • Posts: 420
    • Gobles Weather Page
Re: Show WU Average temps on Alt Dashboard
« Reply #2 on: March 01, 2023, 01:59:44 PM »
Okay just thought I would ask.

Thanks,
Chuck

Offline blainec

  • Senior Member
  • **
  • Posts: 70
    • Weather YYC
Re: Show WU Average temps on Alt Dashboard
« Reply #3 on: March 02, 2023, 12:47:51 AM »
there are tags available for these values, but you would have to do your own programming to display them