Jura
Jura copied to clipboard
Error reading machine status
I'm getting some random warning messages in the HA log:
This error originated from a custom integration.
Logger: custom_components.jura.core.client
Source: custom_components/jura/core/client.py:203
integration: JURA Coffee Machines (documentation, issues)
First occurred: 09:55:06 (1 occurrence)
Last logged: 09:55:06
Error reading machine status
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/bleak_esphome/backend/client.py", line 77, in _async_wrap_bluetooth_operation
return await func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/bleak_esphome/backend/client.py", line 552, in read_gatt_char
return await self._client.bluetooth_gatt_read(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self._address_as_int, characteristic.handle, GATT_READ_TIMEOUT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/aioesphomeapi/client.py", line 697, in bluetooth_gatt_read
return await self._bluetooth_gatt_read(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aioesphomeapi/client.py", line 728, in _bluetooth_gatt_read
resp = await self._send_bluetooth_message_await_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aioesphomeapi/client.py", line 373, in _send_bluetooth_message_await_response
raise BluetoothGATTAPIError(BluetoothGATTError.from_pb(resp))
aioesphomeapi.core.BluetoothGATTAPIError: Bluetooth GATT Error address=E2:26:25:12:3F:AA handle=11 error=133 description=Error
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/jura/core/client.py", line 203, in read_machine_status
data = await self.read(UUIDs.MACHINE_STATUS, decrypt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/jura/core/client.py", line 138, in read
data = await self.client.read_gatt_char(uuid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/bleak/__init__.py", line 721, in read_gatt_char
return await self._backend.read_gatt_char(char_specifier, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/bleak_esphome/backend/client.py", line 104, in _async_wrap_bluetooth_operation
raise BleakError(str(ex)) from ex
bleak.exc.BleakError: Bluetooth GATT Error address=E2:26:25:12:3F:AA handle=11 error=133 description=Error
Any ideas?