TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: Amery on November 16, 2003, 08:25:16 AM

Title: Meteo problem with 0.10.0
Post by: Amery on November 16, 2003, 08:25:16 AM
I have a little problem.
When my pocket ppc is on the synchro base i can refresh the meteo and everything is ok.
But when i take my ppc out of the base all the meteo feeds disapeers few seconds after. Images and infos replaced by cross circle.
Do you know this problem ?
Thinks
Title: Meteo problem with 0.10.0
Post by: Amery on November 16, 2003, 10:13:56 AM
In fact the problem is the same when i leave my ppc on the base.
I presume that the problem comes from the automatic refresh. Can someone help me ?
Thinks
Title: It's a long-shot, but might be the reason...
Post by: arbitrajeu on November 16, 2003, 11:11:56 AM
I believe this is an issue with the "auto-ageing" of weather information, which is new in v0.10.0.  Unfortunately, the time used is the weather feed's last update time, which for those of us in Europe is about 7 hours old.  Therefore, TodayPlus always thinks the weather is too old to display.  Unless anyone looks into it before me, I'll do a little more work on this, and hopefully find a solution, in about 5 hours time...
Title: Meteo problem with 0.10.0
Post by: Amery on November 16, 2003, 11:17:03 AM
where can i change this parameter ?
Thinks
Title: Meteo problem with 0.10.0
Post by: sdmaino on November 17, 2003, 05:18:14 AM
Quote from: Amerywhere can i change this parameter ?
Thinks

I think it is related to this part of slider.txt

calcvar,var20,weatherupdatetimediff
      if,var,var20,,<,60
         color,replacement,-1_4_-1,0_0_0
         image,1,0,big_box.png,tr
etc..[cut] etc..

...else
         calcvar,var20,firstvalidforecastday
         
         if,var,var20,,<,6

[cut]
         else
            image,8,11,none.png,t
         endif

But I cannot uinderstand exactly how it works.

Which is the unit for the var20 ?
First seems to be time (60 minutes...?) than seems to be the day number !

I am confused  :?

Please, srs, help !
Title: Meteo problem with 0.10.0
Post by: arbitrajeu on November 19, 2003, 05:56:18 PM
Okay, I haven't tried this out, but for those of you still getting big circles and crosses (mostly Europeans) I think you can fix it relatively simply by effectively disabling some of srs' clever functionality.

It's all related to check for whether the weather information is out of date.  This works fine if you are in MSNBC.com's time zone, but not for the rest of us - srs will fix this in a future version to use the update time, but for now...

Find the following line in your slider.txt:

if,var,var20,,<,60
and replace it with:

if,var,var20,,<,1440
Now your skin should only show the crossed circle if your weather is over one day old.
Title: Meteo problem with 0.10.0
Post by: Amery on November 19, 2003, 07:02:09 PM
Thinks a lot, works perfectly for me !!  :D
Title: Meteo problem with 0.10.0
Post by: man on November 22, 2003, 08:51:29 AM
I have this problem too, but only when the weather is updating. When the weather update is running, these circles with one line appear, but when update finishes it seems to be okay everything again, and weather icons appear in the screen. I don't know if these icons will change during the next hours or stay fixed. I'll look to them.

Best Regards
Title: Meteo problem with 0.10.0
Post by: Urbanus on November 23, 2003, 08:44:15 PM
For us Europeans: is it better to change the 1440 setting to 480? It seems to me that the MSNBC servers are using Eastern Time which is -8 hours from MET (-7 from UTC). 8 x 60 mins = 480 so this should work as well.
At least it seems to work for me...
Title: Meteo problem with 0.10.0
Post by: CoolWolf on November 24, 2003, 03:30:53 PM
Quote from: UrbanusFor us Europeans: is it better to change the 1440 setting to 480? It seems to me that the MSNBC servers are using Eastern Time which is -8 hours from MET (-7 from UTC). 8 x 60 mins = 480 so this should work as well.
At least it seems to work for me...
Urbanus,
are you sure that your calculation is correct?
As far as I know, E(S)T = (UTC - 5 hours) whereas CET = MEZ = (UTC + 1 hour), so the "optimum" should be 360 ...  :?  .... and now I am totally confused  :wink:
Title: Meteo problem with 0.10.0
Post by: Urbanus on November 24, 2003, 04:02:10 PM
Mmh, CoolWolf is right... I just took a look at the MSNBC site and the time they were using there. It was abbreviated with "ET" so I thought this would be Eastern Standard Time. The difference to MET were -7 hours (not 8, I was too tired to calculate last night), but perhaps the "Updated" means some other time?!

Hopefully the time issue is solved in one of the next versions, so noone gets confused :lol:
Title: Meteo problem with 0.10.0
Post by: jeremy420 on November 27, 2003, 08:35:43 AM
Quote from: UrbanusMmh, CoolWolf is right... I just took a look at the MSNBC site and the time they were using there. It was abbreviated with "ET" so I thought this would be Eastern Standard Time. The difference to MET were -7 hours (not 8, I was too tired to calculate last night), but perhaps the "Updated" means some other time?!

Hopefully the time issue is solved in one of the next versions, so noone gets confused :lol:

Can you change it to GMT and recalculate, please ? Thanks!