This is a simple program to control the Ikea IDASEN
desk via bluetooth. It allows to save multiple
positions, and move the desk between them.
First, you need to save the preferred heights by moving the desk manually, and then run the following command:
idesk save <position-name>
Calling desk save
again on already saved position will overwrite it.
After you save the position, you can move desk to the saved state by running the command below:
idesk <position-name>
To get the desk's MAC address or position use the following command:
idesk info
To remove the position that is no longer useful, call:
idesk delete <position-name>
To see all available commands (including saved positions) run:
idesk help
This program can be compiled from source and installed with cargo by running this command:
cargo install --git https://github.com/aklajnert/idasen-control.git
The configuration file is located at ~/.config/desk.toml
. You can edit saved positons there,
or change the connection attempt limit by setting connection_attempts
variable to any positive value.
You can see the full path of the file and the loaded content by running idesk config
.