This project still works (04/08/2023), but has been deprecated in favour of Idasen Tray.
Control your IKEA Idasen standing desk from a minimal CLI. This project is built around idasen-controller by rhyst.
- Python 3
- Windows Terminal with a PowerShell 5 profile
- A Bluetooth LE analyser like Bluetooth LE Lab (note this is only needed once to find your desk's MAC address)
-
Download the latest release.
-
Unzip the package.
-
Create a Python virtual environment in
idasen-cli
's directory:python -m venv .venv
-
Pair your PC to your desk via Bluetooth.
-
Configure for Windows Terminal:
idasen-cli
as provided assumes you have a Windows Terminal profile named "PowerShell 5"; if you don't have one, modify the run.bat script by replacing the "PowerShell 5" occurences with the name of your PowerShell 5 profile:WT -d . -p "<ps5-profile>" server.bat ; nt -d . -p "<ps5-profile>" client.bat
-
Configure config.bat:
OPTION DESCRIPTION mac_address
your desk's MAC address: this should never have to be changed once set favourites
your desk height settings (see idasen-controller's configuration)
-
Run
idasen-cli.bat
or theIdasen CLI
shortcut.A new Windows Terminal instance will open with two tabs: the left tab is the
idasen-controller
server that keeps a connection open with your desk; the right tab is the minimalidasen-cli
. -
Interact with the CLI.
Specify a preset either by name (like "sit" or "stand") or id. Type
status
or0
to get the current desk height.
- idasen-controller by rhyst, that actually communicates with the desk.
- Tabler Icons for this project's icon.