Jump to content


Photo

VFD skin OpenPLi 2.1


  • Please log in to reply
40 replies to this topic

Re: VFD skin OpenPLi 2.1 #21 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 9 August 2012 - 13:54

Here it comes.

Sorry you didn't here from me earlier, I have been very busy.

I will try it with those files and if it actually works, also on the "default" enigma that ships with OpenPLi, we will probably incorporate it. But I actually doubt it will work.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: VFD skin OpenPLi 2.1 #22 doddema

  • Senior Member
  • 528 posts

+14
Neutral

Posted 10 August 2012 - 12:33

I have google a lot info, program parts and picons together and make my own VFD skin for OpenPLI2.1
To make the install easy I did make a plugin.ipk of the VFD skin.
This plugin.ipk make the clock bigger, show picons, a progress bar and a program name.

On standby the clock is maximum high of the display (almost, on the last pixels I was not successful).
Warning: the plugin install a \etc\enigma2\skin_user.xml
So if you use your own skin_user.xml it can be overwritten.
Only for the Ultimo.

Picons must be on a USB device, location: /media/usb/piconlcd

Have fun..

Dolf.

Attached Files


Edited by doddema, 10 August 2012 - 12:35.

VU+Ultimo met OpenPLI 4.0, 2TB hdd. Oscam, CD seca3 kaart en Ziggo kaart.
Dreambox 7025+ met temperatuur geregelde koeling, OpenPLI image, Swapfile 64mb op CF kaart.
VU+DUO met openPLI CCcam.

Re: VFD skin OpenPLi 2.1 #23 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 10 August 2012 - 12:50

Why do you use separate picons and not use standard ones? See our own picon renderer how the picons could be resized... (As far I know an OpenPli based images only feature)

Did you try to render Picon instead of the new created LcdPicon??

-widget size="100,35" position="0,0" render="LcdPicon" source="session.CurrentService">
+widget size="100,35" position="0,0" render="Picon" source="session.CurrentService">

But still this helps for VU ultimo users who wants to have picons on the VFD ;).....

Edited by littlesat, 10 August 2012 - 13:11.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: VFD skin OpenPLi 2.1 #24 doddema

  • Senior Member
  • 528 posts

+14
Neutral

Posted 10 August 2012 - 13:24

I did not know that not know that resizing is possible. I did not try to render picons.
How ever for the best results in the VFD, the picons must be simple as possible. No color and high contrast.

I will try to use the standard picons.
Then I need to change:
<widget source="session.CurrentService" render="LcdPicon" position="0,0" size="100,35">
to
<widget source="session.CurrentService" render="Picon" position="0,0" size="100,35">
VU+Ultimo met OpenPLI 4.0, 2TB hdd. Oscam, CD seca3 kaart en Ziggo kaart.
Dreambox 7025+ met temperatuur geregelde koeling, OpenPLI image, Swapfile 64mb op CF kaart.
VU+DUO met openPLI CCcam.

Re: VFD skin OpenPLi 2.1 #25 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 10 August 2012 - 13:28

Sorry.... maby I made a mistake... I thought the VFD was a color one (DM800SE).... When it is black and white you do need indeed seperate black and white picons

Edited by littlesat, 10 August 2012 - 13:28.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: VFD skin OpenPLi 2.1 #26 doddema

  • Senior Member
  • 528 posts

+14
Neutral

Posted 10 August 2012 - 13:34

Mmm.. now its not showing picons anymore on VFD.
VU+Ultimo met OpenPLI 4.0, 2TB hdd. Oscam, CD seca3 kaart en Ziggo kaart.
Dreambox 7025+ met temperatuur geregelde koeling, OpenPLI image, Swapfile 64mb op CF kaart.
VU+DUO met openPLI CCcam.

Re: VFD skin OpenPLi 2.1 #27 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 10 August 2012 - 14:50

As far as I know, no enigma2 change is needed to support the large VFD, every pixel is adressable already. Whatever you want to display on it, just make a skin to do so.

By default, OpenPLi uses the "scalable" default skin, which automatically adjusts to various sizes (the widgets are the same, only their size is adjusted) because each box is different and the dreamboxes even lie about their sizes, so that a few pixels can be added.

Adding an icon to the skin should be as simple as aligning a widget on one side, and leave the rest as is. That would allow the skin to work on other boxes too (if you want picons on a dm8000 for example).

As for the location of the files, please look at the Picon renderer code, that allows the files to be located on ANY device but still manages to trigger less IO than the old DMM renderer did (which also slowly consumed your RAM in an attempt to "cache" them).
Real musicians never die - they just decompose

Re: VFD skin OpenPLi 2.1 #28 doddema

  • Senior Member
  • 528 posts

+14
Neutral

Posted 10 August 2012 - 22:19

Create a picon for the Vu+ Ultimo VFD



VU+Ultimo met OpenPLI 4.0, 2TB hdd. Oscam, CD seca3 kaart en Ziggo kaart.
Dreambox 7025+ met temperatuur geregelde koeling, OpenPLI image, Swapfile 64mb op CF kaart.
VU+DUO met openPLI CCcam.

Re: VFD skin OpenPLi 2.1 #29 OldDeuteronomy

  • Senior Member
  • 197 posts

+1
Neutral

Posted 11 August 2012 - 01:54


Here it comes.

Sorry you didn't here from me earlier, I have been very busy.

I will try it with those files and if it actually works, also on the "default" enigma that ships with OpenPLi, we will probably incorporate it. But I actually doubt it will work.


If it wouldn't work, how can it be that it works for me and other folks? :D

Edited by OldDeuteronomy, 11 August 2012 - 01:57.


Re: VFD skin OpenPLi 2.1 #30 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 13 August 2012 - 14:25

Seeing is believing ;) I've already spent some time on this without success...

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: VFD skin OpenPLi 2.1 #31 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 13 August 2012 - 14:53

You'll see it when you use VTi or ViX (and several others I think).

Re: VFD skin OpenPLi 2.1 #32 2boom

  • Senior Member
  • 100 posts

+17
Neutral

Posted 13 August 2012 - 15:23

standby rinning clock

<font filename="nmsbd.ttf" name="FdLcD" scale="100"/>


<screen name="StandbySummary" position="fill">
<widget source="global.CurrentTime" render="Label" position="0,0" size="73,64" font="DotLcD;58" halign="right" valign="center" noWrap="1" text="23">
<convert type="ClockToText">Format:%H</convert>
</widget>
<widget source="global.CurrentTime" render="Label" position="93,0" size="73,64" font="DotLcD;58" halign="left" valign="center" noWrap="1">
<convert type="ClockToText">Format:%M</convert>
</widget>
<widget source="global.CurrentTime" render="FixedLabel" text=":" font="DotLcD;58" position="73,0" size="20,64" halign="center" zPosition="3" valign="center">
<convert type="AlwaysTrue"></convert>
<convert type="ConditionalShowHide">Blink</convert>
</widget>
....
</screen>

Attached Files



Re: VFD skin OpenPLi 2.1 #33 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 15 August 2012 - 18:54

Hmmm, I placed all of the files on my vuplus ultimo, and I placed the picons from Dolf in /media/usb/piconlcd, but no joy, only an ugly vfd layout ( ;)) and text "VU+ Ultimo" to the right of the screen.

ls -L /media/usb/piconlcd | less

1_0_16_51AE_C96_3_EB0000_0_0_0.png
1_0_16_51B3_C96_3_EB0000_0_0_0.png
1_0_16_51B8_C96_3_EB0000_0_0_0.png
1_0_19_1069_2008_FBFF_820000_0_0_0.png
1_0_19_106A_2008_FBFF_820000_0_0_0.png
1_0_19_106C_2008_FBFF_820000_0_0_0.png
1_0_19_106E_2008_FBFF_820000_0_0_0.png
1_0_19_106F_2008_FBFF_820000_0_0_0.png
1_0_19_1088_2008_FBFF_820000_0_0_0.png
1_0_19_14B4_407_1_C00000_0_0_0.png
1_0_19_14B5_407_1_C00000_0_0_0.png
1_0_19_14B6_407_1_C00000_0_0_0.png
1_0_19_14B7_407_1_C00000_0_0_0.png
1_0_19_1518_455_1_C00000_0_0_0.png
1_0_19_1519_455_1_C00000_0_0_0.png
1_0_19_15_3200_13E_820000_0_0_0.png
1_0_19_17C0_C82_3_EB0000_0_0_0.png
1_0_19_17CA_C82_3_EB0000_0_0_0.png
1_0_19_1965_44E_1_C00000_0_0_0.png
1_0_19_1B1C_802_2_11A0000_0_0_0.png
1_0_19_1B1D_802_2_11A0000_0_0_0.png
1_0_19_1B1E_802_2_11A0000_0_0_0.png
1_0_19_1B67_C88_3_EB0000_0_0_0.png
...



* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: VFD skin OpenPLi 2.1 #34 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 16 August 2012 - 18:08

I already figured why it doesn't work, the piconlcd renderen checks each entry in /media for an active MOUNTPOINT. On my system it's a plain directory under a NFS mount. Borked :mellow: Let's see if I can get it working with a few mods.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: VFD skin OpenPLi 2.1 #35 doddema

  • Senior Member
  • 528 posts

+14
Neutral

Posted 17 August 2012 - 18:59

​I'm sure you can solve it. Hopefully we will see later VFD Picon standard in PLI.
VU+Ultimo met OpenPLI 4.0, 2TB hdd. Oscam, CD seca3 kaart en Ziggo kaart.
Dreambox 7025+ met temperatuur geregelde koeling, OpenPLI image, Swapfile 64mb op CF kaart.
VU+DUO met openPLI CCcam.

Re: VFD skin OpenPLi 2.1 #36 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 17 August 2012 - 20:17

I can't say too much at the moment, but I am on to something, please be patient. It may be even better ;)

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: VFD skin OpenPLi 2.1 #37 reingraat

  • Senior Member
  • 86 posts

0
Neutral

Posted 7 September 2012 - 13:12

Hi Erik,

Could you already get the picons to work in Pli 3.0?
I am still at a deadend !

Re: VFD skin OpenPLi 2.1 #38 doddema

  • Senior Member
  • 528 posts

+14
Neutral

Posted 7 September 2012 - 21:06

Yes, Erik, did you make any progress?
VU+Ultimo met OpenPLI 4.0, 2TB hdd. Oscam, CD seca3 kaart en Ziggo kaart.
Dreambox 7025+ met temperatuur geregelde koeling, OpenPLI image, Swapfile 64mb op CF kaart.
VU+DUO met openPLI CCcam.

Re: VFD skin OpenPLi 2.1 #39 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 13 September 2012 - 16:14

Yeah, no :mellow: I have really very little spare time at the moment. I was planning to use the "normal" "png to display" renderer, that should be possible. Some icons (colour...) do indeed work. The problem is that the (colour) png renderer has a non-optimal algorithm to convert a full colour palette into monochrome when necessary. That means that some colour png's render quite good on the monochrome display, but most of them are completely invisible. I was planning for a quick fix to that, but it appears the code is very complex, not something to "fix" quickly. If someone wants to volunteer please :D

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: VFD skin OpenPLi 2.1 #40 doddema

  • Senior Member
  • 528 posts

+14
Neutral

Posted 13 April 2013 - 14:28

standby rinning clock



<font filename="nmsbd.ttf" name="FdLcD" scale="100"/>


<screen name="StandbySummary" position="fill">
<widget source="global.CurrentTime" render="Label" position="0,0" size="73,64" font="DotLcD;58" halign="right" valign="center" noWrap="1" text="23">
<convert type="ClockToText">Format:%H</convert>
</widget>
<widget source="global.CurrentTime" render="Label" position="93,0" size="73,64" font="DotLcD;58" halign="left" valign="center" noWrap="1">
<convert type="ClockToText">Format:%M</convert>
</widget>
<widget source="global.CurrentTime" render="FixedLabel" text=":" font="DotLcD;58" position="73,0" size="20,64" halign="center" zPosition="3" valign="center">
<convert type="AlwaysTrue"></convert>
<convert type="ConditionalShowHide">Blink</convert>
</widget>
....
</screen>

 

I want to test the code of 2boom.

I placed the AlwaysTrue.py in /usr/lib/enigma2/python/Components/Renderer

After a resart of enigma AlwaysTrue.py (644) is not compiled to AlwaysTreu.pyo

Other py files are compiled to pyo after a restart of enigma.

Why is AlwaysTrue.py not compiled?

 

# AlwaysTrue by 2boom 2012 v.0.1

from Components.Converter.Converter import Converter
from Components.Element import cached

class AlwaysTrue(Converter, object):

	def __init__(self, type):
		Converter.__init__(self, type)

	@cached
	def getBoolean(self):
		return True
		
	boolean = property(getBoolean)

	def changed(self, what):
		Converter.changed(self, what)

VU+Ultimo met OpenPLI 4.0, 2TB hdd. Oscam, CD seca3 kaart en Ziggo kaart.
Dreambox 7025+ met temperatuur geregelde koeling, OpenPLI image, Swapfile 64mb op CF kaart.
VU+DUO met openPLI CCcam.


22 user(s) are reading this topic

0 members, 22 guests, 0 anonymous users