Anlernen HM-Aktor an VCCU klappt nicht (10_CUL_HM)

Begonnen von Hollo, 17 August 2019, 13:15:27

Vorheriges Thema - Nächstes Thema

Hollo

Ich mache mal ein neues Thema auf, da es m.E. nicht ganz zu den bestehenden passt.

Vorbemerkung:
- VCCU seit Jahren eingerichtet und funktionstüchtig
- aktuelles System
- vorab nochmal bzgl. Updates geschaut
- vorab nochmal shutdown restart von FHEM gemacht

- 10_CUL_HM.pm 19983 2019-08-11


Vorhaben:
- Anlernen eines Homematic 1-Kanal-UP-Aktors

Vorgehen bzw. Ausgaben im LOG:
2019.08.17 12:46:42 3: CUL_HM set vccu hmPairForSec 180
2019.08.17 12:47:05 2: CUL_HM Unknown device HM_2E274E is now defined
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in hash element at ./FHEM/10_CUL_HM.pm line 1493.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in hash element at ./FHEM/10_CUL_HM.pm line 1494.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 1538.
2019.08.17 12:47:05 2: CUL_HM Unknown device HM_2E274E is now defined
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in hash element at ./FHEM/10_CUL_HM.pm line 1493.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in hash element at ./FHEM/10_CUL_HM.pm line 1494.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 1538.
2019.08.17 12:47:05 3: HMLAN1: Unknown code A1A0784002E274E0000002500044C45513037343832393410010100::-62:HMLAN1, help me!
2019.08.17 12:47:05 2: CUL_HM Unknown device HM_2E274E is now defined
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in hash element at ./FHEM/10_CUL_HM.pm line 1493.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in hash element at ./FHEM/10_CUL_HM.pm line 1494.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 1538.
2019.08.17 12:47:05 2: CUL_HM Unknown device HM_2E274E is now defined
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in hash element at ./FHEM/10_CUL_HM.pm line 1493.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in hash element at ./FHEM/10_CUL_HM.pm line 1494.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $d in hash element at fhem.pl line 4524.
[Sat Aug 17 12:47:05 2019] fhem.pl: Use of uninitialized value $mh{"devN"} in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 1538.
2019.08.17 12:47:05 3: HMLAN2: Unknown code A1A0784002E274E0000002500044C45513037343832393410010100::-43:HMLAN2, help me!
2019.08.17 12:47:05 1: Error: >< has no TYPE, but following keys: >helper<


Ergebnis:
- Aktor hat sich gemeldet
- Anlernphase wird beendet
- Aktor ist NICHT vorhanden

Fragen:
- Kann damit jemand etwas anfangen?
- Ist das Problem bekannt oder sitzt es aktuell vor meinem Bildschirm?
- Vorschläge?
FHEM 6.x auf RPi 3B Buster
Protokolle: Homematic, Z-Wave, MQTT, Modbus
Temp/Feuchte: JeeLink-Clone und LGW mit LaCrosse/IT
sonstiges: Linux-Server, Dreambox, "RSS-Tablet"

LuckyDay

2019.08.17 13:57:03.151 0: CUL_HM_assignIO HM_2E274E AssignIoPort used
2019.08.17 13:56:56.986 2: autocreate: define FileLog_HM_2E274E FileLog ./log/HM_2E274E-%Y.log HM_2E274E
2019.08.17 13:56:56.970 2: autocreate: define HM_2E274E CUL_HM 2E274E
2019.08.17 13:56:56.963 2: CUL_HM Unknown device HM_2E274E is now defined


Ich habe mal deine Anlernmessage aus dem Log genommen

Also in Fhem definiert er sich ,siehe Bild und Log,

Ist bei dir autocreate aktiv ?

Hollo

Zitat von: fhem-hm-knecht am 17 August 2019, 14:08:53
...Ist bei dir autocreate aktiv ?
Shit, das war es!   :-X

Das hatte ich deaktiviert, damit mir nicht fremde Devices und immer wieder die LOG-Files für MQTT2 defined werden.  ;)

Kaum macht man es richtig, funktioniert es auch.

2019.08.17 14:23:01 3: CUL_HM set vccu hmPairForSec 180
2019.08.17 14:23:26 2: CUL_HM Unknown device HM_2E274E is now defined
2019.08.17 14:23:26 2: autocreate: define HM_2E274E CUL_HM 2E274E
2019.08.17 14:23:26 2: autocreate: define FileLog_HM_2E274E FileLog ./log/HM_2E274E-%Y.log HM_2E274E
2019.08.17 14:23:26 3: CUL_HM pair: HM_2E274E switch, model HM-LC-SW1-FM serialNr
2019.08.17 14:23:32 3: CUL_HM set HM_2E274E statusRequest
2019.08.17 14:23:36 3: CUL_HM set HM_2E274E getConfig


Vielen Dank für's Probieren und die schnelle Hilfe.

@Martin
Kannst Du mal im Code gucken, warum da solche "leicht irreführenden" Meldungen vom Modul ins LOG kommen.
Da wäre stattdessen ein kleiner "Tritt" in die richtige Richtung auch schön.
FHEM 6.x auf RPi 3B Buster
Protokolle: Homematic, Z-Wave, MQTT, Modbus
Temp/Feuchte: JeeLink-Clone und LGW mit LaCrosse/IT
sonstiges: Linux-Server, Dreambox, "RSS-Tablet"

martinp876

das ist in der Tat nicht schön.
Allerding sollte man bei "Anlernen" das Autocreate ignorieren und das Device anlegen. Es ist ja quasi gewollt.
Ich prüfe das einmal.
Für HM halte ich autocreate disable für ungeschickt....