Everything other than HA is connecting without issues(web Ii is connecting to device, mobile app is working also)
What's more I cannot connect any other Bluetooth Meshtastic device now it seems that even after removal it still caches some corrupted data
.
.
Failed to connect to meshtastic device
Traceback (most recent call last):
File "/usr/local/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
return await fut
^^^^^^^^^
File "/config/custom_components/meshtastic/aiomeshtastic/interface.py", line 395, in connected_node_ready
await self._connected_node_ready.wait()
File "/usr/local/lib/python3.13/asyncio/locks.py", line 213, in wait
await fut
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/meshtastic/api.py", line 140, in connect
ready = await asyncio.wait_for(self._interface.connected_node_ready(), timeout=60)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/asyncio/tasks.py", line 506, in wait_for
async with timeouts.timeout(timeout):
~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/local/lib/python3.13/asyncio/timeouts.py", line 116, in __aexit__
raise TimeoutError from exc_val
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/meshtastic/config_flow.py", line 192, in validate_input_for_connection
async with MeshtasticApiClient(
~~~~~~~~~~~~~~~~~~~^
data,
^^^^^
...<2 lines>...
no_nodes=no_nodes,
^^^^^^^^^^^^^^^^^^
) as client:
^
File "/config/custom_components/meshtastic/api.py", line 275, in __aenter__
await self.connect()
File "/config/custom_components/meshtastic/api.py", line 150, in connect
raise MeshtasticApiClientCommunicationError from exception
custom_components.meshtastic.api.MeshtasticApiClientCommunicationError
Traceback (most recent call last):
File "/config/custom_components/meshtastic/aiomeshtastic/connection/bluetooth.py", line 180, in _packet_stream
await start_notify()
File "/config/custom_components/meshtastic/aiomeshtastic/connection/bluetooth.py", line 165, in start_notify
await asyncio.wait_for(
self._bleak_client.start_notify(self._ble_from_num, notification_handler), timeout=30
)
File "/usr/local/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/bleak/__init__.py", line 785, in start_notify
await self._backend.start_notify(
characteristic, wrapped_callback, cb=cb, **kwargs
)
File "/usr/local/lib/python3.13/site-packages/bleak/backends/bluezdbus/client.py", line 920, in start_notify
assert_reply(reply)
~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.13/site-packages/bleak/backends/bluezdbus/utils.py", line 27, in assert_reply
raise BleakDBusError(reply.error_name, reply.body)
bleak.exc.BleakDBusError: [org.bluez.Error.NotConnected] Not Connected
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/meshtastic/aiomeshtastic/connection/__init__.py", line 121, in listen
async for packet in listener:
yield packet
File "/config/custom_components/meshtastic/aiomeshtastic/connection/listener.py", line 22, in __anext__
self._stop_if_needed()
~~~~~~~~~~~~~~~~~~~~^^
File "/config/custom_components/meshtastic/aiomeshtastic/connection/listener.py", line 44, in _stop_if_needed
raise self._failure
File "/config/custom_components/meshtastic/aiomeshtastic/connection/__init__.py", line 121, in listen
async for packet in listener:
yield packet
File "/config/custom_components/meshtastic/aiomeshtastic/connection/listener.py", line 37, in __anext__
self._stop_if_needed()
~~~~~~~~~~~~~~~~~~~~^^
File "/config/custom_components/meshtastic/aiomeshtastic/connection/listener.py", line 44, in _stop_if_needed
raise self._failure
File "/config/custom_components/meshtastic/aiomeshtastic/connection/__init__.py", line 412, in _on_demand_stream_processor
await self._process_packet_stream()
File "/config/custom_components/meshtastic/aiomeshtastic/connection/__init__.py", line 147, in _process_packet_stream
async for packet in self._packet_stream():
...<3 lines>...
await asyncio.sleep(0)
File "/config/custom_components/meshtastic/aiomeshtastic/connection/bluetooth.py", line 219, in _packet_stream
raise BluetoothConnectionError from e
custom_components.meshtastic.aiomeshtastic.connection.bluetooth.BluetoothConnectionError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/meshtastic/aiomeshtastic/interface.py", line 330, in get_config
await self._start_config()
File "/config/custom_components/meshtastic/aiomeshtastic/interface.py", line 824, in _start_config
await self._connection.request_config(minimal=self.no_nodes)
File "/config/custom_components/meshtastic/aiomeshtastic/connection/__init__.py", line 217, in request_config
async for packet in self.listen(on_start=self.send_packet(start_config_packet)):
...<7 lines>...
self._logger.warning("Failed to check request config", exc_info=True)
File "/config/custom_components/meshtastic/aiomeshtastic/connection/__init__.py", line 124, in listen
raise ClientApiListenInterruptedError from e
custom_components.meshtastic.aiomeshtastic.connection.errors.ClientApiListenInterruptedError: Connection interrupted
Meshtastic Firmware Version
Multiple versions testested(latest too)
Home Assistant System Health details
I have the similar issue to #75
Tried restore backup but error still occurs
Everything other than HA is connecting without issues(web Ii is connecting to device, mobile app is working also)
What's more I cannot connect any other Bluetooth Meshtastic device now it seems that even after removal it still caches some corrupted data
Checklist
Describe the issue
.
Reproduction steps
.
Home Assistant Debug logs
Home Assistant Diagnostics dump
Meshtastic Node Debug logs
No response