Neueste Beiträge

#1
Homematic / Aw: OpenCCU Verbindung ausgefa...
Letzter Beitrag von passibe - 01 Juni 2026, 00:12:05
Das Problem liegt hier:
Zitat von: Burny4600 am 31 Mai 2026, 20:05:362026.05.31 16:19:09.043 1: HMCCU [OpenCCU] HMCCU: OpenCCU Stop of RPC server failed
und sodann (ganz oft wiederholend)
Zitat von: Burny4600 am 31 Mai 2026, 20:05:362026.05.31 16:18:05.467 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?

Bedeutet: Weil er – weshalb auch immer – nicht richtig gestoppt wurde, lief der RPC-Server-Prozess noch im Hintergrund und hat den Port blockiert. Eigentlich sollte das durch einen Neustart des Pi behoben werden, andernfalls kann man auch den Prozess raussuchen und manuell beenden. Wieso der Neustart des Pi (nach 16:19:09 Uhr?) nichts gebracht hat, keine Ahnung.

Diese Pakete, die du da installiert hast, haben ganz sicher nichts mit Homematic bzw. HMCCU zu tun, das benutzt – soweit ich weiß – weder Python noch nodejs/npm. Muss also Zufall gewesen sein; vielleicht hast du ja danach nochmal neu gestartet?
#2
Anfängerfragen / Neue filelogs in definierten R...
Letzter Beitrag von sash.sc - 31 Mai 2026, 22:22:30
Hallo zusammen.

Habe bis jetzt leider nix gefunden.
Neue Filelogs sollen in einem definierten Raum angelegt werden. Ebenfalls soll dann automatisch das narchive mit 8 Monaten und das arichve Verzeichnis auf ./arc_log/ angelegt werden.

Jemand einen Vorschlag wie ich das umsetzen kann?

Gruß und danke
Sascha
#3
FRITZ!Box / Aw: FritzSmart ab Modul-Versio...
Letzter Beitrag von JoWiemann - 31 Mai 2026, 21:08:21
Hallo Otto,

vielen Dank für die Hinweise. Das use in der commandRef ist ein copy/paste Fehler. MIME werde ich auch korrigieren.

Soweit ich weiß ist xml::Simple seid einiger Zeit im deb Paket von Fhem mit dabei.

Ich vermute Dein Script ist ein allgemeiner Hinweis.

Grüße Jörg

Eigentlich sollte bei dem fehlenden xml::Simple ein INTERNAL HINT_PERL das angezeigt haben.
#4
Automatisierung / Aw: [JsonMod] Ausführung außer...
Letzter Beitrag von yersinia - 31 Mai 2026, 20:45:58
Du bekommst keine gültige Verbindung (status != 2xx):
Connection refused (111)JsonMod scheint, nachdem httputils einen Fehler zurück gibt, den Aufruf alle 10min zu wiederholen.
Du kannst versuchen, den aponet Aufruf zu reduzieren.
#5
FHEM Development / Aw: fheminfo send: timeout bei...
Letzter Beitrag von betateilchen - 31 Mai 2026, 20:42:56
na da schau her...

# traceroute6 fhem.de
traceroute to fhem.de (2a01:4f8:221:1b5a::b2), 30 hops max, 80 byte packets
 1  fritz.box (2a02:8206:52af:8000:7642:7fff:fe07:4e16)  0.596 ms  0.728 ms  0.817 ms
 2  2a02:8200::4:1de0 (2a02:8200::4:1de0)  29.622 ms  29.601 ms  29.668 ms
 3  * * *
 4  2a02:8200::1:9 (2a02:8200::1:9)  20.899 ms  20.852 ms  20.804 ms
 5  2a02:8200::101:34:0:101 (2a02:8200::101:34:0:101)  20.772 ms  20.756 ms  20.942 ms
 6  2a02:8200::102:42:0:100 (2a02:8200::102:42:0:100)  20.776 ms  18.445 ms  18.689 ms
 7  decix-gw.hetzner.com (2001:7f8::616c:0:1)  18.615 ms  18.295 ms  18.416 ms
 8  core22.fsn1.hetzner.com (2a01:4f8:0:3::4e1)  23.783 ms core23.fsn1.hetzner.com (2a01:4f8:0:3::4b1)  23.629 ms  23.788 ms
 9  ex9k1.dc13.fsn1.hetzner.com (2a01:4f8:0:3::e6)  30.079 ms ex9k1.dc13.fsn1.hetzner.com (2a01:4f8:0:3::ea)  29.971 ms ex9k1.dc13.fsn1.hetzner.com (2a01:4f8:0:3::5fa)  23.678 ms
10  vmhost2.fhem.de (2a01:4f8:221:1b5a::2)  22.965 ms  23.011 ms  23.247 ms
11  2a01:4f8:221:1b5a::b2 (2a01:4f8:221:1b5a::b2)  23.563 ms  24.185 ms  24.129 ms

In der Fritzbox habe ich in den IPv6 Einstellungen

von "IPv6-Anbindung mit Tunnelprotokoll verwenden"
auf "IPv4-Anbindung über DS-Lite herstellen"

umgestellt. Dann klappts auch mit "fheminfo send"

2026.05.31 20:36:42 4: fheminfo send (nonblocking): {...}
2026.05.31 20:36:42 4: IP: fhem.de -> [2a01:4f8:221:1b5a::b2]
2026.05.31 20:36:42 4: https://fhem.de/stats/statistics2.cgi: HTTP response code 200
2026.05.31 20:36:42 4: fheminfo send: Server RESPONSE: ==> ok

Danke an alle fürs Mitdenken und den einen oder anderen Hinweis, der mir letztlich weitergeholfen hat!

Mal schauen, ob sich die Umstellung irgendwo anders negativ auswirkt.
#6
Es gibt inzwischen diverse Initiativen dazu, die mindestens teilweise erfolgreich sind:

https://github.com/robinostlund/volkswagencarnet/pull/333
https://github.com/mikrohard/CarConnectivity-connector-vw-eu-data-act

Der letztere Connector kann zumindest verwendet werden, um die Daten abzurufen. Aber das EU-konforme Porttral erlaubt es nicht, Kommandos an das Fahrzeug zu senden (um z.B. die Klimatisierung einzuschalten). Till Steinbach schreibt, dass er immer noch hofft, das Problem direkter zu lösen.

LG

pah
#7
FRITZ!Box / Aw: FritzSmart ab Modul-Versio...
Letzter Beitrag von Otto123 - 31 Mai 2026, 20:08:48
Hallo Jörg,

mich hat es jetzt ermittelt, in zahlreichen FHEM Instanzen läuft das alte FRITZBOX Modul nicht mehr. Der Umstieg auf FritzSmart lief etwas holprig.
Gleich auf der Ersten fehlte XML::Simple, die Installation von libxml-simple-perl brachte erst nach einem Restart von FHEM einen Erfolg. Muss man eben dran denken ;)
Ich habe dann den Rest erstmal gecheckt, in der commandref steht:
ZitatThe modul uses the Perl moduls
MIME::Base
IO::Socket
Net::Ping
JSON
LWP::UserAgent
URI::Escape
use XML::Simple
use Data::Dumper
Ich meine es benutzt MIME::Base64:
Zitat104    ###############################################################################
105    # perl includes
106    eval "use MIME::Base64;1"  or $missingModul .= "MIME::Base64 ";
107    eval "use IO::Socket;1"    or $missingModul .= "IO::Socket ";
108    eval "use Net::Ping;1"      or $missingModul .= "Net::Ping ";
109   
110    eval "use JSON;1"          or $missingModul .= "JSON ";            # sudo apt-get install libjson-perl
111    eval "use LWP::UserAgent;1" or $missingModul .= "LWP::UserAgent ";
112   
113    eval "use URI::Escape;1"    or $missingModul .= "URI::Escape ";
114    eval "use XML::Simple;1"    or $missingModul .= "XML::Simple ";
115   
116    eval "use Data::Dumper;1"  or $missingModul .= "Data::Dumper ";
und ich meine das use gehört in den letzten beiden Zeilen in dem Ausschnitt der commandref da nicht hin.
Vielleicht kannst Du das bei Gelegenheit mal korrigieren.
BTW: Ich habe keine Vorstellung wie Perl auf das "richtige" JSON Modul trifft, bei mir haben 5 Debian Pakete JSON installiert, fhem ist der erste ;)

Will man die Voraussetzungen vorher testen, kann man unter debian dieses kleine Script nehmen:
m='MIME::Base64 IO::Socket Net::Ping JSON LWP::UserAgent URI::Escape XML::Simple Data::Dumper'
for s in $m; do
  echo -n "Modul $s"
  perl -M$s -e '' 2>/dev/null &&echo " ist vorhanden"
done


Vielen Dank fürs entwickeln!

Gruß Otto
#8
Homematic / Aw: OpenCCU Verbindung ausgefa...
Letzter Beitrag von Burny4600 - 31 Mai 2026, 20:05:36
LOG
2026.05.31 16:18:05.412 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:18:05.412 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:18:05.412 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:18:05.417 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2031
2026.05.31 16:18:05.445 2: HMCCU [OpenCCU] RPC server start: 1 started, 2 already running, 0 failed to start
2026.05.31 16:18:05.454 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:18:05.467 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?
2026.05.31 16:18:05.467 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't initialize RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:18:05.645 3: HMinfo HMinfo get:configCheck :-f,^(OG1_STH_HZG_TC|OG1_STH_HZG_TC_Climate|OG1_STH_HZG_TC_SwitchTr|OG1_STH_HZG_TC_Weather|OG1_STH_HZG_TC_WindowRec|OG1_STH_HZG_TC_remote|OG1_STH_HZG_TC)$
2026.05.31 16:18:05.866 3: HMinfo HMinfo get:configCheck :-f,^(UEST1_AB_GAO|UEST1_AB_GAO)$
2026.05.31 16:18:05.919 3: HMinfo HMinfo get:configCheck :-f,^(OG1_VR_BLILO|OG1_VR_BLILO)$
2026.05.31 16:18:05.975 3: HMinfo HMinfo get:configCheck :-f,^(UESF5_OG2_STH|UESF5_OG2_STH|OG1_STH_HZG_TC_WindowRec)$
2026.05.31 16:18:06.033 3: HMinfo HMinfo get:configCheck :-f,^(EG_STH_HZG_RT|EG_STH_HZG_RT_Clima|EG_STH_HZG_RT_ClimaTeam|EG_STH_HZG_RT_Climate|EG_STH_HZG_RT_Weather|EG_STH_HZG_RT_WindowRec|EG_STH_HZG_RT_remote|EG_STH_HZG_RT)$
2026.05.31 16:18:06.206 3: HMinfo HMinfo get:configCheck :-f,^(OG2_BU2_HZG_RT1|OG2_BU2_HZG_RT1_Clima|OG2_BU2_HZG_RT1_ClimaTeam|OG2_BU2_HZG_RT1_Climate|OG2_BU2_HZG_RT1_Weather|OG2_BU2_HZG_RT1_WindowRec|OG2_BU2_HZG_RT1_remote|OG2_BU2_HZG_RT1)$
2026.05.31 16:18:06.396 3: HMinfo HMinfo get:configCheck :-f,^(UEST1_AB_GTW|UEST1_AB_GTW)$
2026.05.31 16:18:06.450 3: HMinfo HMinfo get:configCheck :-f,^(OG1_VR_AAM|OG1_VR_AAM_Led|OG1_VR_AAM_Mp3|OG1_VR_AAM)$
2026.05.31 16:18:06.523 3: HMinfo HMinfo get:configCheck :-f,^(UESF3_OG1_STH|UESF3_OG1_STH|OG1_STH_HZG_TC_WindowRec)$
2026.05.31 16:18:06.578 3: HMinfo HMinfo get:configCheck :-f,^(OG1_STH_HZG_RT|OG1_STH_HZG_RT_Clima|OG1_STH_HZG_RT_ClimaTeam|OG1_STH_HZG_RT_Climate|OG1_STH_HZG_RT_Weather|OG1_STH_HZG_RT_WindowRec|OG1_STH_HZG_RT_remote|OG1_STH_HZG_RT)$
2026.05.31 16:18:06.728 3: HMinfo HMinfo get:configCheck :-f,^(OG2_BU2_HZG_RT2|OG2_BU2_HZG_RT2_Clima|OG2_BU2_HZG_RT2_ClimaTeam|OG2_BU2_HZG_RT2_Climate|OG2_BU2_HZG_RT2_Weather|OG2_BU2_HZG_RT2_WindowRec|OG2_BU2_HZG_RT2_remote|OG2_BU2_HZG_RT2)$
2026.05.31 16:18:06.883 3: HMinfo HMinfo get:configCheck :-f,^(OG2_BU2_HZG_TC|OG2_BU2_HZG_TC_Climate|OG2_BU2_HZG_TC_SwitchTr|OG2_BU2_HZG_TC_Weather|OG2_BU2_HZG_TC_WindowRec|OG2_BU2_HZG_TC_remote|OG2_BU2_HZG_TC)$
2026.05.31 16:18:15.049 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Checking if RPC server process is running
2026.05.31 16:18:15.049 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process not running. Cleaning up
2026.05.31 16:18:15.049 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Housekeeping called. Cleaning up RPC environment
2026.05.31 16:18:15.053 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process CB2010017181017191 not runnning
2026.05.31 16:18:15.057 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Stop I/O handling
2026.05.31 16:18:15.065 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server stopped. Cancel delayed shutdown.
2026.05.31 16:18:18.580 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:18:18.580 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:18:18.580 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:18:18.584 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2037
2026.05.31 16:18:18.616 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server starting
2026.05.31 16:18:18.619 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:18:18.623 2: HMCCU [OpenCCU] RPC server start: 1 started, 2 already running, 0 failed to start
2026.05.31 16:18:18.633 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?
2026.05.31 16:18:18.634 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't initialize RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:18:35.216 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:18:35.216 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:18:35.216 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:18:35.220 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2067
2026.05.31 16:18:35.259 2: HMCCU [OpenCCU] RPC server start: 1 started, 2 already running, 0 failed to start
2026.05.31 16:18:35.260 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:18:35.280 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?
2026.05.31 16:18:35.280 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't initialize RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:18:44.426 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Checking if RPC server process is running
2026.05.31 16:18:44.426 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process not running. Cleaning up
2026.05.31 16:18:44.426 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Housekeeping called. Cleaning up RPC environment
2026.05.31 16:18:44.430 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process CB2010017181017191 not runnning
2026.05.31 16:18:44.434 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Stop I/O handling
2026.05.31 16:18:44.443 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server stopped. Cancel delayed shutdown.
2026.05.31 16:19:06.964 1: HMCCURPCPROC [d_rpc017191BidCos_RF] Stopping RPC server CB2001017181017191
2026.05.31 16:19:06.970 1: HMCCURPCPROC [d_rpc017191BidCos_RF] Deregistering RPC server http://192.168.17.181:7411/fh2001 with ID CB2001017181017191 at http://192.168.17.191:2001
2026.05.31 16:19:06.983 1: HMCCURPCPROC [d_rpc017191BidCos_RF] Callback for RPC server CB2001017181017191 deregistered
2026.05.31 16:19:06.989 2: HMCCURPCPROC [d_rpc017191BidCos_RF] Sending signal INT to RPC server process CB2001017181017191 with PID=2028
2026.05.31 16:19:06.989 2: HMCCURPCPROC [d_rpc017191BidCos_RF] Scheduling cleanup in 30 seconds
2026.05.31 16:19:06.989 2: HMCCURPCPROC [d_rpc017191BidCos_RF] CB2001017181017191 received signal INT
2026.05.31 16:19:06.990 1: HMCCURPCPROC [d_rpc017191BidCos_RF] RPC server CB2001017181017191 stopped handling connections. PID=2028 run=0
2026.05.31 16:19:06.990 2: HMCCURPCPROC [d_rpc017191BidCos_RF] Number of I/O errors = 0
2026.05.31 16:19:07.990 1: HMCCURPCPROC [d_rpc017191VirtualDevices] Stopping RPC server CB9292017181017191
2026.05.31 16:19:07.999 1: HMCCURPCPROC [d_rpc017191VirtualDevices] Deregistering RPC server http://192.168.17.181:14702/fh9292 with ID CB9292017181017191 at http://192.168.17.191:9292/groups
2026.05.31 16:19:08.022 1: HMCCURPCPROC [d_rpc017191VirtualDevices] Callback for RPC server CB9292017181017191 deregistered
2026.05.31 16:19:08.030 2: HMCCURPCPROC [d_rpc017191VirtualDevices] Sending signal INT to RPC server process CB9292017181017191 with PID=2029
2026.05.31 16:19:08.031 2: HMCCURPCPROC [d_rpc017191VirtualDevices] Scheduling cleanup in 30 seconds
2026.05.31 16:19:08.031 2: HMCCURPCPROC [d_rpc017191VirtualDevices] CB9292017181017191 received signal INT
2026.05.31 16:19:08.031 1: HMCCURPCPROC [d_rpc017191VirtualDevices] RPC server CB9292017181017191 stopped handling connections. PID=2029 run=0
2026.05.31 16:19:08.031 2: HMCCURPCPROC [d_rpc017191VirtualDevices] Number of I/O errors = 0
2026.05.31 16:19:09.031 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Found no running processes. Cleaning up ...
2026.05.31 16:19:09.031 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Housekeeping called. Cleaning up RPC environment
2026.05.31 16:19:09.043 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server stopped. Cancel delayed shutdown.
2026.05.31 16:19:09.043 1: HMCCU [OpenCCU] HMCCU: OpenCCU Stop of RPC server failed
2026.05.31 16:19:12.595 1: HMCCURPCPROC [d_rpc017191BidCos_RF] RPC server process CB2001017181017191 terminated.
2026.05.31 16:19:12.601 2: HMCCURPCPROC [d_rpc017191BidCos_RF] Stop I/O handling
2026.05.31 16:19:12.613 2: HMCCURPCPROC [d_rpc017191BidCos_RF] RPC server stopped. Cancel delayed shutdown.
2026.05.31 16:19:12.744 1: HMCCURPCPROC [d_rpc017191VirtualDevices] RPC server process CB9292017181017191 terminated.
2026.05.31 16:19:12.749 2: HMCCURPCPROC [d_rpc017191VirtualDevices] Stop I/O handling
2026.05.31 16:19:12.760 2: HMCCURPCPROC [d_rpc017191VirtualDevices] RPC server stopped. Cancel delayed shutdown.
2026.05.31 16:19:51.494 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:19:51.495 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:19:51.495 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:19:51.499 2: HMCCURPCPROC [d_rpc017191VirtualDevices] RPC server process started for interface VirtualDevices with PID=2089
2026.05.31 16:19:51.536 2: HMCCURPCPROC [d_rpc017191VirtualDevices] Initializing RPC server CB9292017181017191 for interface VirtualDevices
2026.05.31 16:19:51.540 1: HMCCURPCPROC [d_rpc017191VirtualDevices] RPC server starting
2026.05.31 16:19:51.559 2: HMCCURPCPROC [d_rpc017191VirtualDevices] Callback server CB9292017181017191 created. Listening on port 14702
2026.05.31 16:19:51.560 2: HMCCURPCPROC [d_rpc017191VirtualDevices] CB9292017181017191 accepting connections. PID=2089
2026.05.31 16:19:51.563 2: HMCCURPCPROC [d_rpc017191BidCos_RF] RPC server process started for interface BidCos-RF with PID=2090
2026.05.31 16:19:51.600 2: HMCCURPCPROC [d_rpc017191BidCos_RF] Initializing RPC server CB2001017181017191 for interface BidCos-RF
2026.05.31 16:19:51.604 1: HMCCURPCPROC [d_rpc017191BidCos_RF] RPC server starting
2026.05.31 16:19:51.620 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2091
2026.05.31 16:19:51.636 2: HMCCURPCPROC [d_rpc017191BidCos_RF] Callback server CB2001017181017191 created. Listening on port 7411
2026.05.31 16:19:51.637 2: HMCCURPCPROC [d_rpc017191BidCos_RF] CB2001017181017191 accepting connections. PID=2090
2026.05.31 16:19:51.659 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:19:51.668 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server starting
2026.05.31 16:19:51.675 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?
2026.05.31 16:19:51.675 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't initialize RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:19:51.677 2: HMCCU [OpenCCU] RPC server start: 3 started, 0 already running, 0 failed to start
2026.05.31 16:19:51.818 2: HMCCURPCPROC [d_rpc017191BidCos_RF] RPC server CB2001017181017191 enters server loop
2026.05.31 16:19:51.830 2: HMCCURPCPROC [d_rpc017191BidCos_RF] Registering callback http://192.168.17.181:7411/fh2001 of type A with ID CB2001017181017191 at http://192.168.17.191:2001
2026.05.31 16:19:51.898 1: HMCCURPCPROC [d_rpc017191BidCos_RF] RPC server CB2001017181017191 running
2026.05.31 16:19:51.906 1: HMCCURPCPROC [d_rpc017191BidCos_RF] Scheduled CCU ping every 300 seconds
2026.05.31 16:19:51.943 2: HMCCURPCPROC [d_rpc017191BidCos_RF] CB2001017181017191 NewDevice received 180 device and channel specifications
2026.05.31 16:19:51.971 2: HMCCURPCPROC [d_rpc017191VirtualDevices] RPC server CB9292017181017191 enters server loop
2026.05.31 16:19:51.972 2: HMCCURPCPROC [d_rpc017191VirtualDevices] Registering callback http://192.168.17.181:14702/fh9292 of type A with ID CB9292017181017191 at http://192.168.17.191:9292/groups
2026.05.31 16:19:52.049 2: HMCCURPCPROC [d_rpc017191VirtualDevices] CB9292017181017191 NewDevice received 48 device and channel specifications
2026.05.31 16:20:02.000 1: HMCCURPCPROC [d_rpc017191VirtualDevices] RPC server CB9292017181017191 running
2026.05.31 16:20:18.145 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Checking if RPC server process is running
2026.05.31 16:20:18.145 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process not running. Cleaning up
2026.05.31 16:20:18.145 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Housekeeping called. Cleaning up RPC environment
2026.05.31 16:20:18.151 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process CB2010017181017191 not runnning
2026.05.31 16:20:18.152 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Stop I/O handling
2026.05.31 16:20:18.164 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server stopped. Cancel delayed shutdown.
2026.05.31 16:20:26.496 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:20:26.497 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:20:26.497 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:20:26.502 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2093
2026.05.31 16:20:26.538 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:20:26.541 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server starting
2026.05.31 16:20:26.549 2: HMCCU [OpenCCU] RPC server start: 1 started, 2 already running, 0 failed to start
2026.05.31 16:20:26.552 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?
2026.05.31 16:20:26.552 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't initialize RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:20:51.566 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Checking if RPC server process is running
2026.05.31 16:20:51.566 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process not running. Cleaning up
2026.05.31 16:20:51.566 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Housekeeping called. Cleaning up RPC environment
2026.05.31 16:20:51.571 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process CB2010017181017191 not runnning
2026.05.31 16:20:51.577 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Stop I/O handling
2026.05.31 16:20:51.589 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server stopped. Cancel delayed shutdown.
2026.05.31 16:21:06.328 3: HMCCU [OpenCCU] Updating device table
2026.05.31 16:21:06.373 2: HMCCU [OpenCCU] Reading device configuration for interfaces HmIP-RF,VirtualDevices,BidCos-RF
2026.05.31 16:21:09.941 2: HMCCU [OpenCCU] Read descriptions of 321 devices, 571 paramsets, 52 links
2026.05.31 16:21:09.941 2: HMCCU [OpenCCU] Detecting devices of interfaces BidCos-RF,HmIP-RF,VirtualDevices
2026.05.31 16:21:32.102 2: HMCCU [OpenCCU] Updating 31 of 50 devices matching devexp=.* filter=ccudevstate=active nonBlocking
2026.05.31 16:21:32.102 2: HMCCU [OpenCCU] CCU device list 2b updated: OG1_KUE_WAFO,OG1_KI_RLO,OG2_BU1_RLO,OG1_KUE_RL2O,OG1_WZ_RLO,EG_WI_WHZGO,EG_WI_RLO,AB_FR_HZG_TC,AB_LAGG_RM,AB_GR_RM,OG1_FB1,EG_SL_WHZGO,EG_SL_RLO,AB_GAO_HZG_TC,AB_LAGK_RM,EG_KUE_RL1O,OG1_KUE_GSFO,AB_GAO_RM1,AB_GAW_RM,OG2_BU1_FR_DRO,OG1_KUE_RL1O,AB_SAL_RM,AB_FR_RM,AB_SGGO_BLO,EG_BA_RLO,AB_GAO_RM2,OG2_BU2_RLO,EG_WZ_RLO,EG_KUE_RL2O,OG1_BA_RLO,OG1_WZ_BL_LEDBFO
2026.05.31 16:21:32.102 2: HMCCU [OpenCCU] FHEM device list 2b updated: OG1_KUE_GSFO,OG1_SUED_RLFB_1,EG_BA_RLO,OG1_KUE_OMFFB_13,OG1_WZ_RLFB_7,HM_RC_Dis_H_x_EU_MEQ0670497_16,OG1_WZ_BL_LEDBFO,OG1_KI_RLO,AB_LAGK_RM,EG_WI_RLO,OG1_NORD_RLFB_3,AB_GAO_RM2,OG1_NORD_RLFB_4,OG1_KUE_GSFFB_9,OG2_BU1_FR_DRO,OG1_KUE_RL2FB_5,AB_SAL_RM,HM_RC_Dis_H_x_EU_MEQ0670497_20,OG2_BU2_RLO,EG_KUE_RL2O,EG_WZ_RLO,EG_WI_WHZGO,AB_LAGG_RM,OG1_KUE_WAFO,HM_RC_Dis_H_x_EU_MEQ0670497_18,OG1_KUE_RL2FB_6,OG1_WZ_RLFB_8,OG2_BU1_RLO,EG_KUE_RL1O,HM_RC_Dis_H_x_EU_MEQ0670497_17,OG1_KUE_RL1O,AB_SGGO_BLO,OG1_BA_RLO,EG_SL_WHZGO,OG1_KUE_WAFFB_11,OG1_KUE_OMFFB_14,HM_RC_Dis_H_x_EU_MEQ0670497_15,OG1_KUE_GSFFB_10,OG1_KUE_WAFFB_12,AB_GR_RM,HM_RC_Dis_H_x_EU_MEQ0670497_19,AB_GAO_HZG_TC,OG1_SUED_RLFB_2,OG1_WZ_RLO,AB_GAW_RM,EG_SL_RLO,AB_GAO_RM1,AB_FR_RM,OG1_KUE_RL2O,AB_FR_HZG_TC
2026.05.31 16:21:36.112 2: HMCCU [OpenCCU] Error during CCU request. read from http://192.168.17.191:8181 timed out
2026.05.31 16:22:19.366 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:22:19.366 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:22:19.366 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:22:19.371 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2149
2026.05.31 16:22:19.408 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server starting
2026.05.31 16:22:19.409 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:22:19.423 2: HMCCU [OpenCCU] RPC server start: 1 started, 2 already running, 0 failed to start
2026.05.31 16:22:19.425 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?
2026.05.31 16:22:19.425 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't initialize RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:22:23.308 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:22:23.308 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:22:23.308 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:22:23.313 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2150
2026.05.31 16:22:23.355 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:22:23.365 2: HMCCU [OpenCCU] RPC server start: 1 started, 2 already running, 0 failed to start
2026.05.31 16:22:23.374 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?
2026.05.31 16:22:23.374 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't initialize RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:22:45.196 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Checking if RPC server process is running
2026.05.31 16:22:45.196 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process not running. Cleaning up
2026.05.31 16:22:45.196 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Housekeeping called. Cleaning up RPC environment
2026.05.31 16:22:45.203 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process CB2010017181017191 not runnning
2026.05.31 16:22:45.203 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Stop I/O handling
2026.05.31 16:22:45.215 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server stopped. Cancel delayed shutdown.
2026.05.31 16:23:49.441 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:23:49.441 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:23:49.441 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:23:49.446 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2193
2026.05.31 16:23:49.482 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server starting
2026.05.31 16:23:49.482 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:23:49.496 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?
2026.05.31 16:23:49.496 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't initialize RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:23:49.499 2: HMCCU [OpenCCU] RPC server start: 1 started, 2 already running, 0 failed to start
2026.05.31 16:23:51.359 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:23:51.359 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:23:51.359 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:23:51.364 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2194
2026.05.31 16:23:51.401 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:23:51.407 2: HMCCU [OpenCCU] RPC server start: 1 started, 2 already running, 0 failed to start
2026.05.31 16:23:51.416 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?
2026.05.31 16:23:51.416 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't initialize RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:23:57.466 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:23:57.466 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:23:57.466 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:23:57.471 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2195
2026.05.31 16:23:57.511 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:23:57.523 2: HMCCU [OpenCCU] RPC server start: 1 started, 2 already running, 0 failed to start
2026.05.31 16:23:57.532 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?
2026.05.31 16:23:57.532 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't initialize RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:23:59.323 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:23:59.324 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:23:59.324 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:23:59.330 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2196
2026.05.31 16:23:59.371 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:23:59.381 2: HMCCU [OpenCCU] RPC server start: 1 started, 2 already running, 0 failed to start
2026.05.31 16:23:59.391 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't create RPC callback server CB2010017181017191. Port 7420 in use?
2026.05.31 16:23:59.391 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Can't initialize RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:24:15.809 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Checking if RPC server process is running
2026.05.31 16:24:15.809 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process not running. Cleaning up
2026.05.31 16:24:15.809 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Housekeeping called. Cleaning up RPC environment
2026.05.31 16:24:15.814 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process CB2010017181017191 not runnning
2026.05.31 16:24:15.815 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Stop I/O handling
2026.05.31 16:24:15.826 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server stopped. Cancel delayed shutdown.

Folgendes habe ich im Web zu meinem Fehler gefunden.

sudo apt install python3-grpcio python3-grpc-tools -y
sudo npm install @grpc/grpc-js
sudo npm install -g npm@11.16.0
sudo npm audit fix

Anschließend wieder einen Neustart des Pis gemacht.
Nun hat FHEM wieder eine Verbindung zur OpenCCU.

Dennoch unlogisch, warum es zu den Verbindungsfehler gekommen ist, da die Verbindung bisher immer funktionierte.
#9
Homematic / Aw: Erweiterung einer HMConfig...
Letzter Beitrag von ritchie - 31 Mai 2026, 19:57:16
Hallo Papa,

ich habe das ganze jetzt nochmals neu gepairt und bei dem Auftreten eines ACK-Missing nochmals den Konfig-Button gedrückt. Hierdurch wurden wohl ausstehende Kommandos
nochmals abgearbeitet. Das hat auch bei meinem Status-Display funktioniert. Danke nochmals an "Gernott" für diesen Tipp.
Erst hiernach war das Modul scheinbar korrekt gepairt.

Als dann der Datensatz:
19:30:09.919 -> pm25avg: 22, pm10avg: 22
19:30:09.919 -> pm25max: 25, pm10max: 25
19:30:09.919 -> pm25min: 20, pm10min: 20
19:30:09.967 -> <- 17 01 86 53 F31401 000000 01 00 00 16 00 2F 00 19 00 36 00 14 00 29  - 184059
kam, wurde im FHEM Log jetzt der folgende Eintrag erzeugt:
2026.05.31 19:27:03 1: HMConfig_AskSinPPCustom received unknown message: 86,53,F31401,000000,01000014002F001800540011001F
2026.05.31 19:30:09 1: HMConfig_AskSinPPCustom received unknown message: 86,53,F31401,000000,01000016002F0019003600140029
Und bei jedem weiteren Protokoll des Moduls auch. Es erscheint jedoch nicht der Eintrag
"HB-UNI-Sen-DUST Executed"
im Logfile.

Was muss ich den jetzt hier entsprechend anpassen ?
$HMConfig::culHmModel{"F314"} = {name  => "HB-UNI-Sen-DUST",st=>'custom',cyc=>'',rxt=>'c',lst=>'1',chn=>"Values:1:1"};
$HMConfig::culHmChanSets{"HB-UNI-Sen-DUST00"}{fwUpdate} = "<filename>";
$HMConfig::culHmChanSets{"HB-UNI-Sen-DUST01"} = $HMConfig::culHmSubTypeSets{"Values"};
$HMConfig::culHmRegChan {"HB-UNI-Sen-DUST01"} = $HMConfig::culHmRegType{values};
$customMsg{"HB-UNI-Sen-DUST"} = sub {
  my ($msg, $hash) = @_;
  my @evtEt=();

  main::Log 1,"HB-UNI-Sen-DUST Executed";

  if( $msg->isValues ) {
    my $pm25_avg = $msg->payloadWord(0) / 10;
    my $pm10_avg = $msg->payloadWord(2) / 10;
    my $pm25_max = $msg->payloadWord(4) / 10;
    my $pm10_max = $msg->payloadWord(6) / 10;
    my $pm25_min = $msg->payloadWord(8) / 10;
    my $pm10_min = $msg->payloadWord(10) / 10;

    my $device = main::CUL_HM_id2Hash($msg->from);
    push @evtEt,[$device,1,"pm10_min:".$pm10_min];
    push @evtEt,[$device,1,"pm10_avg:".$pm10_avg];
    push @evtEt,[$device,1,"pm10_max:".$pm10_max];
    push @evtEt,[$device,1,"pm25_min:".$pm25_min];
    push @evtEt,[$device,1,"pm25_avg:".$pm25_avg];
    push @evtEt,[$device,1,"pm25_max:".$pm25_max];
  }
  return @evtEt;
};

Das sollte doch das ganze jetzt stark eingrenzen.

Hier ist im Quellcode diese Bedingung nicht erfüllt und im Else Zweig steht der Eintrag im Logfile Zeile 897
my($mFlg,$mTp,$src,$dst,$p,$target) = @_;
..
..
if (($mTp eq "02" && $p =~ m/^01/) || ($mTp eq "10" && $p =~ m/^06/) ) {

Viele Grüße
R.
#10
Homematic / Aw: OpenCCU Verbindung ausgefa...
Letzter Beitrag von passibe - 31 Mai 2026, 19:51:33
Ich glaube, dass das Log, das du gepostet hast, zu früh aufhört. Denn erstmal startet alles ganz normal:

Zitat von: Burny4600 am 31 Mai 2026, 17:10:222026.05.31 16:17:46.795 2: HMCCU [OpenCCU] RPC server start: 3 started, 0 already running, 0 failed to start
2026.05.31 16:17:46.802 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Initializing RPC server CB2010017181017191 for interface HmIP-RF
2026.05.31 16:17:46.825 2: HMCCURPCPROC [d_rpc017191HmIP_RF] Callback server CB2010017181017191 created. Listening on port 7420
2026.05.31 16:17:46.826 2: HMCCURPCPROC [d_rpc017191HmIP_RF] CB2010017181017191 accepting connections. PID=2030

Aber irgendwann später springt der RPC Server für HmIP-RF auf inactive:
Zitat von: Burny4600 am 31 Mai 2026, 17:10:22READINGS:
     2026-05-31 16:54:21   rpcstate        inactive
Vielleicht steht dazu noch was im Log? Evtl. auch mal verbose hochsetzen