The IDÅSEN is an electric sitting standing desk with a Linak controller sold by ikea.
The position of the desk can controlled by a physical switch on the desk or via bluetooth using an phone app.
This is a command line interface written in python to control the Idasen via bluetooth from a desktop computer.
The desk should be connected to the computer.
python3 -m pip install --upgrade idasenConfiguration that is not expected to change frequently can be provided via a
YAML configuration file located at ~/.config/idasen/idasen.yaml.
You can use this command to initialize a new configuartion file:
idasen initmac_address: AA:AA:AA:AA:AA:AA
positions:
sit: 0.75
stand: 1.1Configuartion options:
mac_address- The MAC address of the desk. This is required.positions- A dictionary of positions with values of desk height from the floor in meters,sitandstandare provided as examples.
The program will try to discover the device address. The device needs to be in 'discover' mode for this to work.
If discovery fails the device MAC addresses can be found using blueoothctl
and bluetooth adapter names can be found with hcitool dev on linux.
If the device has not yet been paired, this can be accomplished with:
idasen pairAgain, the device will need to be in 'discover' mode for this to work.
To print the current desk height:
idasen heightTo monitor for changes to height:
idasen monitorTo save the current height as the sitting position:
idasen save sitTo delete the saved sitting position:
idasen delete sitAssuming the config file is populated to move the desk to sitting position:
idasen sitRelated projects and packaging:
- Arch Linux package
- NixOS package
- huserben/idasen-rest-bridge
- Repository this was forked from: rhyst/idasen-controller