Coder Social home page Coder Social logo

gbionescu / go-idasen Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 12 KB

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

Go 100.00%
go bluetooth-low-energy idasen idasen-desk-control idasen-app idasen-application idasen-controller

go-idasen's Introduction

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

go-idasen's People

Contributors

gbionescu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

a-skuba qbarrand

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.