danielperna84 / hahomematic

Python 3 Interface for Home Assistant to interact with HomeMatic devices
MIT License
136 stars 21 forks source link

HACS integration - Failed to connect #618

Closed Raylands closed 2 years ago

Raylands commented 2 years ago

DONT'T DELETE THIS.

Please answer all questions as good as possible.

Language: english/german

Make sure you have read the documentation at https://github.com/danielperna84/custom_homematic#custom_homematic.

Make sure you have read the release notes at https://github.com/danielperna84/custom_homematic/releases.

Make sure you are running the latest version of the custom_component (and Home Assistant) before reporting an issue.

custom_component version (if applicable): 1.16.5

known last working custom_component version (if applicable):

Home Assistant version (if applicable): 2022.9.4

CCU version:

Problem-relevant configuration:

Do you use tls? No, but tried Do you use callback? No Do you use username and password? Yes, even changed the password for the "Admin" user Which interfaces do you use (hmip/bidcos/wired)?

Describe the bug No matter what configuration I choose, the integartion can't connect to the installed RaspberryMatic CCU.

To Reproduce Steps to reproduce the behavior: image

Screenshots (if applicable) image

Relevant HA log entries (full log)

2022-09-16 19:51:12.726 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-09-16 19:51:12.727 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration homematicip_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-09-16 19:52:58.811 WARNING (MainThread) [custom_components.homematicip_local.config_flow] Unable to connect (<ProtocolError for de838cd8-raspberrymatic:2001/RPC2: 503 Service Unavailable>,).

Diagnostic Information (available on every device) image

Expected behavior Homematic(IP) local can connect to RaspberryMatic CCU

Additional context Add any other context about the problem here.

SukramJ commented 2 years ago

Is you RM AddOn healthy? Please add the logs of the addon.

ghildebrandt commented 2 years ago

Hey, i get the same error. Tried this integration on my RPI4 and even installed a new HA to a VM and still get the same error.

SukramJ commented 2 years ago

Do you perhaps also have useful information such as the addon logs, for example?

Raylands commented 2 years ago

Is you RM AddOn healthy?

Yes, it is. Working as intended.

Please add the logs of the addon.

There is nothing in there. That's why I didn't sent it.


Identifying host system: oci, OK
Initializing RTC Clock: onboard, OK
Running sysctl: OK
Checking for Factory Reset: not required
Checking for Backup Restore: not required
Initializing System: OK
Setup ca-certificates: OK
Starting logging: OK
Init onboard LEDs: init, OK
Starting irqbalance: OK
Starting iptables: OK
Starting network: eth0: link up, fixed, firewall, inet up, 172.30.33.0, OK
Identifying Homematic RF-Hardware: ....HmRF: n/a, HmIP: HMIP-RFUSB-TK/eQ-3 HmIP-RFUSB@usb-0000:00:07.0-2, OK
Updating Homematic RF-Hardware: HMIP-RFUSB-TK: 4.2.14, not necessary, OK
Starting hs485dLoader: disabled
Starting xinetd: OK
Starting eq3configd: OK
Starting lighttpd: OK
Starting ser2net: disabled
Starting ssdpd: OK
Starting ha-proxy: OK
Starting NUT services: disabled
Initializing Third-Party Addons: OK
Starting LGWFirmwareUpdate: ...OK
Setting LAN Gateway keys: OK
Starting hs485d: disabled
Starting multimacd: not required
Starting rfd: no BidCos-RF hardware found
Starting HMIPServer: ........OK
Starting ReGaHss: .OK
Starting CloudMatic: OK
Starting NeoServer: disabled
Starting Third-Party Addons: OK
find: /usr/local/etc/monit*.cfg: No such file or directory
Starting crond: OK
Setup onboard LEDs: booted, OK
Finished Boot: 3.65.8.20220831 (raspmatic_oci_amd64)```
SukramJ commented 2 years ago

Check the hostname with the hostname on the addon page. Is de838cd8-raspberrymatic correct?

Raylands commented 2 years ago

Yes, as you can see in the last screenshot the name resolves correctly and the ports are open.

SukramJ commented 2 years ago

Try to set the Remote Homematic-Script API to full access. Maybe an addon restart is required. Do you have any special characters in your password like #?

Raylands commented 2 years ago

Try to set the Remote Homematic-Script API to full access.

Didn't fix it.

Maybe an addon restart is required.

Restarted the addon and VM multiple times. Even reinstalled all addons.

Do you have any special characters in your password like #?

Nope, even tested "123"

SukramJ commented 2 years ago

ProtocolError for de838cd8-raspberrymatic:2001/RPC2: 503 Service Unavailable

Basically means that this a communication problem to the CCU.

@baxxy13 Do you have any idea?

SukramJ commented 2 years ago

Did you select Bidcos on the second page? Bidcos is not supported by your stick.

Raylands commented 2 years ago

Oh wow. I was only looking for the compatibility on the base stick and didn't realize there is a difference between the OEM and Telekom one... Thanks, I really did overlook this. 😅

If anyone else is ever wondering: image

JoMass commented 2 years ago

Just updatet to HAS Operating System 9.0 and I'm getting the message

HOMEMATICIP_LOCAL-Interface not reachable No connection to interface hsccumass2-HmIP-RF

sam issue ?

Baxxy13 commented 2 years ago

Bidcos is not supported by your stick.

You already solved it. No BidCosRF with the -TK Stick. See: Link

JoMass commented 2 years ago

Did not change HW just updated to HAS OS 9-0 . seems to be a different issue.

Baxxy13 commented 2 years ago

sam issue ?

https://github.com/jens-maus/RaspberryMatic/issues/1942

JoMass commented 2 years ago

Thank you Baxxy13