core
core copied to clipboard
IKEA Idesen Desk integration disconnects when using builtin Bluetooth
The problem
Despite pairing the desk manually using bluetoothctl, after some time, this happens
Prior to the Home Assistant November update, I was able to reload the integration to temporarily reconnect the desk. The reload option doesn't even appear anymore.
What version of Home Assistant Core has the issue?
core-2023.11.2
What was the last working version of Home Assistant Core?
core-2023.10.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
idasen_desk
Link to integration documentation on our website
https://www.home-assistant.io/integrations/idasen_desk
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant
Source: components/idasen_desk/__init__.py:59
First occurred: 11:48:49 AM (1 occurrences)
Last logged: 11:48:49 AM
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/idasen_ha/connection_manager.py", line 79, in _connect
await self._idasen_desk.pair()
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'pair'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/idasen_desk/__init__.py", line 59, in async_connect
await self.desk.connect(ble_device)
File "/usr/local/lib/python3.11/site-packages/idasen_ha/__init__.py", line 62, in connect
await self._connection_manager.connect(
File "/usr/local/lib/python3.11/site-packages/idasen_ha/connection_manager.py", line 57, in connect
await self._connect(auto_reconnect=auto_reconnect)
File "/usr/local/lib/python3.11/site-packages/idasen_ha/connection_manager.py", line 87, in _connect
await self._idasen_desk.disconnect()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'disconnect'
Additional information
No response
Hey there @abmantis, mind taking a look at this issue as it has been labeled with an integration (idasen_desk) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of idasen_desk can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign idasen_deskRemoves the current integration label and assignees on the issue, add the integration domain after the command.
(message by CodeOwnersMention)
idasen_desk documentation idasen_desk source (message by IssueLinks)
Are any fixes planned for this?
Anyone?
Anyone?
Posting here like that will not make anyone work on this any faster. Quite the opposite if you think about it. This is voluntary work by people that do not get paid to do it. Also, anyone can contribute and fix it.
Anyone?
Posting here like that will not make anyone work on this any faster. Quite the opposite if you think about it. This is voluntary work by people that do not get paid to do it. Also, anyone can contribute and fix it.
Thanks. I was not expecting any faster work on the fix. I was simply waiting for some sort of acknowledgement since it seems other people aren't having this issue after pairing manually using bluetoothctl.
At the moment, the best option is to use an esphome Bluetooth proxy. Using the bluez (the default Linux Bluetooth stack) is not working properly, unfortunately.
At the moment, the best option is to use an esphome Bluetooth proxy. Using the bluez (the default Linux Bluetooth stack) is not working properly, unfortunately.
I do have an ESPHome device with Bluetooth proxy enabled in its YAML in the same room. I am not sure how to pair the desk with that specifically. I think I read somewhere that HA does that automatically once it sees Bluetooth proxies.
I disabled the internal Bluetooth integration on mine, so that it uses esphome only.
@home-assistant rename IKEA Idesen Desk integration disconnects when using builtin Bluetooth
i see the same issue when use esphome bluetooth proxy
i see the same issue when use esphome bluetooth proxy
Yup. The issue is still here with HA v2024.3.3 and ESPHome BT proxy.
+1 with ESPHome BT proxy
https://github.com/home-assistant rename IKEA Idesen Desk integration disconnects and does not reconnect
https://github.com/home-assistant/core/pull/115939 should hopefully fix this. The next HA beta should contain it.
Who can share the YAML configuration for ESP Home? I don't understand what needs to be written there.
@VoloshinD, only basic configuration for btproxy https://esphome.io/components/bluetooth_proxy.html without any custom parameters for desk
@VoloshinD, only basic configuration for btproxy https://esphome.io/components/bluetooth_proxy.html without any custom parameters for desk
I installed the firmware on a website with a bluetooth proxy, and added ESP via ip to HA.
I turned off Bluetooth on the computer so that integration would not connect through it. It doesn’t connect, I pressed the pairing button, it works well with the phone, but it doesn’t work with HA. Sad story…
@VoloshinD Make sure that the desk is not connected to anything else. It cannot be connected to the mobile app while pairing to HA. Also, make sure that it is in pairing mode (blue light blinking).
If that does not work, please ask for help on the forums or open another Issue here with debug logs. Thanks!
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.