FHEM Forum

FHEM - Hausautomations-Systeme => Homematic => Thema gestartet von: Saphora am 07 März 2021, 18:12:04

Titel: [Homematic Wired] Nach Update kein Device Config mehr möglich
Beitrag von: Saphora am 07 März 2021, 18:12:04
Hallo FHEM Community,
seit einem vollständigen Update aller FHEM Module kann FHEM alle Homematic Wired Module nicht mehr konfigurieren.
Es kommt die Meldung: Device not completely loaded yet. Try again later.
Das schalten von den Wired Geräten aus FHEM klappt.

Im FHEM Log steht beim starten folgendes was mir komisch vorkommt:

2021.03.07 17 1: PERL WARNING: Use of uninitialized value $requestId in concatenation (.) or string at ./FHEM/10_HM485.pm line 2302.
2021.03.07 17 1: PERL WARNING: Use of uninitialized value $requestId in concatenation (.) or string at ./FHEM/10_HM485.pm line 2602.
2021.03.07 17 1: PERL WARNING: Use of uninitialized value $newType in string ne at ./FHEM/01_FHEMWEB.pm line 2292.
2021.03.07 17 1: PERL WARNING: Use of uninitialized value $oldType in string ne at ./FHEM/01_FHEMWEB.pm line 2292.
2021.03.07 17 1: PERL WARNING: Use of uninitialized value in numeric ne (!=) at ./FHEM/10_HM485.pm line 2615.
2021.03.07 17 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_HM485.pm line 2616.


Hier ein Auszug von einem Gerät was geschalten werden kann, aber nicht die Device Configuration aufgerufen werden kann:

Internals:
   DEF        00004FFC
   FUUID      5d5fd323-f33f-f166-c19b-98190e190bc6573b
   FailedConfigReads 0
   IODev      HM485_Digitus
   NAME       Rollo_Bl1
   NR         233
   RawDeviceType 21
   RawFwVersion 774
   STATE      ACK
   TYPE       HM485
   channel_01 Rollo_Taster_01
   channel_02 LC_Bl1_DR_02
   channel_03 BZ_Rollo
   READINGS:
     2021-03-07 17   D-deviceKey     HMW_LC_BL1_DR
     2021-03-07 17   D-fwVersion     3.06
     2021-03-07 17   D-serialNr      HEQ0484321
     2021-02-27 21   R-central_address 00000001
     2021-02-27 21   R-logging_time  2.00
     2021-03-07 17   configStatus    READING
     2021-03-07 17   state           ACK
   cache:
     sets       Unknown argument ?, choose one of  getConfig raw reset 
     01:
       allowedSets press_short press_long
       sets       Unknown argument ?, choose one of  press_long press_short 
     02:
       allowedSets press_short press_long
       sets       Unknown argument ?, choose one of  press_long press_short 
     03:
       allowedSets
       sets       Unknown argument ?, choose one of   attrTemplate
     linkParams:
       actuator:
         channels   00
       sensor:
         channels   00
Attributes:
   IODev      HM485_Digitus
   room       HM485


und noch ein list vom Digitus RS485 Converter

Internals:
   DEF        localhost:2000
   DeviceName localhost:2000
   FD         62
   FUUID      5d5da65c-f33f-f166-4dc1-e115eb31a1b44a63
   HM485_Digitus_MSGCNT 1149
   HM485_Digitus_TIME 2021-03-07 20:01:58
   HM485d_CommandLine ./FHEM/lib/HM485/HM485d/HM485d.pl --hmwId 00000001 --serialNumber SGW0123456 --device /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A504DLQ0-if00-port0 --localPort 2000 --daemon 1 --logfile HMW-Log
   HM485d_PID   610
   HM485d_STATE started
   InterfaceType HMW-SOFT-GW
   LASTInputDev HM485_Digitus
   Last_Sent_RAW_CMD 00004FFC 1E 00000001 5302
   Last_Sent_RAW_CMD_State ACK
   MSGCNT     1149
   NAME       HM485_Digitus
   NR         14
   PARTIAL   
   ProtokolVersion 01
   STATE      opened
   SerialNumber SGW0123456
   TYPE       HM485_LAN
   Version    0.2.2
   currentQueueId 0
   hmwId      00000001
   msgCounter 30
   queueId    457
   queueRunning 0
   READINGS:
     2021-03-07 18:43:54   state           opened
   ctrl:
     00002375   98
     00004F8A   98
     00004FFC   1E
     000051F7   1C
     0000808C   1C
     000089CE   1C
     0000AE7D   1C
     0000BD3A   1C
     0000BE31   1C
     00011B02   1C
     000120A8   1E
     00015CF5   1C
     00015EB6   1C
     000185CA   98
     00018652   1E
     00018658   1A
     0001865B   1E
     00018676   1E
     00018678   1E
     00018680   1C
     00018687   1E
     000193B4   1C
     0001A281   1C
     0001A432   1A
     0001B27E   1C
     0001B72F   1C
     0001B9BC   1C
     0001C784   1E
     0001C91B   1C
     0001CAA4   1C
     608F3F9B   1C
     608F3FFF   1C
     608F4000   1C
     608F4001   1C
     608F4002   1C
     608F4003   1C
     608F4005   1C
     608F400A   1C
     608F400B   1C
   keepalive:
     ok         1
     retry      0
   sendQueue:
Attributes:
   HM485d_bind 1
   HM485d_detach 1
   HM485d_device /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A504DLQ0-if00-port0
   HM485d_logfile HMW-Log
   hmwId      00000001
   icon       lan_rs485
   room       Devices
   verbose    5


get state bringt den aktuell Status zurück.
get perrlist und config bringen folgende Ausschrift:


{
".message":{
"input":"0",
"type":"text",
"value":"Device not completely loaded yet. Try again later."
}
}


Hier noch ein Auszug aus dem Log

2021.03.07 22:22:48 5: HM485_Digitus: HM485_ProcessEvent: hmwId = 608F4001 msgData = 691E0F3D
2021.03.07 22:22:49 5: HM485_Digitus: HM485_LAN_parseIncommingCommand: MsgId: 0 Cmd: 101
2021.03.07 22:22:49 4: HM485_Digitus: Event:HASH(0x5848c08)
2021.03.07 22:22:49 5: HM485_Digitus: Dispatch: FD0F006500000001FA608F4003691E0F31
2021.03.07 22:22:49 5: HM485_Digitus: dispatch �\017\000e\000\000\000\001�`�@\003i\036\0171
2021.03.07 22:22:49 5: HM485_Digitus: HM485_Parse: MsgId: 0
2021.03.07 22:22:49 5: HM485_Digitus: HM485_Parse: ProcessEvent
2021.03.07 22:22:49 5: HM485_Digitus: HM485_ProcessEvent: hmwId = 608F4003 msgData = 691E0F31
2021.03.07 22:22:54 5: HM485_Digitus: HM485_LAN_parseIncommingCommand: MsgId: 0 Cmd: 101
2021.03.07 22:22:54 4: HM485_Digitus: Event:HASH(0x57862e8)
2021.03.07 22:22:54 5: HM485_Digitus: Dispatch: FD0F006500000001FC608F4003691809F0
2021.03.07 22:22:54 5: HM485_Digitus: dispatch �\017\000e\000\000\000\001�`�@\003i\030\t�
2021.03.07 22:22:54 5: HM485_Digitus: HM485_Parse: MsgId: 0
2021.03.07 22:22:54 5: HM485_Digitus: HM485_Parse: ProcessEvent
2021.03.07 22:22:54 5: HM485_Digitus: HM485_ProcessEvent: hmwId = 608F4003 msgData = 691809F0
2021.03.07 22:23:12 5: HM485_Digitus: HM485_LAN_parseIncommingCommand: MsgId: 0 Cmd: 101
2021.03.07 22:23:12 4: HM485_Digitus: Event:HASH(0x5d66a98)
2021.03.07 22:23:12 5: HM485_Digitus: Dispatch: FD0F006500000001FE608F4003691E0F36
2021.03.07 22:23:12 5: HM485_Digitus: dispatch �\017\000e\000\000\000\001�`�@\003i\036\0176
2021.03.07 22:23:12 5: HM485_Digitus: HM485_Parse: MsgId: 0
2021.03.07 22:23:12 5: HM485_Digitus: HM485_Parse: ProcessEvent
2021.03.07 22:23:12 5: HM485_Digitus: HM485_ProcessEvent: hmwId = 608F4003 msgData = 691E0F36
2021.03.07 22:23:12 5: HM485_Digitus: HM485_LAN_parseIncommingCommand: MsgId: 0 Cmd: 101
2021.03.07 22:23:12 4: HM485_Digitus: Event:HASH(0x577c620)
2021.03.07 22:23:12 5: HM485_Digitus: Dispatch: FD0F006500000001F8608F4001691E0F45
2021.03.07 22:23:12 5: HM485_Digitus: dispatch �\017\000e\000\000\000\001�`�@\001i\036\017E
2021.03.07 22:23:12 5: HM485_Digitus: HM485_Parse: MsgId: 0
2021.03.07 22:23:12 5: HM485_Digitus: HM485_Parse: ProcessEvent
2021.03.07 22:23:12 5: HM485_Digitus: HM485_ProcessEvent: hmwId = 608F4001 msgData = 691E0F45
2021.03.07 22:23:13 5: HM485_Digitus: HM485_LAN_parseIncommingCommand: MsgId: 0 Cmd: 101
2021.03.07 22:23:13 4: HM485_Digitus: Event:HASH(0x5d9a2d8)
2021.03.07 22:23:13 5: HM485_Digitus: Dispatch: FD0F006500000001FA608F4005691E0FFB
2021.03.07 22:23:13 5: HM485_Digitus: dispatch �\017\000e\000\000\000\001�`�@\005i\036\017�
2021.03.07 22:23:13 5: HM485_Digitus: HM485_Parse: MsgId: 0
2021.03.07 22:23:13 5: HM485_Digitus: HM485_Parse: ProcessEvent
2021.03.07 22:23:13 5: HM485_Digitus: HM485_ProcessEvent: hmwId = 608F4005 msgData = 691E0FFB
2021.03.07 22:23:22 5: HM485_Digitus: HM485_LAN_parseIncommingCommand: MsgId: 0 Cmd: 101
2021.03.07 22:23:22 4: HM485_Digitus: Event:HASH(0x58e2708)
2021.03.07 22:23:22 5: HM485_Digitus: Dispatch: FD0F006500000001FA608F400269180998
2021.03.07 22:23:22 5: HM485_Digitus: dispatch �\017\000e\000\000\000\001�`�@\002i\030\t�
2021.03.07 22:23:22 5: HM485_Digitus: HM485_Parse: MsgId: 0
2021.03.07 22:23:22 5: HM485_Digitus: HM485_Parse: ProcessEvent
2021.03.07 22:23:22 5: HM485_Digitus: HM485_ProcessEvent: hmwId = 608F4002 msgData = 69180998
2021.03.07 22:23:23 5: HM485_Digitus: HM485_LAN_parseIncommingCommand: MsgId: 0 Cmd: 101
2021.03.07 22:23:23 4: HM485_Digitus: Event:HASH(0x55059f8)
2021.03.07 22:23:23 5: HM485_Digitus: Dispatch: FD0F006500000001FA608F4001691E0F3F
2021.03.07 22:23:23 5: HM485_Digitus: dispatch �\017\000e\000\000\000\001�`�@\001i\036\017?
2021.03.07 22:23:23 5: HM485_Digitus: HM485_Parse: MsgId: 0
2021.03.07 22:23:23 5: HM485_Digitus: HM485_Parse: ProcessEvent
2021.03.07 22:23:23 5: HM485_Digitus: HM485_ProcessEvent: hmwId = 608F4001 msgData = 691E0F3F


Danke für jede unterstützung.
Martin
Titel: Antw:[Homematic Wired] Nach Update kein Device Config mehr möglich
Beitrag von: loetmeister am 10 März 2021, 23:50:40
Hi,

welche Version hat deine "10_HM485.pm"? Version 0.8.16?
Was steht im log, wenn du ein getConfig z.b. bei Rollo_Bl1 machst?
Änderst sich der Zeitstempel für configStatus    READING?

ZitatDas schalten von den Wired Geräten aus FHEM klappt.
Bekommst du auch den richtigen Status in FHEM angezeigt?

Wenn ich dein log richtig lese, senden verschiede Geräte eine Antwort auf den Konfig Abfrage (cmd 101 = 0x65 = 'e')... aber das kommt etwas vereinzelt... eigentlich müsste das in einem rutsch durchlaufen.
Eventuell weiß Thorsten mehr....  ;D

Gruß,
Thomas
Titel: Antw:[Homematic Wired] Nach Update kein Device Config mehr möglich
Beitrag von: Saphora am 14 März 2021, 10:25:20
Hallo Thomas,
hatte gestern von einem Bekannten testweise seinen RS485 Converter bekommen.
Und das Ergebnis ist täglich, dass meiner anscheint hinüber ist.
Das Verhalten ist schon etwas komisch, da das Schalten generell geht und auch die Zeitstempel aktualisieren.
Aber die Bus-Geräte lassen sich nicht mehr konfigurieren.
Daher würde ich mir einen neuen RS485 Converter besorgen.
Danke für Hilfe :)

Martin
Titel: Antw:[Homematic Wired] Nach Update kein Device Config mehr möglich
Beitrag von: loetmeister am 14 März 2021, 16:09:12
Hallo Martin,

schön das du die Ursache gefunden hast. Ein Hardware defekt war bei dem Verhalten nicht mein erster Gedanke.
Am besten hast du immer einen Digitus als Ersatz... kosten ja nicht viel  ;)

Ich hatte mir meinen USB - RS485 Adapter selber gebaut, auch mit FTDI FT232RL... ist ja eigentlich wenig dran was Kaputt gehen kann.

Gruß,
Thomas
Titel: Antw:[Homematic Wired] Nach Update kein Device Config mehr möglich
Beitrag von: Saphora am 14 März 2021, 17:54:25
Hardwaredefekt hätte ich auch nicht wirklich erwartet.
Hätte den Converter als letztes ausgetauscht. Ein Bekannter hatte seins einfach mitgebracht und gesagt das wird jetzt getauscht :D
Werde mir jetzt definitiv einen auf Reserve legen.
Schönen Sonntag.

Martin