/idasen

personal fork of https://uninformativ.de/git/idasen

Primary LanguageShellMIT LicenseMIT

   _     _
  (_) __| | __ _ ___  ___ _ __
  | |/ _` |/ _` / __|/ _ \ '_ \
  | | (_| | (_| \__ \  __/ | | |
  |_|\__,_|\__,_|___/\___|_| |_|
  https://uninformativ.de/git/idasen
  https://uninformativ.de/bugs.html


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Control the height of an IKEA IDÅSEN desk via bluetooth.

Inspiration and, much more importantly, the control codes were taken
from:

    https://github.com/mitsuhiko/idasen-control

There are a couple more similar projects out there, for example:

    https://github.com/rhyst/idasen-controller
    https://github.com/newAM/idasen


Installation
------------

You need the tools "bluetoothctl" (bluez-utils) and "gdbus" (glib2). We
expect BlueZ to expose its services via D-Bus. These requirements are
usually fulfilled when run on GNU/Linux, so it's likely that you don't
have to do any installation steps at all.


Running
-------

This is a command line utility. Run it without arguments to view a short
help page. Example calls:

    $ idasen pos
    1345

    $ idasen moveto 4000