Homematic addon, Hassio

Hassio 209
Homematic USB device

Dear all,
I have a problem with the setup of the Homematic within Home Assistant. After intallation of the Homematic addon and setup cannot change anything in the webgui of homematic. Sections not reachable or changes will not be saved.

HA log extract:
‘2020-03-19 20:47:43 WARNING (SyncWorker_0) [pyhomematic._hm] Failed to initialize proxy
2020-03-19 20:47:44 WARNING (SyncWorker_0) [pyhomematic._hm] Failed to initialize proxy
2020-03-19 20:47:44 WARNING (SyncWorker_0) [pyhomematic._hm] Failed to initialize proxy
2020-03-19 20:47:44 ERROR (SyncWorker_2) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: <urlopen error [Errno 111] Connection refused>
2020-03-19 20:47:44 WARNING (SyncWorker_2) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:47:44 WARNING (MainThread) [homeassistant.components.mqtt] Data in your configuration entry is going to override your configuration.yaml: {‘broker’: ‘192.168.178.99’, ‘discovery’: False, ‘password’: ‘mqtt’, ‘port’: 1883, ‘username’: ‘server’}
2020-03-19 20:48:15 ERROR (SyncWorker_7) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:48:15 WARNING (SyncWorker_7) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:48:46 ERROR (SyncWorker_5) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:48:46 WARNING (SyncWorker_5) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:49:17 ERROR (SyncWorker_9) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:49:17 WARNING (SyncWorker_9) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:49:48 ERROR (SyncWorker_4) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:49:48 WARNING (SyncWorker_4) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:50:19 ERROR (SyncWorker_16) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:50:19 WARNING (SyncWorker_16) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:50:50 ERROR (SyncWorker_15) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:50:50 WARNING (SyncWorker_15) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:51:21 ERROR (SyncWorker_18) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:51:21 WARNING (SyncWorker_18) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:51:52 ERROR (SyncWorker_11) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:51:52 WARNING (SyncWorker_11) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:52:23 ERROR (SyncWorker_1) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:52:23 WARNING (SyncWorker_1) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:52:54 ERROR (SyncWorker_4) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:52:54 WARNING (SyncWorker_4) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:53:25 ERROR (SyncWorker_6) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:53:25 WARNING (SyncWorker_6) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2020-03-19 20:53:56 ERROR (SyncWorker_15) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2020-03-19 20:53:56 WARNING (SyncWorker_15) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.’
20-03-19 19:47:49 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused]

log extract of homematic:
‘2020-03-19 20:50:00,508 [ERROR] BidCosRpcDispatcher - Could not register BidCos-RF_java’

configration.yaml
homematic:
interfaces:
rf:
host: 192.168.178.99
resolvenames: json
username: homematic
password: homematic
wired:
host: 192.168.178.99
port: 2000
resolvenames: json
username: homematic
password: homematic
ip:
host: 192.168.178.99
port: 2010
hosts:
ccu2:
host: 192.168.178.99
username: homematic
password: homematic

Hi Furanose, I have exactly the same issue. Installed DEBMATIC, the XML RPC API (via apt-get) and now tried to setup homematic in home assistant but with no luck and the same error messages. Both raspi’s (Debmatic and Home Assistant) are in the same subnet. Did you solve your issue? If so, any tips?

Many thanks for your help!

are there any news? I still try to connect debmatic to home assistant, but still no luck! :frowning:

Hi Mike, I solved the issue for my setup. Initially I changed the ports of webui from 80 to 11080 to avoid conflict with a deconz setup. Whilst that caused no issues for debmatic itself the link with homeassistant did not work.

Based on some sources online I in the end reverted everything back to port 80. With success, despite the fact port 80 is not referenced in the config. Below my config:

# HOMEMATIC_CCU3
homematic:
  interfaces:
    rf:
      host: 192.168.10.xx
      port: 2001
      resolvenames: json
      username: Admin
      password: ! secret
    ip:
      host: 192.168.10.xx
      port: 2010
      resolvenames: json
      username: Admin
      password: ! secret
    groups:
      host: 192.168.10.xx
      port: 9292
      resolvenames: json
      username: Admin
      password: ! secret
      path: /groups
  hosts:
    ccu3:
      host: 192.168.10.xx
      port: 2001
      username: Admin
      password: ! secret