[PATCH]: LCD clock in screensaver mode
#16
Thumbs Up 
Cheers for this Reab4.

The clock can display across 4 lines as well as two lines, for anyone who has an LCD and wants to use this feature:

if your display is an KS0073 you can alter the default address for the display lines by adding a file 'AdvancedSettings.xml' in the
XBMC 'UserData\' directory and define some of the lcd properties:

AdvancedSettings.xml:

<lcd>
<rows>4</rows> # Number of rows to use for the LCD.
<columns>20</columns> # Number of columns to use for the LCD.
<address1>0</address1> # Memory address for row 1.
<address2>20</address2> # Memory address for row 2.
<address3>64</address3> # Memory address for row 3.
<address4>84</address4> # Memory address for row 4.
</lcd>

I found that without that lines 2 & 3 were swapped.


You can use the following $INFO[ ] labels to define the clock:

LCD.Time21 and LCD.Time22 for small 1x2 sized chars

<screensaver>
<line>$INFO[LCD.Time21]</line>
<line>$INFO[LCD.Time22]</line>
<line>$INFO[System.CurrentWindow]</line>
<line>Freemem: $INFO[System.FreeMemory]</line>
</screensaver>

LCD.TimeWide21 and LCD.TimeWide22 for medium 2x2 chars

<screensaver>
<line>$INFO[System.CurrentWindow]</line>
<line>$INFO[LCD.TimeWide21]</line>
<line>$INFO[LCD.TimeWide22]</line>
<line>Freemem: $INFO[System.FreeMemory]</line>
</screensaver>

LCD.Time41, LCD.Time42, LCD.Time43 and LCD.Time44 for large 3x4 chars

<screensaver>
<line>$INFO[LCD.Time41]</line>
<line>$INFO[LCD.Time42]</line>
<line>$INFO[LCD.Time43]</line>
<line>$INFO[LCD.Time44]</line>
</screensaver>

xtinus has some photos of the clocks here

http://www.matrixnet.ath.cx/mad/?page_id=23

BOB.SMITH
Reply
#17
As promised some (rather dark) photos.
http://85.146.213.173/homepage/_download.../DCFclock/
Image
Image
Image
Reply
#18
Mine looks like the 2x2 currently, but a little worse. After looking at the pictures of 1x2 and 3x4, i'm now torn between which one. They both look decent on my box. One is 4 lines, easiest from a distance, one still is legible but with 2 lines showing (in my case Weather/Temp and Freemem). Wow, hard choice, both look great!!! Thanks for that big time!!!
Reply
#19
I must be missing something, i added this in my AdvanceSettings.xml file, but it still shows default stuff when screensaver kicks in. What am i missing? I know correctly how to change info shown in general and in music/video playing, i got that working, but this isn't working for some reason.

<screensaver>
<line>$INFO[System.CurrentWindow]</line>
<line>$INFO[LCD.Time21]</line>
<line>$INFO[LCD.Time22]</line>
<line>$INFO[Weather.Conditions]</line>
</screensaver>
Reply
#20
djdafreund Wrote:I must be missing something, i added this in my AdvanceSettings.xml file, but it still shows default stuff when screensaver kicks in. What am i missing? I know correctly how to change info shown in general and in music/video playing, i got that working, but this isn't working for some reason.

<screensaver>
<line>$INFO[System.CurrentWindow]</line>
<line>$INFO[LCD.Time21]</line>
<line>$INFO[LCD.Time22]</line>
<line>$INFO[Weather.Conditions]</line>
</screensaver>

ah, sorry djdafreund, my bad, i should have been clearer. You only need to edit AdvanceSettings.xml if you have switched lines with your display.

All of the lcd settings (this clock included) are held in

/userdata/LCD.xml

since Revision 11117 it has contained the default:

<screensaver>
<line>$INFO[System.CurrentWindow]</line>
<line>$INFO[LCD.TimeWide21]</line>
<line>$INFO[LCD.TimeWide22]</line>
<line>Freemem: $INFO[System.FreeMemory]</line>
</screensaver>

sorry for the confusion,

BOB.SMITH
Reply
#21
Reab4 Wrote:As promised some (rather dark) photos.
http://85.146.213.173/homepage/_download.../DCFclock/
Image
Image
Image

Hi Reab4,

that is a nice font, with rounded corners.

It would be fairly easy to port your font across i think, just not sure about the seconds count.

HSIBOY
Reply
#22
Gotcha, thanks for that tidbit. Works now. I ended choosing default actually for the style of clock info. I'd like to mess around with some font styles to see about a better looking 2 line still. I'll post anything of results if i find something better. Thanks a bunch for adding this. Very nice!!
Reply
#23
I think if you do the seconds in big-numbers it will be too crowded.
Anyway I would leave it out altogether - I noticed the seconds update
on the X3 LCD has a timing problem, which looks like the seconds update
doesn't come exactly every second.
The other fonts might also be of interest, although I don't have an example
picture of what it would look like in real life. They are a thinner and squarer
variant.
Reply

Logout Mark Read Team Forum Stats Members Help
[PATCH]: LCD clock in screensaver mode0