Homeassitant Raspberrymatic (Homematic CCU3) integraiton

Hello after i have installed my Raspberrymatic on a dedicated PI and connection a device i try to integrate the Hommatic into my homeassitant.
But i did not get it finally running.

Probably you can help me.
Many thanks in advance for answers.

Error code in HA:

Error during setup of component homematic
13:05:20 – components/homematic/__init__.py (ERROR)

Failed to start server: 'HMConnection' object has no attribute '_server'
13:05:20 – /usr/local/lib/python3.8/site-packages/pyhomematic/connection.py (CRITICAL)

Failed to create server
13:05:20 – /usr/local/lib/python3.8/site-packages/pyhomematic/connection.py (CRITICAL)

Failed connecting to proxy at http://192.XXX.XXX.XXX:2010
13:05:20 – /usr/local/lib/python3.8/site-packages/pyhomematic/_hm.py (WARNING)

Configuration in HA:

#----------------------------- Homematic / Raspberrymartic -----------------------------
homematic:
  interfaces:
    #Funk:
      #host: !secret raspberrymatic_host
      #port: 2001
      #resolvenames: json
      #username: !secret raspberrymatic_username
      #password: !secret raspberrymatic_pw
    #Wired:
      #host: !secret raspberrymatic_host
      #port: 2000
      #resolvenames: json
      #username: !secret raspberrymatic_username
      #password: !secret raspberrymatic_pw
    HMIP:
      host: !secret raspberrymatic_host
      port: 2010
      resolvenames: json
      username: !secret raspberrymatic_username
      password: !secret raspberrymatic_pw
    #CuxD:
      #host: !secret raspberrymatic_host
      #port: 8701
      #resolvenames: json
      #username: !secret raspberrymatic_username
      #password: !secret raspberrymatic_pw
    #Tcl:
      #host: !secret raspberrymatic_host
      #port: 8181
      #resolvenames: json
      #username: !secret raspberrymatic_username
      #password: !secret raspberrymatic_pw
    groups:
      host: !secret raspberrymatic_host
      port: 9292
      resolvenames: json
      username: !secret raspberrymatic_username
      password: !secret raspberrymatic_pw
      path: /groups
  hosts:
    ccu3:
      host: !secret raspberrymatic_host
      username: !secret raspberrymatic_username
      password: !secret raspberrymatic_pw
        

And the setup in Homematic:

Solved the ISSue .

i took another user in raspberrymatic with has no ‘#’ in the PW and now it works

2 Likes

I had the same issue with a ‘#’ in the password. I removed the ‘#’ and now the integration starts up without errors and my HomeMatic devices are starting to show up in HA.

1 Like