Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.
/ idasen-cli Public archive

Control your IKEA Idasen standing desk from a minimal CLI.

Notifications You must be signed in to change notification settings

Gliptal/idasen-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Idasen Cli

This project still works (04/08/2023), but has been deprecated in favour of Idasen Tray.

IDASEN CLI

Control your IKEA Idasen standing desk from a minimal CLI. This project is built around idasen-controller by rhyst.

REQUIREMENTS

INSTALL

  • Download the latest release.

  • Unzip the package.

  • Create a Python virtual environment in idasen-cli's directory:

    python -m venv .venv

CONFIGURE

  • 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)

USAGE

  • Run idasen-cli.bat or the Idasen 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 minimal idasen-cli.

  • Interact with the CLI.

    Specify a preset either by name (like "sit" or "stand") or id. Type status or 0 to get the current desk height.

    usage

ACKNOWLEDGMENTS