erland;540611 Wrote: 
> I decided to do it through the SBS web ui in the Custom Clock Helper
> plugin.
> 
> As long as the Custom Clock screen saver is active with the style you
> are editing you will see the changes on the Touch display immediately
> when you save a change in the web ui.

Very nice, I'm sold.  I played with the helper for a bit today, and was
able to get the layout I want.

Few notes:

1. When using %I, can you set it to convert using tonumber() so that it
truncates the leading 0? (I didn't find a strftime that did that)

I suppose it's too hard to get access to the Server's date & time
format strings?

2. Is there an AM/PM flag in strftime?

3. Can you add sizing to the Clockimage (closest thing I could find to
an image tag)?  I found that zoom is broken, so I was using rotozoom,
so I had to calculate a zoom factor with realWidth/requestedWidth

4. Map each of the SDT weather items to a new WeatherText dropdown, I
suppose, right?  These:

Current Condtions:      Period Information:     wunderground.com:
Time = %1 (Line 1&2 Only)       Period Covered (ie Today) = %y  Temperature
(°F) = %e
Date = %2       Brief Forecast (ie Sunny) = %v  Temperature (°C) = %E
Temperature (°F) = %t   High/Low (°F) = %z      Humidity = %H
Temperature (°C) = %T   High/Low (°C) = %Z      Wind Speed (mi/hr) = %j
Feels-Like Temperature (°F) = %f        Precipitation = %x      Wind Speed 
(km/hr)
= %J
Feels-Like Temperature (°C) = %F        Average High/Low (°F) = %a      Wind 
Speed
(kt/hr) = %k
Humidity = %h   Average High/Low (°C) = %A      Wind Speed (m/s) = %K
Wind Speed (mi/hr) = %w Record High/Low (°F) = %c       Barometric Pressure
(inHg) = %l
Wind Speed (km/hr) = %W Record High/Low (°C) = %C       Barometric Pressure
(hPa) = %L
Wind Speed (kt/hr) = %q Record High/Low Year = %g       Dew Point (°F) = %m
Wind Speed (m/s) = %Q   Sunrise = %s    Dew Point (°C) = %M
Barometric Pressure (inHg) = %p Sunset = %S
Barometric Pressure (hPa) = %P
Dew Point (°F) = %d
Dew Point (°C) = %D
UV Index (Value) = %u
UV Index (Text) = %U
Past 24-hr Precip = %b
Past 24-hr Snowfall = %B

I've attached my code - mostly it's in the request/response function. 
I've been talking to Greg about some other changes.  I'll also attach a
copy of the sample wetdata structure he sent me.

Thanks!
-Dan


+-------------------------------------------------------------------+
|Filename: wetdata.txt                                              |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=9746|
+-------------------------------------------------------------------+

-- 
plympton
------------------------------------------------------------------------
plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=77864

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

Reply via email to