Homematic CCU3 and docker

Hello,
after 2 years, my homeautomation grows up with a new homematic system with the new ccu3.

My problem is, to connect these two systems.

  • Home-Assistent in docker IP: 192.168.0.186 (Port 8123 and Port 2001 are forwardet)
  • Homematic CCU3 with IP: 192.168.0.10

My configuration:
homematic:
interfaces:
wireless:
host: 192.168.0.10

After HA restart, the log says WARNING (MainThread) [homeassistant.setup] Setup of homematic is taking over 10 seconds. And nothing more happens.

I have tried this one too:

homematic:
  interfaces:
    rf:
      host: 192.168.0.10
      resolvenames: json
    ip:
      host: 192.168.0.10
      port: 2010
    groups:
      host: 192.168.0.10
      port: 9292
      resolvenames: json
      path: /groups
  hosts:
    ccu3:
      host: 192.168.0.10

Any Idea?

do you forget the Username and password? Here is my config

homematic:
      interfaces:
        rf_hhs_rpc:
          host: 192.168.0.6
          username: Admin
          password: !secret homematic_hhs_pw

        rf_hll_rpc:
          host: 192.168.1.6
          username: Admin
          password: !secret homematic_hll_pw

      hosts:
        rf_hhs_ccu:
          host: 192.168.0.6
          username: Admin
          password: !secret homematic_hhs_pw

Stupid question… Do i need the User and password? My ccu3 has no User with password configured…or is the standart user Admin with a Black password?

According to the Homematic component page regarding json name resolution:
json : The CCU allows to fetch details of the paired devices via JSON-RPC. For this to work you need to add valid credentials to your component-configuration. Guest-access is sufficient to query for device names.

So you need a username an password. Alternatively, install the XML-API addon for the CCU and use “resolvenames: xml” in your config. This works for me.

After a lot try&error i ended up with this config working :slight_smile:
The problem was solved, after i aded a local port.

homematic:
  local_port: 8060
  interfaces:
    ip:
      host: 192.168.0.10
      port: 2010
      resolvenames: json
      callback_ip: 192.168.0.186
      callback_port: 8060
      username: xxxxx
      password: xxxxx
    groups:
      host: 192.168.0.10
      port: 9292
      resolvenames: json
      username: xxxxx
      password: xxxxx
      path: /groups
  hosts:
    rf_hhs_ccu:
      host: 192.168.0.10
      username: xxxxxx
      password: xxxxxx
1 Like

Did you manage to work with multiple ports? The initial post was configured to use ip and rf. Your config in the solution seems to only use ip.

Setting the local port worked for me but only for one of rf or wired. I would need to add multiple local ports to get this working.

There is only one local port. It’s one server process that’s started by HASS that receives the push messages. If it only works for one protocol, then the issue is something else.

1 Like

Thank you, this helped a lot. I thought I had to define separate ports for each protocol. That is how other homematic integrations work.