You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.
I have a desk made with Linak actuators and a DPG1C32 controller, not from IKEA. The controller seems to be 99% compatible with what this project expects, except for a few quirks.
I actually found a workaround the moving issue by browsing some other threads, but I'm posting it here for future people with the same problem.
It seems that the Linak app sets something in the controller that makes it not work with this integration, I suspect it's the "allow desk to be moved automatically without holding a button" toggle in settings, but now that I have it working I don't want to break it to confirm the suspicion 😁 In any case, factory resetting the DPG1C by holding the "star" button for 8 seconds allowed movement to work just fine! Seems that broke after a while.
This could probably be added to the README instructions as a possible troubleshooting step.
As for the wrong height, I seem to be in similar place as #61, they are dividing by a magic value to get close to the real height. It seems that the DPG1C registers contain something different than the expected by the lambda.
Height shown by the sensor seems to be slightly over 1/3 of the real one. Sadly this is not an easy order of magnitude or power of two explained by binary shift shenanigans. I will try to dump the registers and see if I can figure out the true height from whatever this thing has internally later.
So yeah, on this model those two registers seems to contain a weird glorified percentage. True height must be stored somewhere else, or processed somehow before being shown in screen&app. 🤔
I'm now converting that range that to the true values
EDIT: now it's back to not working no matter what I do for some reason 🤔
EDIT2: back to working by pairing it briefly with the official app and back to the ESP. The official app seems to be doing something. Subsequent cold boots of the DPG1C seem to break the ability to control via ESPHome unless it talked to the app first.
The text was updated successfully, but these errors were encountered:
Similar issues here. So to me the height issue looks just like a offset so you can leave the lambda but just add jour minimum height to it. The lambda does no magic but just puts together two 8 bit numbers to make a 16 bit number.
Regarding moving tho it was working at some point in time but definitely keeps failing. I'm wondering if the Linak controller simply has a bug if a Bluetooth session stays active to long as normally a phone would be only connected for some short duration for control.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a desk made with Linak actuators and a DPG1C32 controller, not from IKEA. The controller seems to be 99% compatible with what this project expects, except for a few quirks.
I actually found a workaround the moving issue by browsing some other threads, but I'm posting it here for future people with the same problem.
It seems that the Linak app sets something in the controller that makes it not work with this integration, I suspect it's the "allow desk to be moved automatically without holding a button" toggle in settings, but now that I have it working I don't want to break it to confirm the suspicion 😁
In any case, factory resetting the DPG1C by holding the "star" button for 8 seconds allowed movement to work just fine!Seems that broke after a while.This could probably be added to the README instructions as a possible troubleshooting step.
As for the wrong height, I seem to be in similar place as #61, they are dividing by a magic value to get close to the real height. It seems that the DPG1C registers contain something different than the expected by the lambda.
Height shown by the sensor seems to be slightly over 1/3 of the real one. Sadly this is not an easy order of magnitude or power of two explained by binary shift shenanigans. I will try to dump the registers and see if I can figure out the true height from whatever this thing has internally later.I did a thing
At max height (133cm for my model):
At min height (68cm for my model)
So yeah, on this model those two registers seems to contain a weird glorified percentage. True height must be stored somewhere else, or processed somehow before being shown in screen&app. 🤔
I'm now converting that range that to the true values
EDIT: now it's back to not working no matter what I do for some reason 🤔
EDIT2: back to working by pairing it briefly with the official app and back to the ESP. The official app seems to be doing something. Subsequent cold boots of the DPG1C seem to break the ability to control via ESPHome unless it talked to the app first.
The text was updated successfully, but these errors were encountered: