Jump to content


Photo

Plugin Weather widget in infobar


  • Please log in to reply
24 replies to this topic

#1 Amoroso2006

  • Senior Member
  • 62 posts

+1
Neutral

Posted 19 April 2013 - 17:41

hi

 

how to make a small widget in the infobar or secondinfobar

only for my town
without the need of another configuration menu to fix ( town)
that is to say as a direct link

 

 

http://weather.yahoo.com/algeria/oran/oran-2344584/
 

i nedd py or pyo file to introduce in my skin.xml



Re: Plugin Weather widget in infobar #2 2boom

  • Senior Member
  • 100 posts

+17
Neutral

Posted 19 April 2013 - 23:14

my converter and picon, city code from http://weather.yahoo.com/

 

weather_city = '924938' # Kiev code
 
 
<widget source="session.CurrentService" render="PiconUni" path="piconYWeather" position="5,35" size="72,72" zPosition="2" alphatest="blend">
<convert type="YWeather">picon</convert>
</widget>


<widget source="session.CurrentService" render="Label" position="125,40" size="130,57" zPosition="2" font="Regular; 55" halign="center" >
<convert type="YWeather">temp</convert>
</widget>

Attached Files



Re: Plugin Weather widget in infobar #3 Amoroso2006

  • Senior Member
  • 62 posts

+1
Neutral

Posted 20 April 2013 - 11:47

many thanks  2 boom

 

i wil try this I inform you the result that night



Re: Plugin Weather widget in infobar #4 Amoroso2006

  • Senior Member
  • 62 posts

+1
Neutral

Posted 20 April 2013 - 21:15

City     OK

Temp  OK

but no picon of weather

my box is octagon 1008G+SE+ under HDMU image USB



Re: Plugin Weather widget in infobar #5 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 20 April 2013 - 22:11

we do not support octagon box here


on the Glassfibre 1GB DVB-C...


Re: Plugin Weather widget in infobar #6 Amoroso2006

  • Senior Member
  • 62 posts

+1
Neutral

Posted 20 April 2013 - 22:19

i am sorry but it's possible or not to get picon weather  in my infobar of DMconcinnity HD ICE MOD skin or not?



Re: Plugin Weather widget in infobar #7 2boom

  • Senior Member
  • 100 posts

+17
Neutral

Posted 21 April 2013 - 07:34

<widget source="session.CurrentService" render="PiconUni" path="piconYWeather" position="1070,106" size="100,60" zPosition="2" alphatest="blend">
<convert type="YWeather">picon</convert>
</widget>

 

on HDMU works too

Attached Files



Re: Plugin Weather widget in infobar #8 Amoroso2006

  • Senior Member
  • 62 posts

+1
Neutral

Posted 21 April 2013 - 10:26

thank's a lot 2boom

 

stay few step to complete

 

I found some problems to find the location of the files 72x72 (picon)


because it does not exist in my box media/hdd on the contrary I have autofs/sda1

 

l8UiL.png



Re: Plugin Weather widget in infobar #9 Amoroso2006

  • Senior Member
  • 62 posts

+1
Neutral

Posted 21 April 2013 - 12:40

I think there is a problem in the file Piconuni.py
because we do not see the picon 3200.png when there no data
we see the picon of default channel

 

pngname = resolveFilename(SCOPE_SKIN_IMAGE, 'skin_default/picon_default.png')
 

and normally we found

 

 

pngname = resolveFilename(SCOPE_SKIN_IMAGE, 'piconYWeather/3200.png')
 

and for the location we foud this in Piconuni.py

 

 

searchPaths.append("/usr/share/enigma2/%s/")
 

 

but normaly

 

searchPaths.append("/media/usb/%s/") or other location
 


Re: Plugin Weather widget in infobar #10 memfe

  • Member
  • 14 posts

0
Neutral

Posted 21 April 2013 - 16:51

YWeather.py , PiconUni.py and picons files

 

Where to send files?



Re: Plugin Weather widget in infobar #11 Amoroso2006

  • Senior Member
  • 62 posts

+1
Neutral

Posted 21 April 2013 - 20:26

still waiting until 2boom be online ;)



Re: Plugin Weather widget in infobar #12 Amoroso2006

  • Senior Member
  • 62 posts

+1
Neutral

Posted 21 April 2013 - 23:17

it's OK after traying a method of

 

vadim7272
 

 

with WWeather.py



Re: Plugin Weather widget in infobar #13 Amoroso2006

  • Senior Member
  • 62 posts

+1
Neutral

Posted 24 April 2013 - 11:36

stay one problem

 

how to stop the weather widget

if no connect with internet the BOX stay blocked

i think that must create a script or delete the file /tmp/***.xml each time no connection



Re: Plugin Weather widget in infobar #14 hwads

  • Senior Member
  • 197 posts

0
Neutral

Posted 28 April 2013 - 20:35

Hi can someone explain where to put the files please.

 

thanks


DM 8000 using Latest PLI.

Re: Plugin Weather widget in infobar #15 gegone

  • Member
  • 8 posts

0
Neutral

Posted 6 May 2013 - 14:04

in dm800 's openpli2.1 don't work ,why ?



Re: Plugin Weather widget in infobar #16 Amoroso2006

  • Senior Member
  • 62 posts

+1
Neutral

Posted 7 May 2013 - 12:56

zJiG8.png



Re: Plugin Weather widget in infobar #17 Amoroso2006

  • Senior Member
  • 62 posts

+1
Neutral

Posted 7 May 2013 - 13:03

made in star7arab



Re: Plugin Weather widget in infobar #18 memfe

  • Member
  • 14 posts

0
Neutral

Posted 7 May 2013 - 17:59

zJiG8.png

 

Can you share files?

skin files...



Re: Plugin Weather widget in infobar #19 Loui (PD1LOI)

  • Senior Member
  • 4,608 posts

+146
Excellent

Posted 31 May 2013 - 09:33

zJiG8.png

 
Can you share files?
skin files...
Can you gif the location vor picons?

Re: Plugin Weather widget in infobar #20 Loui (PD1LOI)

  • Senior Member
  • 4,608 posts

+146
Excellent

Posted 31 May 2013 - 09:37

Als er iemand is die de juiste locatie aan kan geven voor de piconYWeather dat zou mooi zijn. bij mij werkt alles wel behalve de icoontjes voor het weerbeeld (piconYWeather).


2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users