diff --git a/config_creation/main.py b/config_creation/main.py index d50c8b7..7a778e4 100644 --- a/config_creation/main.py +++ b/config_creation/main.py @@ -78,6 +78,10 @@ def add_knx_devices(devices, groups): switches += [DeviceInfo(f"SzeneEingang{n}", f"Eingang Szene {i}") for i, n in scene_button_names[2:]] switches += [DeviceInfo(f"SzeneTerrassentuer{n}", f"Wohnzimmer Terrassentür Szene {i}") for i, n in scene_button_names[2: 4]] + switches += [DeviceInfo("AlarmLEDLinksNormal", "alarm_led_links_normal"), + DeviceInfo("AlarmLEDLinksUeberlagert", "alarm_led_links_ueberlagert"), + DeviceInfo("AlarmLEDRechtsNormal", "alarm_led_rechts_normal"), + DeviceInfo("AlarmLEDRechtsUeberlagert", "alarm_led_rechts_ueberlagert"),] power_plugs = [ # Vorratsraum diff --git a/config_creation/manual_config.yaml b/config_creation/manual_config.yaml index b59e3d4..5c039ed 100644 --- a/config_creation/manual_config.yaml +++ b/config_creation/manual_config.yaml @@ -96,9 +96,10 @@ cover_half: logger: default: info -# logs: -# xknx.telegram: debug -# xknx.knx: debug + logs: + custom_components.fhem: debug + #custom_components: debug + #custom_components.reconnecting_client: debug # Sensors #sensor: diff --git a/custom_components/reconnecting_client.py b/custom_components/reconnecting_client.py index 37cd7ab..8ed0a2a 100644 --- a/custom_components/reconnecting_client.py +++ b/custom_components/reconnecting_client.py @@ -50,7 +50,7 @@ class ReconnectingClient: try: reader, writer = await asyncio.open_connection(self._host, self._port) self._connection_last_state = 'CONNECTED' - + _LOGGER.debug(f"{self._connection_name} starting connection") self._writer = writer self.connected = True await self._connection_status_changed_callback('connected') @@ -61,6 +61,7 @@ class ReconnectingClient: if not line: raise OSError("Disconnect") line = line.decode() + _LOGGER.debug(f"{self._connection_name} received line - passing along '{line}'") await self._receive_line_callback(line) except OSError as e: if self._connection_last_state != 'FAILED':