Author Topic: Saratoga Template - Problems with ajax-gizmo Wind Gusts  (Read 1805 times)

monymony

  • Strong Breeze
  • ***
  • Posts: 164
  • CoCoRaHS - MD-CC-16
    • EW3643
    • KMDELKTO10
    • Cecil County Maryland Weather
  • Station Details: Davis Vantage Pro 2
Saratoga Template - Problems with ajax-gizmo Wind Gusts
« on: November 24, 2013, 12:55:44 PM »
Hello All,


I have been noticing that the wind gust was always showing as NONE when the AJAX-GIZMO would update my weather data.  Did some digging and it looks like a variable is missing from the WCT_REALTIME.TXT file.  If you experience this issue, here is what I did to fix this:


  • Open the WCT_REALTIME.TXT file that WC is using at template under PREFERENCES > ON-LINE > CUSTOM WEB > ADDITIONAL FILES
  • The problem is in position "40" which is a bit of a challenge to count.  Therefore search for "STAT$PRESSURE:MIN:TODAY:TIME$|BD$|-|-|STAT$HEATINDEX:CURRENT$|"
  • Notice the part "|-|-|".  Replace the second "-" with STAT$WINDGUST:CURRENT$
  • The end result is you should now see this in your txt file - "STAT$PRESSURE:MIN:TODAY$|STAT$PRESSURE:MIN:TODAY:TIME$|BD$|-|STAT$WINDGUST:CURRENT$|STAT$HEATINDEX:CURRENT$"

I hope this is helpful for some of you.


Enjoy!



nowait

  • Strong Breeze
  • ***
  • Posts: 132
  • Station Details: Davis Vantage Pro 2 Wireless (Heated) on a Snow Leopard Mac Mini
Re: Saratoga Template - Problems with ajax-gizmo Wind Gusts
« Reply #1 on: November 24, 2013, 01:48:52 PM »
That worked for me.  Nice catch.  I think it would be a great idea to visit the Saratoga site and let him know what you found so he can post an update.  Thanks for sharing!

saratogaWX

  • Strong Breeze
  • ***
  • Posts: 138
  • Weather website programming enthusiast
    • Saratoga-Weather.org
  • Station Details: Davis VP1 +, iMAC 21, OSX 10.6.8
Re: Saratoga Template - Problems with ajax-gizmo Wind Gusts
« Reply #2 on: November 28, 2013, 04:44:06 PM »
Got it... thanks for spotting the error.  I'll include the correction in an update.

Best regards,
Ken

Update done 28-Nov-2013 .. now available from the updates page with Base-*, WCT-plugin, 28-Nov-2013
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub, WeatherSnoop, WeatherCat
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

monymony

  • Strong Breeze
  • ***
  • Posts: 164
  • CoCoRaHS - MD-CC-16
    • EW3643
    • KMDELKTO10
    • Cecil County Maryland Weather
  • Station Details: Davis Vantage Pro 2
Re: Saratoga Template - Problems with ajax-gizmo Wind Gusts
« Reply #3 on: December 03, 2013, 12:45:28 PM »
Thanks Ken... Glad I could help.