hmccu verhindert reconnect von yowsup (WhatsApp)

Begonnen von Init, 14 Januar 2018, 13:08:26

Vorheriges Thema - Nächstes Thema

Init

Hallo zusammen,

ich habe herausgefunden, dass ein reconnect von yowsup bei einem laufenden HMCCU nicht funktioniert.

Nach dem Entfernen der folgenden Definition funktioniert der reconnect wieder ohne Probleme:

define d_ccu HMCCU 192.168.146.12
attr d_ccu ccuflags extrpc
attr d_ccu group HMCCU
attr d_ccu room HMCCU,System
attr d_ccu rpcinterfaces BidCos-RF,BidCos-Wired,HmIP-RF
attr d_ccu rpcport 2001,2000,2010
attr d_ccu rpcserver on
attr d_ccu stateFormat rpcstate/state


Auch ein "set d_ccu rpcserver off" lässt yowsup erneut starten.

Danach ist auch ein "set d_ccu rpcserver on" wieder ohne Probleme möglich.

Im Thread "[32_yowsup.pm] Whatsapp versenden (Mit Handy- oder Festnetznummer)" konnte mir auch keiner helfen.

Als Workaround habe ich nun in 32_yowsup.pm eingebaut, dass beim Empfang von "Connection Closed" ein at-Job generiert wird, welcher nach 1 Minute "set d_ccu rpcserver off" sendet und nach einer erneuten Wartezeit von 10 Sekunden wieder "set d_ccu rpcserver on" sendet.
Aber schön finde ich diese Lösung wirklich nicht.

Hat jemand eine Idee, woran das liegen könnte?

VG
Marc

zap

Gibt es denn Fehlermeldungen im FHEM Logfile? So ist das nur Kaffeesatz Leserei
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

Init

Hi zap!

Nachts kommt durch WhatsApp immer ein disconnect. 10 Minuten später versucht dann das yowup-Modul einen reconnect.

Als das nicht funktionierte habe ich mal das Logging in diesem Modul erweitert und gesehen, dass in der ReadFn der Buffer immer leer ist und das Modul in einer Endlosschleife läuft, bis ich den rpcserver stoppe. Danach funktioniert der reconnect sofort.

Hier ein Auszug aus dem Log, es sind auch ein paar Zeilen aus deinem Modul dabei
2018.01.14 05:10:14.132 1: WhatsApp(yowsup_Read): Start
2018.01.14 05:10:14.133 1: WhatsApp(yowsup_Read): 1 hashFH= GLOB(0x630f450)
2018.01.14 05:10:14.133 1: WhatsApp(yowsup_Read): 2 $ret= 55
2018.01.14 05:10:14.133 1: WhatsApp(yowsup_Read): 3 $buf=
general: Disconnected: Connection Closed
[connected]:

2018.01.14 05:10:14.133 1: WhatsApp(yowsup_Parse): Start
2018.01.14 05:10:14.133 1: WhatsApp(yowsup_Parse): $data =
general: Disconnected: Connection Closed
[connected]:

2018.01.14 05:10:14.133 1: WhatsApp(yowsup_Parse): 2.8 ************** connection closed ***************
2018.01.14 05:10:14.171 1: WhatsApp(yowsup_Notify): Start
2018.01.14 05:10:14.171 1: WhatsApp(yowsup_Notify): 1 DEVName global
2018.01.14 05:10:14.171 1: WhatsApp(yowsup_Notify): 2 DEVName ARRAY(0x1141e0d8)
2018.01.14 05:10:14.190 1: WhatsApp(yowsup_Parse): Ende
2018.01.14 05:10:32.350 2: HMCCURPC: Received no events from interface CB2000 for 600.832397937775 seconds
2018.01.14 05:18:31.693 2: CCURPC: I/O error during data processing (Select found no reader)
2018.01.14 05:20:11.522 2: HMCCURPC: Received no events from interface CB2010 for 600.809135913849 seconds
2018.01.14 05:20:14.137 1: WhatsApp(yowsup_reConnect): Start
2018.01.14 05:20:14.137 1: WhatsApp(yowsup_reConnect): 1 vor Disconnect
2018.01.14 05:20:14.137 1: WhatsApp(yowsup_Disconnect): Start
2018.01.14 05:20:14.137 1: WhatsApp(yowsup_Disconnect): 2 RemoveInternalTimer
2018.01.14 05:20:14.137 1: WhatsApp(yowsup_Disconnect): 3 Found PID
2018.01.14 05:20:14.138 1: WhatsApp(yowsup_Write): Start
2018.01.14 05:20:14.138 1: WhatsApp(yowsup_Write): 1 sending /disconnect
2018.01.14 05:20:14.138 1: WhatsApp(yowsup_Write): Ende
2018.01.14 05:20:14.138 1: WhatsApp(yowsup_Disconnect): 4 Kill PID
2018.01.14 05:20:14.143 1: WhatsApp(yowsup_Disconnect): 5 Close FH: GLOB(0x630f450)
2018.01.14 05:20:14.144 1: WhatsApp(yowsup_Disconnect): 6 Delete FH: GLOB(0x630f450)
2018.01.14 05:20:14.144 1: WhatsApp(yowsup_Disconnect): 7 Delete FD:
2018.01.14 05:20:14.144 1: WhatsApp(yowsup_Disconnect): 8 Delete List: HASH(0x630f210)
2018.01.14 05:20:14.144 1: WhatsApp(yowsup_Disconnect): 9 Disconnected
2018.01.14 05:20:14.144 1: WhatsApp(yowsup_Disconnect): Ende
2018.01.14 05:20:14.144 1: WhatsApp(yowsup_reConnect): 2 vor Connect
2018.01.14 05:20:14.144 1: WhatsApp(yowsup_Connect): Start
2018.01.14 05:20:14.145 1: WhatsApp(yowsup_Connect):  1
2018.01.14 05:20:14.145 1: WhatsApp(yowsup_Connect):  2 yowsup_child: GLOB(0x72a4178)
2018.01.14 05:20:14.145 1: WhatsApp(yowsup_Connect):  3 parent: GLOB(0x1150c0f0)
2018.01.14 05:20:14.165 1: WhatsApp(yowsup_Connect):  4 pid: 23870
2018.01.14 05:20:14.166 1: WhatsApp(yowsup_Connect):  7 found pid: 23870
2018.01.14 05:20:14.167 1: WhatsApp(yowsup_Connect): Ende
2018.01.14 05:20:14.167 1: WhatsApp(yowsup_reConnect): Ende
2018.01.14 05:20:14.183 1: WhatsApp(yowsup_Connect):  4 pid: 0
2018.01.14 05:20:14.183 1: WhatsApp(yowsup_Connect):  8 NOT found pid: 0
2018.01.14 05:20:14.184 1: WhatsApp(yowsup_Connect):  9 fileno: 75
2018.01.14 05:20:14.185 1: WhatsApp(yowsup_Connect):  10 setting $HOME to /opt/fhem
2018.01.14 05:20:14.186 1: WhatsApp(yowsup_Connect):  11 exec cmd: /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --yowsup
2018.01.14 05:20:14.214 1: WhatsApp(yowsup_Read): Start
2018.01.14 05:20:14.214 1: WhatsApp(yowsup_Read): 1 hashFH= GLOB(0x72a4178)
2018.01.14 05:20:14.214 1: WhatsApp(yowsup_Read): 2 $ret= 0
2018.01.14 05:20:14.214 1: WhatsApp(yowsup_Read): 3 $buf= 
2018.01.14 05:20:14.214 1: WhatsApp(yowsup_Disconnect): Start
2018.01.14 05:20:14.214 1: WhatsApp(yowsup_Disconnect): 2 RemoveInternalTimer
2018.01.14 05:20:14.214 1: WhatsApp(yowsup_Disconnect): 3 Found PID
2018.01.14 05:20:14.215 1: WhatsApp(yowsup_Write): Start
2018.01.14 05:20:14.215 1: WhatsApp(yowsup_Write): 1 sending /disconnect
2018.01.14 05:20:14.215 1: WhatsApp(yowsup_Write): Ende
2018.01.14 05:20:14.215 1: WhatsApp(yowsup_Disconnect): 4 Kill PID
2018.01.14 05:20:14.215 1: WhatsApp(yowsup_Disconnect): 5 Close FH: GLOB(0x72a4178)
2018.01.14 05:20:14.215 1: WhatsApp(yowsup_Disconnect): 6 Delete FH: GLOB(0x72a4178)
2018.01.14 05:20:14.216 1: WhatsApp(yowsup_Disconnect): 7 Delete FD:
2018.01.14 05:20:14.216 1: WhatsApp(yowsup_Disconnect): 8 Delete List: HASH(0x630f210)
2018.01.14 05:20:14.216 1: WhatsApp(yowsup_Disconnect): 9 Disconnected
2018.01.14 05:20:14.216 1: WhatsApp(yowsup_Disconnect): Ende
2018.01.14 05:20:14.216 1: WhatsApp(yowsup_Read): yowsup_Read: 5 end of file reached while sysread
2018.01.14 05:20:37.796 2: CCURPC: I/O error during data processing (Select found no reader)
2018.01.14 05:20:39.725 1: WhatsApp(yowsup_Connect): Start
2018.01.14 05:20:39.725 1: WhatsApp(yowsup_Connect):  1
2018.01.14 05:20:39.725 1: WhatsApp(yowsup_Connect):  2 yowsup_child: GLOB(0xfdce830)
2018.01.14 05:20:39.726 1: WhatsApp(yowsup_Connect):  3 parent: GLOB(0x10de9240)
2018.01.14 05:20:39.742 1: WhatsApp(yowsup_Connect):  4 pid: 23873
2018.01.14 05:20:39.743 1: WhatsApp(yowsup_Connect):  7 found pid: 23873
2018.01.14 05:20:39.743 1: WhatsApp(yowsup_Connect): Ende
2018.01.14 05:20:39.778 1: WhatsApp(yowsup_Connect):  4 pid: 0
2018.01.14 05:20:39.778 1: WhatsApp(yowsup_Connect):  8 NOT found pid: 0
2018.01.14 05:20:39.784 1: WhatsApp(yowsup_Connect):  9 fileno: 74
2018.01.14 05:20:39.785 1: WhatsApp(yowsup_Connect):  10 setting $HOME to /opt/fhem
2018.01.14 05:20:39.785 1: WhatsApp(yowsup_Connect):  11 exec cmd: /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --yowsup
2018.01.14 05:20:39.954 2: HMCCURPC: Received no events from interface CB2000 for 600.829658985138 seconds
2018.01.14 05:20:40.073 1: WhatsApp(yowsup_Read): Start
2018.01.14 05:20:40.074 1: WhatsApp(yowsup_Read): 1 hashFH= GLOB(0xfdce830)
2018.01.14 05:20:40.074 1: WhatsApp(yowsup_Read): 2 $ret= 0
2018.01.14 05:20:40.076 1: WhatsApp(yowsup_Read): 3 $buf= 
2018.01.14 05:20:40.076 1: WhatsApp(yowsup_Disconnect): Start
2018.01.14 05:20:40.076 1: WhatsApp(yowsup_Disconnect): 2 RemoveInternalTimer
2018.01.14 05:20:40.077 1: WhatsApp(yowsup_Disconnect): 3 Found PID
2018.01.14 05:20:40.077 1: WhatsApp(yowsup_Write): Start
2018.01.14 05:20:40.077 1: WhatsApp(yowsup_Write): 1 sending /disconnect
2018.01.14 05:20:40.077 1: WhatsApp(yowsup_Write): Ende
2018.01.14 05:20:40.077 1: WhatsApp(yowsup_Disconnect): 4 Kill PID
2018.01.14 05:20:40.080 1: WhatsApp(yowsup_Disconnect): 5 Close FH: GLOB(0xfdce830)
2018.01.14 05:20:40.080 1: WhatsApp(yowsup_Disconnect): 6 Delete FH: GLOB(0xfdce830)
2018.01.14 05:20:40.081 1: WhatsApp(yowsup_Disconnect): 7 Delete FD:
2018.01.14 05:20:40.081 1: WhatsApp(yowsup_Disconnect): 8 Delete List: HASH(0x630f210)
2018.01.14 05:20:40.081 1: WhatsApp(yowsup_Disconnect): 9 Disconnected
2018.01.14 05:20:40.081 1: WhatsApp(yowsup_Disconnect): Ende
2018.01.14 05:20:40.081 1: WhatsApp(yowsup_Read): yowsup_Read: 5 end of file reached while sysread
2018.01.14 05:20:50.083 1: WhatsApp(yowsup_Connect): Start
2018.01.14 05:20:50.083 1: WhatsApp(yowsup_Connect):  1
2018.01.14 05:20:50.083 1: WhatsApp(yowsup_Connect):  2 yowsup_child: GLOB(0x7794120)
2018.01.14 05:20:50.083 1: WhatsApp(yowsup_Connect):  3 parent: GLOB(0xfde9d80)
2018.01.14 05:20:50.102 1: WhatsApp(yowsup_Connect):  4 pid: 23875
2018.01.14 05:20:50.103 1: WhatsApp(yowsup_Connect):  7 found pid: 23875
2018.01.14 05:20:50.103 1: WhatsApp(yowsup_Connect): Ende
2018.01.14 05:20:50.118 1: WhatsApp(yowsup_Connect):  4 pid: 0
2018.01.14 05:20:50.118 1: WhatsApp(yowsup_Connect):  8 NOT found pid: 0
2018.01.14 05:20:50.118 1: WhatsApp(yowsup_Connect):  9 fileno: 74
2018.01.14 05:20:50.119 1: WhatsApp(yowsup_Connect):  10 setting $HOME to /opt/fhem
2018.01.14 05:20:50.119 1: WhatsApp(yowsup_Connect):  11 exec cmd: /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --yowsup
2018.01.14 05:20:50.145 1: WhatsApp(yowsup_Read): Start
2018.01.14 05:20:50.145 1: WhatsApp(yowsup_Read): 1 hashFH= GLOB(0x7794120)
2018.01.14 05:20:50.145 1: WhatsApp(yowsup_Read): 2 $ret= 0
2018.01.14 05:20:50.145 1: WhatsApp(yowsup_Read): 3 $buf= 
2018.01.14 05:20:50.145 1: WhatsApp(yowsup_Disconnect): Start
2018.01.14 05:20:50.145 1: WhatsApp(yowsup_Disconnect): 2 RemoveInternalTimer
2018.01.14 05:20:50.146 1: WhatsApp(yowsup_Disconnect): 3 Found PID
2018.01.14 05:20:50.146 1: WhatsApp(yowsup_Write): Start
2018.01.14 05:20:50.146 1: WhatsApp(yowsup_Write): 1 sending /disconnect
2018.01.14 05:20:50.146 1: WhatsApp(yowsup_Write): Ende
2018.01.14 05:20:50.146 1: WhatsApp(yowsup_Disconnect): 4 Kill PID
2018.01.14 05:20:50.146 1: WhatsApp(yowsup_Disconnect): 5 Close FH: GLOB(0x7794120)
2018.01.14 05:20:50.147 1: WhatsApp(yowsup_Disconnect): 6 Delete FH: GLOB(0x7794120)
2018.01.14 05:20:50.147 1: WhatsApp(yowsup_Disconnect): 7 Delete FD:
2018.01.14 05:20:50.147 1: WhatsApp(yowsup_Disconnect): 8 Delete List: HASH(0x630f210)
2018.01.14 05:20:50.147 1: WhatsApp(yowsup_Disconnect): 9 Disconnected
2018.01.14 05:20:50.147 1: WhatsApp(yowsup_Disconnect): Ende
2018.01.14 05:20:50.147 1: WhatsApp(yowsup_Read): yowsup_Read: 5 end of file reached while sysread
2018.01.14 05:21:00.149 1: WhatsApp(yowsup_Connect): Start
2018.01.14 05:21:00.150 1: WhatsApp(yowsup_Connect):  1
2018.01.14 05:21:00.150 1: WhatsApp(yowsup_Connect):  2 yowsup_child: GLOB(0xfb8ab10)
2018.01.14 05:21:00.150 1: WhatsApp(yowsup_Connect):  3 parent: GLOB(0x1153ae58)
2018.01.14 05:21:00.169 1: WhatsApp(yowsup_Connect):  4 pid: 23877
2018.01.14 05:21:00.169 1: WhatsApp(yowsup_Connect):  7 found pid: 23877
2018.01.14 05:21:00.170 1: WhatsApp(yowsup_Connect): Ende
2018.01.14 05:21:00.184 1: WhatsApp(yowsup_Connect):  4 pid: 0
2018.01.14 05:21:00.185 1: WhatsApp(yowsup_Connect):  8 NOT found pid: 0
2018.01.14 05:21:00.185 1: WhatsApp(yowsup_Connect):  9 fileno: 73
2018.01.14 05:21:00.186 1: WhatsApp(yowsup_Connect):  10 setting $HOME to /opt/fhem
2018.01.14 05:21:00.186 1: WhatsApp(yowsup_Connect):  11 exec cmd: /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --yowsup
2018.01.14 05:21:00.209 1: WhatsApp(yowsup_Read): Start
2018.01.14 05:21:00.210 1: WhatsApp(yowsup_Read): 1 hashFH= GLOB(0xfb8ab10)
2018.01.14 05:21:00.210 1: WhatsApp(yowsup_Read): 2 $ret= 0
2018.01.14 05:21:00.210 1: WhatsApp(yowsup_Read): 3 $buf= 
2018.01.14 05:21:00.210 1: WhatsApp(yowsup_Disconnect): Start
2018.01.14 05:21:00.210 1: WhatsApp(yowsup_Disconnect): 2 RemoveInternalTimer
2018.01.14 05:21:00.210 1: WhatsApp(yowsup_Disconnect): 3 Found PID
2018.01.14 05:21:00.211 1: WhatsApp(yowsup_Write): Start
2018.01.14 05:21:00.211 1: WhatsApp(yowsup_Write): 1 sending /disconnect
2018.01.14 05:21:00.211 1: WhatsApp(yowsup_Write): Ende
2018.01.14 05:21:00.211 1: WhatsApp(yowsup_Disconnect): 4 Kill PID
2018.01.14 05:21:00.211 1: WhatsApp(yowsup_Disconnect): 5 Close FH: GLOB(0xfb8ab10)
2018.01.14 05:21:00.211 1: WhatsApp(yowsup_Disconnect): 6 Delete FH: GLOB(0xfb8ab10)
2018.01.14 05:21:00.211 1: WhatsApp(yowsup_Disconnect): 7 Delete FD:
2018.01.14 05:21:00.211 1: WhatsApp(yowsup_Disconnect): 8 Delete List: HASH(0x630f210)
2018.01.14 05:21:00.212 1: WhatsApp(yowsup_Disconnect): 9 Disconnected
2018.01.14 05:21:00.212 1: WhatsApp(yowsup_Disconnect): Ende
2018.01.14 05:21:00.212 1: WhatsApp(yowsup_Read): yowsup_Read: 5 end of file reached while sysread
2018.01.14 05:21:10.215 1: WhatsApp(yowsup_Connect): Start
2018.01.14 05:21:10.216 1: WhatsApp(yowsup_Connect):  1
2018.01.14 05:21:10.217 1: WhatsApp(yowsup_Connect):  2 yowsup_child: GLOB(0x77ccf80)
2018.01.14 05:21:10.217 1: WhatsApp(yowsup_Connect):  3 parent: GLOB(0x1074ee40)
2018.01.14 05:21:10.234 1: WhatsApp(yowsup_Connect):  4 pid: 23878
2018.01.14 05:21:10.235 1: WhatsApp(yowsup_Connect):  7 found pid: 23878
2018.01.14 05:21:10.235 1: WhatsApp(yowsup_Connect): Ende
2018.01.14 05:21:10.250 1: WhatsApp(yowsup_Connect):  4 pid: 0
2018.01.14 05:21:10.250 1: WhatsApp(yowsup_Connect):  8 NOT found pid: 0
2018.01.14 05:21:10.250 1: WhatsApp(yowsup_Connect):  9 fileno: 73
2018.01.14 05:21:10.251 1: WhatsApp(yowsup_Connect):  10 setting $HOME to /opt/fhem
2018.01.14 05:21:10.252 1: WhatsApp(yowsup_Connect):  11 exec cmd: /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --yowsup
2018.01.14 05:21:10.277 1: WhatsApp(yowsup_Read): Start
2018.01.14 05:21:10.277 1: WhatsApp(yowsup_Read): 1 hashFH= GLOB(0x77ccf80)
2018.01.14 05:21:10.277 1: WhatsApp(yowsup_Read): 2 $ret= 0
2018.01.14 05:21:10.277 1: WhatsApp(yowsup_Read): 3 $buf= 
2018.01.14 05:21:10.277 1: WhatsApp(yowsup_Disconnect): Start
2018.01.14 05:21:10.277 1: WhatsApp(yowsup_Disconnect): 2 RemoveInternalTimer
2018.01.14 05:21:10.277 1: WhatsApp(yowsup_Disconnect): 3 Found PID
2018.01.14 05:21:10.278 1: WhatsApp(yowsup_Write): Start
2018.01.14 05:21:10.278 1: WhatsApp(yowsup_Write): 1 sending /disconnect
2018.01.14 05:21:10.278 1: WhatsApp(yowsup_Write): Ende
2018.01.14 05:21:10.278 1: WhatsApp(yowsup_Disconnect): 4 Kill PID
2018.01.14 05:21:10.278 1: WhatsApp(yowsup_Disconnect): 5 Close FH: GLOB(0x77ccf80)
2018.01.14 05:21:10.278 1: WhatsApp(yowsup_Disconnect): 6 Delete FH: GLOB(0x77ccf80)
2018.01.14 05:21:10.278 1: WhatsApp(yowsup_Disconnect): 7 Delete FD:
2018.01.14 05:21:10.278 1: WhatsApp(yowsup_Disconnect): 8 Delete List: HASH(0x630f210)
2018.01.14 05:21:10.279 1: WhatsApp(yowsup_Disconnect): 9 Disconnected
2018.01.14 05:21:10.279 1: WhatsApp(yowsup_Disconnect): Ende


VG
Marc


zap

Scheint sich irgendwie zu beißen.

Hast Du es schon mal mit dem internen RPC server versucht (ccuflags intrpc)? Der benutzt keine Threads sondern Subprozesse.

2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

Init

Hallo zap,

habe es gerade mit dem internen RPC probiert und ein reconnect funktioniert.

Hast du eine Idee oder bleibt mir nur der Umstieg auf den internen?

Bedeutet "rpcinterval 5", dass FHEM die Befehle von der CCU nur alle 5 Sekunden verarbeitet? Wenn ja, dann würde ich eher auf WhatApp verzichten, da ich zeitkritische Devices über die CCU laufen habe und nicht möchte, dass Beispielsweise Bewegungsmelder erst 5 Sekunden später das Event auslösen.

VG
Marc

zap

Ja, genau das bedeutet der Parameter. Ich würde den auch nicht unter 2 oder 3 Sekunden einstellen. Das könnte FHEM ausbremsen.

Es gibt eine bekannte Inkompatibilität zwischen Modulen die JSON verwenden und HMCCURPC. Allerdings äußert sich das in anderen Fehlermeldungen. Du kannst aber testweise mal das Modul JSON::XS deinstallieren. Wie steht im Wiki zu HMCCU im Abschnitt zum RPC Server. Ggf wird dadurch JsOn etwas langsamer, sonst gibt es keine Auswirkungen.

Möglicherweise habe ich bald eine Lösung für die Thread Thematik in HMCCURPC...
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

Init

Hmm, dann ist der intrpc für mich keine Alternative  :-\

Die Kommunikation über hmccu ist bei mir die wichtigste Kommunikation in FHEM.

Das Entfernen von JSON hat leider auch nicht zum Erfolg geführt und mein Workaround funktioniert auch nicht, da sich ein manueller disconnect mit folgendem reconnect in yowsup scheinbar anders verhält als der nächtliche disconnect durch WhatsApp selbst.

Bleibt momentan nur ein kompletter Restart von FHEM, um beides wieder lauffähig zu haben.

Könntest du diesen Thread aktualisieren, wenn du etwas neues zur Thread Thematik hast und ich etwas testen kann?

VG
Marc

zap

Ich bin noch am testen. Es wird eine neue Version aller Module geben. Ich habe jedes Modul großflächig umgebaut. Daher brauchen die Tests etwas Zeit.
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

Init


zap

Die Version 4.2 von HMCCU löst das Problem. Danach bitte umstellen auf den neuen RPC Server mit ccuflags = procrpc.
Siehe auch meinen Post zu HMCCU 4.2 weiter oben und Wiki.


https://forum.fhem.de/index.php/topic,83544.0.html
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

Init

Hallo zap,

in der ersten Nacht mit Version 4.2 hat ein reconnect ohne Probleme funktioniert.

Vielen Dank!!!

Gruß
Marc