Jump to content


Photo

NEW plugin: InfoBarWeather


  • Please log in to reply
167 replies to this topic

Re: NEW plugin: InfoBarWeather #141 scriptmelvin †

  • PLi® Contributor
  • 720 posts

+46
Good

Posted 7 April 2023 - 15:11

Can you check if you have $TMPDIR set on this box? Otherwise it's pointless...

 

EDIT: what does this print?

import tempfile
print(tempfile.gettempdir())

Edited by scriptmelvin, 7 April 2023 - 15:15.

Sorry to inform you this member, my brother, passed away.

Re: NEW plugin: InfoBarWeather #142 Dimitrij

  • PLi® Core member
  • 10,258 posts

+347
Excellent

Posted 7 April 2023 - 18:36

gbquad4k login: root
Last login: Fri Apr  7 19:52:17 EEST 2023 on pts/0
root@gbquad4k:~# python
Python 3.9.9 (main, Jan 26 2023, 17:53:23)
[GCC 10.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tempfile
>>> print(tempfile.gettempdir())
/tmp
>>>

 


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: NEW plugin: InfoBarWeather #143 scriptmelvin †

  • PLi® Contributor
  • 720 posts

+46
Good

Posted 7 April 2023 - 19:17

That is weird... And does it exist and have proper permissions?

ls -ld $(readlink -f /tmp)

Sorry to inform you this member, my brother, passed away.

Re: NEW plugin: InfoBarWeather #144 Dimitrij

  • PLi® Core member
  • 10,258 posts

+347
Excellent

Posted 8 April 2023 - 05:41

scriptmelvin

 

 

I was checking and running enigma from the console, at some point such a failure occurred.

Probably this is an exception.

Forget about it :) .


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: NEW plugin: InfoBarWeather #145 Marchella

  • Senior Member
  • 120 posts

+1
Neutral

Posted 9 April 2023 - 05:26

Good afternoon! Dear developer, could you add to the weather plugin scaling function? The thing is that on small deogonaley TV for those who can not see it looks not good.

 

Tnx!!!


LG 55UJ630V 4K UHD > Яндекс Станция Дуо Макс & Zgemma H7 S 4K UHD
 
Samsung QE55Q60A 4K UHD > Яндекс Станция Макс & Zgemma H9 Twin 4K UHD <> LCD4linux met Samsung SPF 87H


Re: NEW plugin: InfoBarWeather #146 scriptmelvin †

  • PLi® Contributor
  • 720 posts

+46
Good

Posted 9 April 2023 - 19:59

The plugin is specifically made for the PLi HD skins, and should be skinned for other skins (like any plugin). It might also involve converting all pixmaps to vector graphics...

 

What skin is used on this small TV?


Sorry to inform you this member, my brother, passed away.

Re: NEW plugin: InfoBarWeather #147 Marchella

  • Senior Member
  • 120 posts

+1
Neutral

Posted 18 April 2023 - 04:16

 

What skin is used on this small TV?

Pli fulhd 


LG 55UJ630V 4K UHD > Яндекс Станция Дуо Макс & Zgemma H7 S 4K UHD
 
Samsung QE55Q60A 4K UHD > Яндекс Станция Макс & Zgemma H9 Twin 4K UHD <> LCD4linux met Samsung SPF 87H


Re: NEW plugin: InfoBarWeather #148 demosat1

  • Senior Member
  • 367 posts

+6
Neutral

Posted 26 April 2023 - 09:59

Hi,

There is a cosmetic error with the display of the character "A" on the screen between the date and the city when pressing the ok key twice.

 

rwlj.jpg



Re: NEW plugin: InfoBarWeather #149 veles24

  • New Member
  • 3 posts

0
Neutral

Posted 25 July 2023 - 17:32

Спасибо за отличный плагин! . Большая просьба к вам.Я бы хотел, чтобы информация постоянно отображалась на экране, например, если я выбираю погоду, и выбрано - "отображение информации сверху". И не так, как сейчас, с помощью кнопки вызова информационной панели.

 

Please post in English, or use a translation service!

 

Thanks for the great plugin! . A big request to you. I would like the information to be constantly displayed on the screen, for example, if I select the weather, and "display information from above" is selected. And not like now, using the button to call the information panel.



Re: NEW plugin: InfoBarWeather #150 piplan1966

  • Senior Member
  • 281 posts

+3
Neutral

Posted 18 December 2023 - 04:46

Hi
I have installed the infobarweather plugin,
Now this message is coming,

please configure a location in plugin setting,
How to set it please confirm
May Allah bless you



Re: NEW plugin: InfoBarWeather #151 rafail2003

  • Member
  • 15 posts

+4
Neutral

Posted 18 December 2023 - 20:55

Menu / plugins / InfoBarWeather

 

Enable the plugin, add your location and activate what you want to see and what you don't want to see in the information bar
Save

 

 

 

1-0-1-FE6-D-1-E080000-0-0-0-202312182144



Re: NEW plugin: InfoBarWeather #152 piplan1966

  • Senior Member
  • 281 posts

+3
Neutral

Posted 19 December 2023 - 04:00

Menu / plugins / InfoBarWeather
 
Enable the plugin, add your location and activate what you want to see and what you don't want to see in the information bar
Save

thanks

Re: NEW plugin: InfoBarWeather #153 gintarasarm

  • Senior Member
  • 71 posts

0
Neutral

Posted 19 December 2023 - 09:39

Hi Guys, how to correctly write location on this plugin?

Thanks in advance for your answer



Re: NEW plugin: InfoBarWeather #154 Loui (PD1LOI)

  • Senior Member
  • 4,589 posts

+146
Excellent

Posted 1 January 2024 - 09:55

I see a setting that I can't really explain.
Once you enter Location you can enter your own city name. As soon as you press "Enter" you will see "Netherlands(NL)" And at "Show Location As" you will also see "Netherlands(NL)". Can't this just be made the way it was in the beginning, just your place name?


Re: NEW plugin: InfoBarWeather #155 Pr2

  • PLi® Contributor
  • 6,165 posts

+261
Excellent

Posted 2 January 2024 - 19:28

Press Menu go into Plugins there you will find the InfoBarWeather select it.

 

Second option is location, select it. With the virtual keyboard you can typing the name of your location, press the green button and it will show you the list of found locations that match your search.

If nothing is found then try a main city close to your location.  If it still find nothing then you are unlucky and the weather is not available for it from this plugin.

 

I think that the weather provider used for this plugin is not worlwide, if I remember well it's mainly for Europe.

 

If you want to switch from virtual keyboard to SMS style keyboard press the Teletext button.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: NEW plugin: InfoBarWeather #156 algian

  • New Member
  • 3 posts

0
Neutral

Posted 5 April 2024 - 03:47

My sunrise and sunset times are displayed incorrectly. For example, the real time of sunrise is 05:56, sunset is 19:03, and the plugin displays 02:56 and 16:03. I think the problem is in the weather.json file data.
 
Can you tell me what to change in the plugin.py file to display the time correctly.
Or perhaps make a choice in the settings for a time offset for sunset and sunrise. I think this problem occurs not only for me.

Attached Files



Re: NEW plugin: InfoBarWeather #157 littlesat

  • PLi® Core member
  • 57,058 posts

+698
Excellent

Posted 5 April 2024 - 10:05

Please be aware that in OpenPLi development we now have a plugin type that can add instantiated screen to the infobar via a plugin type... which will make this plugin kind of easier...

 

https://github.com/O...2f6abaa7a928f57

 

I see it now tries to add these type of screens via a kind of 'hack' via session start etc... All that could be removed by just pointing to the InfoBarWeather screen class.


Edited by littlesat, 5 April 2024 - 10:12.

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


Re: NEW plugin: InfoBarWeather #158 littlesat

  • PLi® Core member
  • 57,058 posts

+698
Excellent

Posted 5 April 2024 - 10:16

Sorry me again... for this code it might be needed I need to add some adaptions to it that you can do an instant enable/disable within a plugin that helps to remove/add/adapt these instantiated screens.... but that is finetuning.


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


Re: NEW plugin: InfoBarWeather #159 algian

  • New Member
  • 3 posts

0
Neutral

Posted 5 April 2024 - 16:34

Hi,

There is a cosmetic error with the display of the character "A" on the screen between the date and the city when pressing the ok key twice.

 

rwlj.jpg

I changed line 190 in file plugin.ru and the problem was solved.
was                        self[name] = Label("a")
became                 self[name] = Label()


Re: NEW plugin: InfoBarWeather #160 demosat1

  • Senior Member
  • 367 posts

+6
Neutral

Posted 5 April 2024 - 19:24

Thank you that's nice




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users