[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

Wasserwerk33

Hallo.

kann mir einer sagen was ich falsche mache??
habe diese update gemacht
update 77_UWZ.pm https://raw.githubusercontent.com/tobias-d-oe/fhem-uwz/new-features/controls_uwz.txt

bekomme diese Meldung

UPD FHEM/77_UWZ.pm

New entries in the CHANGED file:
-2016-08-02
  - feature: new Readings: WarnUWZLevel,WarnUWZLevel_Color,WarnUWZLevel_Str
  - Version bump to 1.4.5
Calling /usr/bin/perl ./contrib/commandref_join.pl -noWarnings, this may take a while

update finished, "shutdown restart" is needed to activate the changes.

Please consider using the global attribute sendStatistics

habe shutdown und restart gemacht

und erhalte nach dieser eingabe define Unwetterzentrale UWZ DE 49479 3600
kann UWZ modul nicht finden.

wo ist was falsch??

danke schon mal im vorraus

CoolTux

UWZ gibt es offiziell über das FHEM Update. Du kannst also dein Eintrag raus nehmen und noch mal ein update in FHEM eingeben.

Ich gehe mal von aus Du Du mit dem derzeitigen Modul ein Rechteproblem hast.
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

Wasserwerk33

Vielleicht eine doofe Frage. Aber bin Anfänger. Aber wie lösche ich das Module?

CoolTux

Nicht das Modul loschen sondern Dein Updateeintrag sofern dieser fest ist. Wenn nicht dann einfach Fach update eingeben und das Modul sollte mit dem aktuellen fhem Update überschrieben werden.
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

Wasserwerk33

Okay. Das Update habe ich gemacht. Stand auch das ein Update von uwz gemacht wurde trotzdem funktioniert es leider nicht

CoolTux

Ok. Ich gehe meistens davon aus das die User entsprechend der Commandref die dazu nötigen Perl Module mit installiert haben. Hast du das? Was sagt den das Logfile?
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

Wasserwerk33

Ich hoffe das. ich habe die anleitung nach dem was in Fhem Wiki drinsteht gemacht. habe da aber gerade nochmal nachgeschaut. dort finde ich von Perl Module nichts. welche wären den diese??

logfile: das waren der letzet eintrag zu UWz

2017.01.06 19:25:15 0: Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/77_UWZ.pm line 1153.
BEGIN failed--compilation aborted at ./FHEM/77_UWZ.pm line 1153.

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

Wasserwerk33

Habe jetzt alles was perl angeht installiert und updates gemacht. Fhem nochmal zuzätzlich.
es will einfach nicht klappen.  :(

diese schreibt mir fhem immer wieder
bei jedem update

2017.01.06 21:02:34 1 :
2017.01.06 21:02:34 1 : fhem
2017.01.06 21:02:35 1 : UPD FHEM/77_UWZ.pm
2017.01.06 21:02:35 1 : saving fhem.cfg
2017.01.06 21:02:35 1 : saving ./log/fhem.save
2017.01.06 21:02:35 1 :
2017.01.06 21:02:35 1 :
2017.01.06 21:02:35 1 : uwz
2017.01.06 21:02:35 1 : UPD FHEM/77_UWZ.pm
2017.01.06 21:02:36 1 : saving fhem.cfg
2017.01.06 21:02:36 1 : saving ./log/fhem.save
2017.01.06 21:02:36 1 :
2017.01.06 21:02:36 1 : New entries in the CHANGED file:
2017.01.06 21:02:36 1 : -2016-07-23
2017.01.06 21:02:36 1 : - added attribute lang to overwrite warn message language. Can be set to "en/it/es/..."
2017.01.06 21:02:36 1 : - Version bump to 1.4.2
2017.01.06 21:02:36 1 : Calling /usr/bin/perl ./contrib/commandref_join.pl -noWarnings, this may take a while
2017.01.06 21:02:40 1 :
2017.01.06 21:02:40 1 : update finished, "shutdown restart" is needed to activate the changes.
2017.01.06 21:02:40 1 :
2017.01.06 21:02:40 1 : Please consider using the global attribute sendStatistics
2017-01-06 21:02:40 Global global UPDATE

CoolTux

und was schreibt dir das log wenn du nun versuchst uwz zu definieren?
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

Wasserwerk33

so habe nun mal alles zusammen gescuht was ich im logfile finden konnte zu UWZ.

PERL WARNING: Subroutine UWZ_Log redefined at ./FHEM/77_UWZ.pm line 72.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_Map2Movie redefined at ./FHEM/77_UWZ.pm line 86.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_Map2Image redefined at ./FHEM/77_UWZ.pm line 118.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_Initialize redefined at ./FHEM/77_UWZ.pm line 264.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_Define redefined at ./FHEM/77_UWZ.pm line 286.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_Undef redefined at ./FHEM/77_UWZ.pm line 330.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_Set redefined at ./FHEM/77_UWZ.pm line 341.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_Get redefined at ./FHEM/77_UWZ.pm line 377.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_GetCurrent redefined at ./FHEM/77_UWZ.pm line 432.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_GetCurrentHail redefined at ./FHEM/77_UWZ.pm line 455.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_JSONAcquire redefined at ./FHEM/77_UWZ.pm line 479.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_Start redefined at ./FHEM/77_UWZ.pm line 506.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_Aborted redefined at ./FHEM/77_UWZ.pm line 549.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_Done redefined at ./FHEM/77_UWZ.pm line 557.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_Run redefined at ./FHEM/77_UWZ.pm line 617.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZAsHtml redefined at ./FHEM/77_UWZ.pm line 884.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZAsHtmlLite redefined at ./FHEM/77_UWZ.pm line 948.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZAsHtmlFP redefined at ./FHEM/77_UWZ.pm line 1009.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZAsHtmlMovie redefined at ./FHEM/77_UWZ.pm line 1030.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZAsHtmlKarteLand redefined at ./FHEM/77_UWZ.pm line 1066.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_GetSeverityColor redefined at ./FHEM/77_UWZ.pm line 1098.
2017.01.06 19:22:01 1: PERL WARNING: Subroutine UWZ_GetUWZLevel redefined at ./FHEM/77_UWZ.pm line 1114.
2017.01.06 19:22:01 1: reload: Error:Modul 77_UWZ deactivated:
Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/77_UWZ.pm line 1153.
BEGIN failed--compilation aborted at ./FHEM/77_UWZ.pm line 1153.

2017.01.06 19:22:01 0: Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/77_UWZ.pm line 1153.
BEGIN failed--compilation aborted at ./FHEM/77_UWZ.pm line 1153.

oben steht sehr viel mit warrning.

CoolTux

Hast Du dieses Packet installiert

libxml-simple-perl


Bite einmal prüfen

dpkg -l | grep xml


Wenn das Packet nicht installiert ist dann bitte installieren

apt-get install libxml-simple-perl


Die Warnings sind ok und richtig



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

Wasserwerk33

Ich weiß nicht wo mein fehler ist.

aber dieses habe ich noch gefunden in dem augenblick wo du mir geschrieben hast.

/etc/perl
    /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2
    /usr/local/share/perl/5.20.2
    /usr/lib/arm-linux-gnueabihf/perl5/5.20
    /usr/share/perl5
    /usr/lib/arm-linux-gnueabihf/perl/5.20
    /usr/share/perl/5.20
    /usr/local/lib/site_perl

und wenn ich das richtige lesen kann fehlt die datei ist das richtig??

Wasserwerk33

habe es so gemacht wie du es geschrieben hast.

danke schön es funktoniert nun.

Wünsche dir noch einen schönen abend. Und nochmals danke schön

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