Comments (8)
I haven't encountered any connection problem since version 2.0.0 and using the ble client.
For the moving issue, on the latest release, I added an option to use different bluetooth control commands.
https://github.com/j5lien/esphome-idasen-desk-controller/blob/main/README.md#not-moving-using-cover-component
Does it fix your issues ?
from esphome-idasen-desk-controller.
I'am not sure if it is the same issue but I also get the same warning as above but still in the phase when I try to pair the device.
[13:45:43][D][ble_client:045]: Found device at MAC address [EA:2B:E8:5A:DB:81]
[13:45:43][I][ble_client:083]: Attempting BLE connection to ea:2b:e8:5a:db:81
[13:45:44][I][ble_sensor:033]: [Desk Height] Connected successfully!
[13:45:44][I][ble_sensor:033]: [Desk Speed] Connected successfully!
[13:45:44][I][idasen_desk_controller:042]: [] Connected successfully!
[13:45:44][D][binary_sensor:036]: 'Desk Connection': Sending state ON
[13:45:45][I][ble_client:159]: Service UUID: 0x1800
[13:45:45][I][ble_client:160]: start_handle: 0x1 end_handle: 0x9
[13:45:45][I][ble_client:339]: characteristic 0x2A00, handle 0x3, properties 0xa
[13:45:45][I][ble_client:339]: characteristic 0x2A01, handle 0x5, properties 0x2
[13:45:45][I][ble_client:339]: characteristic 0x2A04, handle 0x7, properties 0x2
[13:45:45][I][ble_client:339]: characteristic 0x2AA6, handle 0x9, properties 0x2
[13:45:45][I][ble_client:159]: Service UUID: 0x1801
[13:45:45][I][ble_client:160]: start_handle: 0xa end_handle: 0xd
[13:45:45][I][ble_client:339]: characteristic 0x2A05, handle 0xc, properties 0x20
[13:45:45][I][ble_client:159]: Service UUID: 99FA0001338A10-248A-4900-9C02-15F78A
[13:45:45][I][ble_client:160]: start_handle: 0xe end_handle: 0x13
[13:45:45][I][ble_client:339]: characteristic 99FA0002338A10-248A-4900-9C02-15F78A, handle 0x10, properties 0xc
[13:45:45][I][ble_client:339]: characteristic 99FA0003338A10-248A-4900-9C02-15F78A, handle 0x12, properties 0x12
[13:45:45][I][ble_client:159]: Service UUID: 99FA0010338A10-248A-4900-9C02-15F78A
[13:45:45][I][ble_client:160]: start_handle: 0x14 end_handle: 0x17
[13:45:45][I][ble_client:339]: characteristic 99FA0011338A10-248A-4900-9C02-15F78A, handle 0x16, properties 0x1e
[13:45:45][I][ble_client:159]: Service UUID: 99FA0020338A10-248A-4900-9C02-15F78A
[13:45:45][I][ble_client:160]: start_handle: 0x18 end_handle: 0x1f
[13:45:45][I][ble_client:339]: characteristic 99FA0021338A10-248A-4900-9C02-15F78A, handle 0x1a, properties 0x12
[13:45:45][I][ble_client:339]: characteristic 99FA0029338A10-248A-4900-9C02-15F78A, handle 0x1d, properties 0x2
[13:45:46][I][ble_client:339]: characteristic 99FA002A338A10-248A-4900-9C02-15F78A, handle 0x1f, properties 0x2
[13:45:46][I][ble_client:159]: Service UUID: 99FA0030338A10-248A-4900-9C02-15F78A
[13:45:46][I][ble_client:160]: start_handle: 0x20 end_handle: 0xffff
[13:45:46][I][ble_client:339]: characteristic 99FA0031338A10-248A-4900-9C02-15F78A, handle 0x22, properties 0xc
[13:45:46][D][esp32_ble_tracker:180]: Starting scan...
[13:45:46][W][ble_client:170]: No descriptor found for notify of handle 0x1a
[13:45:46][W][ble_client:170]: No descriptor found for notify of handle 0x1a
[13:45:46][D][esp32_ble_tracker:620]: Found device EA:2B:E8:5A:DB:81 RSSI=-72
[13:45:46][D][esp32_ble_tracker:641]: Address Type: RANDOM
[13:45:46][D][esp32_ble_tracker:645]: TX Power: 2
[13:45:46][D][esp32_ble_tracker:620]: Found device 19:9C:C9:66:8F:5E RSSI=-68
[13:45:47][D][esp32_ble_tracker:641]: Address Type: RANDOM
[13:45:48][D][esp32_ble_tracker:620]: Found device 72:44:5B:94:C6:C4 RSSI=-54
[13:45:48][D][esp32_ble_tracker:641]: Address Type: RANDOM
[13:45:48][D][esp32_ble_tracker:645]: TX Power: 2
[13:45:49][D][esp32_ble_tracker:620]: Found device 16:BD:1B:7C:5C:4E RSSI=-59
[13:45:49][D][esp32_ble_tracker:641]: Address Type: RANDOM
[13:45:49][W][ble_sensor:082]: Error reading char at handle 26, status=5
[13:45:49][W][ble_sensor:082]: Error reading char at handle 26, status=5
[13:45:49][W][idasen_desk_controller:104]: Error reading char at handle 26, status=5
[13:45:49][W][ble_sensor:082]: Error reading char at handle 26, status=5
[13:45:49][W][ble_sensor:082]: Error reading char at handle 26, status=5
[13:45:49][W][idasen_desk_controller:104]: Error reading char at handle 26, status=5
[13:45:51][W][ble_sensor:082]: Error reading char at handle 26, status=5
[13:45:51][W][ble_sensor:082]: Error reading char at handle 26, status=5
[13:45:51][W][idasen_desk_controller:104]: Error reading char at handle 26, status=5
[13:46:16][W][ble_sensor:039]: [Desk Height] Disconnected!
[13:46:16][D][sensor:117]: 'Desk Height': Sending state nan cm with 1 decimals of accuracy
[13:46:16][W][ble_sensor:039]: [Desk Speed] Disconnected!
[13:46:16][D][sensor:117]: 'Desk Speed': Sending state nan cm/min with 0 decimals of accuracy
[13:46:16][W][idasen_desk_controller:049]: [] Disconnected!
[13:46:16][D][binary_sensor:036]: 'Desk Connection': Sending state OFF
[13:46:20][D][ble_client:045]: Found device at MAC address [EA:2B:E8:5A:DB:81]
[13:46:20][I][ble_client:083]: Attempting BLE connection to ea:2b:e8:5a:db:81
from esphome-idasen-desk-controller.
Do you have another device connected to your desk with bluetooth ? (like a phone)
Could you check if you can retrieve the desk height without using this custom component like I explained here ? #25 (comment)
from esphome-idasen-desk-controller.
@j5lien , thanks for the project, would be cool to control my desk from HA
I'm running into the same issue as @Kamaroth92. I've disconnected my phone from the desk and changed the code you referenced to in your previous comment.
[12:33:05][I][ble_client:083]: Attempting BLE connection to XX:XX:XX:XX:XX
[12:33:05][W][idasen_desk_controller:049]: [Desk] Disconnected!
[12:33:05][W][ble_sensor:039]: [Desk Height] Disconnected!
[12:33:05][D][sensor:127]: 'Desk Height': Sending state nan cm with 1 decimals of accuracy
[12:33:05][W][ble_client:115]: connect to XX:XX:XX:XX:XX failed, status=133
[12:33:06][D][ble_client:045]: Found device at MAC address [XX:XX:XX:XX:XX]
[12:33:06][I][ble_client:083]: Attempting BLE connection to XX:XX:XX:XX:XX
[12:33:06][I][idasen_desk_controller:042]: [Desk] Connected successfully!
[12:33:06][I][ble_sensor:033]: [Desk Height] Connected successfully!
[12:33:07][I][ble_client:159]: Service UUID: 0x1800
[12:33:07][I][ble_client:160]: start_handle: 0x1 end_handle: 0x9
[12:33:07][I][ble_client:339]: characteristic 0x2A00, handle 0x3, properties 0xa
[12:33:07][I][ble_client:339]: characteristic 0x2A01, handle 0x5, properties 0x2
[12:33:07][I][ble_client:339]: characteristic 0x2A04, handle 0x7, properties 0x2
[12:33:07][I][ble_client:339]: characteristic 0x2AA6, handle 0x9, properties 0x2
[12:33:07][I][ble_client:159]: Service UUID: 0x1801
[12:33:07][I][ble_client:160]: start_handle: 0xa end_handle: 0xd
[12:33:07][I][ble_client:339]: characteristic 0x2A05, handle 0xc, properties 0x20
[12:33:07][I][ble_client:159]: Service UUID: 99FA0001338A10-248A-4900-9C02-15F78A
[12:33:07][I][ble_client:160]: start_handle: 0xe end_handle: 0x13
[12:33:07][I][ble_client:339]: characteristic 99FA0002338A10-248A-4900-9C02-15F78A, handle 0x10, properties 0xc
[12:33:07][I][ble_client:339]: characteristic 99FA0003338A10-248A-4900-9C02-15F78A, handle 0x12, properties 0x12
[12:33:07][I][ble_client:159]: Service UUID: 99FA0010338A10-248A-4900-9C02-15F78A
[12:33:07][I][ble_client:160]: start_handle: 0x14 end_handle: 0x17
[12:33:07][I][ble_client:339]: characteristic 99FA0011338A10-248A-4900-9C02-15F78A, handle 0x16, properties 0x1e
[12:33:07][I][ble_client:159]: Service UUID: 99FA0020338A10-248A-4900-9C02-15F78A
[12:33:07][I][ble_client:160]: start_handle: 0x18 end_handle: 0x1f
[12:33:07][I][ble_client:339]: characteristic 99FA0021338A10-248A-4900-9C02-15F78A, handle 0x1a, properties 0x12
[12:33:07][I][ble_client:339]: characteristic 99FA0029338A10-248A-4900-9C02-15F78A, handle 0x1d, properties 0x2
[12:33:07][I][ble_client:339]: characteristic 99FA002A338A10-248A-4900-9C02-15F78A, handle 0x1f, properties 0x2
[12:33:07][I][ble_client:159]: Service UUID: 99FA0030338A10-248A-4900-9C02-15F78A
[12:33:07][I][ble_client:160]: start_handle: 0x20 end_handle: 0xffff
[12:33:07][I][ble_client:339]: characteristic 99FA0031338A10-248A-4900-9C02-15F78A, handle 0x22, properties 0xc
[12:33:07][W][ble_client:170]: No descriptor found for notify of handle 0x1a
[12:33:13][W][idasen_desk_controller:104]: Error reading char at handle 26, status=5
[12:33:13][W][ble_sensor:082]: Error reading char at handle 26, status=5
[12:33:27][W][idasen_desk_controller:104]: Error reading char at handle 26, status=5
[12:33:27][W][ble_sensor:082]: Error reading char at handle 26, status=5
[12:33:38][W][idasen_desk_controller:049]: [Desk] Disconnected!
[12:33:38][W][ble_sensor:039]: [Desk Height] Disconnected!
[12:33:38][D][sensor:127]: 'Desk Height': Sending state nan cm with 1 decimals of accuracy
[12:33:40][D][ble_client:045]: Found device at MAC address [XX:XX:XX:XX:XX]
[12:33:40][I][ble_client:083]: Attempting BLE connection to XX:XX:XX:XX:XX
[12:33:56][W][ble_sensor:119]: [Desk Height] Cannot poll, not connected
[12:34:10][W][idasen_desk_controller:049]: [Desk] Disconnected!
[12:34:10][W][ble_sensor:039]: [Desk Height] Disconnected!
[12:34:10][D][sensor:127]: 'Desk Height': Sending state nan cm with 1 decimals of accuracy
[12:34:10][W][ble_client:115]: connect to XX:XX:XX:XX:XX failed, status=133
[12:34:10][D][esp32_ble_tracker:180]: Starting scan...
[12:34:10][D][ble_client:045]: Found device at MAC address [XX:XX:XX:XX:XX]
[12:34:10][I][ble_client:083]: Attempting BLE connection to XX:XX:XX:XX:XX
[12:34:10][W][idasen_desk_controller:049]: [Desk] Disconnected!
[12:34:10][W][ble_sensor:039]: [Desk Height] Disconnected!
[12:34:10][D][sensor:127]: 'Desk Height': Sending state nan cm with 1 decimals of accuracy
[12:34:10][W][ble_client:115]: connect to XX:XX:XX:XX:XX failed, status=133
The esp32 will keep failing to connect until I hold the button, then it connects, throws some errors around and disconnects. After this is will continue to try and fail to reconnect until I hold the button.
Let me know if I can give you any further info.
Espressif ESP-WROVER-KIT
by espressif
Firmware: esphome v1.20.4 Aug 9 2021, 12:14:23
from esphome-idasen-desk-controller.
I have the same behavior as MunkeyBalls, I think.
from esphome-idasen-desk-controller.
I have the same behavior, tried with both a Adafruit Feather ESP32 and a NoceMCU ESP32.
from esphome-idasen-desk-controller.
Also experiencing this with the latest v3.0.0 of the component and ESPHome 2021.11.1 and 2021.10.3
from esphome-idasen-desk-controller.
Same issue on esphome v2021.12.1
from esphome-idasen-desk-controller.
Related Issues (20)
- Desk Panel DPG1C connection not stable
- Desk not moving / Error reading char at handle 26, status=5 HOT 1
- Are you open to being sponsord? HOT 2
- Port to new Bluetooth integration HOT 5
- Second Desk HOT 1
- Error when installing component. HOT 6
- Installation of the cover component does not work
- new esphome version breaks compilation HOT 2
- Update compatibility HOT 2
- Down Button not working HOT 2
- ESP32 keeps crashing on ESPHome 2022.11.2 HOT 1
- [Wemos ESP32 Mini] A working ESPHome yaml example with some adjustments. (Ikea Idasen Liank DL110)
- unable to move after a while HOT 4
- DPG1C woes: cannot move using Cover and wrong sensor height HOT 1
- updating firmware of the controller HOT 1
- Disconnections & not fully responding to requests
- Error sending write request for cover, status=259
- Height is received only at startup HOT 1
- cover.stop_cover service not supported HOT 1
- base hight?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome-idasen-desk-controller.