HMCCU keine aktuellen Daten

Begonnen von nti, 08 Januar 2022, 13:35:17

Vorheriges Thema - Nächstes Thema

nti

Moin,

ich habe mir frisch eine CCU3 zugelegt um Homematic-IP Geräte einbinden zu können. Ich bin frisch mit Version HMCCU 5.0 gestartet. Der RPC Server läuft aber irgendwas muss noch krum sein, es werden nicht automatisch Daten von der CCU3 übertragen, ich muss immer ein "get update" oder "get value" losschicken um aktuelle stati zu bekommen. Fehlermeldungen kann ich auf beiden Seiten keine finden. Allerdings steht im Log:

HMCCURPCPROC [d_rpc12345BidCos_RF] Received no events from interface CB12345xxxxx for 600.043953180313 seconds


Bestimmt habe ich etwas übersehen - aber was? Jmd. einen Tip?

Internals:
   CCUNum     1
   Clients    :HMCCUDEV:HMCCUCHN:HMCCURPCPROC:
   DEF        x.x.x.x
   FUUID      x-x-x-x-x
   NAME       CCU3
   NOTIFYDEV  global
   NR         154
   NTFY_ORDER 50-CCU3
   RPCState   running
   STATE      OK
   TYPE       HMCCU
   ccuaddr    BidCoS-RF
   ccuchannels 172
   ccudevices 17
   ccuif      BidCos-RF
   ccuinterfaces BidCos-RF,VirtualDevices,HmIP-RF
   ccuip      x.x.x.x
   ccuname    HM-RCV-50 BidCoS-RF
   ccustate   active
   ccutype    CCU2/3
   config     5.0
   firmware   3.61.7
   host       x.x.x.x
   prot       http
   version    5.0 220061807
   READINGS:
     2022-01-08 13:05:07   PLATFORM        rpi3
     2022-01-08 13:05:07   PRODUCT         ccu3
     2022-01-08 13:05:07   VERSION         3.61.7
     2022-01-08 02:46:15   _sysVarAlarmMessages_ 0
     2022-01-08 02:46:15   _sysVarPresence_ true
     2022-01-08 02:46:15   _sysVarServiceMessages_ 2
     2022-01-08 13:05:07   count_channels  172
     2022-01-08 13:05:07   count_devices   17
     2022-01-08 13:05:07   count_groups    1
     2022-01-08 13:05:07   count_interfaces 3
     2022-01-08 13:05:07   count_programs  0
     2022-01-08 02:49:45   iface_addr_1    1234
     2022-01-08 02:49:45   iface_addr_2    SEQ5678
     2022-01-08 02:49:45   iface_conn_1    1
     2022-01-08 02:49:45   iface_conn_2    1
     2022-01-08 02:49:45   iface_ducy_1    64
     2022-01-08 02:49:45   iface_ducy_2    63
     2022-01-08 02:49:45   iface_type_1    HMIP_CCU2
     2022-01-08 02:49:45   iface_type_2    CCU2
     2022-01-08 02:46:15   pcCCUID         PC_x-x-x-x-x
     2022-01-08 12:52:48   rpcstate        running
     2022-01-08 12:52:48   state           OK

Attributes:
   event-on-change-reading .*
   room       Favoriten,Homematic
   rpcserver  on
   stripnumber 1

Wernieman

Kannst Du uns noch etwas von Deiner Umgebung erzählen? z.B. Nativ oder Docker? Betriebsystem, Hardware etc?
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

nti

#2
Hi

FHEM läuft zusammen mit Homebridge in einem Jail unter FreeNAS bzw. TruNAS.
Es befindet sich im gleichen Subnetz wie die CCU3
Reicht das hier?:

Latest Revision: 25432
File                  Rev   Last Change
fhem.pl               25359 2021-12-20 10:51:01Z rudolfkoenig
HMCCUConf.pm          25429 2022-01-06 17:27:06Z zap

FreeBSD 12.2-RELEASE-p11 75566f060d4(HEAD) TRUENAS  amd64

This is perl 5, version 32, subversion 1 (v5.32.1) built for amd64-freebsd-thread-multi

p5-Authen-NTLM-1.09_1          Perl5 NTLM authentication module
p5-Clone-0.45                  Recursively copy Perl datatypes
p5-Digest-HMAC-1.04            Perl5 interface to HMAC Message-Digest Algorithms
p5-Encode-Locale-1.05          Determine the locale encoding
p5-File-Listing-6.14           Parse directory listings
p5-HTML-Parser-3.76_1          Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.20_1          Some useful data table in parsing HTML
p5-HTTP-Cookies-6.10           HTTP Cookie jars
p5-HTTP-Daemon-6.12            Simple HTTP server class
p5-HTTP-Daemon-SSL-1.04_1      Simple http server class with SSL support
p5-HTTP-Date-6.05              Conversion routines for the HTTP protocol date formats
p5-HTTP-Message-6.35           Representation of HTTP style messages
p5-HTTP-Negotiate-6.01_1       Implementation of the HTTP content negotiation algorithm
p5-IO-HTML-1.004               Open an HTML file with automatic charset detection
p5-IO-Socket-INET6-2.72_1      Perl module with object interface to AF_INET6 domain sockets
p5-IO-Socket-SSL-2.073         Perl5 interface to SSL sockets
p5-LWP-MediaTypes-6.04         Guess media type for a file or a URL
p5-Mozilla-CA-20211001         Perl extension for Mozilla CA cert bundle in PEM format
p5-Net-HTTP-6.21               Low-level HTTP client
p5-Net-SSLeay-1.90             Perl5 interface to SSL
p5-RPC-XML-0.82                XML-RPC client and server library for Perl
p5-Socket6-0.29                IPv6 related part of the C socket.h defines and structure manipulators
p5-TimeDate-2.33,1             Perl5 module containing a better/faster date parser for absolute dates
p5-Try-Tiny-0.31               Minimal try/catch with proper localization of $@
p5-URI-5.10                    Perl5 interface to Uniform Resource Identifier (URI) references
p5-WWW-RobotRules-6.02_1       Database of robots.txt-derived permissions
p5-XML-NamespaceSupport-1.12   Simple generic namespace support class
p5-XML-Parser-2.44             Perl extension interface to James Clark's XML parser, expat
p5-XML-SAX-1.02                Simple API for XML
p5-XML-SAX-Base-1.09           Base class SAX Drivers and Filters
p5-XML-SAX-Expat-0.51_1        Simple API for XML
p5-XML-Simple-2.25             Trivial API for reading and writing XML (esp config files)
p5-libwww-6.59                 Perl5 library for WWW access
libxml2-2.9.12                 XML parser library for GNOME

2022.01.08 23:07:59 2: HMCCU [CCU3] RPC device for interface HmIP-RF: d_rpc044097HmIP_RF
2022.01.08 23:07:59 2: HMCCU [CCU3] RPC device for interface VirtualDevices: d_rpc044097VirtualDevices
2022.01.08 23:07:59 2: HMCCU [CCU3] RPC device for interface BidCos-RF: d_rpc044097BidCos_RF
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097HmIP_RF] RPC server process started for interface HmIP-RF with PID=67380
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097HmIP_RF] Initializing RPC server CB2010044096044097 for interface HmIP-RF
2022.01.08 23:07:59 1: HMCCURPCPROC [d_rpc044097HmIP_RF] RPC server starting
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097VirtualDevices] RPC server process started for interface VirtualDevices with PID=67381
2022.01.08 23:07:59 1: HMCCURPCPROC [d_rpc044097VirtualDevices] RPC server starting
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097VirtualDevices] Initializing RPC server CB9292044096044097 for interface VirtualDevices
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097BidCos_RF] RPC server process started for interface BidCos-RF with PID=67382
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097BidCos_RF] Initializing RPC server CB2001044096044097 for interface BidCos-RF
2022.01.08 23:07:59 1: HMCCURPCPROC [d_rpc044097BidCos_RF] RPC server starting
2022.01.08 23:07:59 2: HMCCU [CCU3] RPC server start: 3 started, 0 already running, 0 failed to start
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097VirtualDevices] Callback server CB9292044096044097 created. Listening on port 14702
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097BidCos_RF] Callback server CB2001044096044097 created. Listening on port 7411
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097BidCos_RF] CB2001044096044097 accepting connections. PID=67382
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097VirtualDevices] RPC server CB9292044096044097 enters server loop
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097VirtualDevices] Registering callback http://192.168.0.1:14702/fh9292 of type A with ID CB9292044096044097 at http://192.168.0.2:9292/groups
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097HmIP_RF] Callback server CB2010044096044097 created. Listening on port 7420
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097HmIP_RF] CB2010044096044097 accepting connections. PID=67380
2022.01.08 23:07:59 2: HMCCURPCPROC [d_rpc044097VirtualDevices] CB9292044096044097 accepting connections. PID=67381
2022.01.08 23:08:09 1: HMCCURPCPROC [d_rpc044097VirtualDevices] RPC server CB9292044096044097 running
2022.01.08 23:08:09 2: HMCCURPCPROC [d_rpc044097HmIP_RF] RPC server CB2010044096044097 enters server loop
2022.01.08 23:08:09 2: HMCCURPCPROC [d_rpc044097HmIP_RF] Registering callback http://192.168.0.1:7420/fh2010 of type A with ID CB2010044096044097 at http://192.168.0.2:2010
2022.01.08 23:08:09 1: HMCCURPCPROC [d_rpc044097HmIP_RF] RPC server CB2010044096044097 running
2022.01.08 23:08:09 2: HMCCURPCPROC [d_rpc044097BidCos_RF] RPC server CB2001044096044097 enters server loop
2022.01.08 23:08:09 2: HMCCURPCPROC [d_rpc044097BidCos_RF] Registering callback http://192.168.0.1:7411/fh2001 of type A with ID CB2001044096044097 at http://192.168.0.2:2001
2022.01.08 23:08:09 1: HMCCURPCPROC [d_rpc044097BidCos_RF] RPC server CB2001044096044097 running
2022.01.08 23:08:09 1: HMCCU [CCU3] All RPC servers running



nti

Kann ich die Kommunikation zwischen CCU3 und FHEM/HMCCU debuggen bzw. Log Parameter hochsetzen? Manuell funktioniert es ja, nur der automatische Austausch will nicht. Aber ohne ist irgendwie doof.

zap

Poste mal bitte die Logmeldungen vom Start der RPC Server
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

nti

#5
Moin

Biddeschön:


2022.01.09 11:44:15 0: HMCCU [CCU3] Scheduling post FHEM initialization tasks in 12 seconds
2022.01.09 11:44:15 0: Featurelevel: 6.1
2022.01.09 11:44:15 0: Server started with 144 defined entities (fhem.pl:25359/2021-12-20 perl:5.032001 os:freebsd user:root pid:83610)
2022.01.09 11:44:27 1: HMCCU [CCU3] Reading device config from CCU. This may take a couple of seconds ...
2022.01.09 11:44:27 2: HMCCU [CCU3] Reading Device Descriptions for interface HmIP-RF
2022.01.09 11:44:27 2: HMCCU [CCU3] Read 92 Device Descriptions for interface HmIP-RF
2022.01.09 11:44:27 2: HMCCU [CCU3] Reading Paramset Descriptions for interface HmIP-RF
2022.01.09 11:44:32 2: HMCCU [CCU3] Read 83 Paramset Descriptions for interface HmIP-RF
2022.01.09 11:44:32 2: HMCCU [CCU3] Reading Peer Descriptions for interface HmIP-RF
2022.01.09 11:44:32 2: HMCCU [CCU3] Read 9 Peer Descriptions for interface HmIP-RF
2022.01.09 11:44:32 2: HMCCU [CCU3] Reading Device Descriptions for interface BidCos-RF
2022.01.09 11:44:32 2: HMCCU [CCU3] Read 117 Device Descriptions for interface BidCos-RF
2022.01.09 11:44:32 2: HMCCU [CCU3] Reading Paramset Descriptions for interface BidCos-RF
2022.01.09 11:44:34 2: HMCCU [CCU3] Read 79 Paramset Descriptions for interface BidCos-RF
2022.01.09 11:44:34 2: HMCCU [CCU3] Reading Peer Descriptions for interface BidCos-RF
2022.01.09 11:44:34 2: HMCCU [CCU3] Read 6 Peer Descriptions for interface BidCos-RF
2022.01.09 11:44:34 2: HMCCU [CCU3] Reading Device Descriptions for interface VirtualDevices
2022.01.09 11:44:35 2: HMCCU [CCU3] Read 12 Device Descriptions for interface VirtualDevices
2022.01.09 11:44:35 2: HMCCU [CCU3] Reading Paramset Descriptions for interface VirtualDevices
2022.01.09 11:44:36 2: HMCCU [CCU3] Read 12 Paramset Descriptions for interface VirtualDevices
2022.01.09 11:44:36 2: HMCCU [CCU3] Reading Peer Descriptions for interface VirtualDevices
2022.01.09 11:44:36 2: HMCCU [CCU3] Read 0 Peer Descriptions for interface VirtualDevices
2022.01.09 11:44:36 1: PERL WARNING: Use of uninitialized value in numeric gt (>) at ./FHEM/88_HMCCU.pm line 8569.
2022.01.09 11:44:36 1: PERL WARNING: Use of uninitialized value in numeric gt (>) at ./FHEM/88_HMCCU.pm line 8579.
2022.01.09 11:44:36 2: HMCCU [CCU3] Read device configuration: devices/channels=221 parametersets=174 links=15
2022.01.09 11:44:36 2: HMCCU [CCU3] RPC device for interface VirtualDevices: d_rpc044097VirtualDevices
2022.01.09 11:44:36 2: HMCCU [CCU3] RPC device for interface BidCos-RF: d_rpc044097BidCos_RF
2022.01.09 11:44:36 2: HMCCU [CCU3] RPC device for interface HmIP-RF: d_rpc044097HmIP_RF
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097VirtualDevices] RPC server process started for interface VirtualDevices with PID=83620
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097VirtualDevices] Initializing RPC server CB9292044096044097 for interface VirtualDevices
2022.01.09 11:44:36 1: HMCCURPCPROC [d_rpc044097VirtualDevices] RPC server starting
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097BidCos_RF] RPC server process started for interface BidCos-RF with PID=83621
2022.01.09 11:44:36 1: HMCCURPCPROC [d_rpc044097BidCos_RF] RPC server starting
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097BidCos_RF] Initializing RPC server CB2001044096044097 for interface BidCos-RF
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097HmIP_RF] RPC server process started for interface HmIP-RF with PID=83622
2022.01.09 11:44:36 1: HMCCURPCPROC [d_rpc044097HmIP_RF] RPC server starting
2022.01.09 11:44:36 2: HMCCU [CCU3] RPC server start: 3 started, 0 already running, 0 failed to start
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097VirtualDevices] Callback server CB9292044096044097 created. Listening on port 14702
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097VirtualDevices] CB9292044096044097 accepting connections. PID=83620
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097HmIP_RF] Initializing RPC server CB2010044096044097 for interface HmIP-RF
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097VirtualDevices] RPC server CB9292044096044097 enters server loop
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097VirtualDevices] Registering callback http://192.168.0.1:14702/fh9292 of type A with ID CB9292044096044097 at http://Admin:geheim@192.168.0.2:9292/groups
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097HmIP_RF] Callback server CB2010044096044097 created. Listening on port 7420
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097HmIP_RF] CB2010044096044097 accepting connections. PID=83622
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097BidCos_RF] Callback server CB2001044096044097 created. Listening on port 7411
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097BidCos_RF] CB2001044096044097 accepting connections. PID=83621
2022.01.09 11:44:36 2: HMCCURPCPROC [d_rpc044097VirtualDevices] CB9292044096044097 NewDevice received 12 device and channel specifications
2022.01.09 11:44:46 1: HMCCURPCPROC [d_rpc044097VirtualDevices] RPC server CB9292044096044097 running
2022.01.09 11:44:46 2: HMCCURPCPROC [d_rpc044097BidCos_RF] RPC server CB2001044096044097 enters server loop
2022.01.09 11:44:46 2: HMCCURPCPROC [d_rpc044097BidCos_RF] Registering callback http://192.168.0.1:7411/fh2001 of type A with ID CB2001044096044097 at http://Admin:geheim@192.168.0.2:2001
2022.01.09 11:44:46 1: HMCCURPCPROC [d_rpc044097BidCos_RF] RPC server CB2001044096044097 running
2022.01.09 11:44:46 1: HMCCURPCPROC [d_rpc044097BidCos_RF] Scheduled CCU ping every 300 seconds
2022.01.09 11:44:46 2: HMCCURPCPROC [d_rpc044097HmIP_RF] RPC server CB2010044096044097 enters server loop
2022.01.09 11:44:46 2: HMCCURPCPROC [d_rpc044097HmIP_RF] Registering callback http://192.168.0.1:7420/fh2010 of type A with ID CB2010044096044097 at http://Admin:geheim@192.168.0.2:2010
2022.01.09 11:44:47 1: HMCCURPCPROC [d_rpc044097HmIP_RF] RPC server CB2010044096044097 running
2022.01.09 11:44:47 1: HMCCU [CCU3] All RPC servers running
2022.01.09 11:44:47 2: HMCCU [CCU3] Updating 11 of 11 client devices matching devexp=.* filter=ccudevstate=active,ccuif=VirtualDevices|HmIP-RF|BidCos-RF
2022.01.09 11:44:47 2: HMCCURPCPROC [d_rpc044097BidCos_RF] CB2001044096044097 NewDevice received 117 device and channel specifications
2022.01.09 11:44:47 2: HMCCURPCPROC [d_rpc044097HmIP_RF] CB2010044096044097 NewDevice received 92 device and channel specifications
2022.01.09 11:44:51 2: HMCCU [CCU3] Error during CCU request. read from http://192.168.0.2:8181 timed out


Da fehlt wohl noch Username/PW beim Aufruf auf Port 8181?



curl http://192.168.0.2:8181
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>401 - Unauthorized</title>
</head>
<body>
  <h1>401 - Unauthorized</h1>
</body>
</html>

curl http://Admin:geheim@192.168.0.2:8181
<!DOCTYPE html">
<html lang="de">
  <head>

    <title>HomeMatic WebUI</title>
    <meta http-equiv="Content-Language" content="de">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="pragma"        content="no-cache">
    <meta http-equiv="expires"       content="0">



    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

usw.



Allerdings bekomme ich auch wenn ich keinen Username und Passwort gesetzt habe, keine aktuellen Daten.

Danke für Euren Support !!!

Wernieman

Weil Du "Jail" schriebst, sind die Ports des RPC-Servers von der CCU aus erreichbar? Hinweis: Der RPC-Server läuft auf dem FHEM-Server

BTW: Fierwall auf Deiner NAS?
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

zap

In der CCU Oberfläche:

Einstellungen > Systemsteuerung > Sicherheit

aufrufen.

"Authentifizierung" abschalten (das betrifft nur den API Zugriff, nicht die Anmeldung an der Weboberfläche)
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

nti

@Wernieman: "Jail" sind Container unter FreeBSD. Heissen seit 30 Jahren so. Die Geräte/Server/Jail  sind im gleichen Netz und es gibt auf dem NAS auch keine Firewall für den Fhem/Homebridge Jail.
@zap: Danke!!! :-) Mit ausgeschalter Authentifizierung geht es.
Btw. Sollte die Authentifizierung nicht auch bei Port 8181 funktionieren? Bei der Kommunikation mit den RPC Ports werden Username / PW ja übergeben. Ich bin auch nach der Anleitung vorgegangen:
"Wenn der Zugriff von FHEM auf die CCU ohne Anmeldung erfolgen soll, muss zusätzlich in der Systemsteuerung unter "Sicherheit" die Option "Authentifizierung" deaktiviert werden. Alternativ kann im I/O Device (HMCCU) mit dem Befehl set authentication Benutzername und Passwort der CCU angegeben werden."


...
2022.01.09 19:21:17 1: HMCCU [CCU3] All RPC servers running
2022.01.09 19:21:17 2: HMCCU [CCU3] Updating 11 of 11 client devices matching devexp=.* filter=ccudevstate=active,ccuif=BidCos-RF|VirtualDevices|HmIP-RF

zap

Zitat von: nti am 09 Januar 2022, 19:33:15
@Wernieman: "Jail" sind Container unter FreeBSD. Heissen seit 30 Jahren so. Die Geräte/Server/Jail  sind im gleichen Netz und es gibt auf dem NAS auch keine Firewall für den Fhem/Homebridge Jail.
@zap: Danke!!! :-) Mit ausgeschalter Authentifizierung geht es.
Btw. Sollte die Authentifizierung nicht auch bei Port 8181 funktionieren? Bei der Kommunikation mit den RPC Ports werden Username / PW ja übergeben. Ich bin auch nach der Anleitung vorgegangen:
"Wenn der Zugriff von FHEM auf die CCU ohne Anmeldung erfolgen soll, muss zusätzlich in der Systemsteuerung unter "Sicherheit" die Option "Authentifizierung" deaktiviert werden. Alternativ kann im I/O Device (HMCCU) mit dem Befehl set authentication Benutzername und Passwort der CCU angegeben werden."


...
2022.01.09 19:21:17 1: HMCCU [CCU3] All RPC servers running
2022.01.09 19:21:17 2: HMCCU [CCU3] Updating 11 of 11 client devices matching devexp=.* filter=ccudevstate=active,ccuif=BidCos-RF|VirtualDevices|HmIP-RF


Muss ich mal testen (die Authentifizierung). Danke für den Hinweis!
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

nti

Nachdem die letzte Version "220061807" die Authentifizierung erlauben sollte habe ich diese wieder aktiviert. Die Fehlermeldung war weg, aber ich bekam wieder keine Daten  über den RPC Server :(. Authentifizierung also wieder beidseitig ausgeschaltet. Aber es fliessen immer noch keine Daten! Ich habs auch mit der vorherigen Version "220021858" versucht. Auch kein Erfolg... Wie kann man das debuggen?


2022.01.17 10:44:11 2: HMCCURPCPROC [d_rpc044097VirtualDevices] RPC server CB9292044049044097 enters server loop
2022.01.17 10:44:11 2: HMCCURPCPROC [d_rpc044097VirtualDevices] Registering callback http://192.168.0.1:14702/fh9292 of type A with ID CB9292044049044097 at http://192.168.0.2:9292/groups
2022.01.17 10:44:11 2: HMCCURPCPROC [d_rpc044097BidCos_RF] Callback server CB2001044049044097 created. Listening on port 7411
2022.01.17 10:44:11 2: HMCCURPCPROC [d_rpc044097BidCos_RF] CB2001044049044097 accepting connections. PID=82863
2022.01.17 10:44:21 1: HMCCURPCPROC [d_rpc044097VirtualDevices] RPC server CB9292044049044097 running
2022.01.17 10:44:21 2: HMCCURPCPROC [d_rpc044097HmIP_RF] RPC server CB2010044049044097 enters server loop
2022.01.17 10:44:21 2: HMCCURPCPROC [d_rpc044097HmIP_RF] Registering callback http://192.168.0.1:7420/fh2010 of type A with ID CB2010044049044097 at http://192.168.0.2:2010
2022.01.17 10:44:21 1: HMCCURPCPROC [d_rpc044097HmIP_RF] RPC server CB2010044049044097 running
2022.01.17 10:44:21 2: HMCCURPCPROC [d_rpc044097BidCos_RF] RPC server CB2001044049044097 enters server loop
2022.01.17 10:44:21 2: HMCCURPCPROC [d_rpc044097BidCos_RF] Registering callback http://192.168.0.1:7411/fh2001 of type A with ID CB2001044049044097 at http://192.168.0.2:2001
2022.01.17 10:44:21 1: HMCCURPCPROC [d_rpc044097BidCos_RF] RPC server CB2001044049044097 running
2022.01.17 10:44:21 1: HMCCU [CCU3] All RPC servers running
2022.01.17 10:44:21 2: HMCCU [CCU3] Updating 17 of 17 client devices matching devexp=.* filter=ccudevstate=active,ccuif=HmIP-RF|VirtualDevices|BidCos-RF
2022.01.17 10:44:21 1: HMCCURPCPROC [d_rpc044097BidCos_RF] Scheduled CCU ping every 300 seconds
2022.01.17 10:44:21 1: PERL WARNING: Odd number of elements in hash assignment at ./FHEM/88_HMCCU.pm line 4479.
2022.01.17 10:44:21 2: HMCCU [CCU3] Update success=17 failed=0
2022.01.17 10:54:11 2: HMCCURPCPROC [d_rpc044097BidCos_RF] Received no events from interface CB2001044049044097 for 600 seconds
2022.01.17 11:04:11 2: HMCCURPCPROC [d_rpc044097BidCos_RF] Received no events from interface CB2001044049044097 for 600 seconds
2022.01.17 11:14:11 2: HMCCURPCPROC [d_rpc044097BidCos_RF] Received no events from interface CB2001044049044097 for 600 seconds

nti

Hat nicht jmd. einen Tip wie man das rausbekommen kann? Ich bin wirklich frustriert. Wie Debug man das? Ich benutze seit über 10 Jahren Homematic mit Fhem, aber so blöde wars noch nie.  :(
Frustriert auch weil mir hier über 10 Jahre Forenmitgliedschaft gelöscht wurden, nur weil ich 1 Jahr nichts gepostet hatte. >:(  (Muss man dran denken einmal zum Jahresende allen einen guten Rutsch zu wünschen, selbst wenn man sonst nix auf dem Herzen hat).

Wernieman

Das nach einem Jahr "nichteinloggen" ein Akkount gelöscht wird, kann ich durchaus verstehen. "DSGVO lässt Grüßen" .. auch wenn es kein DSGVO "Problem" ist ...

Was mir noch eingefallen ist: Du betreibst doch FHEM unter Docker.
- Sind die Ports, welche der RPC-Server belegt, "freigeschaltet"?
- Du kannst dem Modul mitgeben, unter welcher IP der RPC-Server läuft. Normalerweise wird es automatisch ermittelt, unter Docker kommt dann aber die Interne Docker IP raus. Hast Du das mal versucht zu setzen?

Sorry aber sitze auf Arbeit und kann aktuell bei mir nicht gucken .....
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html