home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.74k stars 30.46k forks source link

LCN maximum number of connecitons #68308

Closed haempy closed 2 years ago

haempy commented 2 years ago

The problem

Hello, on restart from HASSIO most of the time LCN cant connect because 'maximum number of connecitons' failure.... but i have only one connection on LCN-pku. I have a raspberry 3 with LCN-PCHK für Raspberry Pi via USB connected to PKU.

The LCN-PKU Monitor shows following on restart Hassio:

8:27:42 PM [PCHK] Connected to host: 0
7:28:01 PM [PCHK] M006 statusG 2022-03-17T19:28:01 (1/57)
8:28:07 PM [PCHK] Connected to host: 1
7:28:08 PM [PCHK] !CHD

7:28:08 PM [PCHK] (dec-mode)

7:28:12 PM [PCHK] ControlApp error: Maximum number of connections was reached. An additional license key is required. (Code: 0))

What version of Home Assistant Core has the issue?

core-2022.3.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

LCN

Link to integration documentation on our website

https://www.home-assistant.io/integrations/lcn/

Diagnostics information

No response

Example YAML snippet

#------------ LCN Konfig --------------#
lcn:
  connections:
    - name: myhome
      host: 192.168.***.***
      port: 4114
      username: *******
      password: *******

  covers:
    #------- Küchenrollos ----------#
    - name: Kuechenrollo groß
      address: myhome.s0.m5
      motor: motor1
    - name: Kuechenrollo Esstisch
      address: myhome.s0.m5
      motor: motor2
    - name: Kuechenrollo Tür
      address: myhome.s0.m5
      motor: motor3
    - name: Kuechenrollo Spüle
      address: myhome.s0.m5
      motor: motor4
    #------- Wohnzimmerrollos ----------#
    - name: Wohnzimerrollo klein
      address: myhome.s0.m6
      motor: motor1
    - name: Wohnzimerrollo groß
      address: myhome.s0.m6
      motor: motor2
    - name: Wohnzimerrollo Tür links
      address: myhome.s0.m6
      motor: motor3
    - name: Wohnzimerrollo Tür rechts
      address: myhome.s0.m6
      motor: motor4
    #-------- Sensoren Wind und Sonne -----#
  sensors:
    - name: Windsensor
      address: myhome.s0.m7
      source: var1

    - name: Sonnensensor
      address: myhome.s0.m8
      source: var1

Anything in the logs that might be useful for us?

Logger: homeassistant.components.lcn.config_flow
Source: components/lcn/config_flow.py:90
Integration: LCN (documentation, issues)
First occurred: 20:28:10 (1 occurrences)
Last logged: 20:28:10

Connection to PCHK "myhome" failed

Logger: homeassistant.components.lcn
Source: components/lcn/__init__.py:101
Integration: LCN (documentation, issues)
First occurred: 20:28:13 (1 occurrences)
Last logged: 20:28:13

Maximum number of connections on PCHK "myhome" was reached. An additional license key is required

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

lcn documentation lcn source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @alengwenus, mind taking a look at this issue as it has been labeled with an integration (lcn) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

alengwenus commented 2 years ago

Just guessing: Try to remove all LCN integration entries in the frontend (settings/devices&services) and restart. Does anything change?

Please also double check if the IP in the configuration.yaml is correct and you really have a free license entered in the PCHK software.

haempy commented 2 years ago

Hello, this Problem is very often but not always... I have only one Lizenz needed. Yesterday i moved the LCN Konfiguration in the yaml to the top. IT works at this time. I dont know If it is stabile....

My english is horrible... Sorry

Andre Lengwenus @.***> schrieb am Fr., 18. März 2022, 18:18:

Just guessing: Try to remove all LCN integration entries in the frontend (settings/devices&services) and restart. Does anything change?

Please also double check if the IP in the configuration.yaml is correct and you really have a free license entered in the PCHK software.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/68308#issuecomment-1072620908, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJLBFEPPXXMTVW6PET2H5PDVAS3E5ANCNFSM5Q72Z6KQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

haempy commented 2 years ago

Hello,

The moving in Yaml doesnt work... Same Problem. Sometime at restart LCN works, most of the time not. i removed the LCN integration entries in the frontend. The LCN-PCHK Monitor shows "Connected to host:1" at restart. No failure.

But now i dont have any devices from LCN....

haempy commented 2 years ago

Now i tried to rename the LCN-Konfiguration in configuration.yaml in the hope to get the Devices back. I renamed from myhome in phck1. Now i got a failure at restart:

`Logger: homeassistant.setup Source: components/lcn/helpers.py:214 First occurred: 08:04:23 (1 occurrences) Last logged: 08:04:23

Error during setup of component lcn Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component result = await task File "/usr/src/homeassistant/homeassistant/components/lcn/init.py", line 59, in async_setup config_entries_data = import_lcn_config(config[DOMAIN]) File "/usr/src/homeassistant/homeassistant/components/lcn/helpers.py", line 214, in import_lcn_config for device_config in data[host_name][CONF_DEVICES]: KeyError: 'myhome' `

haempy commented 2 years ago

So, i renamed my LCN config in myhome and changed the Username in PCHK... I am back in my problem. As soon as I have devices in the frontend, LCN seems to try to connect twice.

PHCK-Monitor: `8:29:42 AM [PCHK] !CHD

8:29:42 AM [PCHK] (dec-mode)

8:29:43 AM [PCHK] Connected to host: 1 8:29:44 AM [PCHK] S000_M007 to M007 Set 0 8:29:44 AM [PCHK] S000_M007 to M007 Send keys: Table A Keys - 2 - - - - - - in 5s 8:29:47 AM [PCHK] ControlApp error: Maximum number of connections was reached. An additional license key is required. (Code: 0`

And my Logfile: home-assistant.log

Edit: If I deactivate the integration in the frontend, Homeassistant only connects once. The moment I activate the integration again, the error comes back in the PCHK monitor. Without restart...

alengwenus commented 2 years ago

Now i tried to rename the LCN-Konfiguration in configuration.yaml in the hope to get the Devices back. I renamed from myhome in phck1. Now i got a failure at restart:

Please do not forget to also change the entity addresses to the new connection name!

If you can't make it work, please try to do the following steps:

Maybe then I'll get an idea of what's going on there...

haempy commented 2 years ago

Hello alengwenus, i inserted the logger code in configuration.yaml and restart without deleting anything.

Logging:

2022-03-19 20:56:06 DEBUG (MainThread) [homeassistant.components.lcn.config_flow] Validating connection parameters to PCHK host 'myhome' 2022-03-19 20:56:10 DEBUG (MainThread) [pypck.connection] PCHK server connected at 192.168.178.138:4114 2022-03-19 20:56:10 DEBUG (MainThread) [pypck.connection] from PCHK: LCN-PCK/IP 1.0 2022-03-19 20:56:10 DEBUG (MainThread) [pypck.connection] from PCHK: Username: 2022-03-19 20:56:10 DEBUG (MainThread) [pypck.connection] to PCHK: LCN 2022-03-19 20:56:10 DEBUG (MainThread) [pypck.connection] from PCHK: Password: 2022-03-19 20:56:10 DEBUG (MainThread) [pypck.connection] to PCHK: xxxxxxxxxxx 2022-03-19 20:56:12 DEBUG (MainThread) [pypck.connection] from PCHK: OK 2022-03-19 20:56:12 DEBUG (MainThread) [pypck.connection] PCHK authorization successful! 2022-03-19 20:56:12 DEBUG (MainThread) [pypck.connection] to PCHK: !CHD 2022-03-19 20:56:12 DEBUG (MainThread) [pypck.connection] from PCHK: $io:#LCN:connected 2022-03-19 20:56:12 DEBUG (MainThread) [pypck.connection] PCHK: LCN is connected. 2022-03-19 20:56:15 WARNING (MainThread) [homeassistant.components.lcn.config_flow] Connection to PCHK "myhome" failed 2022-03-19 20:56:15 DEBUG (MainThread) [pypck.connection] from PCHK: (dec-mode) 2022-03-19 20:56:15 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pypck/connection.py", line 144, in read_data_loop await self.process_message(message) File "/usr/local/lib/python3.9/site-packages/pypck/connection.py", line 615, in process_message await self.async_process_input(inp) File "/usr/local/lib/python3.9/site-packages/pypck/connection.py", line 633, in async_process_input self.license_error_future.set_result(True) asyncio.exceptions.InvalidStateError: invalid state

In LCN-PCHK Monitor i have the maximum number of connections error...

After this, i delete the LCN-Integration in settings/devices&services and restart again:

2022-03-19 21:05:18 DEBUG (MainThread) [homeassistant.components.lcn.config_flow] Validating connection parameters to PCHK host 'myhome' 2022-03-19 21:05:23 DEBUG (MainThread) [pypck.connection] PCHK server connected at 192.168.178.138:4114 2022-03-19 21:05:23 DEBUG (MainThread) [pypck.connection] from PCHK: LCN-PCK/IP 1.0 2022-03-19 21:05:23 DEBUG (MainThread) [pypck.connection] from PCHK: Username: 2022-03-19 21:05:23 DEBUG (MainThread) [pypck.connection] to PCHK: LCN 2022-03-19 21:05:23 DEBUG (MainThread) [pypck.connection] from PCHK: Password: 2022-03-19 21:05:23 DEBUG (MainThread) [pypck.connection] to PCHK: **** 2022-03-19 21:05:25 DEBUG (MainThread) [pypck.connection] from PCHK: OK 2022-03-19 21:05:25 DEBUG (MainThread) [pypck.connection] PCHK authorization successful! 2022-03-19 21:05:25 DEBUG (MainThread) [pypck.connection] to PCHK: !CHD 2022-03-19 21:05:25 DEBUG (MainThread) [pypck.connection] from PCHK: $io:#LCN:connected 2022-03-19 21:05:25 DEBUG (MainThread) [pypck.connection] PCHK: LCN is connected. 2022-03-19 21:05:27 WARNING (MainThread) [homeassistant.components.lcn.config_flow] Connection to PCHK "myhome" failed 2022-03-19 21:05:28 DEBUG (MainThread) [pypck.connection] from PCHK: (dec-mode) 2022-03-19 21:05:28 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pypck/connection.py", line 144, in read_data_loop await self.process_message(message) File "/usr/local/lib/python3.9/site-packages/pypck/connection.py", line 615, in process_message await self.async_process_input(inp) File "/usr/local/lib/python3.9/site-packages/pypck/connection.py", line 633, in async_process_input self.license_error_future.set_result(True) asyncio.exceptions.InvalidStateError: invalid state

No error in LCN-PCHK Monitor and no Integration for LCN in the frontend... How i get back the Integration?

Greetings Roland

haempy commented 2 years ago

I tried it again. Restored a Backup and add the logger in yaml. Restart HomeAssistant without deleteting LCN integration in frontend. Logging filtered by "pc":

2022-03-19 21:26:34 DEBUG (MainThread) [homeassistant.components.lcn.config_flow] Validating connection parameters to PCHK host 'myhome' 2022-03-19 21:26:38 DEBUG (MainThread) [pypck.connection] PCHK server connected at 192.168.178.138:4114 2022-03-19 21:26:38 DEBUG (MainThread) [pypck.connection] from PCHK: LCN-PCK/IP 1.0 2022-03-19 21:26:38 DEBUG (MainThread) [pypck.connection] from PCHK: Username: 2022-03-19 21:26:38 DEBUG (MainThread) [pypck.connection] to PCHK: LCN 2022-03-19 21:26:39 DEBUG (MainThread) [pypck.connection] from PCHK: Password: 2022-03-19 21:26:39 DEBUG (MainThread) [pypck.connection] to PCHK: **** 2022-03-19 21:26:40 DEBUG (MainThread) [pypck.connection] from PCHK: OK 2022-03-19 21:26:40 DEBUG (MainThread) [pypck.connection] PCHK authorization successful! 2022-03-19 21:26:40 DEBUG (MainThread) [pypck.connection] to PCHK: !CHD 2022-03-19 21:26:40 DEBUG (MainThread) [pypck.connection] from PCHK: $io:#LCN:connected 2022-03-19 21:26:40 DEBUG (MainThread) [pypck.connection] PCHK: LCN is connected. 2022-03-19 21:26:43 WARNING (MainThread) [homeassistant.components.lcn.config_flow] Connection to PCHK "myhome" failed 2022-03-19 21:26:43 DEBUG (MainThread) [pypck.connection] from PCHK: (dec-mode) File "/usr/local/lib/python3.9/site-packages/pypck/connection.py", line 144, in read_data_loop File "/usr/local/lib/python3.9/site-packages/pypck/connection.py", line 615, in process_message File "/usr/local/lib/python3.9/site-packages/pypck/connection.py", line 633, in async_process_input 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] 38d4d1f55fac21b0b27412e9d7148aaf server connected at 192.168.178.138:4114 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] from 38d4d1f55fac21b0b27412e9d7148aaf: LCN-PCK/IP 1.0 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] from 38d4d1f55fac21b0b27412e9d7148aaf: Username: 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] to 38d4d1f55fac21b0b27412e9d7148aaf: LCN 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] from 38d4d1f55fac21b0b27412e9d7148aaf: Password: 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] to 38d4d1f55fac21b0b27412e9d7148aaf: *** 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] from 38d4d1f55fac21b0b27412e9d7148aaf: OK 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] 38d4d1f55fac21b0b27412e9d7148aaf authorization successful! 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] to 38d4d1f55fac21b0b27412e9d7148aaf: !CHD 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] from 38d4d1f55fac21b0b27412e9d7148aaf: $err:(license?) 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] 38d4d1f55fac21b0b27412e9d7148aaf: License Error. 2022-03-19 21:26:45 DEBUG (MainThread) [pypck.connection] Connection to 38d4d1f55fac21b0b27412e9d7148aaf lost 2022-03-19 21:26:45 WARNING (MainThread) [homeassistant.components.lcn] Maximum number of connections on PCHK "myhome" was reached. An additional license key is required 2022-03-19 21:26:46 DEBUG (MainThread) [pypck.connection] Connection to 38d4d1f55fac21b0b27412e9d7148aaf closed.

alengwenus commented 2 years ago

The problem seems to be within the connection validation. I implemented a 5s timeout after which the connection is considered as failed. For some reason the response messages from your PCHK take several seconds but should only be in the range of a few milliseconds.

Once I had a similar bug report but we never managed to get it solved. What‘s similar here is that you have some unofficial components installed (via HACS?). Don‘t know if it has something to do with it (maybe they block HomeAssistant in some way?)

However, there is something which delays the messages from you PCHK by several seconds… Unfortunately I‘m not sure about that.

haempy commented 2 years ago

mmmh, i have HACS installed and i tried to deactivate it. but the problem is still there.. I have my PCHK via USB connected to a raspberry pi 3 with raspbian. And HomeAssistant on an Rapspi4. Maybe this is the problem? Can you integrate a handshake with timeout? --- request waiting response for 10s or something?

alengwenus commented 2 years ago

I wonder if you suffer from the same problem as described here… Unfortunately there‘s no solution given.

haempy commented 2 years ago

Good Morning, no, is not the same problem i think. I can do anything with LCN-Pro. It seems that HomeAssistant actually wants to connect twice. Once in the background and once for frontend integration. Because Homeassistant then also blocks LCN-Pro, since the connection is already active.

In the log i can see also two connections?:

2022-03-20 07:30:05 DEBUG (MainThread) [homeassistant.components.lcn.config_flow] Validating connection parameters to PCHK host 'myhome' 2022-03-20 07:30:08 DEBUG (MainThread) [pypck.connection] PCHK server connected at 192.168.178.138:4114 2022-03-20 07:30:08 DEBUG (MainThread) [pypck.connection] from PCHK: LCN-PCK/IP 1.0 2022-03-20 07:30:08 DEBUG (MainThread) [pypck.connection] from PCHK: Username: 2022-03-20 07:30:08 DEBUG (MainThread) [pypck.connection] to PCHK: LCN 2022-03-20 07:30:09 DEBUG (MainThread) [pypck.connection] from PCHK: Password: 2022-03-20 07:30:09 DEBUG (MainThread) [pypck.connection] to PCHK: ** 2022-03-20 07:30:10 DEBUG (MainThread) [pypck.connection] from PCHK: OK 2022-03-20 07:30:10 DEBUG (MainThread) [pypck.connection] PCHK authorization successful! 2022-03-20 07:30:10 DEBUG (MainThread) [pypck.connection] to PCHK: !CHD 2022-03-20 07:30:10 DEBUG (MainThread) [pypck.connection] from PCHK: $io:#LCN:connected 2022-03-20 07:30:10 DEBUG (MainThread) [pypck.connection] PCHK: LCN is connected.

an a few seconds later:

2022-03-20 07:30:17 DEBUG (MainThread) [pypck.connection] 38d4d1f55fac21b0b27412e9d7148aaf server connected at 192.168.178.138:4114 2022-03-20 07:30:17 DEBUG (MainThread) [pypck.connection] from 38d4d1f55fac21b0b27412e9d7148aaf: LCN-PCK/IP 1.0 2022-03-20 07:30:17 DEBUG (MainThread) [pypck.connection] from 38d4d1f55fac21b0b27412e9d7148aaf: Username: 2022-03-20 07:30:17 DEBUG (MainThread) [pypck.connection] to 38d4d1f55fac21b0b27412e9d7148aaf: LCN 2022-03-20 07:30:17 DEBUG (MainThread) [pypck.connection] from 38d4d1f55fac21b0b27412e9d7148aaf: Password: 2022-03-20 07:30:17 DEBUG (MainThread) [pypck.connection] to 38d4d1f55fac21b0b27412e9d7148aaf: ***** 2022-03-20 07:30:17 DEBUG (MainThread) [pypck.connection] from 38d4d1f55fac21b0b27412e9d7148aaf: OK 2022-03-20 07:30:17 DEBUG (MainThread) [pypck.connection] 38d4d1f55fac21b0b27412e9d7148aaf authorization successful! 2022-03-20 07:30:17 DEBUG (MainThread) [pypck.connection] to 38d4d1f55fac21b0b27412e9d7148aaf: !CHD 2022-03-20 07:30:17 DEBUG (MainThread) [pypck.connection] from 38d4d1f55fac21b0b27412e9d7148aaf: $err:(license?) 2022-03-20 07:30:17 DEBUG (MainThread) [pypck.connection] 38d4d1f55fac21b0b27412e9d7148aaf: License Error. 2022-03-20 07:30:18 DEBUG (MainThread) [pypck.connection] Connection to 38d4d1f55fac21b0b27412e9d7148aaf lost 2022-03-20 07:30:18 WARNING (MainThread) [homeassistant.components.lcn] Maximum number of connections on PCHK "myhome" was reached. An additional license key is required 2022-03-20 07:30:18 DEBUG (MainThread) [pypck.connection] Connection to 38d4d1f55fac21b0b27412e9d7148aaf closed.

Here the complete log from the last restart. home-assistant.log

haempy commented 2 years ago

Okay... it seems to be my Homeassistant Configuration... I have made a new installation with only LCN. No Problems!!

2022-03-20 09:04:45 DEBUG (MainThread) [homeassistant.components.lcn.config_flow] Validating connection parameters to PCHK host 'myhome' 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] PCHK server connected at 192.168.178.138:4114 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from PCHK: LCN-PCK/IP 1.0 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from PCHK: Username: 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to PCHK: LCN 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from PCHK: Password: 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to PCHK: ***** 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from PCHK: OK 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] PCHK authorization successful! 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to PCHK: !CHD 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from PCHK: $io:#LCN:connected 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] PCHK: LCN is connected. 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from PCHK: (dec-mode) 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] PCHK login successful. 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to PCHK: !OM0P 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to PCHK: ^ping0 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] PCHK: No segment coupler found. 2022-03-20 09:04:46 DEBUG (MainThread) [homeassistant.components.lcn.config_flow] LCN connection validated 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from PCHK: (0..50-mode percent) 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from PCHK: ^ping0- 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] Connection to PCHK closed. 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] 39010bf83ca6cac1c021a9b47a710ad2 server connected at 192.168.178.138:4114 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: LCN-PCK/IP 1.0 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: Username: 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: LCN 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: Password: 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: ** 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: OK 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] 39010bf83ca6cac1c021a9b47a710ad2 authorization successful! 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: !CHD 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: (dec-mode) 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] 39010bf83ca6cac1c021a9b47a710ad2 login successful. 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: !OM0P 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: $io:#LCN:connected 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] 39010bf83ca6cac1c021a9b47a710ad2: LCN is connected. 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: ^ping0 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] 39010bf83ca6cac1c021a9b47a710ad2: No segment coupler found. 2022-03-20 09:04:46 DEBUG (MainThread) [homeassistant.components.lcn] LCN connected to "myhome" 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: (0..50-mode percent) 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: ^ping0- 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000005.SN 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000006.SN 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000007.SN 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000008.SN 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: =M000005.SN11BA0B645401FW100B06HW015 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000005.NMN1 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000005.NMN2 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: =M000006.SN1DC8095A3301FW1C0A11HW015 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000006.NMN1 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000006.NMN2 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: =M000007.SN11AA013F9201FW100B05HW017 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000007.NMN1 2022-03-20 09:04:46 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000007.NMN2 2022-03-20 09:04:47 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: =M000008.SN11A911A08201FW100B05HW017 2022-03-20 09:04:47 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000008.NMN1 2022-03-20 09:04:47 DEBUG (MainThread) [pypck.connection] to 39010bf83ca6cac1c021a9b47a710ad2: >M000008.NMN2 2022-03-20 09:04:47 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: =M000005.N1Küche 2022-03-20 09:04:47 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: =M000005.N2 2022-03-20 09:04:47 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: =M000006.N1Wohnzimmer 2022-03-20 09:04:47 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: =M000006.N2 2022-03-20 09:04:47 DEBUG (MainThread) [pypck.connection] from 39010bf83ca6cac1c021a9b47a710ad2: =M000007.N1Windsensor

How i can debug, witch integration is the problem with LCN? I don't want to start over ..... aaaaaaaaaaargh

alengwenus commented 2 years ago

That's the way it should be. Maybe you could successively add the other integrations. Would be great to have some feedback which integration caused this behavior. That maybe would help other users to deal with such kind of problems. That would be really helpful! 👍

haempy commented 2 years ago

Okay, I'll start from the beginning... this will take a while! Currently I think it comes from the HACS Frontend Integration Mushroom. It felt like it was worse with the theme and after installing Mushroom itself it didn't work anymore. but will try to understand

haempy commented 2 years ago

Hello, i cant reproduce the failure.... I have all installed and more like before. Only the Waste-Collection-Shedule is not needed anymore. So i dont installed this. But this Integration works before also well with LCN i think i remeber... Maybe something else went wrong in the Installation.... sorry. Greetings