πŸ”—Modules Settings

User defined settings for the modules that support them

SystemD

Not all services on a machine are needed to be controlled or monitored through a switch, so they need to be configured manually by adding this on your config.yaml file:

settings:
  systemd:
    - docker.service
    - anydesk.service

Docker

If no configuration is provided, then all the available docker containers will be exposed. This can be configured to only show the ones in the included list or ignore the ones in the exclude list. Also by setting check_update value it will create binary sensors that check if there is an update available.

settings:
  docker:
    include:
      - esphome
    exclude: []
    check_update: 24
    expose_controls: True

GPIO

This is only supported by Raspberry Pi and needs to be configured manually on your config.yaml file:

IR Remote

This is only supported by Raspberry Pi and needs to be configured manually on your config.yaml file:

In this example, the IR Receiver (TSOP38238) is connected to GPIO input pin 18 and an IR LED is connected to the GPIO input pin 23.

You also need to start the pigpio daemon and it should start when the OS boots. This can be done with these commands:

Keyboard Hotkeys

This is used to run remote commands to your Home Assistant instance using keyboard shortcuts. Pynput is used for the keys syntax and the monitoring of presses.

Bash

Using this option you can create sensors, binary_sensors, buttons or switches that run custom commands. These options are optional: unit, entity_category, update_interval.

There are some optional options:

Create Bash sensors on Home Assistant side

The bash module can run any command on a remote computer which makes it dangerous, but also very helpful to create sensors without creating modules on LNXlink.

If you want to use it, you should set the following in your LNXlink configuration:

You will need to create a new sensor on your Home Assistant configuration file like so:

Then you must create an automation to run on an interval to get the result of a command:

Disk usage

By default this module finds all connected drives and exposes them to Home assistant, but this can be changed by setting them manually on settings with the include_disks option:

Using the exclude_disks option it finds all connected drives, but excludes from exposing the ones in this configuration:

Mounts usage

Checks the usage of mounted volumes on the system. If autocheck is true, it will use the Gnome GVFS to find volumes mounted by the file browser.

BeaconDB

Setup custom locations for specific WiFi networks.

Last updated