-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DPG1C Linak controller not supported #369
Comments
I made a PR here with the wakeup command: https://github.com/newAM/idasen/pull/370/files It looks like the fix is to send a wakeup command before moving: rhyst/linak-controller#32 (comment) It is easy to reproduce this? Are you able to test that inserting a wakeup before moving solves the problem? |
Brilliant, thank you very much! I've only used the HA idasen_desk integration which uses this, so can't test it that way yet. I will install this directly and see if I can reproduce the issue, it should just require leaving it connected for a number of hours and then attempting to move the desk, but only seeing the current height is still showing but it doesn't move. I could then try the same after installing it from the add-wakeup branch to see if it no longer happens. Please let me know if you see anything wrong with this method. |
I tested this out and unfortunately it doesn't seem to work. To install the new version, I ran these commands:
I believe that is the correct way to run the new code. While the controller was already "sleeping", I could get the current height but when attempting to move it to the "stand" position, the command just hangs with no output. Moving it with the linak-controller tool with the version that has the fix did work however. The Is there anything else I can test? |
Sorry for the slow reply, work got crazy for a bit and I forgot about this. The next few months are going to keep being crazy for me, I won't have as much time as I would like for this. I'll be happy to review PRs if someone fixes this before then! |
No problem, thanks for following up on this. I'm not sure what else I can do at this point, I believe I tested the new code correctly but it still doesn't wake the controller. I hope you don't mind me asking you @kaml123 and @rhyst as I know this is a fork of the linak-controller project, but would you be willing to offer any help on applying the fix for the DPG1C controller here please? |
Hi @datbilling and @newAM |
Hi @kaml123, thank you very much for taking a look at this! I wasn't sure how exactly to implement the 3rd comment though?
I tried simply adding |
Hi @datbilling,
Please try changing to:
|
@kaml123 I added that but received I tested it and it works! The desk moved to the stand position when the controller was sleeping. Thank you so much for your help with this. @newAM could you please approve PR #381 if everything is fine with it and then #370 ? |
Added in v0.11.0 see this comment for more context on propagating to home-assistant. |
Many people including myself have replaced the original Idasen Desk controller with the upgraded Linak DPG1C controller.
There is an issue when using it with the Home Assistant idasen_desk integration which uses this library though. After a number of hours, moving the desk no longer works, only the current height continues to show. Usually this can be fixed temporarily by disconnecting the controller from HA bluetooth, connecting it to the phone app, moving the desk using the official app to "wake it up again" and then disconnecting and reconnecting to HA.
This has recently been fixed in version 2.1.0 of the project that this one was forked from, rhyst/linak-controller project in rhyst/linak-controller#32
Could the same fix be added here so that it also supports the DPG1C controller please?
The text was updated successfully, but these errors were encountered: