• Welcome to TodayPlus Boards v2.
 

Meteo problem with 0.10.0

Started by Amery, November 16, 2003, 08:25:16 AM

Previous topic - Next topic

Amery

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
--° Lazer °--

Amery

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
--° Lazer °--

arbitrajeu

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...
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]

Amery

where can i change this parameter ?
Thinks
--° Lazer °--

sdmaino

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 !
Dave

arbitrajeu

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.
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]

Amery

Thinks a lot, works perfectly for me !!  :D
--° Lazer °--

man

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

Urbanus

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...
[size=9]iPAQ 2210, 512 MB CF[/size]

CoolWolf

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:
Bye,
CoolWolf
_________________
Calvin: "People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world."
Hobbes: "Isn't your pants' zipper supposed to be in the front?"

Urbanus

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:
[size=9]iPAQ 2210, 512 MB CF[/size]

jeremy420

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!