HMCCU funkioniert nicht mehr nach IP-Adress-Wechsel

Begonnen von joker4791, 04 März 2022, 20:48:14

Vorheriges Thema - Nächstes Thema

joker4791

Hi,

bei der Umstrukturierung unseres Netzwerkes hat die CCU2 eine neue IP-Adresse in einem anderen Netzwerksegment erhalten. Die Definition in FHEM wurde entsprechend geändert, aber es läuft nicht. Muss bei der RPC-Einheit auch noch was geändert werden?

2022.03.04 20:00:29 1: HMCCU: [d_ccu : 523] Initialized version 4.3.025
2022.03.04 20:00:29 1: HMCCU: [d_ccu : 523] HMCCU: Initializing device
2022.03.04 20:00:31 1: HMCCU: [d_ccu : 523] HMCCU: Read 21 devices with 167 channels from CCU 172.16.8.64
2022.03.04 20:00:31 1: HMCCU: [d_ccu : 523] HMCCU: Read 3 interfaces from CCU 172.16.8.64
2022.03.04 20:00:31 1: HMCCU: [d_ccu : 523] HMCCU: Read 3 programs from CCU 172.16.8.64
2022.03.04 20:00:31 1: HMCCU: [d_ccu : 523] HMCCU: Read 0 virtual groups from CCU 172.16.8.64
2022.03.04 20:00:31 2: HMCCU: [d_ccu : 523] Updating CCU system variables every 300 seconds
2022.03.04 20:00:31 2: HMCCUDEV: [HM_HmIP_RCV_50_000357098AF305] Cannot detect IO device, maybe CCU not ready. Trying later ...
2022.03.04 20:00:36 0: HMCCU: Start of RPC server after FHEM initialization in 12 seconds
2022.03.04 20:00:48 1: HMCCU: [d_ccu : 523] Internal RPC server is depricated and will be removed soon. Set ccuflags to procrpc
2022.03.04 20:00:48 2: HMCCU: Create child process with timeouts 0.01 and 0.25
2022.03.04 20:00:48 0: HMCCU: Child process for server CB2001 started with PID 574
2022.03.04 20:00:48 2: HMCCU: Create child process with timeouts 0.01 and 0.25
2022.03.04 20:00:48 0: HMCCU: Child process for server CB2010 started with PID 575
2022.03.04 20:00:48 1: HMCCU: [d_ccu : 523] All RPC servers starting
2022.03.04 20:00:48 0: HMCCU: [d_ccu] RPC server(s) starting
2022.03.04 20:00:55 0: HMCCU: Received SL event. RPC server CB2001 enters server loop
2022.03.04 20:00:55 0: HMCCU: Received SL event. RPC server CB2010 enters server loop
2022.03.04 20:01:02 1: HMCCU: Registering callback http://192.168.0.81:7411/fh2001 with ID CB2001 at http://172.16.8.64:2001
2022.03.04 20:03:08 1: HMCCU: RPC callback with URL http://192.168.0.81:7411/fh2001 initialized
2022.03.04 20:03:08 1: HMCCU: Registering callback http://192.168.0.81:7420/fh2010 with ID CB2010 at http://172.16.8.64:2010
2022.03.04 20:03:08 1: HMCCU: RPC callback with URL http://192.168.0.81:7420/fh2010 initialized
2022.03.04 20:10:59 2: HMCCU: Received no events from CCU since 600 seconds
2022.03.04 20:25:41 1: HMCCU: Deregistering RPC server http://192.168.0.81:7420/fh2010 at http://172.16.8.64:2010
2022.03.04 20:25:41 1: HMCCU: Deregistering RPC server http://192.168.0.81:7411/fh2001 at http://172.16.8.64:2001
2022.03.04 20:25:41 0: HMCCU: Stopping RPC server CB2010 with PID 575
2022.03.04 20:25:41 0: HMCCU: Stopping RPC server CB2001 with PID 574
2022.03.04 20:25:41 1: HMCCU: [d_ccu : 523] All RPC servers stopping
2022.03.04 20:25:45 0: HMCCU: Received EX event. RPC server CB2001 terminated.
2022.03.04 20:25:45 0: HMCCU: Received EX event. RPC server CB2010 terminated.
2022.03.04 20:25:45 1: HMCCU: [d_ccu : 523] All RPC servers inactive
2022.03.04 20:25:45 0: HMCCU: RPC server(s) with PID(s) 574,575 shut down. f=1
2022.03.04 20:25:45 3: HMCCU: Eventcount DD = 0
2022.03.04 20:25:45 3: HMCCU: Eventcount EV = 0
2022.03.04 20:25:45 3: HMCCU: Eventcount EX = 2
2022.03.04 20:25:45 3: HMCCU: Eventcount IN = 0
2022.03.04 20:25:45 3: HMCCU: Eventcount ND = 0
2022.03.04 20:25:45 3: HMCCU: Eventcount RA = 0
2022.03.04 20:25:45 3: HMCCU: Eventcount RD = 0
2022.03.04 20:25:45 3: HMCCU: Eventcount SL = 2
2022.03.04 20:25:45 3: HMCCU: Eventcount ST = 0
2022.03.04 20:25:45 3: HMCCU: Eventcount UD = 0
2022.03.04 20:25:45 3: HMCCU: Eventcount total = 4
2022.03.04 20:25:45 0: HMCCU: Periodical check found no RPC Servers
2022.03.04 20:25:45 0: HMCCU: All RPC servers stopped
2022.03.04 20:25:45 0: HMCCU: Periodical check found no RPC Servers
2022.03.04 20:25:45 0: HMCCU: All RPC servers stopped
2022.03.04 20:25:47 1: HMCCU: [d_ccu : 523] Internal RPC server is depricated and will be removed soon. Set ccuflags to procrpc
2022.03.04 20:25:47 2: HMCCU: Create child process with timeouts 0.01 and 0.25
2022.03.04 20:25:47 0: HMCCU: Child process for server CB2001 started with PID 1187
2022.03.04 20:25:47 2: HMCCU: Create child process with timeouts 0.01 and 0.25
2022.03.04 20:25:47 0: HMCCU: Child process for server CB2010 started with PID 1188
2022.03.04 20:25:47 1: HMCCU: [d_ccu : 523] All RPC servers starting
2022.03.04 20:25:47 0: HMCCU: [d_ccu] RPC server(s) starting
2022.03.04 20:25:54 0: HMCCU: Received SL event. RPC server CB2001 enters server loop
2022.03.04 20:25:54 0: HMCCU: Received SL event. RPC server CB2010 enters server loop
2022.03.04 20:26:01 1: HMCCU: Registering callback http://192.168.0.81:7411/fh2001 with ID CB2001 at http://172.16.8.64:2001
2022.03.04 20:28:07 1: HMCCU: RPC callback with URL http://192.168.0.81:7411/fh2001 initialized
2022.03.04 20:28:07 1: HMCCU: Registering callback http://192.168.0.81:7420/fh2010 with ID CB2010 at http://172.16.8.64:2010
2022.03.04 20:28:08 1: HMCCU: RPC callback with URL http://192.168.0.81:7420/fh2010 initialized
2022.03.04 20:35:59 2: HMCCU: Received no events from CCU since 600 seconds


Die CCU2 selbst lässt sich vom FHEM-Server anpingen, ist also physikalisch verfügbar.

Grüße,
j.

joker4791

OK, nachdem der FHEM-Server (inklusive der übrigen Geräte  :-\ ) in das gleiche Netz migriert wurde, geht auch die CCU2 wieder.
Vermutlich funktioniert der RPC nicht netzübergreifend in zwei unterschiedlichen Netzen, obwohl ein Routing dazwischen existiert...

zap

Selbstverständlich funktioniert das auch in unterschiedlichen Subnetzen. Ggf

- RPC Devices löschen
- FHEM Stoppen
- Starten, inkl. rPC Server
- Devices werden automatisch neu angelegt

Alternativ die IPs in den RPC Devices ändern und den RPC Server neu starten
2xCCU3 mit ca. 100 Aktoren, Sensoren
Entwicklung: FHEM auf Proxmox Debian VM
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: HMCCU, (Fully, AndroidDB)