[Unwetterwarnung] 77_UWZ.pm Modul für unwetterzentrale.de und wetteralarm.at

Begonnen von CoolTux, 23 März 2016, 12:06:02

Vorheriges Thema - Nächstes Thema

SibbeH

Zitat von: Georges am 28 September 2018, 09:28:19
Wie ich verstehe, sind die Karten im Modul codiert, ist es möglich, den Code für Frankreich hinzuzufügen?


Im Januar dieses Jahres habe ich das Niederländisch hinzugefügt (https://forum.fhem.de/Index.php/topic,51233.msg756255.html#msg756255). Ich könnte versuchen, auch die Französische Sprache und die Karten hinzuzufügen. Ich bin im Moment beschäftigt, aber ich könnte in ungefähr 2 Wochen anfangen.

Gruß SibbeH
Raspberry Pi, CULV3, 3xCUNO, MAX Thermostat, MAX Wandthermostat, HM, HmIP. UWZ, WeekProfile

SibbeH

Zitat von: Georges am 28 September 2018, 09:28:19
Wie ich verstehe, sind die Karten im Modul codiert, ist es möglich, den Code für Frankreich hinzuzufügen?


@CoolTux
@Georges

Die französische Sprache und die Karten wurden ebenfalls hinzugefügt, siehe Anhang.

Gruß SibbeH
Raspberry Pi, CULV3, 3xCUNO, MAX Thermostat, MAX Wandthermostat, HM, HmIP. UWZ, WeekProfile

CoolTux

Hallo SibbeH,

Vielen Dank für Deine tolle Arbeit. Ich werde mir das die nächsten Tage einmal anschauen.
Hast Du Deine neue Version bei Dir am laufen?
Könntest Du mir statt der ganzen Datei ein Patch zur Verfügung stellen oder gerne auch ein pull request auf Github.


Grüße
Leon
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

SibbeH

Hallo Leon,

Zitat
Vielen Dank für Deine tolle Arbeit. Ich werde mir das die nächsten Tage einmal anschauen.

Danke sehr.

Zitat
Hast Du Deine neue Version bei Dir am laufen?

Version 2.0.1 (niederländisch hinzugefügt und die Anzeige des Datums leicht modifiziert) lauft bei mir seit Januar dieses Jahres auf meinem Hauptsystem.
Version 2.0.2 (Französisch hinzugefügt) läuft seit einigen Tagen auf meinem Testsystem. Siehe Anhänge.

Zitat
Könntest Du mir statt der ganzen Datei ein Patch zur Verfügung stellen oder gerne auch ein pull request auf Github.

Dies wird ein paar Tage dauern. Ich habe keine Erfahrung damit, also muss ich zuerst herausfinden, wie das funktioniert.

Gruß
SibbeH
Raspberry Pi, CULV3, 3xCUNO, MAX Thermostat, MAX Wandthermostat, HM, HmIP. UWZ, WeekProfile

CoolTux

Ich habe Version 2.0.3 ins SVN geladen.
- Sprachsupport für Holländisch und Französisch / vielen vielen Dank an SibbeH für die tolle Arbeit
- neues Attribut disable



Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

SibbeH

Raspberry Pi, CULV3, 3xCUNO, MAX Thermostat, MAX Wandthermostat, HM, HmIP. UWZ, WeekProfile

shamal2008

Hallo zusammen,

kurze Frage: ich verwende seit ein paar Wochen das Modul und es funktionierte auch sehr gut. Heute ist mir aufgefallen, dass die Warnung für Wien nicht "hereingeholt" wird. Das Modul behauptet, dass es keine Warnungen gibt, auf der Homepage ist die Sturm-Warnung orange. Die Area-ID ist mit dem Locator aus dem Wiki erstellt. Manuelles Update wurde gemacht...

Hier das aktuelle List des Moduls:

Internals:
   CountryCode AT
   DEF        AT 00001 1800
   INTERVAL   1800
   INTERVALWARN 0
   NAME       uwz.wien
   NR         116
   PLZ        00001
   STATE      Warnungen: 0
   TYPE       UWZ
   URL        http://feed.alertspro.meteogroup.com/AlertsPro/AlertsProPollService.php?method=getWarning&language=de&areaID=UWZAT00001
   VERSION    2.0.3
   Helper:
     DBLOG:
       lastConnection:
         DBLogging:
           TIME       1546348711.99294
           VALUE      5 values captured in 0.00 s
   READINGS:
     2019-01-01 14:18:31   WarnCount       0
     2019-01-01 14:18:31   WarnUWZLevel    0
     2019-01-01 14:18:31   WarnUWZLevel_Color gruen
     2019-01-01 14:18:31   WarnUWZLevel_Str Stufe Grün (keine Warnung)
     2019-01-01 14:08:50   currentIntervalMode normal
     2019-01-01 14:18:31   durationFetchReadings 0.00
     2019-01-01 14:18:31   lastConnection  5 values captured in 0.00 s
     2019-01-01 14:18:31   state           Warnungen: 0
   fhem:
     LOCAL      0
   helper:
Attributes:
   DbLogExclude .*
   DbLogInclude lastConnection, state, WarnCount
   download   1
   event-on-change-reading lastConnection, WarnCount
   humanreadable 1
   maps       oesterreich wien burgenland
   room       Meteo
   savepath   /tmp/

Habt ihr eine Idee?

lg und prosit Neujahr aus Wien,
Thomas
FHEM auf RasPiI 3+, MapleCUL 868+433MhZ, MAX! via CUL, LD686 LED-Controller, GHoma Plugins,, Shelly, ConbeeII + IKEA + Xiaomi, div. Infodienste & Google Assistant via FHEM;

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux


<result>
<cities previousOffset="-1" nextOffset="10">
<city country="43" city="3" id="18133754" country-name="Austria" province-name="Wien" continent="6" inhabitants="1562676" longitude="16.3717" latitude="48.2083" name="Wien" timezone="Europe/Vienna"/>
<city country="49" city="8233" id="18226330" country-name="Germany" province-name="Bavaria" continent="6" inhabitants="4000" longitude="12.75115" latitude="47.76313" name="Wien (Inzell)" timezone="Europe/Berlin"/>
<city country="111" city="171014" id="18990887" country-name="United States of America" province-name="Wisconsin" continent="4" inhabitants="700" longitude="-90.0245751" latitude="44.9019105" name="Wien" timezone="America/Chicago"/>
<city country="111" city="83323" id="18903303" country-name="United States of America" province-name="Missouri" continent="4" inhabitants="0" longitude="-92.7843587" latitude="39.6608615" name="Wien" timezone="America/Chicago"/>
<city country="49" city="2669" id="18220778" country-name="Germany" province-name="North Rhine-Westphalia" continent="6" inhabitants="273000" longitude="7.62084" latitude="51.96214" name="Wienburg (Münster)" timezone="Europe/Berlin"/>
<city country="49" city="1983" id="18220092" country-name="Germany" province-name="Lower Saxony" continent="6" inhabitants="75000" longitude="10.4076" latitude="53.25181" name="Wienebüttel (Lüneburg)" timezone="Europe/Berlin"/>
<city country="43" city="1928" id="18135678" country-name="Austria" province-name="Niederösterreich" continent="6" inhabitants="35000" longitude="16.2309" latitude="47.8121" name="Wiener Neustadt" timezone="Europe/Vienna"/>
<city country="49" city="2499" id="18220608" country-name="Germany" province-name="Lower Saxony" continent="6" inhabitants="15000" longitude="7.79181" latitude="53.57246" name="Wienstede (Wittmund)" timezone="Europe/Berlin"/>
<city country="49" city="2461" id="18220570" country-name="Germany" province-name="Lower Saxony" continent="6" inhabitants="15000" longitude="8.19725" latitude="52.52127" name="Wienerei (Damme)" timezone="Europe/Berlin"/>
<city country="49" city="2282" id="18220391" country-name="Germany" province-name="Lower Saxony" continent="6" inhabitants="15000" longitude="7.75352" latitude="52.73585" name="Wienöbst (Löningen)" timezone="Europe/Berlin"/>
</cities>
<pois>
<poi country="49" id="16115820" country-name="Germany" continent="6" longitude="9.633333" latitude="51.633333" name="Wiensener-Berg" timezone="Europe/Berlin"/>
<poi country="49" id="16115819" country-name="Germany" continent="6" longitude="9.583333" latitude="51.65" name="Wiensener Buchen-Berg" timezone="Europe/Berlin"/>
<poi country="43" id="1658116" country-name="Austria" continent="6" longitude="15.366667" latitude="48.8" name="Wieningerberg" timezone="Europe/Vienna"/>
<poi country="49" id="16115822" country-name="Germany" continent="6" longitude="7.55" latitude="51.133333" name="Wienhagen" timezone="Europe/Berlin"/>
<poi country="162" id="16363694" country-name="Indonesia" continent="2" longitude="129.814722" latitude="-1.918333" name="Wieng" timezone="Asia/Jayapura"/>
<poi country="43" id="1654468" country-name="Austria" continent="6" longitude="16.116667" latitude="48.183333" name="Wienerwaldsee" timezone="Europe/Vienna"/>
<poi country="43" id="1658117" country-name="Austria" continent="6" longitude="16" latitude="48.166667" name="Wienerwald" timezone="Europe/Vienna"/>
<poi country="43" id="1654572" country-name="Austria" continent="6" longitude="16.116667" latitude="48.1" name="Wienerwald" timezone="Europe/Vienna"/>
<poi country="43" id="1654485" country-name="Austria" continent="6" longitude="16.183333" latitude="48.2" name="Wienerwald" timezone="Europe/Vienna"/>
<poi country="47" id="1685665" country-name="Norway" continent="6" longitude="15.816667" latitude="77.066667" name="Wienertinden" timezone="Arctic/Longyearbyen"/>
</pois>
</result>


Ich habe mal
city country="43" city="1928" id="18135678" country-name="Austria" province-name="Niederösterreich" continent="6" inhabitants="35000" longitude="16.2309" latitude="47.8121" name="Wiener Neustadt" timezone="Europe/Vienna
genommen und dann bekomme ich als areaId UWZAT00278


Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

frank

frohes neues!

bei mir gibt es heute auch keine feed warnings.
vielleicht hat der feed beauftragte noch urlaub?
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

bartman121

Gleiches problem hier, der feed gibt keine warnungen aus obwohl welche vorhanden sind.


shamal2008

Zitat von: CoolTux am 01 Januar 2019, 15:12:30
<result>
<cities previousOffset="-1" nextOffset="10">
<city country="43" city="3" id="18133754" country-name="Austria" province-name="Wien" continent="6" inhabitants="1562676" longitude="16.3717" latitude="48.2083" name="Wien" timezone="Europe/Vienna"/>


Ich habe mal
city country="43" city="1928" id="18135678" country-name="Austria" province-name="Niederösterreich" continent="6" inhabitants="35000" longitude="16.2309" latitude="47.8121" name="Wiener Neustadt" timezone="Europe/Vienna
genommen und dann bekomme ich als areaId UWZAT00278


Grüße

Hallo CoolTux,

Wien (erste Zeile) ist nicht Wiener Neustadt  ;D (das ist ca. 50km entfernt) - die erste Zeile ist unsere Bundeshauptstadt und es stürmt bereits recht kräftig!

Die Weblinks mit den Karten zeigen mittlerweile Orange (für Wien und Burgenland), nur dem Feed ist es (noch) egal...

Danke und lg
Thomas
FHEM auf RasPiI 3+, MapleCUL 868+433MhZ, MAX! via CUL, LD686 LED-Controller, GHoma Plugins,, Shelly, ConbeeII + IKEA + Xiaomi, div. Infodienste & Google Assistant via FHEM;

CoolTux

Habe es gerade noch mal geprüft. Die Id ist korrekt und der Feed ist leider leer. Tut mir leid. Da kann ich nichts machen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

shamal2008

Hallo CoolTux,

Danke, habe ich befürchtet... frohes neues Jahr euch allen!

lg Thomas
FHEM auf RasPiI 3+, MapleCUL 868+433MhZ, MAX! via CUL, LD686 LED-Controller, GHoma Plugins,, Shelly, ConbeeII + IKEA + Xiaomi, div. Infodienste & Google Assistant via FHEM;