Muzicker wrote:
> Yes, you're right !
>
> Well, I thought I used a bad syntax, but it seems that my problem with
> the screen I wrote occurs because of the weather applet.
> The weather applet works fine again, but when I try some of the screens
> supposed to use weather applet infos in CustomClock, nothing is
> displayed : no icon, no weather text.. Not usable any longer in
> CustomClock, if I understand well...
>
> Does superdatetime provide morning/evening infos (1.5 period ? ;-) )?
>
> Thanks again !
> Muz
Yes, SDT supports both future forecasts day-by-day, up to 10 days (in
the syntax, the period is d1, d2, etc), and the near-term forecasts,
with syntax period = -1 (current conditions), period =0, period = 1 and
period =2 provide the next 3 "near term" forecasts, with the periods
based on the current time of day.
Suggest you look at some of the CustomClock screens posted previously
for examples.
Below is comment in the SDT plugin which tries to explain how these
near-term periods are determined throughout the day:
# NEW: Determine NearForType based on when current weather
observation:
#
# If ObsTime between midnight and (sunrise-1hour) then:
# NearForType = 0 (-1) "CURRENT" uses most recent
previous day
forecast (type "LOW")
# (0) "THIS
MORNING" uses most recent previous day forecast (type
"LOW")
# (1) "TODAY"
uses current day forecast (type "HIGH")
# (2) "TONIGHT"
uses current day forecast (type "LOW")
#
# If ObsTime between (sunrise-1hour) and (sunset-1hour) then:
# NearForType = 1 (-1) "CURRENT" uses current day
forecast (type
"HIGH")
# (0) "TODAY"
uses current day forecast (type "HIGH")
# (1) "TONIGHT"
uses current day forecast (type "LOW")
# (2) "TOMORROW"
uses next day forecast (type "HIGH")
#
# If ObsTime between (sunset-1hour) and midnight:
# NearForType = 2 (-1) "CURRENT" uses current day
forecast (type
"LOW")
# (0) "TONIGHT"
uses current day forecast (type "LOW")
# (1) "TOMORROW"
uses next day forecast (type "HIGH")
# (2) "TOMORROW
NIGHT" uses next day forecast (type "LOW")
############################
------------------------------------------------------------------------
tcutting's Profile: http://forums.slimdevices.com/member.php?userid=17402
View this thread: http://forums.slimdevices.com/showthread.php?t=73827
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins