Closed JurajNyiri closed 6 months ago
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!
(message by CodeOwnersMention)
idasen_desk documentation idasen_desk source (message by IssueLinks)
I have tested https://github.com/newAM/idasen and the issue does not occur using that library on my Windows PC.
I have cloned and modified https://github.com/abmantis/idasen-ha/blob/main/cli.py#L67 to add await desk.move_down()
(and up in another run) after await desk.connect(ble_device, True)
.
It worked as expected.
I have tested idasen-ha and idasen libraries above on a different system than HA is running on (HA is using esp bluetooth proxy)
Continuing debugging;
I have modified my config.yaml file like so:
logger:
default: warning
logs:
idasen_ha: debug
idasen: debug
homeassistant.components.idasen_desk: debug
Here is what I see upon issuing UP command via HA and seeing the behaviour as in video:
I have tried disabling the sensor entity and reloading integration, I still see the same behaviour, logs:
I had the exact same setup for around 2 months now and when I bought the desk back in December it was working as expected without choppy rising, I am not sure however when did the issue start.
Here is information about my 2 ESP32 controllers:
[20:03:39][I][app:102]: ESPHome version 2023.12.9 compiled on Jan 23 2024, 22:10:13
[20:03:39][I][app:104]: Project esphome.bluetooth-proxy version 1.0
[20:03:39][C][wifi:573]: WiFi:
[20:03:39][C][wifi:405]: Local MAC: 24:DC:C3:9F:EC:28
[20:03:39][C][wifi:410]: SSID: [redacted]
[20:03:39][C][wifi:411]: IP Address: 192.168.100.112
[20:03:39][C][wifi:413]: BSSID: [redacted]
[20:03:39][C][wifi:414]: Hostname: 'esp32-bluetooth-proxy-9fec28'
[20:03:39][C][wifi:416]: Signal strength: -54 dB ▂▄▆█
[20:03:39][C][wifi:420]: Channel: 11
[20:03:39][C][wifi:421]: Subnet: 255.255.254.0
[20:03:39][C][wifi:422]: Gateway: 192.168.100.1
[20:03:39][C][wifi:423]: DNS1: 192.168.100.1
[20:03:39][C][wifi:424]: DNS2: 0.0.0.0
[20:03:39][C][logger:439]: Logger:
[20:03:39][C][logger:440]: Level: DEBUG
[20:03:39][C][logger:441]: Log Baud Rate: 115200
[20:03:39][C][logger:443]: Hardware UART: UART0
[20:03:39][C][bluetooth_proxy:088]: Bluetooth Proxy:
[20:03:39][C][bluetooth_proxy:089]: Active: YES
[20:03:39][C][safe_mode.button:022]: Safe Mode Button 'Safe Mode Boot'
[20:03:39][C][safe_mode.button:022]: Icon: 'mdi:restart-alert'
[20:03:39][C][esp32_ble:374]: ESP32 BLE:
[20:03:39][C][esp32_ble:376]: MAC address: 24:DC:C3:9F:EC:2A
[20:03:39][C][esp32_ble:377]: IO Capability: none
[20:03:39][C][esp32_ble_tracker:645]: BLE Tracker:
[20:03:39][C][esp32_ble_tracker:646]: Scan Duration: 300 s
[20:03:39][C][esp32_ble_tracker:647]: Scan Interval: 1100.0 ms
[20:03:39][C][esp32_ble_tracker:648]: Scan Window: 1100.0 ms
[20:03:39][C][esp32_ble_tracker:649]: Scan Type: ACTIVE
[20:03:39][C][esp32_ble_tracker:650]: Continuous Scanning: True
[20:03:39][C][mdns:115]: mDNS:
[20:03:39][C][mdns:116]: Hostname: esp32-bluetooth-proxy-9fec28
[20:03:40][C][ota:097]: Over-The-Air Updates:
[20:03:40][C][ota:098]: Address: esp32-bluetooth-proxy-9fec28.local:3232
[20:03:40][C][api:139]: API Server:
[20:03:40][C][api:140]: Address: esp32-bluetooth-proxy-9fec28.local:6053
[20:03:40][C][api:142]: Using noise encryption: YES
[20:03:40][C][improv_serial:032]: Improv Serial:
This one is closer to the desk, being used:
[20:05:50][I][app:102]: ESPHome version 2023.12.9 compiled on Jan 23 2024, 21:59:31
[20:05:50][I][app:104]: Project esphome.bluetooth-proxy version 1.0
[20:05:50][C][wifi:573]: WiFi:
[20:05:50][C][wifi:405]: Local MAC: 24:DC:C3:9F:F5:58
[20:05:50][C][wifi:410]: SSID: [redacted]
[20:05:50][C][wifi:411]: IP Address: 192.168.100.114
[20:05:50][C][wifi:413]: BSSID: [redacted]
[20:05:50][C][wifi:414]: Hostname: 'office-bluetooth-proxy'
[20:05:50][C][wifi:416]: Signal strength: -53 dB ▂▄▆█
[20:05:50][C][wifi:420]: Channel: 6
[20:05:50][C][wifi:421]: Subnet: 255.255.254.0
[20:05:50][C][wifi:422]: Gateway: 192.168.100.1
[20:05:50][C][wifi:423]: DNS1: 192.168.100.1
[20:05:50][C][wifi:424]: DNS2: 0.0.0.0
[20:05:50][C][logger:439]: Logger:
[20:05:50][C][logger:440]: Level: DEBUG
[20:05:50][C][logger:441]: Log Baud Rate: 115200
[20:05:50][C][logger:443]: Hardware UART: UART0
[20:05:50][C][bluetooth_proxy:088]: Bluetooth Proxy:
[20:05:50][C][bluetooth_proxy:089]: Active: YES
[20:05:50][C][safe_mode.button:022]: Safe Mode Button 'Safe Mode Boot'
[20:05:50][C][safe_mode.button:022]: Icon: 'mdi:restart-alert'
[20:05:50][C][esp32_ble:374]: ESP32 BLE:
[20:05:50][C][esp32_ble:376]: MAC address: 24:DC:C3:9F:F5:5A
[20:05:50][C][esp32_ble:377]: IO Capability: none
[20:05:50][C][esp32_ble_tracker:645]: BLE Tracker:
[20:05:50][C][esp32_ble_tracker:646]: Scan Duration: 300 s
[20:05:50][C][esp32_ble_tracker:647]: Scan Interval: 1100.0 ms
[20:05:50][C][esp32_ble_tracker:648]: Scan Window: 1100.0 ms
[20:05:50][C][esp32_ble_tracker:649]: Scan Type: ACTIVE
[20:05:50][C][esp32_ble_tracker:650]: Continuous Scanning: True
[20:05:50][C][mdns:115]: mDNS:
[20:05:50][C][mdns:116]: Hostname: office-bluetooth-proxy
[20:05:50][C][ota:097]: Over-The-Air Updates:
[20:05:50][C][ota:098]: Address: office-bluetooth-proxy.local:3232
[20:05:50][C][ota:101]: Using Password.
[20:05:50][C][api:139]: API Server:
[20:05:50][C][api:140]: Address: office-bluetooth-proxy.local:6053
[20:05:50][C][api:142]: Using noise encryption: YES
[20:05:50][C][improv_serial:032]: Improv Serial:
I have reverted to 2024.1.5 without changing anything else. The issue is now gone and the movement works as expected.
I can confirm that I have the exact same problem
Yes, same issue here
Same issue here since upgrading. Rolled back and working as expected.
This is an issue on the underlying idasen
lib, not on HA. See https://github.com/newAM/idasen/pull/409
Should be fixed in HA 2023.03
The problem
Since upgrading from 2024.1.5 to 2024.2.2, when using the https://www.home-assistant.io/integrations/idasen_desk/ integration and setting the position or issuing the command to go up or down, the desk stops intermittently and then resumes.
I have uploaded an video example here: https://www.youtube.com/shorts/jzHc7L556Ps
This does not happen when using the official Desk Control app.
I have tried removing the integration and pairing the desk again. I have disabled all automations. I have tried moving esp proxy bluetooth controller directly to the desk. I have disconnected my other esp bluetooth proxy controller so that there is only 1.
What version of Home Assistant Core has the issue?
core-2024.2.2
What was the last working version of Home Assistant Core?
core-2024.1.5 (I am not sure about 2024.2.1)
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?
No response
Additional information
No response