1.1.2 • Published 2 years ago

homebridge-linak v1.1.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

linak-homebridge

homebridge plugin to control any linak bluetooth desk

Set up

Prerequisites

  • Linak controlled standing desk (eg. Ikea Idasen)
  • Homebridge installation on a device that has bluetooth

Install

  1. Install the latest version of idasen-controller first
  2. Make sure the homebridge device is paired to the desk over bluetooth
  3. Install this plugin
  4. Configure this plugin (see below)

Configuration

platform config

field nameparameterdescriptiondefault value
Namenamethe name of the platform in your logsLinak Platform
Polling timeoutpollingRatetime in seconds between polls of the current desk height20
Path to Idasen-ControlleridasenControllerPathwhere to find the installation of idasen-controller/home/pi/.local/bin/idasen-controller
Desksdesksarray of desks-

desk config

field nameparameterdescriptiondefault value
Namenamename of the deskLinak Desk
MAC AddressmacAddressthe MAC Address of your desk-
Base heightbaseHeightThe lowest possible height (mm) of the desk top from the floor. Default 620.620
Range of movementmovementRangeHow far above base-height the desk can extend (mm). Default 650.650

sample config

{
    "name": "Linak Platform",
    "pollingRate": 60,
    "idasenControllerPath": "/home/pi/.local/bin/idasen-controller",
    "desks": [
        {
            "name": "Schreibtisch",
            "macAddress": "e0:02:7b:73:8c:13"
        }
    ],
    "platform": "LinakController"
}

sample configuration

Features

Ads the standing desk as a controllable blind to the home app. You can then adjust the desk height by setting that blind. Unfortinatly there is nothing like a desk or similar in homekit, so this is currently the best solution to freely adjust the height.

I would recomment to set some home scenes for your standing and sitting height, with your prefered value, e.g.: Standing: blind 65% open Sitting: blind 25% open Using scenes you can adjust your desk using scenes like "Hey Siri, activate sitting".

How it works

The plugin calculates the height in mm from the value set by homekit and calls the idasen-controller implementation with the height in mm. The calculation is taken from homebridge_idasen. It can also get the actual desk height from the controller. The actual height will be calculated using the calculations mentioned before and will be returned to homekit as a percentage.

References

Special thanks to idasen-controller for his hard work! This made my plugin possible in the first place. Special thanks to homebridge-homebridge_idasen-cmd for giving me the idea to spawn a child_process to control the desks.

1.1.2

2 years ago

1.1.1

2 years ago

1.3.0-6

2 years ago

1.3.0-5

2 years ago

1.3.0-4

2 years ago

1.3.0-3

2 years ago

1.3.0-2

2 years ago

1.3.0-1

2 years ago

1.3.0-0

2 years ago

1.2.0

2 years ago

1.2.0-0

2 years ago

1.1.0

2 years ago

1.1.0-2

2 years ago

1.1.0-1

2 years ago

1.1.0-0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.6-beta.22

2 years ago

0.0.6-beta.19

2 years ago

0.0.6-beta.18

2 years ago

0.0.6-beta.17

2 years ago

0.0.6-beta.15

2 years ago

0.0.6-beta.14

2 years ago

0.0.6-beta.13

2 years ago

0.0.6-beta.12

2 years ago

0.0.6-beta.11

2 years ago

0.0.6-beta.10

2 years ago

0.0.6-beta.9

2 years ago

0.0.6-beta.8

2 years ago

0.0.6-beta.2

2 years ago

0.0.6-beta.1

2 years ago

0.0.6-beta.0

2 years ago

0.0.5-beta.0

2 years ago

0.0.4-beta.0

2 years ago

0.0.3-beta.0

2 years ago