Skip to content

buttons do not work #2

@phqzgunsfjror

Description

@phqzgunsfjror

Hi Anetczuk,

At first: great project and thanks for sharing it at GitHub!

I bought an Inwerk Masterlift 2.
The Linak components are CBD6S 300W and I use a DPG1M (its the one without the lightstrip and without the display showing the hight).

My command opening your app:
sudo python3 src/linakdeskapp/main.py

I am able to connect and it is showing all the information. If my desk goes up and down (by my DPG1M) all the values are updated immediately.

If I click on "up" nothing is happening even if I press it longer (the other buttons do not work either). The log output is:

2020-05-09 11:08:46,695 DEBUG    NotifHndlr-2 linak_dpg_bt.linak_device.LinakDesk:_handle_heigh_speed_notification [linak_device.py:714] Received height: 9960 3160 data: HeightSpeed[DeskPosition[3160] DeskSpeed[0]]
2020-05-09 11:09:01,213 INFO     MainThread linak_dpg_bt.desk_mover.DeskMoverThread:moveUp [desk_mover.py:122] moving up
2020-05-09 11:09:01,216 INFO     MainThread linak_dpg_bt.desk_mover.DeskMoverThread:stopMoving [desk_mover.py:157] stopping device
2020-05-09 11:09:01,252 DEBUG    MainThread linak_dpg_bt.connection.BTLEConnection:_send_command_single [connection.py:225] Sending ControlCommand.STOP_MOVING: 0xFF 0x00 to Characteristic.CONTROL[99FA0002-338A-1024-8A49-009C0215F78A, 0xe] w_resp=False
2020-05-09 11:09:01,255 INFO     MainThread linak_dpg_bt.desk_mover.DeskMoverThread:spawnThread [desk_mover.py:164] new thread spawned <CommandThread(DeskMover-7, started daemon 140648759031552)>
2020-05-09 11:09:01,314 INFO     MainThread linak_dpg_bt.desk_mover.DeskMoverThread:stopMoving [desk_mover.py:155] stopping thread <CommandThread(DeskMover-7, started daemon 140648759031552)>
2020-05-09 11:09:01,756 DEBUG    DeskMover-7 linak_dpg_bt.connection.BTLEConnection:_send_command_single [connection.py:225] Sending ControlCommand.MOVE_1_UP: 0x47 0x00 to Characteristic.CONTROL[99FA0002-338A-1024-8A49-009C0215F78A, 0xe] w_resp=False
2020-05-09 11:09:01,757 DEBUG    DeskMover-7 linak_dpg_bt.desk_mover.CommandThread:_thread_loop [desk_mover.py:106] thread terminated
2020-05-09 11:09:01,757 INFO     MainThread linak_dpg_bt.desk_mover.DeskMoverThread:stopMoving [desk_mover.py:157] stopping device
2020-05-09 11:09:02,258 DEBUG    MainThread linak_dpg_bt.connection.BTLEConnection:_send_command_single [connection.py:225] Sending ControlCommand.STOP_MOVING: 0xFF 0x00 to Characteristic.CONTROL[99FA0002-338A-1024-8A49-009C0215F78A, 0xe] w_resp=False

What could be the reason? How can I fix it?

Thank you in advance!

Kind regards,
Lennard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions