o
odinpkg.dev
packages / tool / idasen

idasen

12e8b28tool

CLI for operating the Idasen desk over bluetooth

GPL-3.0 · updated 10 months ago

Idasen CLI

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.

Set Up

Prerequisites

The desk should be connected and paired to the computer.

Configuration

Configuration that is not expected to change frequency can be provided via a YAML configuration file located at ~/.config/idasen.yaml.

You can use this command to initialize a new configuartion file:

$ go-idasen init
mac_address: AA:AA:AA:AA:AA:AA
positions:
    sit: 0.75
    stand: 1.1

Configuration 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, sit and stand are provided as examples.

The program will try to find the device address, but if it fails, it has to be done manually.

The device MAC addresses can be found using blueoothctl and bluetooth adapter names can be found with hcitool dev on linux.