OpenCCU Verbindung ausgefallen

Begonnen von Burny4600, 31 Mai 2026, 17:10:22

Vorheriges Thema - Nächstes Thema

Burny4600

Aus irgend einem Grund ist heute die OpenCCU Verbindung ausgefallen, und habe den rpcstate als inaktive.
Es gab aber weder auf der OpenCCU noch unter FHEM Änderungen.
Die OpenCCU ist erreichbar und zeigt alles OK an.

Ich finde aber unter FHEM keinen Fehler.

list OpenCCU
Internals:
   CCUNum     1
   CFGFN      /media/hdd/fhem/mycfg/HM/hm_rasp01.cfg
   Clients    :HMCCUDEV:HMCCUCHN:HMCCURPCPROC:
   DEF        192.168.17.191
   FUUID      697a1899-f33f-f4d2-31ee-6441142ba7e379cb
   NAME       OpenCCU
   NOTIFYDEV  global
   NR         1555
   NTFY_ORDER 50-OpenCCU
   RPCState   inactive
   STATE      inactive/busy
   TYPE       HMCCU
   authentication off
   ccuaddr    BidCoS-RF
   ccuchannels 268
   ccudevices 53
   ccuif      BidCos-RF
   ccuinterfaces HmIP-RF,BidCos-RF,VirtualDevices
   ccuip      192.168.17.191
   ccuname    HM-RCV-50 BidCoS-RF
   ccustate   active
   ccutype    CCU2/3
   config     5.0
   eventCount 9
   host       192.168.17.191
   json       off
   prot       http
   version    2024-12
   READINGS:
     2026-05-31 16:42:58   PLATFORM        rpi3
     2026-05-31 16:42:58   PRODUCT         rpi3
     2026-05-31 16:42:58   VERSION         3.87.6.20260509
     2026-05-31 16:42:58   count_channels  268
     2026-05-31 16:42:58   count_devices   53
     2026-05-31 16:42:58   count_groups    0
     2026-05-31 16:42:58   count_interfaces 3
     2026-05-31 16:42:58   count_programs  4
     2026-03-09 15:15:25   iface_addr_1153 OEQ0691153
     2026-03-09 15:15:25   iface_addr_1327 TEQ0271327
     2026-03-09 15:15:25   iface_addr_8BDF 3014F711A0001F5F298D8BDF
     2026-03-09 15:15:25   iface_conn_1153 1
     2026-03-09 15:15:25   iface_conn_1327 1
     2026-03-09 15:15:25   iface_conn_8BDF 1
     2026-03-09 15:15:25   iface_ducy_1153 1
     2026-03-09 15:15:25   iface_ducy_1327 72
     2026-03-09 15:15:25   iface_ducy_8BDF 72
     2026-03-09 15:15:25   iface_type_1153 HMLGW2
     2026-03-09 15:15:25   iface_type_1327 CCU2
     2026-03-09 15:15:25   iface_type_8BDF HMIP_CCU2
     2026-05-31 16:42:58   rpcstate        inactive
     2026-05-31 16:54:21   state           busy
   hmccu:
     defaults   0
     evtime     0
     evtimeout  0
     postInit   0
     rpccount   0
     rpcports   9292,2001,2010
     updatetime 0
     adr:
       AB_FB1:
         address    000B17099E9864
         addtype    dev
         valid      1
       AB_FB1:0:
         address    000B17099E9864:0
         addtype    chn
         valid      1
.............
       REQ1543973:1:
         addtype    chn
         channels   1
         direction  2
         name       AB_SGGO_BLO_1
         valid      1
     grp:
     ifports:
       2001       BidCos-RF
       2010       HmIP-RF
       9292       VirtualDevices
     interfaces:
       BidCos-RF:
         devcount   28
         device     d_rpc017191BidCos_RF
         flags      forceASCII
         host       192.168.17.191
         manager    HMCCU
         port       2001
         prot       http
         state      running
         type       A
         url        http://192.168.17.191:2001
       HmIP-RF:
         devcount   13
         device     d_rpc017191HmIP_RF
         flags      forceASCII
         host       192.168.17.191
         manager    HMCCU
         port       2010
         prot       http
         state      inactive
         type       A
         url        http://192.168.17.191:2010
       VirtualDevices:
         devcount   12
         device     d_rpc017191VirtualDevices
         flags      _
         host       192.168.17.191
         manager    HMCCU
         port       9292
         prot       http
         state      running
         type       A
         url        http://192.168.17.191:9292/groups
     prg:
       ${ruleTmpProgramName}:
         active     false
         internal   false
       ${ruleTmpProgramName} 1:
         active     false
         internal   false
       prgEnergyCounter_1877_NEQ1662665:2:
         active     true
         internal   true
       prgEnergyCounter_1940_KEQ0971710:2:
         active     true
         internal   true
Attributes:
   ccudef-substitute AES_KEY!(0|false):off,(1|true):on;LOWBAT,LOW_BAT!(0|false):ok,(1|true):low;UNREACH!(0|false):alive,(1|true):dead;MOTION!(0|false):noMotion,(1|true):motion;DIRECTION!0:stop,1:up,2:down,3:undefined;WORKING!0:false,1:true;INHIBIT!(0|false):unlocked,(1|true):locked
   ccuflags   procrpc,logCommand,logEvents,nonBlocking,reconnect
   cmdIcon    on:remotecontrol/black_btn_GREEN off:remotecontrol/black_btn_RED
   comment    Aktuelle HomeMatic Firmware ist unter
https://github.com/OpenCCU/HMDeviceFirmware
https://openccu.github.io/HMDeviceFirmware
zu finden
   devStateStyle style="text-align:left;;font-weight:bold;;"
   group      .HomeMatic CCUs
   icon       hm_ccu
   room       _HM,_RxTx
   rpcserver  on
   sortby     02.01
   stateFormat rpcstate/state
   webCmd     ::on:off

list d_rpc017191BidCos_RF
Internals:
   CCUNum     1
   CFGFN      /media/hdd/fhem/mycfg/HM/hm_rasp01.cfg
   DEF        http://192.168.17.191 BidCos-RF
   FD         318
   FUUID      697a1c4f-f33f-f4d2-7313-892fb70606b883ac
   IODev      OpenCCU
   NAME       d_rpc017191BidCos_RF
   NR         1557
   RPCPID     3283
   RPCState   running
   STATE      running/OK
   TYPE       HMCCURPCPROC
   callback   192.168.17.181:7411
   ccuip      192.168.17.191
   ccustate   active
   ccutype    CCU2/3
   eventCount 7
   host       192.168.17.191
   prot       http
   rpcid      017181017191
   rpcinterface BidCos-RF
   rpcip      192.168.17.191
   rpcport    2001
   version    2024-12
   READINGS:
     2026-05-31 16:46:38   rpcstate        running
     2026-05-31 16:46:38   state           OK
   hmccu:
     defaultaddr 192.168.17.181
     devspec    BidCos-RF
     evtime     0
     localaddr  192.168.17.181
     rpcstarttime 1780238798.83249
     rpc:
       auth      
       avgdelay   1.08864095712963
       cbport     7411
       cburl      http://192.168.17.181:7411/fh2001
       clkey      CB2001017181017191
       clurl     
       evtime     1780239900.31756
       methods    abortDeleteDevice,activateLinkParamset,addDevice,addLink,addVirtualDeviceInstance,changeKey,clearConfigCache,deleteDevice,deleteVolatileMetadata,determineParameter,exit,getAllMetadata,getDeviceDescription,getInstallMode,getKeyMismatchDevice,getLinkInfo,getLinkPeers,getLinks,getMetadata,getParamset,getParamsetDescription,getParamsetId,getServiceMessages,getValue,getVersion,getVolatileMetadata,hasVolatileMetadata,init,listBidcosInterfaces,listDevices,listReplaceableDevices,listTeams,logLevel,ping,putParamset,refreshDeployedDeviceFirmwareList,removeLink,replaceDevice,reportValueUsage,restoreConfigToDevice,rssiInfo,setBidcosInterface,setInstallMode,setInterfaceClock,setLinkInfo,setMetadata,setRFLGWInfoLED,setTeam,setTempKey,setValue,setVolatileMetadata,system.listMethods,system.methodHelp,updateFirmware,system.multicall
       multicall  system.multicall
       pid        3283
       port       2001
       state      running
       sumdelay   206.84178185463
       rec:
         DD         0
         EV         190
         EX         0
         IN         0
         ND         180
         RA         0
         RD         0
         SL         1
         TO         0
         UD         0
       snd:
         DD         0
         EV         0
         EX         0
         IN         0
         ND         0
         RA         0
         RD         0
         SL         0
         TO         0
         UD         0
Attributes:
   alias      OpenCCU RPC BidCos-RF
   devStateStyle style="text-align:left;;font-weight:bold;;"
   eventMap   /rpcserver on:on/rpcserver off:off/
   group      .HomeMatic CCUs
   icon       hm_ccu
   room       _HM,_RxTx
   rpcStatistics 500
   sortby     02.02
   stateFormat rpcstate/state
   verbose    2

list d_rpc017191HmIP_RF
Internals:
   CCUNum     1
   CFGFN      /media/hdd/fhem/mycfg/HM/hm_rasp01.cfg
   DEF        http://192.168.17.191 HmIP-RF
   FUUID      697a1c50-f33f-f4d2-77a9-e312c05b5872698f
   IODev      OpenCCU
   NAME       d_rpc017191HmIP_RF
   NR         1559
   RPCPID     0
   RPCState   inactive
   STATE      inactive/OK
   TYPE       HMCCURPCPROC
   callback   192.168.17.181:7420
   ccuip      192.168.17.191
   ccustate   active
   ccutype    CCU2/3
   eventCount 19
   host       192.168.17.191
   prot       http
   rpcid      017181017191
   rpcinterface HmIP-RF
   rpcip      192.168.17.191
   rpcport    2010
   version    2024-12
   READINGS:
     2026-05-31 16:54:21   rpcstate        inactive
     2026-05-31 16:54:21   state           OK
   hmccu:
     defaultaddr 192.168.17.181
     devspec    HmIP-RF
     evtime     0
     localaddr  192.168.17.181
     rpcstarttime 0
     rpc:
       auth      
       cbport     7420
       clkey     
       clurl     
       methods    getLinkPeers,getDeviceDescription,getParamset,restoreConfigToDevice,replaceDevice,listReplaceableDevices,setTeam,activateLinkParamset,getKeyMismatchDevice,getParamsetDescription,installFirmware,init,getMetadata,deleteDevice,putParamset,reportValueUsage,changeKey,setBidcosInterface,setTempKey,getSuppressedServiceMessages,abortDeleteDevice,addLink,getLinkInfo,getInstallMode,system.methodHelp,getLinks,ping,setInterfaceClock,listDevices,clearConfigCache,listTeams,setInstallModeWithWhitelist,determineParameter,logLevel,getServiceMessages,setInstallMode,getVersion,system.multicall,searchDevices,updateFirmware,suppressServiceMessages,removeLink,refreshDeployedDeviceFirmwareList,getValue,getParamsetId,setMetadata,setLinkInfo,addDevice,setValue,system.listMethods,listBidcosInterfaces,rssiInfo
       pid       
       state      inactive
       sumdelay   0
       rec:
         DD         0
         EV         0
         EX         0
         IN         0
         ND         0
         RA         0
         RD         0
         SL         0
         TO         0
         UD         0
       snd:
         DD         0
         EV         0
         EX         0
         IN         0
         ND         0
         RA         0
         RD         0
         SL         0
         TO         0
         UD         0
Attributes:
   alias      OpenCCU RPC HmIP-RF
   devStateStyle style="text-align:left;;font-weight:bold;;"
   eventMap   /rpcserver on:on/rpcserver off:off/
   group      .HomeMatic CCUs
   icon       hm_ccu
   room       _HM,_RxTx
   sortby     02.03
   stateFormat rpcstate/state
   verbose    2

list d_rpc017191VirtualDevices
Internals:
   CCUNum     1
   CFGFN      /media/hdd/fhem/mycfg/HM/hm_rasp01.cfg
   DEF        http://192.168.17.191 VirtualDevices
   FD         306
   FUUID      697a1c51-f33f-f4d2-2d8b-40140ed02ffb9941
   IODev      OpenCCU
   NAME       d_rpc017191VirtualDevices
   NR         1561
   RPCPID     3282
   RPCState   running
   STATE      running/OK
   TYPE       HMCCURPCPROC
   callback   192.168.17.181:14702
   ccuip      192.168.17.191
   ccustate   active
   ccutype    CCU2/3
   eventCount 7
   host       192.168.17.191
   prot       http
   rpcid      017181017191
   rpcinterface VirtualDevices
   rpcip      192.168.17.191
   rpcport    9292
   version    2024-12
   READINGS:
     2026-05-31 16:46:38   rpcstate        running
     2026-05-31 16:46:38   state           OK
   hmccu:
     defaultaddr 192.168.17.181
     devspec    VirtualDevices
     evtime     0
     localaddr  192.168.17.181
     rpcstarttime 1780238798.74295
     rpc:
       auth      
       cbport     14702
       cburl      http://192.168.17.181:14702/fh9292
       clkey      CB9292017181017191
       clurl     
       evtime     1780238798.75726
       methods    init,getParamsetDescription,getLinks,getDeviceDescription,getParamsetId,getParamset,putParamset,system.listMethods,listDevices,getValue,setValue,listReplaceableDevices,deleteDevice
       pid        3282
       port       9292
       state      running
       sumdelay   0
       rec:
         DD         0
         EV         0
         EX         0
         IN         0
         ND         48
         RA         0
         RD         0
         SL         1
         TO         0
         UD         0
       snd:
         DD         0
         EV         0
         EX         0
         IN         0
         ND         0
         RA         0
         RD         0
         SL         0
         TO         0
         UD         0
Attributes:
   alias      OpenCCU RPC VirtualDevices
   devStateStyle style="text-align:left;;font-weight:bold;;"
   eventMap   /rpcserver on:on/rpcserver off:off/
   group      .HomeMatic CCUs
   icon       hm_ccu
   room       _HM,_RxTx
   sortby     02.04
   stateFormat rpcstate/state
   verbose    2

LOG
2026.05.31 16:16:34.317 1: HMCCU [OpenCCU] CCU port 8181 is reachable
2026.05.31 16:16:34.317 1: HMCCU [OpenCCU] Initialized version 2024-12
2026.05.31 16:16:34.317 1: HMCCU [OpenCCU] Initializing device
2026.05.31 16:16:34.893 3: HMCCU [OpenCCU] Updating device table
2026.05.31 16:16:34.920 1: HMCCU [OpenCCU] Read 53 devices with 268 channels, 4 programs, 0 virtual groups from CCU 192.168.17.191
2026.05.31 16:16:34.967 1: HMCCURPCPROC [d_rpc017191BidCos_RF] Initialized version 2024-12 for interface BidCos-RF with I/O device OpenCCU
2026.05.31 16:16:34.985 2: HMCCURPCPROC [d_rpc017191HmIP_RF] CCU interface HmIP-RF doesn't support RPC multicalls
2026.05.31 16:16:34.985 1: HMCCURPCPROC [d_rpc017191HmIP_RF] Initialized version 2024-12 for interface HmIP-RF with I/O device OpenCCU
2026.05.31 16:16:35.004 2: HMCCURPCPROC [d_rpc017191VirtualDevices] CCU interface VirtualDevices doesn't support RPC multicalls
2026.05.31 16:16:35.004 1: HMCCURPCPROC [d_rpc017191VirtualDevices] Initialized version 2024-12 for interface VirtualDevices with I/O device OpenCCU
2026.05.31 16:16:36.488 3: eQ3: Defined with URL https://update.homematic.com/firmware/api/firmware/search/DEVICE and interval 86400 featurelevel 6.4
2026.05.31 16:17:25.796 0: HMCCU [OpenCCU] Scheduling post FHEM initialization tasks in 12 seconds
2026.05.31 16:17:42.658 1: HMCCU [OpenCCU] Reading device config from CCU. This may take a couple of seconds ...
2026.05.31 16:17:42.658 2: HMCCU [OpenCCU] Reading device configuration for interfaces BidCos-RF,VirtualDevices,HmIP-RF
2026.05.31 16:17:46.617 2: HMCCU [OpenCCU] Read descriptions of 321 devices, 571 paramsets, 52 links
2026.05.31 16:17:46.617 2: HMCCU [OpenCCU] Detecting devices of interfaces BidCos-RF,HmIP-RF,VirtualDevices
2026.05.31 16:17:46.660 2: HMCCU [OpenCCU] Read device configuration in 4.0016508102417 seconds: devices/channels=321 parametersets=571 links=52
2026.05.31 16:17:46.660 2: HMCCU [OpenCCU] RPC device for interface BidCos-RF: d_rpc017191BidCos_RF
2026.05.31 16:17:46.660 2: HMCCU [OpenCCU] RPC device for interface VirtualDevices: d_rpc017191VirtualDevices
2026.05.31 16:17:46.660 2: HMCCU [OpenCCU] RPC device for interface HmIP-RF: d_rpc017191HmIP_RF
2026.05.31 16:17:46.664 2: HMCCURPCPROC [d_rpc017191BidCos_RF] RPC server process started for interface BidCos-RF with PID=2028
2026.05.31 16:17:46.691 1: HMCCURPCPROC [d_rpc017191BidCos_RF] RPC server starting
2026.05.31 16:17:46.698 2: HMCCURPCPROC [d_rpc017191BidCos_RF] Initializing RPC server CB2001017181017191 for interface BidCos-RF
2026.05.31 16:17:46.708 2: HMCCURPCPROC [d_rpc017191VirtualDevices] RPC server process started for interface VirtualDevices with PID=2029
2026.05.31 16:17:46.745 2: HMCCURPCPROC [d_rpc017191BidCos_RF] Callback server CB2001017181017191 created. Listening on port 7411
2026.05.31 16:17:46.746 1: HMCCURPCPROC [d_rpc017191VirtualDevices] RPC server starting
2026.05.31 16:17:46.746 2: HMCCURPCPROC [d_rpc017191BidCos_RF] CB2001017181017191 accepting connections. PID=2028
2026.05.31 16:17:46.749 2: HMCCURPCPROC [d_rpc017191VirtualDevices] Initializing RPC server CB9292017181017191 for interface VirtualDevices
2026.05.31 16:17:46.758 2: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server process started for interface HmIP-RF with PID=2030
2026.05.31 16:17:46.785 2: HMCCURPCPROC [d_rpc017191VirtualDevices] Callback server CB9292017181017191 created. Listening on port 14702
2026.05.31 16:17:46.786 2: HMCCURPCPROC [d_rpc017191VirtualDevices] CB9292017181017191 accepting connections. PID=2029
2026.05.31 16:17:46.788 1: HMCCURPCPROC [d_rpc017191HmIP_RF] RPC server starting
2026.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
2026.05.31 16:17:47.485 2: HMCCURPCPROC [d_rpc017191BidCos_RF] RPC server CB2001017181017191 enters server loop
2026.05.31 16:17:47.486 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:17:47.547 1: HMCCURPCPROC [d_rpc017191BidCos_RF] RPC server CB2001017181017191 running
2026.05.31 16:17:47.552 1: HMCCURPCPROC [d_rpc017191BidCos_RF] Scheduled CCU ping every 300 seconds
2026.05.31 16:17:47.573 2: HMCCURPCPROC [d_rpc017191VirtualDevices] RPC server CB9292017181017191 enters server loop
2026.05.31 16:17:47.573 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:17:47.598 2: HMCCURPCPROC [d_rpc017191BidCos_RF] CB2001017181017191 NewDevice received 180 device and channel specifications
2026.05.31 16:17:47.655 2: HMCCURPCPROC [d_rpc017191VirtualDevices] CB9292017181017191 NewDevice received 48 device and channel specifications
2026.05.31 16:17:57.598 1: HMCCURPCPROC [d_rpc017191VirtualDevices] RPC server CB9292017181017191 running

Ich habe die OpenCCU und den FHEM-Pi neu gestartet, aber es kommt keine Verbindung zustande.
Warum ist bei den OpenCCU ein Verbindungsproblem?
LG Chris

Raspberry Pi 2-5 => Jessie, Bullseye, Bookworm, Trixie
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

passibe

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