Comments (9)
When trying to setup a script myself I had issues getting callbacks to work - I think they may work differently than for some other LINAK desks but Iām not sure.
As a temporary workaround, can you manually update the position after it has completed moving? That would solve a big part of the problem for me
from esphome-idasen-desk-controller.
@noxhirsch @spyfly You may want to try out the code from #12 to confirm whether this also fixes the issues for you - I'm having no issues using that code with bluetooth_callback set to False.
from esphome-idasen-desk-controller.
I am experiencing the same issue.
from esphome-idasen-desk-controller.
Can confirm this issue, too. The current_position attribute of the cover is also static
from esphome-idasen-desk-controller.
Appears to be a duplicate of #2, but I can confirm this is an issue with the latest master
from esphome-idasen-desk-controller.
Do you find the log Register notification callback
when connecting to the desk ?
[14:38:13][C][idasen_desk_controller:137]: Register notification callback on output characteristic.
[14:38:13][C][idasen_desk_controller:143]: Retrieve control remote characteristic.
[14:38:13][E][BLERemoteCharacteristic.cpp:274] retrieveDescriptors(): esp_ble_gattc_get_all_descr: Unknown
[14:38:13][C][idasen_desk_controller:148]: Success connecting client to device
I'm not sure why but it doesn't seem to work at first.
from esphome-idasen-desk-controller.
@j5lien Yes, here's the log:
[16:05:07][C][idasen_desk_controller:109]: Start scanning devices...
[16:05:07][C][idasen_desk_controller:052]: BLE Device found: Name: , Address: XXXXXXXXXXXXXXXXXXXXXXXXXXXXX, serviceUUID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[16:05:07][C][idasen_desk_controller:052]: BLE Device found: Name: Desk Nico, Address: XXXXXXXXXXXXXXXXXXXXXXX, txPower: -8
[16:05:07][C][idasen_desk_controller:119]: Connecting client to device XXXXXXXXXXXXXXXXXXXXXXX,
[16:05:07][D][binary_sensor:036]: 'AZ Desk Workstation Connection': Sending state ON
[16:05:07][C][idasen_desk_controller:129]: Retrieve input remote characteristic.
[16:05:08][E][BLERemoteCharacteristic.cpp:274] retrieveDescriptors(): esp_ble_gattc_get_all_descr: Unknown
[16:05:08][C][idasen_desk_controller:134]: Retrieve output remote characteristic.
[16:05:08][E][BLERemoteCharacteristic.cpp:274] retrieveDescriptors(): esp_ble_gattc_get_all_descr: Unknown
[16:05:08][E][BLERemoteCharacteristic.cpp:274] retrieveDescriptors(): esp_ble_gattc_get_all_descr: Unknown
[16:05:08][C][idasen_desk_controller:137]: Register notification callback on output characteristic.
[16:05:08][C][idasen_desk_controller:143]: Retrieve control remote characteristic.
[16:05:08][E][BLERemoteCharacteristic.cpp:274] retrieveDescriptors(): esp_ble_gattc_get_all_descr: Unknown
[16:05:08][C][idasen_desk_controller:148]: Success connecting client to device
[16:05:08][D][api.connection:604]: Client 'Home Assistant 2021.2.3 (XXXXXXXXX)' connected successfully!
[16:05:13][D][binary_sensor:036]: 'AZ Desk Workstation Moving': Sending state OFF
[16:05:13][D][sensor:092]: 'AZ Desk Workstation Height': Sending state 143.00000 mm with 0 decimals of accuracy
[16:05:13][D][cover:152]: 'AZ Desk Workstation' - Publishing:
[16:05:13][D][cover:155]: Position: 22%
[16:05:13][D][cover:168]: Current Operation: IDLE
from esphome-idasen-desk-controller.
So the callback is well registered but isn't called when the desk is moving š¤
from esphome-idasen-desk-controller.
@mountainsandcode For me it's working with bluetooth_callback: false
, too š
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.