Skip to content

mitsuhiko/idasen-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

desk

Minimal IKEA IDÅSEN control tool written in Rust using btleplug.

Features

  • Scan for nearby desks
  • Connect once and store the selected desk in ~/.idasen.json
  • Move desk up/down
  • Move desk to an explicit height
  • Read current desk height
  • Auto-managed background daemon for faster repeated commands

Requirements

  • Rust toolchain (stable)
  • Bluetooth LE support on your system

Build

cargo build --release

Binary:

./target/release/desk

Usage

desk list
desk connect [IDENTIFIER]
desk up
desk down
desk move-to <HEIGHT>
desk status

You can also run without installing:

cargo run -- <COMMAND>

Examples:

cargo run -- list
cargo run -- connect
cargo run -- connect "cc70b52f-b68e-356b-45f0-a401bed542ce"
cargo run -- status
cargo run -- move-to 45

Configuration

Configuration is stored in:

~/.idasen.json

Default bounds:

  • position_min: 0.0
  • position_max: 58.0

up, down, move-to, and status use a background daemon that starts on demand and exits after 30 minutes of inactivity.

Troubleshooting

For debugging connection or timeout issues:

./target/release/desk --verbose --timeout 6 --connect-timeout 6 connect <IDENTIFIER>

About

Lets you control IKEA IDÅSEN desks from the command line.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors