Problem SWAP autocreate

Begonnen von alex_s_s, 02 März 2018, 17:50:17

Vorheriges Thema - Nächstes Thema

alex_s_s

Hallo Forum,

ich hab ein Problem mit panstamps:

-FHEM version: fhem.pl:13447/2017-02-19
-Interface ist ein panstick mit panstamp AVR2, mit Modem-Sketch, angelegt mit "define mypanstick panstamp /dev/ttyUSB0@38400", Adresse ist 01, Channel 00, Syncword B547
-Sensor ist ein panstamp AVR, mit TempHumpPress-Sketch

Sobald ich jetzt den Sensor anschalte wird er auch gefunden, leider mehrfach:

2018.03.02 17:10:19 3: Opening mypanstick device /dev/ttyUSB0
2018.03.02 17:10:19 3: Setting mypanstick serial parameters to 38400,8,N,1
2018.03.02 17:10:23 3: mypanstick device opened
2018.03.02 17:11:13 3: SWAP Unknown device 00, please define it
2018.03.02 17:11:13 3: SWAP Unknown device 00, please define it
2018.03.02 17:11:13 3: mypanstick: Unknown code 03A0103A000010004, help me!
2018.03.02 17:11:13 3: mypanstick: Unknown code 03A0203A33, help me!
2018.03.02 17:11:15 3: SWAP Unknown device FF, please define it
2018.03.02 17:11:15 2: autocreate: define SWAP_F0 SWAP FF
2018.03.02 17:11:15 3: SWAP_F0: I/O device is mypanstick
2018.03.02 17:11:16 2: autocreate: define FileLog_SWAP_F0 FileLog ./log/SWAP_F0-%Y.log SWAP_F0
2018.03.02 17:11:16 3: SWAP Unknown device CA, please define it
2018.03.02 17:11:16 2: autocreate: define SWAP_CA SWAP CA
2018.03.02 17:11:16 3: SWAP_CA: I/O device is mypanstick
2018.03.02 17:11:16 2: autocreate: define FileLog_SWAP_CA FileLog ./log/SWAP_CA-%Y.log SWAP_CA
2018.03.02 17:11:16 3: mypanstick: Unknown code 03A0503A32, help me!
2018.03.02 17:11:16 3: SWAP Unknown device E2, please define it
2018.03.02 17:11:16 2: autocreate: define SWAP_E2 SWAP E2
2018.03.02 17:11:16 3: SWAP_E2: I/O device is mypanstick
2018.03.02 17:11:16 2: autocreate: define FileLog_SWAP_E2 FileLog ./log/SWAP_E2-%Y.log SWAP_E2
2018.03.02 17:11:16 3: SWAP Unknown device 53, please define it
2018.03.02 17:11:16 2: autocreate: define SWAP_53 SWAP 53
2018.03.02 17:11:16 3: SWAP_53: I/O device is mypanstick
2018.03.02 17:11:16 2: autocreate: define FileLog_SWAP_53 FileLog ./log/SWAP_53-%Y.log SWAP_53

Jedesmal wenn der Sensor wieder seine Daten abliefert wird er als neues Gerät angelegt:

2018.03.02 17:19:46 3: SWAP Unknown device F4, please define it
2018.03.02 17:19:46 2: autocreate: define SWAP_F4 SWAP F4
2018.03.02 17:19:46 3: SWAP_F4: I/O device is mypanstick
2018.03.02 17:19:47 2: autocreate: define FileLog_SWAP_F4 FileLog ./log/SWAP_F4-%Y.log SWAP_F4
2018.03.02 17:19:47 3: SWAP Unknown device C0, please define it
2018.03.02 17:19:47 2: autocreate: define SWAP_C0 SWAP C0
2018.03.02 17:19:47 3: SWAP_C0: I/O device is mypanstick
2018.03.02 17:19:47 2: autocreate: define FileLog_SWAP_C0 FileLog ./log/SWAP_C0-%Y.log SWAP_C0
2018.03.02 17:24:02 1: PERL WARNING: Argument "C5" isn't numeric in numeric eq (==) at ./FHEM/34_SWAP.pm line 996.
2018.03.02 17:24:02 3: SWAP Unknown device B0, please define it
2018.03.02 17:24:02 2: autocreate: define SWAP_B0 SWAP B0
2018.03.02 17:24:02 3: SWAP_B0: I/O device is mypanstick
2018.03.02 17:24:02 2: autocreate: define FileLog_SWAP_B0 FileLog ./log/SWAP_B0-%Y.log SWAP_B0
2018.03.02 17:24:02 2: no device xml found for productcode
2018.03.02 17:24:02 2: no device xml found for productcode
2018.03.02 17:28:17 3: SWAP Unknown device 4A, please define it
2018.03.02 17:28:17 2: autocreate: define SWAP_4A SWAP 4A
2018.03.02 17:28:17 3: SWAP_4A: I/O device is mypanstick
2018.03.02 17:28:17 2: autocreate: define FileLog_SWAP_4A FileLog ./log/SWAP_4A-%Y.log SWAP_4A
2018.03.02 17:32:32 1: PERL WARNING: Argument "AC" isn't numeric in numeric eq (==) at ./FHEM/34_SWAP.pm line 996.
2018.03.02 17:32:32 3: SWAP Unknown device 29, please define it
2018.03.02 17:32:32 2: autocreate: define SWAP_29 SWAP 29
2018.03.02 17:32:32 3: SWAP_29: I/O device is mypanstick
2018.03.02 17:32:32 2: autocreate: define FileLog_SWAP_29 FileLog ./log/SWAP_29-%Y.log SWAP_29
2018.03.02 17:32:32 1: PERL WARNING: Argument "AB" isn't numeric in numeric eq (==) at ./FHEM/34_SWAP.pm line 996.
2018.03.02 17:36:47 3: SWAP Unknown device CC, please define it
2018.03.02 17:36:47 2: autocreate: define SWAP_CC SWAP CC
2018.03.02 17:36:47 3: SWAP_CC: I/O device is mypanstick
2018.03.02 17:36:47 2: autocreate: define FileLog_SWAP_CC FileLog ./log/SWAP_CC-%Y.log SWAP_CC
2018.03.02 17:41:02 1: PERL WARNING: Argument "AC" isn't numeric in numeric eq (==) at ./FHEM/34_SWAP.pm line 953.
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $data in string ne at ./FHEM/34_SWAP.pm line 953.
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $data in concatenation (.) or string at ./FHEM/34_SWAP.pm line 956.
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $raddr in hash element at ./FHEM/34_SWAP.pm line 971.
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $rname in concatenation (.) or string at ./FHEM/34_SWAP.pm line 981.
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $raddr in string eq at ./FHEM/34_SWAP.pm line 983.
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $raddr in string eq at ./FHEM/34_SWAP.pm line 995.
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $raddr in hash element at ./FHEM/34_SWAP.pm line 998.
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $rname in concatenation (.) or string at ./FHEM/34_SWAP.pm line 999.
2018.03.02 17:41:02 3: SWAP Unknown device , please define it
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $raddr in string eq at ./FHEM/34_SWAP.pm line 1000.
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $raddr in string eq at ./FHEM/34_SWAP.pm line 1002.
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $rname in concatenation (.) or string at ./FHEM/34_SWAP.pm line 1006.
2018.03.02 17:41:02 1: PERL WARNING: Use of uninitialized value $raddr in concatenation (.) or string at ./FHEM/34_SWAP.pm line 1006.
2018.03.02 17:41:02 2: autocreate: define SWAP_ SWAP
2018.03.02 17:41:02 2: wrong syntax: define <name> SWAP <addr>[.<reg>]
2018.03.02 17:41:02 1: define SWAP_ SWAP : wrong syntax: define <name> SWAP <addr>[.<reg>]
2018.03.02 17:41:02 1: ERROR: wrong syntax: define <name> SWAP <addr>[.<reg>]
2018.03.02 17:41:02 3: SWAP Unknown device CD, please define it
2018.03.02 17:41:02 2: autocreate: define SWAP_CD SWAP CD
2018.03.02 17:41:02 3: SWAP_CD: I/O device is mypanstick
2018.03.02 17:41:02 2: autocreate: define FileLog_SWAP_CD FileLog ./log/SWAP_CD-%Y.log SWAP_CD
2018.03.02 17:43:40 2: no device xml found for productcode


Wo könnte das Problem liegen??

alex_s_s

OK, vielleicht muss ich noch ein paar Info's dazu liefern:

In einer Installation (auf die ich momentan leider keinen Zugriff habe) läuft ein Raspi1 mit FHEM und älterem Panstick (AVR Panstamp), dazu 6 Sensoren (AVR Panstamp, TempPress); der Raspi wurde ersetzt durch einen baugleichen mit neuem Panshield (mit AVR2 Panstamp). Hoffnung war das bestehende System einfach übernehmen zu können. Hat leider nicht funktioniert, die Sensoren werden immer wieder neu erkannt und es lässt sich keine ID zuordnen.  Hab jetzt versucht das Ganze am Schreibtisch nachzustellen und siehe da: Genau dieselbe Problematik.
Benutzt hier jemand einen neueren Panstick/Panshield (mit AVR2 Panstamp) und älteren Panstamps als Sensoren? Gibt es beim 'define' des Pansticks noch irgendwas zu beachten oder wo liegt der Haken?