Announcement

Collapse
No announcement yet.

Today last years high/low temp

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Today last years high/low temp

    I see unusual data for "Today last years high/low temperature" on the replacement variables section. It looks like it's not updating properly? It's showing the high/low last year was 84/61 for Jan. 22, 2016. I checked Weather Underground and it says last year's temp was 26/15.


    wxmlLYHigh_1 hs.GetVar("wxmlLYHigh_1") 84 Aug/03/2015 06:17 AM Today last years high temp
    wxmlLYLow_1 hs.GetVar("wxmlLYLow_1") 61 Aug/03/2015 06:17 AM Today last years low temp

    wxmlRHigh_1 hs.GetVar("wxmlRHigh_1") 59 01/22/2017 06:59 AM Todays record high temperature
    wxmlRHYear_1 hs.GetVar("wxmlRHYear_1") 1999 01/22/2017 06:59 AM Record high temp year

    #2
    Set the logging level to Debug.
    Manually run the Daily Schedule and check the log for any errors.

    You can also check the WUSecondary1.xml file to see if the data is there or if it is missing.
    --
    Jeff Farmer
    HS 3, HSPhone
    My HS3 Plugins: CFHSExtras, Random, Restart, Tracker, WeatherXML, PanaBluRay
    Other Plugins In Use: APCUPSD, BLOnkyo, Device History, EasyTrigger, HSTouch Server, PHLocation2, Pushover, RFXCom, UltraGCIR3, UltraMon3, UltraPioneerAVR3, X10, Z-Wave

    Hardware: GoControl Irrigation Controler, Schlage Lever Lock, Schlage Deadbolt, Way2Call Hi-Phone, RFXCom RFXrec433 Receiver, WGL 800, TI-103, Z-Net, Pioneer 1120, Pioneer 1021, Pioneer LX302, Panasonic BDT-110, Panasonic BDT-210 x2

    Comment


      #3
      Yes, WUSecondary1.xml is present in the data/weatherXML directory, and 'Date Modified' shows today's date and the current hour. I do not see any errors when I run 'daily':

      Jan-29 12:43:00 PM weatherXML Checking Hourly Location: 1
      Jan-29 12:43:00 PM weatherXML Checking Hourly Location: 0
      Jan-29 12:43:00 PM weatherXML Checking Daily Location: 1
      Jan-29 12:43:00 PM weatherXML Checking Daily Location: 0
      Jan-29 12:43:00 PM weatherXML Run at 59
      Jan-29 12:43:00 PM weatherXML Run every 1
      Jan-29 12:43:00 PM weatherXML End hour23
      Jan-29 12:43:00 PM weatherXML Start hour4
      Jan-29 12:43:00 PM weatherXML Location is set to 1
      Jan-29 12:43:00 PM weatherXML Checking Forecast Location: 1
      Jan-29 12:43:00 PM weatherXML Checking Forecast Location: 0
      Jan-29 12:43:00 PM weatherXML Run at 59
      Jan-29 12:43:00 PM weatherXML Run every 5
      Jan-29 12:43:00 PM weatherXML End hour23
      Jan-29 12:43:00 PM weatherXML Start hour0
      Jan-29 12:43:00 PM weatherXML Location is set to 1
      Jan-29 12:43:00 PM weatherXML Checking Conditions Location: 1
      Jan-29 12:43:00 PM weatherXML Checking Conditions Location: 0
      Jan-29 12:43:00 PM weatherXML Download Status: True
      Jan-29 12:43:00 PM weatherXML Has Run: True
      Jan-29 12:43:00 PM weatherXML Basic Setup: True
      Jan-29 12:43:00 PM weatherXML Check for continue
      Jan-29 12:43:00 PM weatherXML Check Reset
      Jan-29 12:43:00 PM weatherXML Set Limit Count
      Jan-29 12:43:00 PM weatherXML Check for timer items to run
      Jan-29 12:42:27 PM weatherXML Weather Underground Daily Downloads Finished
      Jan-29 12:42:27 PM weatherXML Finished importing Weather Underground astronomy.
      Jan-29 12:42:27 PM weatherXML Check for refID: 729
      Jan-29 12:42:27 PM weatherXML Check for refID: 728
      Jan-29 12:42:27 PM weatherXML Check for refID: 726
      Jan-29 12:42:27 PM weatherXML Moon Phase: Waxing Crescent
      Jan-29 12:42:27 PM weatherXML Phase: Waxing Crescent
      Jan-29 12:42:27 PM weatherXML Set Moon Information: 3
      Jan-29 12:42:27 PM weatherXML Import Moon phase information.
      Jan-29 12:42:27 PM weatherXML Finished importing Weather Underground almanac.
      Jan-29 12:42:27 PM weatherXML Number returned: 2
      Jan-29 12:42:27 PM weatherXML Number rounded: 2
      Jan-29 12:42:27 PM weatherXML Number converted for region setting: 2
      Jan-29 12:42:27 PM weatherXML Set Record Low: 2
      Jan-29 12:42:27 PM weatherXML Number returned: 2
      Jan-29 12:42:27 PM weatherXML Number rounded: 2
      Jan-29 12:42:27 PM weatherXML Number converted for region setting: 2
      Jan-29 12:42:27 PM weatherXML Todays Record Year: 2014
      Jan-29 12:42:27 PM weatherXML Todays Record Low: 2
      Jan-29 12:42:27 PM weatherXML Number returned: 20
      Jan-29 12:42:27 PM weatherXML Number rounded: 20
      Jan-29 12:42:27 PM weatherXML Number converted for region setting: 20
      Jan-29 12:42:27 PM weatherXML Set Normal Low: 20
      Jan-29 12:42:27 PM weatherXML Number returned: 20
      Jan-29 12:42:27 PM weatherXML Number rounded: 20
      Jan-29 12:42:27 PM weatherXML Number converted for region setting: 20
      Jan-29 12:42:27 PM weatherXML Todays Normal Low: 20
      Jan-29 12:42:27 PM weatherXML Number returned: 64
      Jan-29 12:42:27 PM weatherXML Number rounded: 64
      Jan-29 12:42:27 PM weatherXML Number converted for region setting: 64
      Jan-29 12:42:27 PM weatherXML Set Record High: 64
      Jan-29 12:42:27 PM weatherXML Number returned: 64
      Jan-29 12:42:27 PM weatherXML Number rounded: 64
      Jan-29 12:42:27 PM weatherXML Number converted for region setting: 64
      Jan-29 12:42:27 PM weatherXML Todays Record Year: 2002
      Jan-29 12:42:27 PM weatherXML Todays Record High: 64
      Jan-29 12:42:27 PM weatherXML Number returned: 35
      Jan-29 12:42:27 PM weatherXML Number rounded: 35
      Jan-29 12:42:27 PM weatherXML Number converted for region setting: 35
      Jan-29 12:42:27 PM weatherXML Set Normal High: 35
      Jan-29 12:42:27 PM weatherXML Number returned: 35
      Jan-29 12:42:27 PM weatherXML Number rounded: 35
      Jan-29 12:42:27 PM weatherXML Number converted for region setting: 35
      Jan-29 12:42:27 PM weatherXML Todays Normal High: 35
      Jan-29 12:42:27 PM weatherXML The file C:\Program Files (x86)\HomeSeer HS3\Data\weatherXML\WUSecondary1.xml is ready for import.
      Jan-29 12:42:27 PM weatherXML Import todays normal high/low, reocrd high/low temps and year.
      Jan-29 12:42:27 PM weatherXML Finished importing Weather Underground history.
      Jan-29 12:42:27 PM weatherXML The file C:\Program Files (x86)\HomeSeer HS3\Data\weatherXML\WUSecondary1.xml is ready for import.
      Jan-29 12:42:27 PM weatherXML Import high/low temps from a year ago today.
      Jan-29 12:42:27 PM weatherXML Begin import of secondary data
      Jan-29 12:42:25 PM weatherXML Download Status: Success
      Jan-29 12:42:24 PM weatherXML Downloading the WU Daily file at http://api.wunderground.com/api/6c08...ININDIA143.xml.
      Jan-29 12:42:24 PM weatherXML Replacement URL: http://api.wunderground.com/api/6c08...ININDIA143.xml
      Jan-29 12:42:24 PM weatherXML Downloading file now.
      Jan-29 12:42:24 PM weatherXML Weather Underground Download per minute for WU Daily = 0
      Jan-29 12:42:24 PM weatherXML Data from Station: KININDIA143
      Jan-29 12:42:24 PM weatherXML Running Daily

      Comment


        #4
        From the log entries, I can see that the Last Years High\Low is being skipped in the import which means that it is not being provided in the xml file.
        It could be that WU doesn't provide that data for your area, but since you are getting the Normal Ave Temps and the Record Temps, I would expect them to provide the Last Year History temps as well.

        I noticed in the log that you are using a stationID for the data.
        What I would recommend is when using a StationID instead of the Lat\Long to also check the box labeled "Use Station ID only for Current Conditions". That lets you use the StationID for things that it provides but will use the Lat and Long for History, Almanc, Forecast and Moon information. The checkbox is on the Locations page under the dropdown to select a StationID.





        --
        Jeff Farmer
        HS 3, HSPhone
        My HS3 Plugins: CFHSExtras, Random, Restart, Tracker, WeatherXML, PanaBluRay
        Other Plugins In Use: APCUPSD, BLOnkyo, Device History, EasyTrigger, HSTouch Server, PHLocation2, Pushover, RFXCom, UltraGCIR3, UltraMon3, UltraPioneerAVR3, X10, Z-Wave

        Hardware: GoControl Irrigation Controler, Schlage Lever Lock, Schlage Deadbolt, Way2Call Hi-Phone, RFXCom RFXrec433 Receiver, WGL 800, TI-103, Z-Net, Pioneer 1120, Pioneer 1021, Pioneer LX302, Panasonic BDT-110, Panasonic BDT-210 x2

        Comment


          #5
          Thank you for confirming where the issue is. I'll make the change you suggested. I had specified a station because it's in our back yard, but will try the history from nearby. Thanks!!

          Comment

          Working...
          X