I can not see my homematic devices in HA, and need help…
I have a Raspimatic in operation on a RasbPi3b+ and Homeassistant on a RasbPi4 (4GB).
I just set up HA today, which means I haven’t installed or adjusted anything on any file yet except for File Explorer… except for the changes at the bottom of configuration.yaml.
In my homematic system I have 3 door contacts and a thermostat.
Raspimatic:
Firewall: Ports open
Homematic XML-RPC API: Full access
Remote Homematic Script API: Full access
Portfreigabe: 22;80;443;2000;2001;2010;9292;42000;42001;42010;49292;
Additional software: XML API
Security => Authentication not active (I know that is not secure, but I want to test, where is the error.)
In Configuration.yaml
homematic:
interfaces:
rf:
host: 192.168.178.40
port: 2001
resolvenames: json
username: Admin
password: xxx
IP:
host: 192.168.178.40
port: 2010
resolvenames: json
username: Admin
password: xxx
groups:
host: 192.168.178.40
port: 9292
resolvenames: json
username: Admin
password: xxx
path: /groups
hosts:
ccu3:
host: 192.168.178.40
port: 2001
username: Admin
password: xxx
But I got a error Message:
Error during setup of component homematic
21:38:59 – components/homematic/init.py (ERROR)
Failed to start server: ‘HMConnection’ object has no attribute ‘_server’
21:38:59 – /usr/local/lib/python3.8/site-packages/pyhomematic/connection.py (CRITICAL)
Failed to create server
21:38:59 – /usr/local/lib/python3.8/site-packages/pyhomematic/connection.py (CRITICAL)
No proxies available. Aborting.
21:38:59 – /usr/local/lib/python3.8/site-packages/pyhomematic/_hm.py (WARNING)
Skipping proxy: [Errno -3] Try again
21:38:59 – /usr/local/lib/python3.8/site-packages/pyhomematic/_hm.py (WARNING) - Die Nachricht ist zum ersten Mal um 21:38:44 aufgetreten und erscheint 4 mal
Setup of homematic is taking over 10 seconds.
21:38:49 – /usr/local/lib/python3.8/asyncio/events.py (WARNING)
In documentation I found this sentence:
“When using SSL on a CCU3, by default the same ports as usual with a prepended 4 are available. So 2001 becomes 42001, 2010 becomes 42010 etc…”
SSL = https ?
Do I need to prefix the ports with a 4?
…or…what is to do?
Do I have to create each homematic sensor additionally in the configuration.yaml?
If all systems are so hard to integrate in HA, but then I will not be a friend of this system