@philipp14
Irgendetwas stimmt bei mir nicht. Habe auf 2024.5.1 aktualisiert und wieder dasselbe Thema. Die komplette Integration geht irgendwie nicht.
Wobei ich aber einmal das Schlafzimmerlicht anmachen konnte. Danach aber nimmer aus und jetzt geht gerade wieder garnixmehr.
Wobei es tatsächlich nicht connected ist.
Ich kann reconnecten. Dann geht wieder ein statuswechsel von irgendeiner Entität. Dann komme aber kein Status und dann kann ich nichts mehr verändern. Bis ich wieder einmal reconnect mache. Dann geht wieder einmal. Aber der Status von Connected bleibt immer aus.
Hier ein Log. Schau mal rein … irgendwas stimmt da nicht
2024-05-03 19:33:36.700 INFO (MainThread) [pyhap.hap_protocol] ('192.168.178.27', 58715): Connection made to HASS Bridge
2024-05-03 19:33:56.773 DEBUG (MainThread) [eltako] [binary_sensor] [Gateway Id 1] connected False
2024-05-03 19:33:56.777 INFO (Thread-13) [eltakobus.serial] Serial communication started
2024-05-03 19:33:56.791 WARNING (Thread-13) [homeassistant.helpers.frame] Detected that custom integration 'eltako' calls async_create_task from a thread at custom_components/eltako/gateway.py, line 96: self.hass.async_create_task(, please report it to the author of the 'eltako' custom integration
2024-05-03 19:33:56.791 WARNING (Thread-13) [py.warnings] /usr/local/lib/python3.12/site-packages/eltakobus/serial.py:82: RuntimeWarning: coroutine 'GatewayConnectionState.async_value_changed' was never awaited
pass
2024-05-03 19:33:56.806 INFO (Thread-13) [eltakobus.serial] Established serial connection to /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usbv2-0:1.4:1.0-port0 - baudrate: 57600
2024-05-03 19:33:56.806 DEBUG (Thread-13) [eltakobus.serial] Performing echo detection
2024-05-03 19:33:57.309 DEBUG (Thread-13) [eltakobus.serial] No echo detected on the line
2024-05-03 19:33:57.320 WARNING (Thread-13) [homeassistant.helpers.frame] Detected that custom integration 'eltako' calls async_create_task from a thread at custom_components/eltako/gateway.py, line 96: self.hass.async_create_task(, please report it to the author of the 'eltako' custom integration
2024-05-03 19:34:32.405 INFO (MainThread) [pyhap.hap_protocol] ('192.168.178.27', 58716): Connection made to HASS Bridge
2024-05-03 19:34:33.737 DEBUG (MainThread) [eltako] [binary_sensor] [Gateway Id 1] connected False
2024-05-03 19:34:33.739 WARNING (Thread-13) [homeassistant.helpers.frame] Detected that custom integration 'eltako' calls async_create_task from a thread at custom_components/eltako/gateway.py, line 96: self.hass.async_create_task(, please report it to the author of the 'eltako' custom integration
2024-05-03 19:34:33.742 INFO (Thread-14) [eltakobus.serial] Serial communication started
2024-05-03 19:34:33.749 INFO (Thread-13) [eltakobus.serial] Serial communication stopped
2024-05-03 19:34:33.754 WARNING (Thread-14) [homeassistant.helpers.frame] Detected that custom integration 'eltako' calls async_create_task from a thread at custom_components/eltako/gateway.py, line 96: self.hass.async_create_task(, please report it to the author of the 'eltako' custom integration
2024-05-03 19:34:33.762 INFO (Thread-14) [eltakobus.serial] Established serial connection to /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usbv2-0:1.4:1.0-port0 - baudrate: 57600
2024-05-03 19:34:33.762 DEBUG (Thread-14) [eltakobus.serial] Performing echo detection
2024-05-03 19:34:34.266 DEBUG (Thread-14) [eltakobus.serial] No echo detected on the line
2024-05-03 19:34:34.283 WARNING (Thread-14) [homeassistant.helpers.frame] Detected that custom integration 'eltako' calls async_create_task from a thread at custom_components/eltako/gateway.py, line 96: self.hass.async_create_task(, please report it to the author of the 'eltako' custom integration
2024-05-03 19:34:46.055 DEBUG (SyncWorker_11) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 12, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090000b012003e
2024-05-03 19:34:46.059 DEBUG (Thread-14) [eltakobus.serial] Sent message: <Regular4BSMessage from 00 00 b0 12, data 01 00 00 09, status = 0x00>
2024-05-03 19:34:47.397 DEBUG (Thread-14) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrappedRPS from 00 00 00 12, status 30, data 70>
2024-05-03 19:34:47.409 WARNING (Thread-14) [homeassistant.helpers.frame] Detected that custom integration 'eltako' calls async_create_task from a thread at custom_components/eltako/gateway.py, line 107: self.hass.async_create_task(, please report it to the author of the 'eltako' custom integration
2024-05-03 19:34:47.410 ERROR (Thread-14) [root] Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.12/site-packages/eltakobus/serial.py", line 176, in run
self.__callback(parsed_msg)
File "/config/custom_components/eltako/gateway.py", line 300, in _callback_receive_message_from_serial_bus
self._fire_last_message_received_event()
File "/config/custom_components/eltako/gateway.py", line 107, in _fire_last_message_received_event
self.hass.async_create_task(
File "/usr/src/homeassistant/homeassistant/core.py", line 816, in async_create_task
self.verify_event_loop_thread("async_create_task")
File "/usr/src/homeassistant/homeassistant/core.py", line 440, in verify_event_loop_thread
frame.report(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 162, in report
_report_integration(what, integration_frame, level, error_if_integration)
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 203, in _report_integration
raise RuntimeError(
RuntimeError: Detected that custom integration 'eltako' calls async_create_task from a thread at custom_components/eltako/gateway.py, line 107: self.hass.async_create_task(. Please report it to the author of the 'eltako' custom integration.
2024-05-03 19:34:47.413 WARNING (Thread-14) [py.warnings] /usr/local/lib/python3.12/threading.py:1075: RuntimeWarning: coroutine 'GatewayLastReceivedMessage.async_value_changed' was never awaited
self._invoke_excepthook(self)
2024-05-03 19:34:49.010 DEBUG (SyncWorker_52) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 12, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090000b012003e
2024-05-03 19:34:49.728 DEBUG (SyncWorker_37) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 12, data 01 00 00 08, status = 0x00> - Serialized: a55a6b07010000080000b012003d
2024-05-03 19:34:50.263 DEBUG (SyncWorker_1) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 13, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090000b013003f
2024-05-03 19:34:51.162 DEBUG (SyncWorker_34) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 13, data 01 00 00 08, status = 0x00> - Serialized: a55a6b07010000080000b013003e
2024-05-03 19:34:51.646 DEBUG (SyncWorker_26) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 10, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090000b010003c
2024-05-03 19:34:52.354 DEBUG (SyncWorker_42) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 10, data 01 00 00 08, status = 0x00> - Serialized: a55a6b07010000080000b010003b
2024-05-03 19:34:52.873 DEBUG (SyncWorker_40) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 0f, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090000b00f003b
2024-05-03 19:34:53.794 DEBUG (SyncWorker_58) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 0f, data 01 00 00 08, status = 0x00> - Serialized: a55a6b07010000080000b00f003a
2024-05-03 19:34:54.677 DEBUG (SyncWorker_49) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 12, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090000b012003e
2024-05-03 19:34:54.990 INFO (MainThread) [habluetooth.scanner] hci0 (D8:3A:DD:94:EB:69): Bluetooth scanner has gone quiet for 90s, restarting
2024-05-03 19:34:55.131 DEBUG (SyncWorker_2) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 13, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090000b013003f
2024-05-03 19:35:10.314 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.eltako_gw1_ff_a2_b8_9f_received_messages_per_session (None) cannot be converted to the unit of previously compiled statistics (Messages). Generation of long term statistics will be suppressed unless the unit changes back to Messages or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
2024-05-03 19:35:17.222 DEBUG (MainThread) [eltako] [binary_sensor] [Gateway Id 1] connected False
2024-05-03 19:35:17.226 INFO (Thread-15) [eltakobus.serial] Serial communication started
2024-05-03 19:35:17.239 WARNING (Thread-15) [homeassistant.helpers.frame] Detected that custom integration 'eltako' calls async_create_task from a thread at custom_components/eltako/gateway.py, line 96: self.hass.async_create_task(, please report it to the author of the 'eltako' custom integration
2024-05-03 19:35:17.246 INFO (Thread-15) [eltakobus.serial] Established serial connection to /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usbv2-0:1.4:1.0-port0 - baudrate: 57600
2024-05-03 19:35:17.246 DEBUG (Thread-15) [eltakobus.serial] Performing echo detection
2024-05-03 19:35:17.750 DEBUG (Thread-15) [eltakobus.serial] No echo detected on the line
2024-05-03 19:35:17.767 WARNING (Thread-15) [homeassistant.helpers.frame] Detected that custom integration 'eltako' calls async_create_task from a thread at custom_components/eltako/gateway.py, line 96: self.hass.async_create_task(, please report it to the author of the 'eltako' custom integration
2024-05-03 19:35:28.323 INFO (MainThread) [pyhap.hap_protocol] ('192.168.178.27', 58717): Connection made to HASS Bridge