Giter VIP home page Giter VIP logo

idasen-control's Introduction

Idasen control

This is a simple program to control the Ikea IDASEN desk via bluetooth. It allows to save multiple positions, and move the desk between them.

Usage

First, you need to save the preferred heights by moving the desk manually, and then run the following command:

idesk save <position-name>

Calling desk save again on already saved position will overwrite it.

After you save the position, you can move desk to the saved state by running the command below:

idesk <position-name>

To get the desk's MAC address or position use the following command:

idesk info

To remove the position that is no longer useful, call:

idesk delete <position-name>

To see all available commands (including saved positions) run:

idesk help

Installation

This program can be compiled from source and installed with cargo by running this command:

cargo install --git https://github.com/aklajnert/idasen-control.git

Configuration

The configuration file is located at ~/.config/desk.toml. You can edit saved positons there, or change the connection attempt limit by setting connection_attempts variable to any positive value.

You can see the full path of the file and the loaded content by running idesk config.

idasen-control's People

Contributors

aklajnert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

idasen-control's Issues

Hardcoded retry attempts

if attempt > 3 {

Could u please make it configurable? For some reason (I dunno why) 3 is not enough for me sometimes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.