Skip to content

A project for controlling your Ikea Idasen desk through Bluetooth, using go.

Notifications You must be signed in to change notification settings

gbionescu/go-idasen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-idasen

A project for controlling your Ikea Idasen desk through Bluetooth, using go.

How do I use it?

First of all, build the project or download it from the releases page.

How does it work?

It connects to the desk through BLE and stores various configuration data that you may want in ~/.go-idasen.json.

Usage

Usage of ./go-idasen:
  -delfav string
        Remove a given favorite position.
  -desk string
        Set desk by name or address.
  -fav string
        Save current position as named favorite.
  -listfav
        List favorite positions.
  -movefav string
        Load a favorite and move there.
  -pos float
        Position to move desk to in cm. Ranges from 65cm to 128cm.

Connect to a desk

Connect to a desk by specifying the desk name - make sure that you press the connect button on the desk first:

./go-idasen --desk "Desk name"

MAC address also works:

./go-idasen --desk "00:11:22:33:44:55"

Move the desk to a position

You can specify a position to move the desk by running:

./go-idasen --pos "80"

Positions are limited to minimum 65 and maximum 128.

Add a favorite position

You can also save a favorite positions:

./go-idasen --fav my_fav_pos