Hello,
I’m using current WD software in conjunction with the Saratoga scripts. I’ve noticed the current weather icon is NOT being updated properly. I have checked in WD settings and I believe they are correct, but I may be missing something. Here is the info that I’m finding so far:
Contents of the Metar text file located in the WD\metar folder showing the sky conditions are clear (sunny).
Snippet of the clientraw.txt file that’s being generated every 5 mins which shows a converted number of 18 <— this is what i’m not sure how is getting selected. Instead, I would think it should be representative of a sunny sky
The array I believe the Saratoga script is using to determine which icon to used based off the Metar value. As you can see #18is used for the day_cloudy.gif.
Here are the 2 config screens within WD that I believe are responsible for the current Metar conditions and how they will be used:
Thanks! I did not have that ticked, and now ticked it. Only thing that changed is the clientraw.txt is now showing clear, but the # is still 18, and the icon is being selected as cloudy instead of sunny / clear
You might check and make sure all your icon files actually exist in the directory settings.php points to. I see an error in your testtags.txt file, but its not the cause of this problem:
$icon_array[28] = ‘day_clear.gif.gif’; // imagesunny.visible
and look at your solar setup in WD and just turn it off, if its turned on.
Jim
Hmm… I do have day_clear.gif in the ajax_images directory
Interestingly you mentioned ‘Solar’ I did have that running at one point, but sensor went bad, so I turned the main switch for it to Off until I get it replaced. I wonder if there’s some interference from it causing this strange issue even though it’s showing off?
Yes, I just looked at the testtags.php file in the local WD\webfiles folder and you’re correct, the filename is day_clear.gif.gif. So my question is that file is getting updated every 5 mins, so something is writing it to the file incorrectly. What would that be that is causing it?
Rename it to the correct name and see if it re-appears after 5 minutes? As far as I recall the HTML/PHP code gets updated and just refers to the GIF files so they’re not uploaded every 5 minutes. I don’t use the WD web pages these days so I can’t be 100% sure of that answer.
Thanks guys. I did follow this process which seemed to take care of the invalid file name; however, right the 5 min. mark the website icon is showing correctly, then in about 1 minute it changes to the incorrect icon.
Something about a min later is overwriting it looks like.
if you watch my website at the beginning of the every 5 min. mark, you’ll see the correct icon, refresh the page a minute or so later, and you’ll see it changed.
This ICON setting is complicated business, as you have found.
You can use a METAR to set the conditions icon, but since your solar sensor is offline, you have to uncheck the Solar sensor overrides during daytime.. that’s the reason you have ‘Overcast’ as the icon .. your solar sensor is reading zero (overcast and gloomy).
The testtags.php has the conditions icon of 5 (partly cloudy) which is the default for WD when no METAR nor Solar sensor is used. It would stay that way all the time until it either rains or has high wind.
Fully disable your solar sensor in your WD setup and configure to use METAR for icon both day and night with override for local wind/rain.