GP3 weather (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
K
 
(36 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
[[Kategorie:Index]]
 
[[Kategorie:FAQ und Anleitungen]]
 
[[Kategorie:Grundlagen]]
 
 
{|width="40%"
 
{|width="40%"
 
  |[[Bild:deutsch.png]] - [[GP3 weather|in Deutsch]]
 
  |[[Bild:deutsch.png]] - [[GP3 weather|in Deutsch]]
 
  |[[Bild:english.png]] - [[GP3 weather (en)|in English]]
 
  |[[Bild:english.png]] - [[GP3 weather (en)|in English]]
 
  |}
 
  |}
{|width=99%
+
{{Achtung|This weather forecast plugin is no longer available.}}
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 1em 1em 1em;  background-color:#F8F8FF; align:right;">[[Bild:Artikel_Hinweis.png|right|40px|The Gemini Project]]
+
[[Datei:GP3 Wetter.png|right|thumb|400px|msn - Weather forecast]]
=== Weather forecast UNDER CONSTRUCTION ===
+
The '''geminiweather''' Plugin shows the weather forecast, based on the data of [http://weather.msn.com/ msn]. Besides the weather data of the actual day the forecast of the following four days and the lunar phases are displayed.
</div>
 
|-
 
|
 
<div style="background-color: #FFFFFF; border: 1px padding: .4em; solid #cccccc;">
 
__TOC__
 
 
 
The '''geminiweather''' Plugin shows the weather forecast, based on the data of [http://weather.msn.com/ msn]. Bedides the weather data of the actual daythe forecast of the following four days are displayed.
 
  
 
It's possible to see the forecast of different configured cities.  
 
It's possible to see the forecast of different configured cities.  
 
Also using alternative Weather Icons is possible.
 
Also using alternative Weather Icons is possible.
  
= Weather Plugin =
+
== Installation / Deinstallation ==
 
+
The <code>geminiweather</code> plugin can be installed / removed in different ways:
== Installation ==
+
{{Hauptbeitrag (en)|GP3 Addons (en){{!}}GP3 Addons| - Category: Gemini Plugins}}
 
+
{{Hauptbeitrag (en)|WebAdmin (en){{!}}WebAdmin| - Package name: <code>geminiweather</code>}}
Install the Weather Plugin (geminiweather) via '''[Addons]''' in the BluePanel. After a Enigma2 restart, you find the Weather Plugin in the BluePanel. It's also possible to install the plugin over the command line:
+
{{Hauptbeitrag (en)|OPKG (en){{!}}OPKG| - Package name: <code>geminiweather</code>}}
 +
Restart [[Enigma2 (en)|Enigma2]] after the installation, or reboot the Dreambox.
  
opkg update && opkg install geminiweather
+
== Configure Weather Plugin ==
 
 
 
 
Back to [[#top | table of contents]]
 
 
 
== Wetter Plugin einrichten ==
 
 
{|
 
{|
|[[Bild:GP3 Wetter Menü.png|thumb|none|Menü Taste - Skin Beispiel: gp-skin-zombi.hd1r3|420px]]
+
|[[Bild:GP3 Wetter Menu.png|thumb|none|Menu key - Skin example: gp-skin-zombi.hd1r3|420px]]
|[[Bild:GP3 Wetter Bern.png|thumb|none|Wunschstadt eingeben (z.B. Bern)|420px]]
+
|[[Bild:GP3 Wetter Bern.png|thumb|none|Enter desired city (e.g. Bern)|420px]]
 
|}
 
|}
  
Benutzt nach dem Start des Plugins die '''[Menü]''' Taste, um das Plugin zu konfigurieren. Die folgende Tabelle beschreibt die Möglichkeiten der Konfiguration.
+
Use the {{Taste|MENU}} button after starting the plugin to configure the weather forecast. The following list explains the possibilities.
  
{| border=1 style="text-align:center; margin:1em 1em 1em 0; background:#D0D0D0; border:1px #000000 solid; border-collapse:collapse; empty-cells:show;" CELLPADDING=2 CELLSPACING=0"
+
{| class="wikitable" border="1"
| width="180px" | '''Menü Punkt'''
+
! width="180px" | '''Option'''
| width="700px" | '''Beschreibung'''
+
! width="700px" | '''Description'''
|- style="text-align:center; margin:1em 1em 1em 0; background:#FFFFFF"
+
|-  
| width="70px" | '''Stadt hinzufügen'''
+
| width="70px" | '''Add City'''
| width="600px" | Nach drücken der '''[OK]''' Taste könnt ihr eure Wunschstadt eingeben und mit der '''[grünen]''' Taste bestätigen.
+
| width="600px" | after pressing the {{Taste|OK}} button you can enter a city and press the {{Green|green}} button.
|- style="text-align:center; margin:1em 1em 1em 0; background:#FFFFFF"
+
|-  
| width="70px" | '''Einheit in Celsius'''
+
| width="70px" | '''Unit in Celsius'''
| width="600px" | Temperatureinheit definieren, Celsius ('''ja''') oder Fahrenheit ('''nein''').
+
| width="600px" | Define temperature unit, Celsius {{Taste|Yes}} or Fahrenheit {{Taste|No}}.
|- style="text-align:center; margin:1em 1em 1em 0; background:#FFFFFF"
+
|-
| width="70px" | '''Plugin-Icons benutzen'''
+
| width="70px" | '''Use Plugin Icons'''
| width="600px" | Bei der Einstellung '''[Nein]''', werden die Standard msn Icons angezeigt und im Gemini-Cache Ordner gespeichert. Die Einstellung '''[Ja]''' zeigt die Wetter Icons von [http://iconbest.com/ iconbest.com].  
+
| width="600px" | When selecting {{Taste|No}} the standard msn icons are displayed and stored in the Gemini Cache directory. The choice {{Taste|Yes}} shows the Weather Icons from [http://iconbest.com/ iconbest.com].
 +
|-
 +
| width="70px" | Plugin-Icons benutzen
 +
| width="600px" | Bei der Einstellung {{Taste|nein}}, werden die Standard msn Icons angezeigt und im Gemini-Cache Ordner gespeichert. Die Einstellung {{Taste|ja}} zeigt die Wetter Icons von [http://iconbest.com/ iconbest.com].
 +
|-
 +
| width="70px" | Lunar phase
 +
| width="600px" | With this setting it's possible to activate the lunar phase.
 +
|-
 +
| width="70px" | Language
 +
| width="600px" | Some of the Enigma2 languages e.g. Serbian, are not compatible with msn. In this case the weather informations can not be loaded. With this setting it's possible to use an other language for the weather plugin (e.g. en_us).
 
|}
 
|}
  
 
{|
 
{|
|[[Bild:GP3 Wetter Auswahl.png|thumb|none|Stadt auswählen|420px]]
+
|[[Bild:GP3 Wetter Auswahl.png|thumb|none|Select City|420px]]
|[[Bild:GP3 Wetter Anzeige Bern.png|thumb|none|Anzeige vom Wetter mit msn Icons|420px]]
+
|[[Bild:GP3 Wetter Anzeige Bern.png|thumb|none|Display of msn icons|420px]]
 
|}
 
|}
  
In Abhängigkeit der Eingabe, erhält man verschiedene Auswahlmöglichkeiten von Städten. Wählt eure Wunschstadt aus und drückt anschliessend die '''[OK]''' Taste. Die Wettervorhersage wird anschliessend vom Plugin angezeigt.
+
Depending on the entered data you will get a list of cities. Choose the desired city and press the {{Taste|OK}} button. The weather forecast will be shown.
 
 
 
 
Back to [[#top | table of contents]]
 
  
== Einrichten von mehreren Städten ==
+
== Configure multiple cities ==
[[Bild:GP3 Wetter Neue Stadt hinzufügen.png|thumb|none|Mehrere Wetterinformationen|420px]]
+
[[Bild:GP3 Wetter Neue Stadt hinzufuegen.png|thumb|none|Multiple Weather informations|420px]]
  
Weitere Städte könnt ihr auch hinzufügen. Benutzt wieder die '''[Menü]''' Taste und fügt eine neu Stadt hinzu, wie im vorhergehenden Abschnitt beschrieben. Die Wettervorhersage der einzelnen Städte, könnt ihr mit der '''links, rechts''' Taste der Fernbedienung auswählen. Die folgende Tabelle, zeigt die neuen Einstellmöglichkeiten.
+
Additional cities can be added. Use the {{Taste|MENU}} button again and add an new city as described in the previous chapter. The weather forecasts of the different cities can be selected with the {{Taste|◀}}{{Taste|▶}} button of the remote. The following list shows the new settings.
  
{| border=1 style="text-align:center; margin:1em 1em 1em 0; background:#D0D0D0; border:1px #000000 solid; border-collapse:collapse; empty-cells:show;" CELLPADDING=2 CELLSPACING=0"
+
{| class="wikitable" border="1"
| width="160px" | '''Menü Punkt'''
+
! width="160px" | '''Option'''
| width="700px" | '''Beschreibung'''
+
! width="700px" | '''Description'''
|- style="text-align:center; margin:1em 1em 1em 0; background:#FFFFFF"
+
|-  
| width="70px" | '''Stadt hinzufügen'''
+
| width="70px" | '''Add City'''
| width="600px" | Nach drücken der '''[OK]''' Taste könnt ihr eure Wunschstadt eingeben und mit der '''[grünen]''' Taste bestätigen.
+
| width="600px" | After pressing the {{Taste|OK}} button you can add a city and confirm with the {{Green|green}} button.
|- style="text-align:center; margin:1em 1em 1em 0; background:#FFFFFF"
+
|-  
| width="70px" | '''Stadt entfernen'''
+
| width="70px" | '''Remove City'''
| width="600px" | Löscht eine konfigurierte Stadt. Beachtet, dass nur Städte entfernt werden können, welche im Plugin nicht aktiv sind.
+
| width="600px" | Removes a city. Remark: only not active cities can be deleted.
|- style="text-align:center; margin:1em 1em 1em 0; background:#FFFFFF"
+
|-  
| width="70px" | '''Aktualisieren'''
+
| width="70px" | '''Update'''
| width="600px" | Aktualisiert die Wetterinformationen.
+
| width="600px" | Update the weather forecast.
 
|}
 
|}
  
 +
== Activate Plugin Icons ==
 +
[[Bild:GP3 Wetter Plugin Icons.png|thumb|none|Alternative Weather icons|420px]]
  
Back to [[#top | table of contents]]
+
In the Weather Plugin a package with alternative icons for the msn images is included. These can be activated with {{Taste|MENU}} and {{Taste|Use Plugin Icons}} set on {{Taste|Yes}}.
 
 
== Plugin Icons aktivieren ==
 
[[Bild:GP3 Wetter Plugin Icons.png|thumb|none|Alternative Wetter Icons|420px]]
 
 
 
Im Wetter Plugin befindet sich ein alternatives Icon Paket zu den msn Bildern. Dieses könnt ihr aktivieren, wenn ihr via '''[Menü]''' Taste die '''[Plugin-Icons benutzen]''' auf '''ja''' stellt.
 
 
 
  
Back to [[#top | table of contents]]
+
== Sensor fields ==
 +
[[Bild:GP3 Wetter Sensorfelder.png|thumb|none|Infobar - Display of temperature|800px]]
  
== Sensorfelder ==
+
With a GP3 Skins, it's possible to show weather information in the infobar. Change the [[GP3 Sensor fields (en)|sensor field]] settings in the BluePanel => Settings. Following settings are possible:
[[Bild:GP3 Wetter Sensorfelder.png|thumb|none|Infobar - Temperatur Anzeige|800px]]
 
  
Bei einem GP3 Skins, könnt ihr Wetterinformationen in der Infobar anzeigen lassen. Dazu müsst ihr die Sensorfelder im BluePanel => Einstellungen anpassen. Folgende Einstellungen sind möglich.
+
* Weather (actual) - shows the actual temperature
 +
* Weather (today)  - shows the min. / max. temperature of the actual day
 +
* Weather (tomorrow) - shows the min. / max. temperature of tomorrow
  
* Wetter (aktuell) - Zeigt die aktuelle Temperatur
+
== Other Weather Icons ==
* Wetter (Heute)  - Zeigt die min. / max. Temperaturen vom aktuellen Tag
+
If you want, you can use other weather icons.  Copy the icons in the Gemini Cache in the directory '''weather'''. The GP3 Cache can be found in the following directory:
* Wetter (Morgen)  - Zeigt die min. / max. Temperaturen von Morgen
 
 
 
 
 
Back to [[#top | table of contents]]
 
 
 
= Andere Wetter Icons =
 
 
 
Wenn ihr andere Wetter Icons benutzen wollt, müsst ihr sie im Gemini-Cache in den Ordner '''weather''' kopieren. Der GP3-Cache befindet sich in folgendem Verzeichnis:
 
  
 
  /home/root/.geminicache
 
  /home/root/.geminicache
  
Die Bilder müssen im [http://de.wikipedia.org/wiki/Graphics_Interchange_Format gif] Format sein. 8 bit png's werden auch unterstützt. Die Dateiendung '''muss''' aber in gif umbenannt werden, damit sie dargestellt werden. Anschliessend müsst ihr noch die Einstellung '''[Plugin-Icons]''' auf '''nein''' ändern.  
+
The images should be saves as [http://en.wikipedia.org/wiki/Graphics_Interchange_Format gifs]. 8 bit png's are also supported. but the extension '''must''' be changed in gif to be displayed. Also make sure the setting {{Taste|Use Plugin Icons}} is set to {{Taste|No}}.  
  
Beispiele von verschiedenen Wetter Icons, sind in den folgenden Bildern ersichtlich.
+
Examples of different weather icons:
  
 
{|
 
{|
Zeile 123: Zeile 105:
 
|}
 
|}
  
'''Zurück zur Übersicht:[[Gemini-Wiki:Portal]] oder [[Hauptseite]]'''
+
== Config file ==
 +
The selected cities for the plugin are stored in the file <code>weather.conf</code> in the <code>weather</code> directory of the [[GP3_general_settings_(en)#Path_for_Gemini-Cache|Gemini cache]].
 +
 
 +
{{Hinweis|The <code>weather</code> directory can be copied in the geminicache directory of other boxes.  This way you don't need to set the settings again.}}
 +
 
 +
 
 +
[[Kategorie:GP3 (en)]]

Aktuelle Version vom 14. April 2016, 17:45 Uhr

Deutsch.png - in Deutsch English.png - in English
Ambox attention.png This weather forecast plugin is no longer available.
msn - Weather forecast

The geminiweather Plugin shows the weather forecast, based on the data of msn. Besides the weather data of the actual day the forecast of the following four days and the lunar phases are displayed.

It's possible to see the forecast of different configured cities. Also using alternative Weather Icons is possible.

Installation / Deinstallation

The geminiweather plugin can be installed / removed in different ways:

Hauptbeitrag.png see article: GP3 Addons - Category: Gemini Plugins
Hauptbeitrag.png see article: WebAdmin - Package name: geminiweather
Hauptbeitrag.png see article: OPKG - Package name: geminiweather

Restart Enigma2 after the installation, or reboot the Dreambox.

Configure Weather Plugin

Menu key - Skin example: gp-skin-zombi.hd1r3
Enter desired city (e.g. Bern)

Use the MENU button after starting the plugin to configure the weather forecast. The following list explains the possibilities.

Option Description
Add City after pressing the OK button you can enter a city and press the green button.
Unit in Celsius Define temperature unit, Celsius Yes or Fahrenheit No.
Use Plugin Icons When selecting No the standard msn icons are displayed and stored in the Gemini Cache directory. The choice Yes shows the Weather Icons from iconbest.com.
Plugin-Icons benutzen Bei der Einstellung nein, werden die Standard msn Icons angezeigt und im Gemini-Cache Ordner gespeichert. Die Einstellung ja zeigt die Wetter Icons von iconbest.com.
Lunar phase With this setting it's possible to activate the lunar phase.
Language Some of the Enigma2 languages e.g. Serbian, are not compatible with msn. In this case the weather informations can not be loaded. With this setting it's possible to use an other language for the weather plugin (e.g. en_us).
Select City
Display of msn icons

Depending on the entered data you will get a list of cities. Choose the desired city and press the OK button. The weather forecast will be shown.

Configure multiple cities

Multiple Weather informations

Additional cities can be added. Use the MENU button again and add an new city as described in the previous chapter. The weather forecasts of the different cities can be selected with the button of the remote. The following list shows the new settings.

Option Description
Add City After pressing the OK button you can add a city and confirm with the green button.
Remove City Removes a city. Remark: only not active cities can be deleted.
Update Update the weather forecast.

Activate Plugin Icons

Alternative Weather icons

In the Weather Plugin a package with alternative icons for the msn images is included. These can be activated with MENU and Use Plugin Icons set on Yes.

Sensor fields

Infobar - Display of temperature

With a GP3 Skins, it's possible to show weather information in the infobar. Change the sensor field settings in the BluePanel => Settings. Following settings are possible:

  • Weather (actual) - shows the actual temperature
  • Weather (today) - shows the min. / max. temperature of the actual day
  • Weather (tomorrow) - shows the min. / max. temperature of tomorrow

Other Weather Icons

If you want, you can use other weather icons. Copy the icons in the Gemini Cache in the directory weather. The GP3 Cache can be found in the following directory:

/home/root/.geminicache

The images should be saves as gifs. 8 bit png's are also supported. but the extension must be changed in gif to be displayed. Also make sure the setting Use Plugin Icons is set to No.

Examples of different weather icons:

Beispiel 1
Beispiel 2
Beispiel 3
Beispiel 4

Config file

The selected cities for the plugin are stored in the file weather.conf in the weather directory of the Gemini cache.

Ambox notice.png The weather directory can be copied in the geminicache directory of other boxes. This way you don't need to set the settings again.