Signalduino Version 3.3.1 / 3.3.2 / 3.3.3-dev

Begonnen von Sidey, 02 Oktober 2016, 23:39:11

Vorheriges Thema - Nächstes Thema

dirk.k

Hallo zusammen,
nach dem ich gestern die aktuellen fhem updates installiert habe, wird mein SD_WS07_TH_3 nicht mehr erkannt/verarbeitet. Das Gerät fehlt komplett.

nach einem Update-Durchlauf bekomme ich die Meldung:
2018.03.22 10:03:16 1 : reload: Error:Modul 14_SD_WS07 deactivated: Global symbol "$rssi" requires explicit package name at ./FHEM/14_SD_WS07.pm line 104. Global symbol "$rssi" requires explicit package name at ./FHEM/14_SD_WS07.pm line 105.
2018.03.22 10:03:16 0 : Global symbol "$rssi" requires explicit package name at ./FHEM/14_SD_WS07.pm line 104. Global symbol "$rssi" requires explicit package name at ./FHEM/14_SD_WS07.pm line 105.
2018.03.22 10:03:16 0 : ERROR: Cannot autoload SD_WS07
2018.03.22 10:03:16 3 : SIGNALduino01: Unknown code P7#6F200DF4D, help me!


beim fhem-Neustart:
Messages collected while initializing FHEM:
configfile: Cannot load module SD_WS07


hat jemand eine Idee, was schiefgelaufen sein könnte?

PS: ich habe vor langer Zeit ein userreading "RSSI" gebaut, da ich das in readingsGroups verwende.

Danke

Ralf9

Hallo Sidey,

Bei diesem commit passt was nicht:
https://github.com/RFD-FHEM/RFFHEM/commit/a9f06fdd3e1da26a82a4429298d606bbbac64485

das hier fehlt:
-  if (defined($rssi)) {
- Log3 $name, 4, "$name SD_WS07: $msg, length=$hlen RSSI=$rssi";
-  } else {
- Log3 $name, 4, "$name SD_WS07: $msg, length=$hlen";
-  }

+  Log3 $name, 4, "$name SD_WS07: $msg, length=$hlen";


Gruß Ralf
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

Sidey

Zitat von: dirk.k am 22 März 2018, 10:35:40
Hallo zusammen,
nach dem ich gestern die aktuellen fhem updates installiert habe, wird mein SD_WS07_TH_3 nicht mehr erkannt/verarbeitet. Das Gerät fehlt komplett.

UUps, da wurde etwas entfernt. :(


Hast Du eine meiner Updatequellen von github bei dir eingetragen?
Wenn ja, dann kannst Du von dort aktualisieren. Ich hoffe es geht jetzt wieder.

Grüße Sidey
Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

dirk.k

Kurze Rückmeldung...
Es funktioniert wieder.
Danke

dd9lh

Hi... habe ein kleines Problem:

Seit einigen Tagen habe ich Hunderte solcher Meldungen im Log

2018.03.31 07:01:44 1: PERL WARNING: Argument "" isn't numeric in numeric ge (>=) at ./FHEM/00_SIGNALduino.pm line 3317.
2018.03.31 07:01:44 1: stacktrace:
2018.03.31 07:01:44 1:     main::__ANON__                      called by ./FHEM/00_SIGNALduino.pm (3317)
2018.03.31 07:01:44 1:     main::SIGNALduino_Parse_MS          called by ./FHEM/00_SIGNALduino.pm (3913)
2018.03.31 07:01:44 1:     main::SIGNALduino_Parse             called by ./FHEM/00_SIGNALduino.pm (2738)
2018.03.31 07:01:44 1:     main::SIGNALduino_Read              called by fhem.pl (3550)
2018.03.31 07:01:44 1:     main::CallFn                        called by fhem.pl (708)

Sidey

Hallo dd9l,

Verrate und doch noch, welche Version vom Modul Du verwendest.

Grüße Sidey

Gesendet von meinem XT1650 mit Tapatalk

Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

Ralf9

Falls es die dev-r33 ist, dann liegt es evtl daran, daß in der sub SIGNALduino_Parse_MS($$$$%) bei float das
if (defined($ProtocolListSIGNALduino{$id}{float}))
fehlt

if (defined($ProtocolListSIGNALduino{$id}{float}))
{
my $floatValid = ($pstr=SIGNALduino_PatternExists($hash,\@{$ProtocolListSIGNALduino{$id}{float}},\%patternList,\$rawData)) >=0;
Debug "Found matched float with indexes: ($pstr)" if ($debug && $floatValid);
$patternLookupHash{$pstr}="F" if ($floatValid); ## Append Sync to our lookuptable
Debug "float pattern not found" if ($debug && !$floatValid);
}


Gruß Ralf
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

dd9lh

Super... läuft...

Vielen Dank... cu Peter

CBSnake

Hi,

nach einem Update gestern ging FHEM plötzlich nicht mehr, da auch von außerhalb nur zugriff aufs Webend habe musste ich bis jetzt warten *geduld/sucht*  ;-)

Schuld war die 00_Signaldunio.pm Nachdem ich die gelöscht hatte ging es wieder, nach dem erneuten Update (Datei wieder übers Update geladen) wieder nicht mehr, im Log kommt:

2018.04.01 15:13:28.105 1: PERL WARNING: Useless use of a constant (4) in void context at ./FHEM/00_SIGNALduino.pm line 4841, <$fh> line 3342.
2018.04.01 15:13:28.106 1: PERL WARNING: Useless use of string in void context at ./FHEM/00_SIGNALduino.pm line 4841, <$fh> line 3342.
2018.04.01 15:13:28.106 1: PERL WARNING: Useless use of a constant (4) in void context at ./FHEM/00_SIGNALduino.pm line 4843, <$fh> line 3342.
2018.04.01 15:13:28.106 1: PERL WARNING: Useless use of string in void context at ./FHEM/00_SIGNALduino.pm line 4843, <$fh> line 3342.
2018.04.01 15:13:28.107 1: PERL WARNING: Useless use of a constant (4) in void context at ./FHEM/00_SIGNALduino.pm line 4845, <$fh> line 3342.
2018.04.01 15:13:28.107 1: PERL WARNING: Useless use of a constant (4) in void context at ./FHEM/00_SIGNALduino.pm line 4849, <$fh> line 3342.
2018.04.01 15:13:28.107 1: PERL WARNING: Useless use of string in void context at ./FHEM/00_SIGNALduino.pm line 4849, <$fh> line 3342.


und als letztes:

Undefined subroutine &main::SIGNALduino_Log3 called at ./FHEM/00_SIGNALduino.pm line 1633.

dann wird FHEM gestoppt/beendet

Aktuell habe ich die

$Id: 00_SIGNALduino.pm 16390 2018-03-11 22:22:56Z Sidey $

Damit läufts wieder.

die hier crasht

$Id: 00_SIGNALduino.pm 16506 2018-03-29 19:32:57Z Sidey $

Grüße
Achim
FHEM auf Debian 10, HM-Wlan, JeeLink-Wlan, Wlanduino, ConBee, TP-Link Steckdose, GHoma Steckdosen, Shelly Steckdosen

Sidey

Danke für den Hinweis.

Der Fehler ist eindeutig : SIGNALduino_Log3 fehlt.

Da muss mir wohl etwas durch die QS gerutscht sein.


Ich werde nachher noch einen Fix einstellen. Du sagst, FHEM lief dann überhaupt nicht mehr?

Grüße Sidey

Gesendet von meinem XT1650 mit Tapatalk

Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

KölnSolar

siehe hier

Wie auch immer burny46 auf die Idee kam, es wäre bereits gefixed  ::)
RPi3/2 buster/stretch-SamsungAV_E/N-RFXTRX-IT-RSL-NC5462-Oregon-CUL433-GT-TMBBQ-01e-CUL868-FS20-EMGZ-1W(GPIO)-DS18B20-CO2-USBRS232-USBRS422-Betty_Boop-EchoDot-OBIS(Easymeter-Q3/EMH-KW8)-PCA301(S'duino)-Deebot(mqtt2)-zigbee2mqtt

CBSnake

Hi,

ja das mit dem log3 war der letzte Eintrag im logfile und FHEM war dann auf not running in der Konsole.

Grüße
Achim
FHEM auf Debian 10, HM-Wlan, JeeLink-Wlan, Wlanduino, ConBee, TP-Link Steckdose, GHoma Steckdosen, Shelly Steckdosen

Sidey

Zitat von: CBSnake am 01 April 2018, 15:30:08
Undefined subroutine &main::SIGNALduino_Log3 called at ./FHEM/00_SIGNALduino.pm line 1633.


Ich habe den Fehler behoben (hoffe ich).

Kannst Du bitte mal testen?
update all https://raw.githubusercontent.com/RFD-FHEM/RFFHEM/master/controls_signalduino.txt

Grüße Sidey
Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

CBSnake

Hi,

ich hab jetzt nurmal die 00_signalduino ersetzt, fährt normal hoch bringt aber noch:


2018.04.02 17:06:49.773 1: PERL WARNING: Bareword found where operator expected at ./FHEM/00_SIGNALduino.pm line 5466, near "325 kHz"
2018.04.02 17:06:49.773 1: PERL WARNING: (Missing operator before kHz?)
2018.04.02 17:06:49.774 1: PERL WARNING: Bareword found where operator expected at ./FHEM/00_SIGNALduino.pm line 5467, near "<li>patable"
2018.04.02 17:06:49.774 1: PERL WARNING: (Missing operator before patable?)
2018.04.02 17:06:49.774 1: PERL WARNING: Bareword found where operator expected at ./FHEM/00_SIGNALduino.pm line 5472, near "<li>sens"
  (Might be a runaway multi-line // string starting on line 5468)
2018.04.02 17:06:49.775 1: PERL WARNING: (Missing operator before sens?)
2018.04.02 17:06:49.775 1: PERL WARNING: Bareword found where operator expected at ./FHEM/00_SIGNALduino.pm line 5473, near "is"
2018.04.02 17:06:49.775 1: PERL WARNING: (Missing semicolon on previous line?)
2018.04.02 17:06:49.776 1: PERL WARNING: Number found where operator expected at ./FHEM/00_SIGNALduino.pm line 5473, near "is 4"
2018.04.02 17:06:49.776 1: PERL WARNING: (Do you need to predeclare is?)
2018.04.02 17:06:49.776 1: PERL WARNING: Bareword found where operator expected at ./FHEM/00_SIGNALduino.pm line 5473, near "16 dB"
2018.04.02 17:06:49.777 1: PERL WARNING: (Missing operator before dB?)
2018.04.02 17:06:49.777 1: PERL WARNING: Bareword found where operator expected at ./FHEM/00_SIGNALduino.pm line 5474, near "signals"
2018.04.02 17:06:49.777 1: PERL WARNING: Bareword found where operator expected at ./FHEM/00_SIGNALduino.pm line 5474, near "4 dB"
2018.04.02 17:06:49.780 1: reload: Error:Modul 00_SIGNALduino deactivated:
Search pattern not terminated at ./FHEM/00_SIGNALduino.pm line 5478, <$fh> line 3352.

2018.04.02 17:06:49.781 0: Search pattern not terminated at ./FHEM/00_SIGNALduino.pm line 5478, <$fh> line 3352.

FHEM auf Debian 10, HM-Wlan, JeeLink-Wlan, Wlanduino, ConBee, TP-Link Steckdose, GHoma Steckdosen, Shelly Steckdosen

Sidey

Zitat von: CBSnake am 02 April 2018, 17:09:05
Hi,

ich hab jetzt nurmal die 00_signalduino ersetzt, fährt normal hoch bringt aber noch:

Die von dir gemeldeten Fehler befinden sich alle im commandref Teil und das ist nur Text und kein Perl Code.

Bei mir passiert das nicht. Wie genau hast Du die Datei denn heruntergeladen und ersetzt?


Grüße Sidey
Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker