fhem-5.9 with update very often disconnections with rcpserver & whole HmIP stall

Begonnen von Mario, 22 Januar 2020, 16:43:49

Vorheriges Thema - Nächstes Thema

Mario

Hello,

I'm started switching to HomematicIP from FS20 but found many troubles with this,  please help me with this.

Now I'm have fhem-5.9 with applied "update"  and have slightly better results then with clean fhem-5.9 but for short period.

It seems that I stop getting events from CCU3 with variable but short period, 
sometimes even after 5 minutes, but usually works up to half an hour  (and then I can't control CCU3 devices from fhem)

Performing rpc server restart (set iCCU3 rpcserver off; set iCCU3 rpcserver on) fixes problem for another minutes,

fhem is running on RPI3 without any virtualizaton, CCU3 seems to do not have restarts in this time



Can anybody help me with this ?





Below goes my CCU device configuration

Internals:
   CCUNum     1
   CFGFN      fhem.cfg
   Clients    :HMCCUDEV:HMCCUCHN:HMCCURPC:HMCCURPCPROC:
   DEF        x.x.x.244
   FUUID      .......................................................
   NAME       iCCU3
   NOTIFYDEV  global,TYPE=(HMCCU|HMCCUDEV|HMCCUCHN)
   NR         241
   NTFY_ORDER 50-iCCU3
   RPCState   inactive
   STATE      Initialized
   TYPE       HMCCU
   ccuaddr    BidCoS-RF
   ccuchannels 234
   ccudevices 21
   ccuif      BidCos-RF
   ccuinterfaces HmIP-RF,BidCos-RF,CUxD,VirtualDevices
   ccuip      x.x.x.244
   ccuname    Wirtualne przyc. HM CCU3 1
   ccustate   active
   ccutype    CCU2/3
   host       x.x.x.244
   prot       http
   version    4.3.020
   READINGS:
     2020-01-20 19:09:44   count_channels  234
     2020-01-20 19:09:44   count_devices   21
     2020-01-20 19:09:44   count_groups    0
     2020-01-20 19:09:44   count_interfaces 4
     2020-01-20 19:09:44   count_programs  7
     2020-01-20 19:09:44   rpcstate        inactive
     2020-01-20 19:09:44   state           Initialized
   hmccu:
     defInterface BidCos-RF
     defPort    2001
     evtime     0
     evtimeout  0
     rpccount   0
     rpcports   2001,2010
     updatetime 0
adr:
   <... many of actuator definitions here ...>
grp:
     ifports:
       2001       BidCos-RF
       2010       HmIP-RF
       8701       CUxD
       9292       VirtualDevices
     interfaces:
       BidCos-RF:
         devcount   1
         flags      forceASCII
         host       x.x.x.244
         manager    null
         port       2001
         prot       http
         state      inactive
         type       A
         url        http://x.x.x.244:2001
       CUxD:
         devcount   0
         flags      forceInit
         host       x.x.x.244
         manager    null
         port       8701
         prot       xmlrpc_bin
         state      inactive
         type       B
         url        xmlrpc_bin://x.x.x.244:8701
       HmIP-RF:
         devcount   20
         flags      forceASCII
         host       x.x.x.244
         manager    null
         port       2010
         prot       http
         state      inactive
         type       A
         url        http://x.x.x.244:2010
       VirtualDevices:
         devcount   0
         flags      _
         host       x.x.x.244
         manager    null
         port       9292
         prot       http
         state      inactive
         type       A
         url        http://x.x.x.244:9292/groups
   rpc:
Attributes:
   ccuaggregate name:unreach,filter:name=^HM_.*,read:activity,if:any=dead,else:alive,prefix:unreach_,coll:comment!Alle Devices erreichbar
   ccudef-readingfilter ^(LOW_?BAT|UNREACH)$
   ccudef-readingname ^(.+\.)?LOW_?BAT$:battery
   ccudef-substitute INHIBIT!(0|false):unlocked,(1|true):locked
   ccuflags   procrpc
   cmdIcon    on:mp_general_on off:mp_general_off
   event-on-change-reading .*
   eventMap   /rpcserver on:on/rpcserver off:off/
   room       HmIP
   rpcinterfaces BidCos-RF,HmIP-RF
   rpcport    2001,2010
   rpcserver  on
   stateFormat rpcstate/state
   stripnumber 1


I  tried to apply watchdog for but I'm unable to match it on general HMCCUDEV events, is it possible how ?
is watchdog module really limited to match on device names and unable to match with IODEV  type ?

FHEM since 2013, mixed FS20, HmIP, HM,
own modules for heater, garden & wheater station,
sun intensity, rain ratio & soil humidity sensors for inteligent watering.