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

a-skuba/go-idasen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-idasen

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

How do I use it?

Clone and build the project

or

download it from the releases page

or

use Go

go install github.com/a-skuba/go-idasen@latest

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.

On Linux, you have to run with sudo for accessing BLE.

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%