Skip to content

aklajnert/idasen-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Idasen control

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.

Usage

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

Installation

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

Configuration

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.