Upgrade to fhem-5.9 getting "Can't connect to CCU 10.xxx.xxx.244 port 32001

Begonnen von Mario, 16 Januar 2020, 14:43:54

Vorheriges Thema - Nächstes Thema

Mario

Helo,

This topics was initially started in English corner here https://forum.fhem.de/index.php/topic,107365.0.html
but due hint there I'm resosting here

After upgrade to fhem-5.9 I'm getting
Code: [Select]
...
2020.01.16 10:21:47 1: HMCCU: [iCCU3] No RPC device defined for interface BidCos-RF
2020.01.16 10:21:47 1: HMCCU: [iCCU3] Creating new RPC device d_rpcBidCos_RF
2020.01.16 10:23:54 1: PERL WARNING: Argument "Can't connect to CCU 10.xxx.xxx.244 port 32001" isn't numeric in numeric eq (==) at ./FHEM/
88_HMCCURPCPROC.pm line 291.
2020.01.16 10:23:54 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/88_HMCCU.pm line 4979.
2020.01.16 10:23:54 1: HMCCU: [iCCU3] No RPC device defined for interface HmIP-RF
2020.01.16 10:23:54 1: HMCCU: [iCCU3] Creating new RPC device d_rpcHmIP_RF
2020.01.16 10:26:02 1: PERL WARNING: Argument "Can't connect to CCU 10.xxx.xxx.244 port 32010" isn't numeric in numeric eq (==) at ./FHEM/
88_HMCCURPCPROC.pm line 291.
2020.01.16 10:26:02 0: HMCCU: [iCCU3] Definition of some RPC devices failed

On my previous older fhem have worked with same config files

10.xxx.xxx.244 is generally reacheable, eg telnet 10.xxx.xxx.244 80 connects
but ports 320001 32010 are really closed on x.244

fhem runs on plain PI - without using any VM

my cfg CCU3 definition:
Code: [Select]
define iCCU3 HMCCU 10.xxx.xxx.244

#
# Interfaces
attr iCCU3 rpcinterfaces BidCos-RF,HmIP-RF
#
# Use external RPC server
attr iCCU3 ccuflags procrpc
#
# Start the RPC server automatically after starting FHEM
attr iCCU3 rpcserver on
#
#  Show status
attr iCCU3 stateFormat rpcstate/state
#
#  Show buttons for starting and stopping the RPC server
attr iCCU3 cmdIcon on:general_an off:general_aus
attr iCCU3 eventMap /rpcserver on:on/rpcserver off:off/
...

Restart of fhem machine and also CCU3 doesn't help, any hints?
FHEM since 2013, mixed FS20, HmIP, HM,
own modules for heater, garden & wheater station,
sun intensity, rain ratio & soil humidity sensors for inteligent watering.

zap

It seems, that you are using an old version of the modules. Please do an update in FHEM.

I checked it: The 5.9 is from October 2018. So it's more than 1 year old.
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

Mario

OK, actually initially I made update on my 2-3 year old fhem installation but that lead to mysterious missing all widgets - all of them falled back to select (-> dropdown list)..

Then to get rid of my potential modification/interaction with new code I went to clean 5.9 tgz install but it looks that in official 5.9 archive CCU code is not working.

Now I performed "update" on clean 5.9 then "shutdown restart" and CCU magically start to work !!

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

Mario

Hello,

@Zap Now I'm fhem-5.9 with applied "update"  somehow better but shortly I realized that another problem exists
which I can't solve in few days by myself.

It seems that I'm stopping get events from CCU3 and also control to CCU3 devices  with variable but very short period,
sometimes even after 5 minutes, but usually up to half an hour,
performing rpc server restart (set iCCU3 rpcserver off; set iCCU3 rpcserver on) fixes problem for another minutes..

I  tried to apply watchdog for but I'm unable to match it on general HMCCUDEV events...

BTW: CCU3 seem to do not have restarts in this time, any ideas ?
FHEM since 2013, mixed FS20, HmIP, HM,
own modules for heater, garden & wheater station,
sun intensity, rain ratio & soil humidity sensors for inteligent watering.