Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PERL WARNING - Sammlung | dev Version #156

Closed
HomeAutoUser opened this issue Apr 27, 2017 · 27 comments
Closed

PERL WARNING - Sammlung | dev Version #156

HomeAutoUser opened this issue Apr 27, 2017 · 27 comments
Labels

Comments

@HomeAutoUser
Copy link
Contributor

Hi,
ich beginne mal zu sammeln, Stand heutiges Update.
Manche kann man vielleicht fixen und so haben wir eine Übersicht.

2017.04.27 07:10:55 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE .$/ at ./FHEM/98_dewpoint.pm line 102, <$fh> line 58.
2017.04.27 07:10:57 1: Including ./log/fhem.save
2017.04.27 07:10:57 1: PERL WARNING: ^
matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE .*$/ at ./FHEM/98_dewpoint.pm line 179.

2017.04.27 11:26:21 4: sduino_radino IT: message "i56FF59AC800" (12)
2017.04.27 11:26:21 1: PERL WARNING: Hexadecimal number > 0xffffffff non-portable at ./FHEM/10_IT.pm line 953.
2017.04.27 11:26:21 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_IT.pm line 986.
2017.04.27 11:26:21 4: sduino_radino IT: msgcode "0001001011D1DDDDD" (17) bin = 01010110111111110101100110101100100000000000

2017.04.27 15:15:07 4: sduino_radino: Matched MS Protocol id 17 -> arctech
2017.04.27 15:15:07 1: PERL WARNING: Illegal binary digit 'd' ignored at ./FHEM/00_SIGNALduino.pm line 2726.
2017.04.27 15:15:07 1: PERL WARNING: Illegal binary digit 'o' ignored at ./FHEM/00_SIGNALduino.pm line 2726.

2017.04.27 17:55:34 4: sduino_radino/keepalive ok, retry = 0
2017.04.27 17:55:35 1: PERL WARNING: Filehandle STDOUT reopened as FH only for input at ./FHEM/01_FHEMWEB.pm line 1932.
2017.04.27 17:55:58 4: sduino_radino/msg READ: �MC;LL=-1036;LH=928;SL=-539;SH=437;D=51AB68B5980C1472AB13DB8;C=489;L=89;R=32;�

2017.04.27 18:10:11 4: sduino_radino: WS2000 Sensortyp 14 - ERROR typ to big
2017.04.27 18:10:11 1: PERL WARNING: Use of uninitialized value $returnvalues[0] in join or string at ./FHEM/00_SIGNALduino.pm line 3542.
2017.04.27 18:10:11 4: sduino_radino: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to

2017.04.27 18:26:07 4: sduino_radino: Found manchester Protocol id 58 clock 488 RSSI -32.5 -> tfa 30.3208.0
2017.04.27 18:26:08 1: PERL WARNING: Subroutine SIGNALduino_un_Initialize redefined at ./FHEM/90_SIGNALduino_un.pm line 19.
2017.04.27 18:26:08 1: PERL WARNING: Subroutine SIGNALduino_un_Define redefined at ./FHEM/90_SIGNALduino_un.pm line 35.
2017.04.27 18:26:08 1: PERL WARNING: Subroutine SIGNALduino_un_Undef redefined at ./FHEM/90_SIGNALduino_un.pm line 58.
2017.04.27 18:26:08 1: PERL WARNING: Subroutine SIGNALduino_un_hex2bin redefined at ./FHEM/90_SIGNALduino_un.pm line 64.
2017.04.27 18:26:08 1: PERL WARNING: Subroutine SIGNALduino_un_Parse redefined at ./FHEM/90_SIGNALduino_un.pm line 75.
2017.04.27 18:26:08 1: PERL WARNING: Subroutine SIGNALduino_un_Attr redefined at ./FHEM/90_SIGNALduino_un.pm line 356.
2017.04.27 18:26:08 1: PERL WARNING: Subroutine SIGNALduino_un_binaryToNumber redefined at ./FHEM/90_SIGNALduino_un.pm line 375.
2017.04.27 18:26:08 1: PERL WARNING: Subroutine SIGNALduino_un_binaryToBoolean redefined at ./FHEM/90_SIGNALduino_un.pm line 389.
2017.04.27 18:26:08 1: PERL WARNING: Subroutine SIGNALduino_un_bin2dec redefined at ./FHEM/90_SIGNALduino_un.pm line 396.
2017.04.27 18:26:08 1: PERL WARNING: Subroutine SIGNALduino_un_binflip redefined at ./FHEM/90_SIGNALduino_un.pm line 403.
2017.04.27 18:26:09 4: sduino_radino/msg READ:

@sidey79
Copy link
Contributor

sidey79 commented Mar 29, 2018

vermutlich nicht mehr aktuell. wenn doch dann erneut öffnen

@sidey79 sidey79 closed this as completed Mar 29, 2018
@HomeAutoUser
Copy link
Contributor Author

HomeAutoUser commented Mar 31, 2018

Hallo,

BITTE das Tehma REOPEN!
Meldung erscheint beim FHEM neustarten!

PERL WARNING: Use of uninitialized value $returnvalues[0] in join or string at ./FHEM/00_SIGNALduino.pm line 4263. (Zeilennummer different, da Ergänzungen bei mir)

trifft auf die Zeile

SIGNALduino_Log3 $name, 5, "$name: rcode=$rcode, modified value after $funcname: @returnvalues";

zu! Bezogen auf den aktuellen Commit dev-r33, HIER!

@HomeAutoUser
Copy link
Contributor Author

Folgene Meldung 2 tritt auch auf.

PERL WARNING: Argument "" isn't numeric in numeric ge (>=) at ./FHEM/00_SIGNALduino.pm line 3349.

dies trifft auf die Zeile

my $floatValid = ($pstr=SIGNALduino_PatternExists($hash,@{$ProtocolListSIGNALduino{$id}{float}},%patternList,$rawData)) >=0;

zu! Bezogen auf den aktuellen Commit dev-r33, HIER!

@HomeAutoUser HomeAutoUser changed the title PERL WARNING - Sammlung PERL WARNING - Sammlung | dev-r33 Mar 31, 2018
@Ralf9
Copy link
Contributor

Ralf9 commented Mar 31, 2018

@Ralf9
Copy link
Contributor

Ralf9 commented Mar 31, 2018

Use of uninitialized value $returnvalues[0]

evtl so:

if ($rcode != 0) {
SIGNALduino_Log3 $name, 5, "$name: rcode=$rcode, modified value after $funcname: @returnvalues";
} else {
SIGNALduino_Log3 $name, 5, "$name: rcode=0";
}

sidey79 added a commit that referenced this issue Mar 31, 2018
fixed perl warning
#156
sidey79 added a commit that referenced this issue Mar 31, 2018
fixed perl warning #156

14_SD_RSL.pm
fixed perl warning
@sidey79
Copy link
Contributor

sidey79 commented Mar 31, 2018

@HomeAutoUser

Bitte testen :)

@sidey79 sidey79 reopened this Mar 31, 2018
@HomeAutoUser
Copy link
Contributor Author

HomeAutoUser commented Apr 1, 2018

Leider ist immer noch eine WARNING vorhanden nachdem ich es mit deinen Zeilen getestet habe.

2018.04.01 11:10:14 1: PERL WARNING: Use of uninitialized value $returnvalues[0] in join or string at ./FHEM/00_SIGNALduino.pm line 4266. (Zeilennummer geändert)

trifft auf Zeile

SIGNALduino_Log3 $name, 5, "$name: rcode=$rcode, modified value after $funcname: @returnvalues";

zu. Hier diese im aktuellen Commit!

So wurde erst eine von beiden Warnings eliminiert.

Mit der Variante von @Ralf9

if ($rcode != 0) {
SIGNALduino_Log3 $name, 5, "$name: rcode=$rcode, modified value after $funcname: @returnvalues";
} else {
SIGNALduino_Log3 $name, 5, "$name: rcode=0";
}

@sidey79, scheint es so zu funktionierten. WARNING weg.

HomeAutoUser added a commit to HomeAutoUser/RFFHEM that referenced this issue Apr 1, 2018
@sidey79
Copy link
Contributor

sidey79 commented Apr 1, 2018

Seltsam, der Test auf @returnvalues scheint immer Erfolgreich zu sein. Vermutlich muss ich noch die Anzahl mit $returnvalues testen.

Ralfs Variante testet nicht gegen returnvalues, sondern verlässt sich darauf, dass der returncode richtig gesetzt ist.
Das ist so ein bisschen um die Ecke getestet

@HomeAutoUser
Copy link
Contributor Author

Dann sollte man den Test erweitern. Vielleicht fällt mir auch noch was dazu ein.

Seltsam, der Test auf @returnvalues scheint immer Erfolgreich zu sein. Vermutlich muss ich noch die Anzahl mit $returnvalues testen.

@HomeAutoUser
Copy link
Contributor Author

Hier noch 2 andere Warnings welche ab und zu auftauchen.

2018.04.01 13:47:46 1: PERL WARNING: Use of uninitialized value in join or string at ./FHEM/00_SIGNALduino.pm line 4652. (Zeilennummer geändert)
2018.04.01 13:47:46 1: PERL WARNING: Use of uninitialized value in join or string at ./FHEM/00_SIGNALduino.pm line 4675. (Zeilennummer geändert)

einmal diese Zeile

$data = oct( "0b".(join "", reverse @bit_msg[$dataindex .. $dataindex + 3]));

bezogen auf aktuellen Commit - HIER!

und dann auch diese Zeile

$data = oct( "0b".(join "", reverse @bit_msg[$dataindex .. $dataindex + 3]));

bezogen auf aktuellen Commit - HIER!

Wenn ich richtig zähle, haben wir da bisher 3 vorhanden WARNINGS im Code.

@sidey79
Copy link
Contributor

sidey79 commented Apr 1, 2018

Ich brauche zu den Warnings den Auslöser, sonst ist es ein wenig try & error.

sidey79 added a commit that referenced this issue Apr 1, 2018
Prevent accessing values outside of @bit_msg range in SIGNALduino_postDemo_WS2000

fixes #156
@sidey79
Copy link
Contributor

sidey79 commented Apr 1, 2018

@HomeAutoUser

Ich habe die Fehler behoben. Hoffe ich habe nichts vergessen. Bitte mal testen

sidey79 added a commit that referenced this issue Apr 1, 2018
fixed perl warnings #156
Added check if $returnvalues[1] is undef, which is true if the called sub returns (0, undef);
undef will be passed as var to the first entry of the array
Prevent accessing values outside of @bit_msg range in SIGNALduino_postDemo_WS2000

14_SD_RSL.pm
fixed perl warning

(cherry picked from commit 4467576)
(cherry picked from commit 48cc973)
(cherry picked from commit 47032ac)
@HomeAutoUser
Copy link
Contributor Author

HomeAutoUser commented Apr 2, 2018

Habe es test laufen und fürs erste sieht es gut aus 👍
Wäre fein wenn auch nun das mit einem Haken verstehen ist :-)

Ich schließe diesen Faden und erst bei erneuten Fehlern werde ich hier mich zu Wort melden.

@HomeAutoUser
Copy link
Contributor Author

@Ralf9 + @sidey79
diese Zeile erzeugt eine Warning.

my ($develop,$devFlag) = SIGNALduino_getAttrDevelopment($name, $develop); # $devFlag = 1 -> alle developIDs y aktivieren

2019.02.04 19:42:59 1: PERL WARNING: "my" variable $develop masks earlier declaration in same scope at ./FHEM/00_SIGNALduino.pm line

@sidey79
Copy link
Contributor

sidey79 commented Feb 4, 2019

Ja, die Variable ist bereits ein paar Zeilen weiter oben definiert.

@HomeAutoUser
Copy link
Contributor Author

Zeile
if (($pstr=SIGNALduino_PatternExists($hash, $symbol,$patternList,$rawData)) >=0) {

erzeugt eine WARNING

PERL WARNING: Argument "" isn't numeric in numeric ge (>=) at ./FHEM/00_SIGNALduino.pm line 1659.

müsste es vielleicht nicht

if (defined $pstr && (($pstr=SIGNALduino_PatternExists($hash, $symbol,$patternList,$rawData)) >=0)) {

lauten damit es keine Warning erzeugt?

@HomeAutoUser HomeAutoUser reopened this Apr 9, 2019
@HomeAutoUser HomeAutoUser changed the title PERL WARNING - Sammlung | dev-r33 PERL WARNING - Sammlung | dev Version Apr 9, 2019
@sidey79
Copy link
Contributor

sidey79 commented Apr 9, 2019

Ich glaube nicht, dass das helfen würde, denn pstr wird ja erst in der If Abfrage mit einem Wert belegt.

@HomeAutoUser
Copy link
Contributor Author

HomeAutoUser commented Apr 9, 2019

Dann muss man vorher prüfen ob der Wert "füllbar" ist, denn diese Umstände kommen ja nur zum tragen, wenn $pstr=undef bleibt.
--> SIGNALduino_PatternExists($hash, $symbol,$patternList,$rawData) nichts drin ist.

@sidey79
Copy link
Contributor

sidey79 commented Apr 9, 2019

Ein eigenes Issue wäre für diesen Fall besser geeignet.

Interessant ist, welche Daten übergeben werden, damit es zu diesem Fehler kommt, denn SIGNALduino_PatternExists übergibt -1 oder $search und $search wäre identisch mit $symbol.

@HomeAutoUser
Copy link
Contributor Author

@sidey79 möchtest du einen extra Issue?
Wie gehen wir dem Fehler auf die Sprünge?

Unter "x" Verhältnissen trat er wieder auf bei mir.

@sidey79
Copy link
Contributor

sidey79 commented Apr 11, 2019

Hast Du die passende empfangene Nachricht dazu, dann kann ich es debuggen.

@HomeAutoUser
Copy link
Contributor Author

Moin Moin, die passende Nachricht muss ich erst „fangen“ und das System auf verbose 4 laufen lassen. Das stellt leider immer ne Datenflut von Hunderten MB dar und somit kann ich von extern schwer ins Logfile schauen. Ich Probier das Glück, bin dran!

@HomeAutoUser
Copy link
Contributor Author

@sidey79 hier ist der Logauszug wo die Nachricht erschien.

2019.04.15 16:29:34 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:34 4: radino_433Mhz/msg READredu: MU;P0=-205;P1=552;P3=182;P4=-545;P7=248;D=010103434101034341010103434103410343474341;CP=3;R=220;
2019.04.15 16:29:34 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:34 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:34 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:34 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:34 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=548;P1=-2728;P2=112;P3=-1672;P4=-207;P5=187;P6=-565;D=45656040404565604560456565656045656565123;CP=5;R=221;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 82 -> Fernotron matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=-5712;P1=576;P2=-204;P3=185;P4=-572;P5=-148;P6=-432;D=121234341212343412121534341234123436343412343434301512343412123434121212343412341234343434153434343;CP=3;R=221;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 32 -> FreeTec PE-6946 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 62 -> Clarus_Switch matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 79 -> wireless doorbell matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=-207;P1=191;P2=-571;P3=572;P5=-156;P6=-432;P7=-3424;D=012303012123535351212301630121212123012121617;CP=1;R=223;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 82 -> Fernotron matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=-176;P1=554;P2=187;P3=-576;P5=-5712;P6=392;P7=-296;D=010231023232323102323232510102323101023231010106720;CP=2;R=215;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 32 -> FreeTec PE-6946 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 62 -> Clarus_Switch matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:35 1: PERL WARNING: Argument "" isn't numeric in numeric ge (>=) at ./FHEM/00_SIGNALduino.pm line 1659.
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 76 -> LED XM21 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Decoded matched MU Protocol id 76 dmsg P76#8 length 4 dispatch(1/4) RSSI = -94.5
2019.04.15 16:29:35 4: radino_433Mhz: SD_UT protocol 76, bitData 1000, hlen 1
2019.04.15 16:29:35 3: radino_433Mhz: SD_UT Please define your model of Device unknown_please_select_model in Attributes!
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 79 -> wireless doorbell matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=-5212;P1=543;P2=-221;P3=174;P4=-588;P5=-304;D=01212343412123434121212343412341234343434123434343012123434121234341212123435;CP=3;R=222;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 79 -> wireless doorbell matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 91 -> Atlantic security matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=-1952;P1=552;P2=-209;P3=182;P4=-583;P5=-156;P6=248;D=0121234341212343412121234341234123434343415656;CP=3;R=222;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=-211;P1=617;P3=174;P4=-562;P6=-5696;P7=-144;D=0101010343410341034343434103434343610103434101034341717;CP=3;R=221;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 32 -> FreeTec PE-6946 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 62 -> Clarus_Switch matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 79 -> wireless doorbell matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=-583;P1=532;P2=-221;P3=173;P4=-112;P5=96;P6=-384;D=1212345630121230301212123030123012303036;CP=3;R=221;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=360;P1=537;P2=-208;P3=156;P4=-594;P7=-3312;D=12123434121234341212123434123412343434341234343437023;CP=3;R=219;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 82 -> Fernotron matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=-239;P1=149;P2=-614;P3=580;P4=-160;P5=108;P6=-5744;P7=-112;D=0123034301212301230121252123012121216303052123037;CP=1;R=215;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 32 -> FreeTec PE-6946 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 62 -> Clarus_Switch matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 79 -> wireless doorbell matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=-574;P1=545;P2=-208;P4=159;D=012124040121240401212124040124012404040401240;CP=4;R=216;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:36 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate
2019.04.15 16:29:36 4: radino_433Mhz/msg READredu: MU;P0=-3296;P1=544;P2=-214;P4=175;P5=-589;P6=136;P7=-776;D=012124545121245451212124545124512454545651245454547;CP=4;R=215;
2019.04.15 16:29:36 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:36 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:36 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:36 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:36 4: radino_433Mhz: Fingerprint for MU Protocol id 80 -> EM1000WZ matches, trying to demodulate

Ich gehe davon aus, das es diese Nachricht ist:

2019.04.15 16:29:35 4: radino_433Mhz/msg READredu: MU;P0=-176;P1=554;P2=187;P3=-576;P5=-5712;P6=392;P7=-296;D=010231023232323102323232510102323101023231010106720;CP=2;R=215;
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 32 -> FreeTec PE-6946 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 62 -> Clarus_Switch matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 16:29:35 1: PERL WARNING: Argument "" isn't numeric in numeric ge (>=) at ./FHEM/00_SIGNALduino.pm line 1659.
2019.04.15 16:29:35 4: radino_433Mhz: Fingerprint for MU Protocol id 76 -> LED XM21 matches, trying to demodulate
2019.04.15 16:29:35 4: radino_433Mhz: Decoded matched MU Protocol id 76 dmsg P76#8 length 4 dispatch(1/4) RSSI = -94.5

@HomeAutoUser
Copy link
Contributor Author

Es ist eindeutig, @sidey79 die Fehlermeldung ist reproduzierbar!

2019.04.15 17:38:03 4: sduino_dummy/msg get raw: �MU;P0=-176;P1=554;P2=187;P3=-576;P5=-5712;P6=392;P7=-296;D=010231023232323102323232510102323101023231010106720;CP=2;R=215;�
2019.04.15 17:38:03 4: sduino_dummy: Fingerprint for MU Protocol id 32 -> FreeTec PE-6946 matches, trying to demodulate
2019.04.15 17:38:03 4: sduino_dummy: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2019.04.15 17:38:03 4: sduino_dummy: Fingerprint for MU Protocol id 62 -> Clarus_Switch matches, trying to demodulate
2019.04.15 17:38:03 4: sduino_dummy: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2019.04.15 17:38:03 4: sduino_dummy: Fingerprint for MU Protocol id 73 -> FHT80 matches, trying to demodulate
2019.04.15 17:38:03 4: sduino_dummy: Fingerprint for MU Protocol id 74 -> FS20 matches, trying to demodulate
2019.04.15 17:38:03 1: PERL WARNING: Argument "" isn't numeric in numeric ge (>=) at ./FHEM/00_SIGNALduino.pm line 1659.
2019.04.15 17:38:03 4: sduino_dummy: Fingerprint for MU Protocol id 76 -> LED XM21 matches, trying to demodulate
2019.04.15 17:38:03 4: sduino_dummy: Decoded matched MU Protocol id 76 dmsg P76#8 length 4 dispatch(1/4) RSSI = -94.5
2019.04.15 17:38:03 4: sduino_dummy: SD_UT protocol 76, bitData 1000, hlen 1

@sidey79
Copy link
Contributor

sidey79 commented Apr 15, 2019

Ok danke. schau ich mir in Kürze an. Heute packe ich es nicht mehr, überarbeite gerade mein Testsystem

@sidey79
Copy link
Contributor

sidey79 commented Apr 22, 2019

Habe es etwas eingegrenzt:

2019.04.22 11:17:12.580 4: dummyDuino: Fingerprint for MU Protocol id 76 -> LED XM21 matches, trying to demodulate
2019.04.22 11:17:12.580 1: DEBUG>Found matched zero with indexes: ()
2019.04.22 11:17:12.579 1:     main::CallFn                        called by fhem.pl (744)
2019.04.22 11:17:12.579 1:     main::FW_Read                       called by fhem.pl (3697)
2019.04.22 11:17:12.579 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (567)
2019.04.22 11:17:12.579 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (896)
2019.04.22 11:17:12.578 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2664)
2019.04.22 11:17:12.578 1:     main::CommandGet                    called by fhem.pl (1228)
2019.04.22 11:17:12.578 1:     main::CallFn                        called by fhem.pl (1947)
2019.04.22 11:17:12.577 1:     main::SIGNALduino_Get               called by fhem.pl (3697)
2019.04.22 11:17:12.577 1:     main::SIGNALduino_Parse             called by ./FHEM/00_SIGNALduino.pm (898)
2019.04.22 11:17:12.577 1:     main::SIGNALduino_Parse_MU          called by ./FHEM/00_SIGNALduino.pm (2626)
2019.04.22 11:17:12.576 1:     main::SIGNALduino_FillPatternLookupTable called by ./FHEM/00_SIGNALduino.pm (2339)
2019.04.22 11:17:12.576 1:     main::__ANON__                      called by ./FHEM/00_SIGNALduino.pm (1659)
2019.04.22 11:17:12.576 1: stacktrace:
2019.04.22 11:17:12.576 1: PERL WARNING: Argument "" isn't numeric in numeric ge (>=) at ./FHEM/00_SIGNALduino.pm line 1659.
2019.04.22 11:17:12.575 1: DEBUG>looking for substr 
2019.04.22 11:17:12.575 1: DEBUG>Found matched one with indexes: (20)
2019.04.22 11:17:12.574 1: DEBUG>looking for substr 20
2019.04.22 11:17:12.574 1: DEBUG>closest pattern has index: 7
2019.04.22 11:17:12.574 1: DEBUG>closest pattern has index: 0

sidey79 added a commit that referenced this issue Apr 22, 2019
removed zero key from protocol 76 to avoid perl warning fixes: #156
@HomeAutoUser
Copy link
Contributor Author

Hier gibt es auch noch Handlungsbedarf. Unter noch nicht erkennbaren Zusammenhängen, erscheint

2019.06.09 14:30:47 1: PERL WARNING: Use of uninitialized value in numeric eq (==) at ./FHEM/00_SIGNALduino.pm line 1318.

Es tauchte auf, wenn ich einmal
set sduino_dummy raw MU;P0=293;P1=-887;P2=-312;P6=-1900;P7=872;D=6727272010101720172720101720172010172727272720;CP=0;

ODER

set sduino_dummy raw MS;P1=393;P2=-7752;P3=-2047;P4=-3993;D=12131314141414141313131413131314141414131313141314131414131314131314131313131314131314;CP=1;SP=2;R=230;O;m1;

ausführte. Leider ist es noch nicht 100% nachvollziehbar WANN!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants