hi,
die komische fehlermeldungen die ich bereits im diesen beitrag berichtet hab (http://forum.fhem.de/index.php/topic,17570.msg115928.html#msg115928), die kommen wieder:
Use of uninitialized value $text in concatenation (.) or string at fhem.pl line 621.
Use of uninitialized value $r[0] in join or string at ./FHEM/66_ECMD.pm line 635.
siehe ausschnitt aus der logfile:
2013.12.19 20:55:43 5: WiFLY sending
Use of uninitialized value $text in concatenation (.) or string at fhem.pl line 621.
2013.12.19 20:55:43 5:
2013.12.19 20:55:43 5: WiFLY sending
foo
Use of uninitialized value $text in concatenation (.) or string at fhem.pl line 621.
2013.12.19 20:55:43 5:
Use of uninitialized value $r[0] in join or string at ./FHEM/66_ECMD.pm line 635.
Use of uninitialized value $r[1] in join or string at ./FHEM/66_ECMD.pm line 635.
2013.12.19 20:55:43 5: Triggering myU (1 changes)
2013.12.19 20:55:43 5: Notify loop for myU p1:
2013.12.19 20:55:43 4: eventTypes: ECMDDevice myU p1:
-> p1:
2013.12.19 20:55:43 4: ECMDDevice myU p1
2013.12.19 20:55:43 5: Cmd: >get myU p2<
2013.12.19 20:55:43 5: ECMDDevice: Analyze command >{ "45 6".chr(13) }<
2013.12.19 20:55:43 5: WiFLY sending 45 6
Use of uninitialized value $text in concatenation (.) or string at fhem.pl line 621.
2013.12.19 20:55:43 5:
Use of uninitialized value $r[0] in join or string at ./FHEM/66_ECMD.pm line 635.
2013.12.19 20:55:43 5: Triggering myU (1 changes)
2013.12.19 20:55:43 5: Notify loop for myU p2:
2013.12.19 20:55:43 4: eventTypes: ECMDDevice myU p2: -> p2:
2013.12.19 20:55:43 4: ECMDDevice myU p2
2013.12.19 20:55:43 5: Cmd: >get myU p3<
2013.12.19 20:55:43 5: ECMDDevice: Analyze command >{ "7 8 9".chr(13) }<
2013.12.19 20:55:43 5: WiFLY sending 7 8 9
Use of uninitialized value $text in concatenation (.) or string at fhem.pl line 621.
2013.12.19 20:55:43 5:
Use of uninitialized value $r[0] in join or string at ./FHEM/66_ECMD.pm line 635.
2013.12.19 20:55:43 5: Triggering myU (1 changes)
2013.12.19 20:55:43 5: Notify loop for myU p3:
2013.12.19 20:55:43 4: eventTypes: ECMDDevice myU p3: -> p3:
2013.12.19 20:55:43 4: ECMDDevice myU p3
ich muss noch dazu dagen, dass die telnet verbindung nicht steht.
ausserdem, beim lesen von "p3" wird als antwort den wert "p3" gelesen, was eigentlich falsch ist.
es wäre schön wenn jemand mir helfen könnte.
danke
steve
hmm, keiner weiss rat?
inzwischen bekomme ich diese meldungen jedes mal, also 100% reproduzierbar.
ich hab leider nicht zuviel ahnung von perl sodass ich nicht tiefer debuggen kann.
wer könnte es tun?
Hallo,
Zitathmm, keiner weiss rat?
Innerhalb von knapp 3 Stunden eine Antwort zu "erwarten" klappt hier nicht.
FHEM ist ein privates Projekt - evtl. ist der Modulautor ja auch im Urlaub.
Da es sich allerdings eher um das ECMD-Modul handelt verschiebe ich mal nach "Sonstige Systeme".
Evtl. könntest du ja mal ein "update" versuchen da evtl. niemand (ausser dir) wissen kann auf welchem Stand dein System ist.
Grüße
hi puschel,
sorry, ich wollte neimanden dringen, ich dachte dass es vielleicht keine grosse sache wäre, und jemand der sich mit der dateien auskennt könnte schnell feststellen woran das liegt.
es stimmt aber, ich hab keine infos gegeben um welche sw es sich handelt:
es ist fhem 5.5 von hier (http://fhem.de/fhem-5.5-fb7270.zip), lauft auf ein FB 7240.
Heimautomatisierung-mit-fhem.pdf wurde schon mehrmals gelesen, aber keinen hinweis gefunden der meine probleme irgendwie annähern könnte.
andere dokus kenne ich nicht (z.b. wie entwickelt man ein modul, welche funktion was tut, mit viele kommentare :)), es wäre aber sehr praktisch sowas zu haben, besonders weil die nachfrage im forum groß ist...
bin trotzdem für jeden hinweis dankbar.
steve.
Hallo,
Zitat von: stevestrong am 19 Dezember 2013, 21:11:25
Use of uninitialized value $text in concatenation (.) or string at fhem.pl line 621.
Use of uninitialized value $r[0] in join or string at ./FHEM/66_ECMD.pm line 635.
das ist normal, wenn das Kommando nichts zurückgibt.
Damit diese Meldungen weggehen und nicht dauernd jemand danach fragt, habe ich 66_ECMD.pm angepaßt. Bitte morgen nach 7 Uhr ein Update durchführen.
Grüße
Boris
Boris,
super, ich danke dir, werde ich dann morgen ausprobieren.
eine kurze frage noch: kann ich auf USB stick mit spezielen kommandos updaten?
oder wo krieg eich die neue datei her?
danke nochmal
steve
Hallo steve,
Zitat von: stevestrong am 21 Dezember 2013, 21:52:04
eine kurze frage noch: kann ich auf USB stick mit spezielen kommandos updaten?
Update auf USB-Stick? Spezielles Kommando? Den muss ich wohl nicht verstehen oder hast du da nähere Informationen?
Zitatoder wo krieg eich die neue datei her?
Er gebe bitte den Befehl
update in die obere weiße Befehlszeile der Fhem-Web-Gui ein und bestätige mit der <Enter>-Taste (in der Hoffnung, dass das jetzt nicht wirklich sein erstes Update ist, denn dann sollte er wohl sehr aufmerksam lesen, was da auf seinem Monitor als Antwort kommt).
Gruß
Thomas
also das ist doch mein erstes update... :-\
wie schlimm kann es werden?
Da du noch am Anfang stehst, kann es nur besser werden!
Gruß
Thomas
ja, ich bin sehr neu und bin dankbar für jede unterstützung. ich finde super dass man hier wirklich geholfen wird, auch solchen dummen neulings wie ich :)
jetzt ist aber diese meldung im logfile gekommen:
2013.12.21 23:54:11 5: Cmd: >notice get update 8<
2013.12.21 23:54:11 5: notice read file: ./FHEM/FhemUtils/.notice-confirmation
2013.12.21 23:54:11 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
Undefined subroutine &main::DevIo_CloseDev called at FHEM/Blocking.pm line 86.
was bedeutet das? wurde update gemacht oder doch nicht?
danke nochmal!
Hmmm...
schon lange her... ???
Wie war das doch noch gleich mal...
Gib doch mal bitte update-20130127-001 in die Fhem-Web-GUI-Befehlszeile ein und <Enter> drücken
Versuch macht kluch... ist einfach schon zu lange her (kaputt machst du dadurch nix!)
Gruß
Thomas
ich hab
update 20130127-001
(ohne bindestrich :) eingegeben, darauf eine seite mit "Events: " angezeigt bekommen.
leider gibt es immer noch ein fehler, da im logfile steht:
2013.12.22 00:08:38 5: Cmd: >notice get update 8<
2013.12.22 00:08:38 5: notice read file: ./FHEM/FhemUtils/.notice-confirmation
2013.12.22 00:08:38 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
Undefined subroutine &main::DevIo_CloseDev called at FHEM/Blocking.pm line 86.
was kann ich noch machen?
Hallo steve,
manchmal wäre es für beide Seiten zielführender, wenn nicht nur geschrieben wird "seite mit "Events: "", sondern auch deren Inhalt/Wortlaut zumindest ansatzweise übermittelt wird.
Nach dem update (so eins durchgeführt wurde) hast du shutdown restart abgesetzt?
Gruß
Thomas
hi Thomas,
bei "Events: " war die seite leer, deswegen hab ich keine weitere angaben gemacht.
nach shutdown restart folgende zeilen im logfile:
2013.12.22 14:17:19 5: Cmd: >shutdown restart<
2013.12.22 14:17:19 5: Triggering global (1 changes)
2013.12.22 14:17:19 5: Notify loop for global SHUTDOWN
2013.12.22 14:17:19 4: eventTypes: Global global SHUTDOWN -> SHUTDOWN
2013.12.22 14:17:19 0: Server shutdown
Use of uninitialized value in concatenation (.) or string at ./FHEM/91_eventTypes.pm line 105.
2013.12.22 14:17:24 1: Including fhem.cfg
2013.12.22 14:17:24 5: Cmd: >attr global autoload_undefined_devices 1<
2013.12.22 14:17:24 5: Cmd: >attr global logfile ./log/fhem-%Y-%m-%d.log<
2013.12.22 14:17:24 5: Cmd: >attr global modpath .<
2013.12.22 14:17:24 5: Loading ./FHEM/99_SUNRISE_EL.pm
2013.12.22 14:17:25 5: Loading ./FHEM/99_Utils.pm
2013.12.22 14:17:25 5: Cmd: >attr global motd none<
2013.12.22 14:17:25 5: Cmd: >attr global sendStatistics onUpdate<
2013.12.22 14:17:25 5: Cmd: >attr global statefile ./log/fhem.save<
2013.12.22 14:17:25 5: Cmd: >attr global uniqueID ./FHEM/FhemUtils/uniqueID<
2013.12.22 14:17:25 5: Cmd: >attr global updateInBackground 1<
2013.12.22 14:17:25 5: Cmd: >attr global userattr devStateIcon devStateStyle icon sortby webCmd<
2013.12.22 14:17:25 5: Cmd: >attr global verbose 5<
2013.12.22 14:17:25 5: Cmd: >define telnetPort telnet 7072 global<
2013.12.22 14:17:25 5: Loading ./FHEM/98_telnet.pm
2013.12.22 14:17:25 3: telnetPort: port 7072 opened
2013.12.22 14:17:25 5: Cmd: >define WEB FHEMWEB 8083 global<
2013.12.22 14:17:25 5: Loading ./FHEM/01_FHEMWEB.pm
2013.12.22 14:17:28 3: WEB: port 8083 opened
2013.12.22 14:17:28 5: Cmd: >attr WEB verbose 3<
2013.12.22 14:17:28 5: Cmd: >define WEBphone FHEMWEB 8084 global<
2013.12.22 14:17:28 3: WEBphone: port 8084 opened
2013.12.22 14:17:28 5: Cmd: >attr WEBphone stylesheetPrefix smallscreen<
2013.12.22 14:17:28 5: Cmd: >define WEBtablet FHEMWEB 8085 global<
2013.12.22 14:17:28 3: WEBtablet: port 8085 opened
2013.12.22 14:17:28 5: Cmd: >attr WEBtablet stylesheetPrefix touchpad<
2013.12.22 14:17:28 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m-%d.log fakelog<
2013.12.22 14:17:28 5: Loading ./FHEM/92_FileLog.pm
2013.12.22 14:17:29 5: Cmd: >define autocreate autocreate<
2013.12.22 14:17:29 5: Loading ./FHEM/98_autocreate.pm
2013.12.22 14:17:29 5: Cmd: >attr autocreate filelog ./log/%NAME-%Y-%m-%d.log<
2013.12.22 14:17:29 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2013.12.22 14:17:29 5: Loading ./FHEM/91_eventTypes.pm
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 1.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 1.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 17.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 17.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 19.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 19.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 21.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 21.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 26.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 26.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 29.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 29.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 32.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 32.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 35.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 35.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 36.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 36.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 37.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 37.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 39.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 39.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 41.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 41.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 45.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 45.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 48.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 48.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 49.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 49.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 51.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 51.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 55.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 55.
Use of uninitialized value $a[1] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 68.
Use of uninitialized value $a[2] in hash element at ./FHEM/91_eventTypes.pm line 42, <GEN5> line 68.
2013.12.22 14:17:29 5: Cmd: >define WiFLY ECMD telnet 192.168.100.23:2000<
2013.12.22 14:17:29 5: Loading ./FHEM/66_ECMD.pm
2013.12.22 14:17:29 3: ECMD opening WiFLY (protocol telnet, device 192.168.100.23:2000)
2013.12.22 14:17:32 3: Can't connect to 192.168.100.23:2000: No route to host
2013.12.22 14:17:32 5: Cmd: >attr WiFLY classdefs UART=../fhem/uart.classdef<
2013.12.22 14:17:32 5: WiFLY: adding new class UART from file ../fhem/uart.classdef
2013.12.22 14:17:32 5: WiFLY: evaluating >get p1 cmd { chr(10).chr(13)."foo".chr(13) }<
2013.12.22 14:17:32 5: WiFLY: get p1 command defined as { chr(10).chr(13)."foo".chr(13) }
2013.12.22 14:17:32 5: WiFLY: evaluating >get p2 cmd { "45 6".chr(13) }<
2013.12.22 14:17:32 5: WiFLY: get p2 command defined as { "45 6".chr(13) }
2013.12.22 14:17:32 5: WiFLY: evaluating >get p3 cmd { "7 8 9".chr(13) }<
2013.12.22 14:17:32 5: WiFLY: get p3 command defined as { "7 8 9".chr(13) }
2013.12.22 14:17:32 5: Cmd: >attr WiFLY room Pince<
2013.12.22 14:17:32 5: Cmd: >define myU ECMDDevice UART<
2013.12.22 14:17:32 5: Loading ./FHEM/67_ECMDDevice.pm
2013.12.22 14:17:32 5: Cmd: >attr myU room Pince<
2013.12.22 14:17:32 5: Cmd: >define Log_WiFLY FileLog ./log/WiFLY-%Y-%m-%d.log (WiFLY|UART)<
2013.12.22 14:17:32 5: Cmd: >define readECMD dummy<
2013.12.22 14:17:32 5: Loading ./FHEM/98_dummy.pm
2013.12.22 14:17:32 5: Cmd: >attr readECMD devStateIcon on:on:on off:off:on<
2013.12.22 14:17:32 5: Cmd: >attr readECMD room Pince<
2013.12.22 14:17:32 5: Cmd: >attr readECMD webCmd OlvasdKi<
2013.12.22 14:17:32 5: Cmd: >define rdECMD notify readECMD get myU p1 ; sllep(1) ; get myU p2 ; sleep(1); get myU p3<
2013.12.22 14:17:32 5: Loading ./FHEM/91_notify.pm
2013.12.22 14:17:32 5: Cmd: >attr rdECMD room Pince<
2013.12.22 14:17:33 1: Including ./log/fhem.save
2013.12.22 14:17:33 5: Cmd: >setstate Log_WiFLY active<
2013.12.22 14:17:33 5: Cmd: >setstate Logfile active<
2013.12.22 14:17:33 5: Cmd: >setstate WiFLY disconnected<
2013.12.22 14:17:33 5: Cmd: >setstate autocreate active<
2013.12.22 14:17:33 5: Cmd: >setstate eventTypes active<
2013.12.22 14:17:33 5: Cmd: >setstate global <no definition><
2013.12.22 14:17:33 5: Cmd: >setstate myU p3<
2013.12.22 14:17:33 5: Cmd: >setstate myU 2013-12-22 00:28:48 p1<
2013.12.22 14:17:33 5: Cmd: >setstate myU 2013-12-22 00:28:48 p2<
2013.12.22 14:17:33 5: Cmd: >setstate myU 2013-12-22 00:28:48 p3<
2013.12.22 14:17:33 5: Cmd: >setstate myU 2013-12-22 00:28:48 state p3<
2013.12.22 14:17:33 5: Cmd: >setstate rdECMD active<
2013.12.22 14:17:33 5: Cmd: >setstate readECMD OlvasdKi<
2013.12.22 14:17:33 5: Cmd: >setstate readECMD 2013-12-22 00:28:48 state OlvasdKi<
2013.12.22 14:17:33 5: Interface "interface": readings "", getters "", setters ""
2013.12.22 14:17:33 5: Interface "switch": readings "onoff", getters "onoff", setters ""
2013.12.22 14:17:33 5: Interface "switch_active": readings "onoff", getters "onoff", setters ""
2013.12.22 14:17:33 5: Interface "switch_passive": readings "onoff", getters "onoff", setters "on:off"
2013.12.22 14:17:33 5: Interface "dimmer": readings "onoff:level", getters "onoff:level", setters "on:off:dimto:dimup:dimdown"
2013.12.22 14:17:33 5: Interface "temperature": readings "temperature", getters "temperature", setters ""
2013.12.22 14:17:33 5: Interface "humidity": readings "humidity", getters "humidity", setters ""
2013.12.22 14:17:33 5: Interface "wind": readings "wind", getters "wind", setters ""
2013.12.22 14:17:33 5: Interface "power": readings "power:maxPower:energy", getters "power:maxPower:energy", setters ""
2013.12.22 14:17:33 5: Triggering global (1 changes)
2013.12.22 14:17:33 5: Notify loop for global INITIALIZED
2013.12.22 14:17:33 4: eventTypes: Global global INITIALIZED -> INITIALIZED
2013.12.22 14:17:33 0: Server started with 13 defined entities (version $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $, os linux, user root, pid 4525)
und hier der inhalt von eventtypes.pm (zeile 1 leeer):
2 Taster OlvasdKi
2 Taster OlvasdKiAz Ertekeket
3 Taster on
1 WiFLY
4 WiFLY CONNECTED
1 WiFLY DISCONNECTED
1 WiFLY define
1 global DEFINED WiFLY
1 global DEFINED d
4 global INITIALIZED
19 global REREADCFG
3 global SAVE
7 global SHUTDOWN
2 myU p1:
7 myU p1:
1 myU p1:
f
sziaU p1:
1 myU p1:
1 myU p1: *HELLO* HTTP/.*
Host: dns1
*HELLO* HTTP/.*
Host: dns1
*HELLO* HTTP/.*
Host: dns1
*HELLO* HTTP/.*
Host: dns1
d
f
1 myU p1: c
v
1 myU p1: fghfgh
f
1 myU p1: foo
1 myU p1: gr*HELLO* HTTP/.*
Host: dns1
*HELLO* HTTP/.*
Host: dns1
1 myU p1: jzjtfzf
a
1 myU p1: reboot
1 myU p1: szia
1 myU p1: vc
1 myU p1:
24 myU p2:
1 myU p2: b
1 myU p2: d
1 myU p2: en vagyok
3 myU p2: g
1 myU p2: s
1 myU p2: szopas
1 myU p2: y V
20 myU p3:
1 myU p3: *HELLO* HTTP/.*
Host: dns1
1 myU p3: b
1 myU p3: d
1 myU p3: f
2 myU p3: h
1 myU p3: koko
1 myU p3: megint
1 myU p3: t
24 readECMD OlvasdKi
1 readECMDValues " "
3 readECMDValues OlvasdKi
wie kann ich feststellen ob update erfolgreich war?
vielen dank!
Nach dieser Ausgabe:
Zitat2013.12.22 14:17:33 0: Server started with 13 defined entities (version $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig
ist da nichts auf Stand gebracht worden.
Mach bitte mal ein
update force
und poste, was fhem darauf ausgibt, anzeigt.
Gruß
Thomas
hier die antwort (aus logfile):
2013.12.22 14:34:48 5: Cmd: >update force<
2013.12.22 14:34:48 5: Loading ./FHEM/98_update.pm
2013.12.22 14:34:49 5: Cmd: >notice get update 6<
2013.12.22 14:34:49 5: Loading ./FHEM/98_notice.pm
2013.12.22 14:34:49 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
2013.12.22 14:34:49 5: notice notExpired:update-20130127-001 published:update-20130127-001
2013.12.22 14:34:49 5: Cmd: >notice get update 7<
2013.12.22 14:34:49 5: notice read file: ./FHEM/FhemUtils/.notice-confirmation
2013.12.22 14:34:49 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
2013.12.22 14:34:49 5: notice notConfirmed: notExpired:update-20130127-001 published:update-20130127-001
2013.12.22 14:34:49 5: Cmd: >notice get update 8<
2013.12.22 14:34:49 5: notice read file: ./FHEM/FhemUtils/.notice-confirmation
2013.12.22 14:34:49 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
dann hab ich wieder "shutdown restart" ausgeführt...:
2013.12.22 14:36:05 5: Cmd: >shutdown restart<
2013.12.22 14:36:05 5: Triggering global (1 changes)
2013.12.22 14:36:05 5: Notify loop for global SHUTDOWN
2013.12.22 14:36:05 4: eventTypes: Global global SHUTDOWN -> SHUTDOWN
2013.12.22 14:36:05 0: Server shutdown
2013.12.22 14:36:10 1: Including fhem.cfg
2013.12.22 14:36:10 5: Cmd: >attr global autoload_undefined_devices 1<
2013.12.22 14:36:10 5: Cmd: >attr global logfile ./log/fhem-%Y-%m-%d.log<
2013.12.22 14:36:10 5: Cmd: >attr global modpath .<
2013.12.22 14:36:10 5: Loading ./FHEM/99_SUNRISE_EL.pm
2013.12.22 14:36:11 5: Loading ./FHEM/99_Utils.pm
2013.12.22 14:36:11 5: Cmd: >attr global motd none<
2013.12.22 14:36:11 5: Cmd: >attr global sendStatistics onUpdate<
2013.12.22 14:36:11 5: Cmd: >attr global statefile ./log/fhem.save<
2013.12.22 14:36:11 5: Cmd: >attr global uniqueID ./FHEM/FhemUtils/uniqueID<
2013.12.22 14:36:11 5: Cmd: >attr global updateInBackground 1<
2013.12.22 14:36:11 5: Cmd: >attr global userattr devStateIcon devStateStyle icon sortby webCmd<
2013.12.22 14:36:11 5: Cmd: >attr global verbose 5<
2013.12.22 14:36:11 5: Cmd: >define telnetPort telnet 7072 global<
2013.12.22 14:36:11 5: Loading ./FHEM/98_telnet.pm
2013.12.22 14:36:12 3: telnetPort: port 7072 opened
2013.12.22 14:36:12 5: Cmd: >define WEB FHEMWEB 8083 global<
2013.12.22 14:36:12 5: Loading ./FHEM/01_FHEMWEB.pm
2013.12.22 14:36:14 3: WEB: port 8083 opened
2013.12.22 14:36:14 5: Cmd: >attr WEB verbose 3<
2013.12.22 14:36:14 5: Cmd: >define WEBphone FHEMWEB 8084 global<
2013.12.22 14:36:14 3: WEBphone: port 8084 opened
2013.12.22 14:36:14 5: Cmd: >attr WEBphone stylesheetPrefix smallscreen<
2013.12.22 14:36:14 5: Cmd: >define WEBtablet FHEMWEB 8085 global<
2013.12.22 14:36:14 3: WEBtablet: port 8085 opened
2013.12.22 14:36:14 5: Cmd: >attr WEBtablet stylesheetPrefix touchpad<
2013.12.22 14:36:14 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m-%d.log fakelog<
2013.12.22 14:36:14 5: Loading ./FHEM/92_FileLog.pm
2013.12.22 14:36:15 5: Cmd: >define autocreate autocreate<
2013.12.22 14:36:15 5: Loading ./FHEM/98_autocreate.pm
2013.12.22 14:36:15 5: Cmd: >attr autocreate filelog ./log/%NAME-%Y-%m-%d.log<
2013.12.22 14:36:15 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2013.12.22 14:36:15 5: Loading ./FHEM/91_eventTypes.pm
2013.12.22 14:36:15 5: Cmd: >define WiFLY ECMD telnet 192.168.100.23:2000<
2013.12.22 14:36:15 5: Loading ./FHEM/66_ECMD.pm
2013.12.22 14:36:15 3: ECMD opening WiFLY (protocol telnet, device 192.168.100.23:2000)
2013.12.22 14:36:18 3: Can't connect to 192.168.100.23:2000: No route to host
2013.12.22 14:36:18 5: Cmd: >attr WiFLY classdefs UART=../fhem/uart.classdef<
2013.12.22 14:36:18 5: WiFLY: adding new class UART from file ../fhem/uart.classdef
2013.12.22 14:36:18 5: WiFLY: evaluating >get p1 cmd { chr(10).chr(13)."foo".chr(13) }<
2013.12.22 14:36:18 5: WiFLY: get p1 command defined as { chr(10).chr(13)."foo".chr(13) }
2013.12.22 14:36:18 5: WiFLY: evaluating >get p2 cmd { "45 6".chr(13) }<
2013.12.22 14:36:18 5: WiFLY: get p2 command defined as { "45 6".chr(13) }
2013.12.22 14:36:18 5: WiFLY: evaluating >get p3 cmd { "7 8 9".chr(13) }<
2013.12.22 14:36:18 5: WiFLY: get p3 command defined as { "7 8 9".chr(13) }
2013.12.22 14:36:18 5: Cmd: >attr WiFLY room Pince<
2013.12.22 14:36:18 5: Cmd: >define myU ECMDDevice UART<
2013.12.22 14:36:18 5: Loading ./FHEM/67_ECMDDevice.pm
2013.12.22 14:36:18 5: Cmd: >attr myU room Pince<
2013.12.22 14:36:18 5: Cmd: >define Log_WiFLY FileLog ./log/WiFLY-%Y-%m-%d.log (WiFLY|UART)<
2013.12.22 14:36:18 5: Cmd: >define readECMD dummy<
2013.12.22 14:36:18 5: Loading ./FHEM/98_dummy.pm
2013.12.22 14:36:18 5: Cmd: >attr readECMD devStateIcon on:on:on off:off:on<
2013.12.22 14:36:18 5: Cmd: >attr readECMD room Pince<
2013.12.22 14:36:18 5: Cmd: >attr readECMD webCmd OlvasdKi<
2013.12.22 14:36:18 5: Cmd: >define rdECMD notify readECMD get myU p1 ; sllep(1) ; get myU p2 ; sleep(1); get myU p3<
2013.12.22 14:36:18 5: Loading ./FHEM/91_notify.pm
2013.12.22 14:36:19 5: Cmd: >attr rdECMD room Pince<
2013.12.22 14:36:19 1: Including ./log/fhem.save
2013.12.22 14:36:19 5: Cmd: >setstate Log_WiFLY active<
2013.12.22 14:36:19 5: Cmd: >setstate Logfile active<
2013.12.22 14:36:19 5: Cmd: >setstate WiFLY disconnected<
2013.12.22 14:36:19 5: Cmd: >setstate autocreate active<
2013.12.22 14:36:19 5: Cmd: >setstate eventTypes active<
2013.12.22 14:36:19 5: Cmd: >setstate global <no definition><
2013.12.22 14:36:19 5: Cmd: >setstate myU p3<
2013.12.22 14:36:19 5: Cmd: >setstate myU 2013-12-22 14:33:14 p1<
2013.12.22 14:36:19 5: Cmd: >setstate myU 2013-12-22 14:33:14 p2<
2013.12.22 14:36:19 5: Cmd: >setstate myU 2013-12-22 14:33:14 p3<
2013.12.22 14:36:19 5: Cmd: >setstate myU 2013-12-22 14:33:14 state p3<
2013.12.22 14:36:19 5: Cmd: >setstate rdECMD active<
2013.12.22 14:36:19 5: Cmd: >setstate readECMD OlvasdKi<
2013.12.22 14:36:19 5: Cmd: >setstate readECMD 2013-12-22 14:33:14 state OlvasdKi<
2013.12.22 14:36:19 5: Interface "interface": readings "", getters "", setters ""
2013.12.22 14:36:19 5: Interface "switch": readings "onoff", getters "onoff", setters ""
2013.12.22 14:36:19 5: Interface "switch_active": readings "onoff", getters "onoff", setters ""
2013.12.22 14:36:19 5: Interface "switch_passive": readings "onoff", getters "onoff", setters "on:off"
2013.12.22 14:36:19 5: Interface "dimmer": readings "onoff:level", getters "onoff:level", setters "on:off:dimto:dimup:dimdown"
2013.12.22 14:36:19 5: Interface "temperature": readings "temperature", getters "temperature", setters ""
2013.12.22 14:36:19 5: Interface "humidity": readings "humidity", getters "humidity", setters ""
2013.12.22 14:36:19 5: Interface "wind": readings "wind", getters "wind", setters ""
2013.12.22 14:36:19 5: Interface "power": readings "power:maxPower:energy", getters "power:maxPower:energy", setters ""
2013.12.22 14:36:19 5: Triggering global (1 changes)
2013.12.22 14:36:19 5: Notify loop for global INITIALIZED
2013.12.22 14:36:19 4: eventTypes: Global global INITIALIZED -> INITIALIZED
2013.12.22 14:36:19 0: Server started with 13 defined entities (version $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $, os linux, user root, pid 4623)
Hi,
da will dir das Update etwas sagen:
Zitat
2013.12.22 14:34:49 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
2013.12.22 14:34:49 5: notice notExpired:update-20130127-001 published:update-20130127-001
2013.12.22 14:34:49 5: Cmd: >notice get update 7<
2013.12.22 14:34:49 5: notice read file: ./FHEM/FhemUtils/.notice-confirmation
2013.12.22 14:34:49 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
2013.12.22 14:34:49 5: notice notConfirmed: notExpired:update-20130127-001 published:update-20130127-001
2013.12.22 14:34:49 5: Cmd: >notice get update 8<
2013.12.22 14:34:49 5: notice read file: ./FHEM/FhemUtils/.notice-confirmation
2013.12.22 14:34:49 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
Also
"read file: ./FHEM/FhemUtils/update-20130127-001"
;)
Gruß
Thomas
Hi Thomas,
also die zeile
attr global sendStatistics manually
gibt es bereits im fhem.cfg, so wie im logfile meldung drin steht.
was fehlt noch?
Versuch al herauszubekommen, was das heissen könnte:
notice-confirmation
Gruß Joachim
in der datei .notice-confirmation steht:
update-20130127-001 2013-12-21 23:54:03 1
was soll ich noch machen?
grüsse
steve
Das scöne an FHEM ist, es spricht mit Dir, du musst nur lesen, was es sagt!
Du hast bei Deinem Updateversuch folgende Meldung bekommen:
Zitat==> Action required:
There is at least one unconfirmed message. Before updating FHEM
these messages have to be confirmed first:
ID: update-20130127-001
To view a message (again), please enter 'notice view <ID>'.
To confirm a message, please enter 'notice confirm <ID> [value]'.
'[value]' is an optional argument. Please refer to the message,
whether the disclosure of '[value]' is necessary.
For further information please consult the manual for the command
'notice' in the documentation of FHEM (commandref.html).
The update is canceled for now.
Solche Meldungen sollte man lesen.
Dieses ist die entscheidende Zeile:
ZitatTo confirm a message, please enter 'notice confirm <ID> [value]'.
Das hier eingeben:
Zitatnotice confirm update-20130127-001
ist die Lösung.
Gruß Joachim
hallo Joachim,
danke, ich hab auf diese meldung schon gestern abend reagiert und die entsprechende kommando zeile in fhem eingegeben, mit <value> = 1, deswegen steht auch in der datei ".notice-confirmation" ein "1" am ende, siehe oben.
hab ich was falsch gemacht?
danke undd grüsse,
steve
EDIT
hab den "1" vom ende gelöscht, und versucht "update", darauf die meldung im logfile bekommen:
2013.12.22 20:07:43 5: Cmd: >notice confirm update-20130127-001<
2013.12.22 20:07:43 5: Loading ./FHEM/98_notice.pm
2013.12.22 20:07:43 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
2013.12.22 20:07:43 5: notice read file: ./FHEM/FhemUtils/.notice-confirmation
2013.12.22 20:09:08 5: Cmd: >update<
2013.12.22 20:09:08 5: Loading ./FHEM/98_update.pm
2013.12.22 20:09:09 5: Cmd: >notice get update 6<
2013.12.22 20:09:09 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
2013.12.22 20:09:09 5: notice notExpired:update-20130127-001 published:update-20130127-001
2013.12.22 20:09:09 5: Cmd: >notice get update 7<
2013.12.22 20:09:09 5: notice read file: ./FHEM/FhemUtils/.notice-confirmation
2013.12.22 20:09:09 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
2013.12.22 20:09:09 5: notice notConfirmed: notExpired:update-20130127-001 published:update-20130127-001
2013.12.22 20:09:09 5: Cmd: >notice get update 8<
2013.12.22 20:09:09 5: notice read file: ./FHEM/FhemUtils/.notice-confirmation
2013.12.22 20:09:09 5: notice read file: ./FHEM/FhemUtils/update-20130127-001
und nach "shutdown restart":
...
2013.12.22 20:20:39 0: Server started with 13 defined entities (version $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $, os linux, user root, pid 4773)
andere ideen was ich noch machen kann?
siehe Anhang
ok, danke, das alles hab ich schon 2x gemacht.
und wie kann ich prüfen ob das update tatsächlich durchgeführt wurde oder nicht?
steve
Hallo,
sei doch bitte so nett und leg dir mal eine Signatur zu mit deiner verwendeten Hardware.
Ist recht schnell gemacht - nicht viel einzutragen und noch dazu gratis.
Danke.
Grüße
P.S.: Gib mal version in die Befehlszeile ein - siehe Screenshot
danke Puschel,
genau diese information fehlte.
jetzt weiss ich wie ich die versionnummern prüfen kann.
ob die letzte version dabei ist? weiss ich nicht... ECMD kommt mir ziemlich veraltet vor...
auch hab ich signatur upgedated.
danke an alle nochmal.
wenn die komische meldungen nochmal auftretten dann werde ich nochmal berichten.
grüsse,
steve
version:
# $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $
# $Id: 66_ECMD.pm 2356 2012-12-23 09:02:02Z borisneubert $
# $Id: 67_ECMDDevice.pm 3412 2013-07-13 11:21:18Z rudolfkoenig $
# $Id: 01_FHEMWEB.pm 3963 2013-09-26 08:55:32Z martinp876 $
# $Id: 92_FileLog.pm 3759 2013-08-21 08:13:08Z rudolfkoenig $
# $Id: 99_SUNRISE_EL.pm 3738 2013-08-18 14:13:59Z rudolfkoenig $
# $Id: 99_Utils.pm 3595 2013-08-05 05:38:48Z tobiasfaust $
# $Id: 98_autocreate.pm 3957 2013-09-25 06:21:02Z rudolfkoenig $
# $Id: 98_dummy.pm 3738 2013-08-18 14:13:59Z rudolfkoenig $
# $Id: 91_eventTypes.pm 2982 2013-03-24 17:47:28Z rudolfkoenig $
# $Id: 91_notify.pm 3738 2013-08-18 14:13:59Z rudolfkoenig $
# $Id: 98_telnet.pm 3738 2013-08-18 14:13:59Z rudolfkoenig $
ich sach doch...
$Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig
... komische Häufung
@steve: Meine fhem.pl ist z.B. von Mitte Dezember und trägt eine Version-Nummer > 4.000. Du kannst fast alle 2 Tage mit neuen Versionen von *einem* / *einigen* Modulen rechnen, zumal wenn es neue Geräte gibt, die noch eingebunden werden müssen. Fhem ist zum Glück ein sehr dynamisches "Werkzeug", welches der ständigen Pflege bedarf und zum Glück diese Pflege auch erfährt. Aber das bekommst du mit der Zeit noch mit. Und die Einsteigerdoku magst du zwar gelesen haben, aber ...
Man liest sich ;)
Gruß
und N8
Thomas
Hallo,
tja. Hier tut ein update dringend not.
Grüße