Jump to content


Photo

Day, Date and Time in stanby on display DM 8000


  • Please log in to reply
48 replies to this topic

Re: Day, Date and Time in stanby on display DM 8000 #41 s3n0

  • Senior Member
  • 672 posts

+62
Good

Posted 25 June 2017 - 09:36

Another example to trying - for testing only ! Try it please. I need to know if the following works.

<screen name="StandbySummary" position="0,0" size="132,64">
  <widget source="global.CurrentTime" render="Label" position="6,4" size="120,24" font="Display;22" halign="center" valign="center">
    <convert type="ClockToText">Format:%d.%m.%Y</convert>
  </widget>
  <eLabel position="0,28" size="132,1" backgroundColor="Yellow" />
  <widget source="global.CurrentTime" render="Label" position="6,32" size="120,32" font="Display;28" halign="center" valign="center">
    <convert type="ClockToText">Format:%H:%M:%S</convert>
  </widget>
</screen>

Or send your SkypeID or ICQ number to a private message and try to solve it live :-).



Re: Day, Date and Time in stanby on display DM 8000 #42 antonyb2

  • Senior Member
  • 60 posts

+2
Neutral

Posted 25 June 2017 - 19:58

Thanks for your help!!
 
Thanks for your help..

With id 2 black screen.

Black screen with all 3 codes.

I do not understand what's wrong.


Re: Day, Date and Time in stanby on display DM 8000 #43 s3n0

  • Senior Member
  • 672 posts

+62
Good

Posted 25 June 2017 - 22:13

Do you also restart the system after every change? Or, if you know how, restart only a single SKIN to reset the front LED display configuration.



Re: Day, Date and Time in stanby on display DM 8000 #44 antonyb2

  • Senior Member
  • 60 posts

+2
Neutral

Posted 26 June 2017 - 18:14

No, restart only E2...



Re: Day, Date and Time in stanby on display DM 8000 #45 antonyb2

  • Senior Member
  • 60 posts

+2
Neutral

Posted 27 June 2017 - 22:15

Thanks to s3n0 I finally have the display with the date.
It has been a long job and very pensive to have a great result.

Thanks again.
Edit the file skin_display.xml in: / usr / share / enigma2
Replace the code in the <! - standby -> section with:

 

<screen name="StandbySummary" position="fill">
  <widget source="global.CurrentTime" render="Label" position="center,0" size="120,26" font="Regular;24" valign="top" halign="center" noWrap="1" backgroundColor="black" foregroundColor="orange">
   <convert type="ClockToText">Format:%d.%m.%Y</convert>
  </widget>
  <eLabel position="0,29" size="132,2" backgroundColor="orange" />
  <widget source="global.CurrentTime" render="Label" position="0,35" size="90,38" font="Regular;34" valign="bottom" halign="right" noWrap="1" backgroundColor="black" foregroundColor="orange">
   <convert type="ClockToText">Format:%H:%M</convert>
  </widget>
  <widget source="global.CurrentTime" render="Label" position="91,36" size="37,34" font="Regular;22" valign="bottom" halign="left" noWrap="1" backgroundColor="black" foregroundColor="orange">
   <convert type="ClockToText">Format::%S</convert>
  </widget>
 </screen>

 

P_20170627_224847.jpg
photo upload


Edited by antonyb2, 27 June 2017 - 22:15.


Re: Day, Date and Time in stanby on display DM 8000 #46 s3n0

  • Senior Member
  • 672 posts

+62
Good

Posted 3 July 2017 - 19:39

- added REC text, to indicate video recording

- font for the current time was enlarged

Attached File  template - LED front panel - for antonyB - 02_mid.jpg   107.84KB   3 downloads

<!-- standby -->
 <screen name="StandbySummary" position="fill">
  <widget source="global.CurrentTime" render="Label" position="center,0" size="120,26" font="Regular;26" valign="top" halign="center" noWrap="1" backgroundColor="black" foregroundColor="orange">
   <convert type="ClockToText">Format:%d.%m.%Y</convert>
  </widget>
  <eLabel position="0,28" size="132,2" backgroundColor="orange" />
  <widget source="global.CurrentTime" render="Label" position="0,35" size="94,40" font="Regular;38" valign="bottom" halign="right" noWrap="1" backgroundColor="black" foregroundColor="orange">
   <convert type="ClockToText">Format:%H:%M</convert>
  </widget>
  <widget source="global.CurrentTime" render="Label" position="95,36" size="37,35" font="Regular;22" valign="bottom" halign="left" noWrap="1" backgroundColor="black" foregroundColor="orange">
   <convert type="ClockToText">Format::%S</convert>
  </widget>
  <widget source="session.RecordState" render="FixedLabel" text="REC" position="102,34" size="25,9" font="Regular;10" zPosition="1" valign="top" halign="left" noWrap="1" backgroundColor="black" foregroundColor="orange">
   <convert type="ConditionalShowHide">Blink</convert>
  </widget>
 </screen>


Re: Day, Date and Time in stanby on display DM 8000 #47 antonyb2

  • Senior Member
  • 60 posts

+2
Neutral

Posted 4 July 2017 - 11:04

Very beautiful



Re: Day, Date and Time in stanby on display DM 8000 #48 s3n0

  • Senior Member
  • 672 posts

+62
Good

Posted 7 July 2017 - 22:44

- a few minor adjustments, after consulting with "antonioB" via Skype chat
- a slightly enlarged font for the date
- correcting widget alignment

- finally !

- see photo:

Attached File  lcd foto 2017-07-07, 22.55.jpg   79.01KB   7 downloads

- XML code for the StandbySummary (template for the front display panel):

<!-- standby -->
 <screen name="StandbySummary" position="fill">
  <widget source="global.CurrentTime" render="Label" position="0,0" size="132,35" font="Regular;25" valign="top" halign="left" noWrap="1" backgroundColor="black" foregroundColor="orange">
   <convert type="ClockToText">Format:%d.%m.%Y</convert>
  </widget>
  <eLabel position="0,29" size="132,2" backgroundColor="orange" />
  <widget source="global.CurrentTime" render="Label" position="1,35" size="94,40" font="Regular;38" valign="bottom" halign="right" noWrap="1" backgroundColor="black" foregroundColor="orange">
   <convert type="ClockToText">Format:%H:%M</convert>
  </widget>
  <widget source="global.CurrentTime" render="Label" position="96,34" size="37,36" font="Regular;22" valign="bottom" halign="left" noWrap="1" backgroundColor="black" foregroundColor="orange">
   <convert type="ClockToText">Format::%S</convert>
  </widget>
  <widget source="session.RecordState" render="FixedLabel" text="REC" position="103,34" size="25,9" font="Regular;10" zPosition="1" valign="top" halign="left" noWrap="1" backgroundColor="black" foregroundColor="orange">
   <convert type="ConditionalShowHide">Blink</convert>
  </widget>
 </screen>

Maybe this will sometimes help :).
Good luck.


Edited by s3n0, 7 July 2017 - 22:45.


Re: Day, Date and Time in stanby on display DM 8000 #49 antonyb2

  • Senior Member
  • 60 posts

+2
Neutral

Posted 8 July 2017 - 17:42

Great thanks!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users