Jump to content


Photo

NEW plugin: InfoBarWeather


  • Please log in to reply
167 replies to this topic

Re: NEW plugin: InfoBarWeather #161 algian

  • New Member
  • 3 posts

0
Neutral

Posted 16 May 2024 - 02:51

 

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.

 

P.S.  The server started providing correct data and the problem was solved. 



Re: NEW plugin: InfoBarWeather #162 pzanone

  • Senior Member
  • 224 posts

+13
Neutral

Posted 21 May 2024 - 16:56

great

 

my locale IT

 

 

Attached Files



Re: NEW plugin: InfoBarWeather #163 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 21 May 2024 - 17:07

It is not the mo file that is needed but the po file.

 

The plugin git is here:

 

https://github.com/s...-infobarweather

 

But unfortunately, scriptmelvin has passed away.

 

I saw that there is already a PR that nobody is able to approuve to add tr.po

 

So I don't know if OpenPLi fork it to keep a git where we can submit PR to.


Edited by Pr2, 21 May 2024 - 17:11.

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 #164 Loui (PD1LOI)

  • Senior Member
  • 4,608 posts

+146
Excellent

Posted 29 May 2024 - 08:50

A comment As soon as I want to add a location, this is well given in the search screen. But as soon as I save this, my location is not given again but just my country. Where does things go wrong? 

Attached File  1_0_19_4BC9_832_600_FFFF0000_0_0_0_20240529095131.jpg   110.5KB   1 downloads


Edited by Loui (PD1LOI), 29 May 2024 - 08:53.


Re: NEW plugin: InfoBarWeather #165 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 29 May 2024 - 17:06

Toon locatie als is accordint to me a cosmetic parameter that will display something else than the Locatie.

In my setup the "Toon locatie als" is empty and I have the "Locatie" set.

 

Perform a:

grep config.plugins.InfoBarWeather. /etc/settings/

You will see that there is an id associated with your location and latitude and longitude are also set.

The locationname is probably the true name of it and the locationname2 is the one you prefered to see displayed.


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 #166 Loui (PD1LOI)

  • Senior Member
  • 4,608 posts

+146
Excellent

Posted 30 May 2024 - 08:53

Toon locatie als is accordint to me a cosmetic parameter that will display something else than the Locatie.

In my setup the "Toon locatie als" is empty and I have the "Locatie" set.

 

Perform a:

grep config.plugins.InfoBarWeather. /etc/settings/

You will see that there is an id associated with your location and latitude and longitude are also set.

The locationname is probably the true name of it and the locationname2 is the one you prefered to see displayed.

Remains unchanged here if I adjust it.
config.plugins.InfoBarWeather.displayas=
config.plugins.InfoBarWeather.locationid=2759880
config.plugins.InfoBarWeather.locationlat=52.33576
config.plugins.InfoBarWeather.locationlon=5.21919
config.plugins.InfoBarWeather.locationname=Almere
config.plugins.InfoBarWeather.locationname2=Almere Haven

Edited by Loui (PD1LOI), 30 May 2024 - 08:59.


Re: NEW plugin: InfoBarWeather #167 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 30 May 2024 - 08:57

You need to connect with telnet/ssh:
 
init 4
change the configuration file /etc/settings
init 3
If you change it live without stopping OpenPLi the change will be not be taken into consideration and the old configuration will overwrite your changes.

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 #168 Loui (PD1LOI)

  • Senior Member
  • 4,608 posts

+146
Excellent

Posted 30 May 2024 - 09:06

Oops! You were right I forgot to stop enigma. and it works, thank you.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users