RaspberryMatic und HMCCU Inbetriebnahme Problem

Begonnen von XXL-Wing, 29 Dezember 2018, 21:00:08

Vorheriges Thema - Nächstes Thema

XXL-Wing

Hmmmm...

Update durchgeführt, kommt wieder die Fehlermeldung "HMCCU: HMIP_RPCCU Start of RPC server failed"

und im log:

2019.01.27 10:48:20 0: HMCCU: [HMIP_RPCCU] Definition of some RPC devices failed
2019.01.27 10:48:20 1: HMCCU: [HMIP_RPCCU] HMCCU: HMIP_RPCCU Start of RPC server failed


Ich weiß langsam nicht mehr was ich tun soll.
Ich habe die RaspberryMatic jetzt schon zum dritten mal völlig ohne Übernahme von Einstellungen etc. davor neu aufgesetzt. Da ich derzeit ohnehin nur 2 Sensoren dran habe die ich (noch) nicht produktiv nutze ist das auch kein Problem.
Sieht jedesmal gleich aus :-(
Eventuell liegt es daran dass ich nur einen HmIP Stick dran habe?

Installiert habe ich das Ganze nach dieser Anleitung:
https://homematic-forum.de/forum/viewtopic.php?t=26917
auf einem Raspberry Pi 2

Ich werde mal wieder ein paar loggings einbauen und sehen woran es diesmal liegt.

lG
Mike

XXL-Wing

#31
Hi,

der Bugfix war nicht 100% ok, bei mir findet er immer noch das BidCos-RF als Interface obwohl es nicht exisitert....
Habe mal die Anzahl und die Interfaces ausgeben lassen:


2019.01.27 11:02:03 0: HMCCU: [HMIP_RPCCU] 3 RPC devices: BidCos-RF HmIP-RF VirtualDevices


Das Default Interface wird als BidCos-RF gefunden obwohl es nicht exisitiert:


2019.01.27 11:28:18 1: HMCCU: [HMIP_RPCCU] Default Interface: BidCos-RF:2001

Ausgabe in der Methode HMCCU_GetDefaultInterface

Anlegen tut er aber keines korrekterweise. Da habe ich nur wie vorher hmIP und VirtualDevices.

LG
Mike

zap

Kannst Du für das I/O Device mal bitte folgenden Befehl ausführen:

set devName hmscript !GetInterfaceList dump

devName durch den Namen des I/O Device ersetzen.
2xCCU3 mit ca. 100 Aktoren, Sensoren
Entwicklung: FHEM auf Proxmox Debian VM
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: HMCCU, (Fully, AndroidDB)

XXL-Wing

Liefert das:


VirtualDevices;Virtual Devices;xmlrpc://127.0.0.1:39292/groups
HmIP-RF;HmIP-RF;xmlrpc://127.0.0.1:32010


lG
Mike

zap

Und im list vom I/O Device steht unter "Interfaces:" was?
2xCCU3 mit ca. 100 Aktoren, Sensoren
Entwicklung: FHEM auf Proxmox Debian VM
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: HMCCU, (Fully, AndroidDB)

XXL-Wing

Internals:
   CCUNum     1
   Clients    :HMCCUDEV:HMCCUCHN:HMCCURPC:HMCCURPCPROC:
   DEF        192.168.0.15
   FUUID      5c42d5d9-f33f-ef20-6959-e3dde57b6c743562
   NAME       HMIP_RPCCU
   NOTIFYDEV  global,TYPE=(HMCCU|HMCCUDEV|HMCCUCHN)
   NR         443
   NTFY_ORDER 50-HMIP_RPCCU
   RPCState   inactive
   STATE      inactive/Error
   TYPE       HMCCU
   ccuchannels 4
   ccudevices 2
[b]   ccuinterfaces HmIP-RF,BidCos-RF,VirtualDevices[/b]
   ccuip      192.168.0.15
   ccustate   active
   ccutype    CCU2/3
   host       192.168.0.15
   version    4.3.010
/code]

zap

Nein, das meine ich nicht. Mach ein list vom I/O Device und suche in der Ausgabe nach dem Text "Interfaces:" (ohne Anführungszeichen, aber mit Doppelpunkt). Bei mir sieht das so aus:


interfaces:
       BidCos-RF:
         device     d_rpcBidCos_RF
         flags      forceASCII
         host       192.168.1.21
         manager    HMCCU
         port       2001
         prot       http
         state      running
         type       A
         url        http://192.168.1.21:2001
       CUxD:
         device     d_rpcCUxD
         flags      forceInit
         host       192.168.1.21
         manager    HMCCU
         port       8701
         prot       xmlrpc_bin
         state      running
         type       B
         url        xmlrpc_bin://192.168.1.21:8701
       HmIP-RF:
         device     d_rpcHmIP_RF
         flags      _
         host       192.168.1.21
         manager    HMCCU
         port       2010
         prot       http
         state      running
         type       A
         url        http://192.168.1.21:2010
       VirtualDevices:
         device     d_rpcVirtualDevices
         flags      _
         host       192.168.1.21
         manager    HMCCU
         port       9292
         prot       http
         state      running
         type       A
         url        http://192.168.1.21:9292/groups
2xCCU3 mit ca. 100 Aktoren, Sensoren
Entwicklung: FHEM auf Proxmox Debian VM
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: HMCCU, (Fully, AndroidDB)

zap

Ich glaube, so langsam nähere ich mich dem Problem. Hast Du ein HMCCURPCPROC Device definiert für BidCos-RF? Wenn ja, dann folgendes Versuchen:

- Stoppe alle RPC Server, sofern welche laufen
- Lösche das BidCos-RF HMCCURPCPROC Device
- Lösche BidCos-RF aus dem Attribut rpcinterfaces
- Lösche 2001 aus dem Attribut rpcports
- Speichere die FHEM Config
- Starte FHEM neu

Wenn das funktioniert (kein BidCos-RF mehr nach Neustart), ist das nur ein Workaround. Ich muss in HMCCU noch einiges korrigieren.

2xCCU3 mit ca. 100 Aktoren, Sensoren
Entwicklung: FHEM auf Proxmox Debian VM
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: HMCCU, (Fully, AndroidDB)

XXL-Wing

Sorry,

hier ist der richtige Part...

     interfaces:
       BidCos-RF:
       HmIP-RF:
         device     d_rpcHmIP_RF
         flags      _
         host       192.168.0.15
         manager    null
         port       2010
         prot       http
         state      inactive
         type       A
         url        http://192.168.0.15:2010
       VirtualDevices:
         device     d_rpcVirtualDevices
         flags      _
         host       192.168.0.15
         manager    null
         port       9292
         prot       http
         state      inactive
         type       A
         url        http://192.168.0.15:9292/groups


Und nein, er legt kein HMCCURPCPROC Device an für BidCos-RF, nur für die beiden korrekterweise existierenden.

lG
Mike