peterw;508378 Wrote: 
> Hmm, maybe wunderground isn't the answer. My display just reverted to
> the wrong data again. I went to the SDT web settings, removed my
> wunderground station code, and tapped + on the remote to refresh data.
> All's well again. Looks like my friendly wunderground neighbor must be
> pushing bad data. Maybe I'll look up the closest wunderground airport
> code and see if that's any better.

Wrong again. I saw the bad temp again this AM, so I restarted SC/SBS
with no wunderground setting, and soon saw bad data again. So I tried
manually fetching  www .weather.com/weather/local/MyZIPHere. It took
fewer than 10 fetches for me to get a www.
weather.com/weather/today/City+ST+NNNNN web page with the bad data. So
it seems that weather.com is intermittently returning bad data. The HTML
for the bad data is very, very similar to the good -- the only good
telltale sign I found (and I confess not to have scoured the really long
bits of markup and JS that differed) was an SGML comment that includes a
number when the data is real, and an empty string when it's bad. I've
added a safeguard in my code to look for that sign. There was one other
-- the sunrise/sunset times were off by hours, as if it understood where
my ZIP really is and that the forecast it was showing me was for
somebody living ~30 degrees west of me. But I don't have a
sunrise/sunset algorithm handy, so that's not much help.

So I'm back to thinking that wunderground XML is the way to go.


-- 
peterw

http://www.tux.org/~peterw/
Free plugins:  'AllQuiet'
(http://www.tux.org/~peterw/slim/AllQuiet.html) 'Auto Dim/AutoDisplay'
(http://www.tux.org/~peterw/slim/AutoDisplay.html) 'BlankSaver'
(http://www.tux.org/~peterw/slim/BlankSaver.html) 'ContextMenu'
(http://www.tux.org/~peterw/slim/ContextMenu.html) 'DenonSerial'
(http://www.tux.org/~peterw/slim/DenonSerial.html)
'FuzzyTime' (http://www.tux.org/~peterw/slim/FuzzyTime.html) 'KidsPlay'
(http://www.tux.org/~peterw/slim/KidsPlay.html) 'KitchenTimer'
(http://www.tux.org/~peterw/slim/KitchenTimer.html) 'PlayLog'
(http://www.tux.org/~peterw/slim/PlayLog.html)
'PowerCenter/BottleRocket'
(http://www.tux.org/~peterw/slim/PowerCenter.html) 'SaverSwitcher'
(http://www.tux.org/~peterw/slim/SaverSwitcher.html)
'SettingsManager'
(http://www.tux.org/~peterw/slim/SettingsManager.html) 'SleepFade'
(http://www.tux.org/~peterw/slim/SleepFade.html) 'StatusFirst'
(http://www.tux.org/~peterw/slim/StatusFirst.html) 'SyncOptions'
(http://www.tux.org/~peterw/slim/SyncOptions.html) 'VolumeLock'
(http://www.tux.org/~peterw/slim/VolumeLock.html)
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to