๐ŸŒฉ๏ธLNXlink

Effortlessly manage your Linux machine

Welcome

LNXlink is a Home Assistant companion app for Linux that bridges the gap between your PC and your smart home ecosystem. By leveraging MQTT and Autodiscovery, it allows you to monitor system stats and trigger remote commands in real-time with zero manual entity configuration.

Features

  • Automated Sensors: Discovers and exposes system metrics and controls automatically.

  • MQTT Autodiscovery: Integrates instantly with Home Assistant with update notifications.

  • Lightweight: Built to run with minimal system dependencies.

  • Extensible: Supports a modular architecture; easily import or create custom modules.

Supported Modules

๐Ÿงฎ Graphical Interface

Module
Description

๐Ÿ“ข Notify

Send rich desktop notifications via notify.send_message. Usage

๐Ÿ“‚ Open URL/File

Launch files or websites remotely using the xdg-open command. Usage

๐Ÿšฅ Keep Alive

Prevent monitor sleep or idle states using xset or gsettings.

โŒ› Idle time

Monitor user inactivity duration with a dedicated sensor.

๐ŸŽถ Media

Track playback status, metadata and media control. Setup

๐Ÿ”† Brightness

Adjust display luminance globally or for individual monitors via number entities.

๐Ÿ’ก Screen On/Off

Toggle monitor power states using the xset command.

โ›ถ Fullscreen

Detect if a window is currently in fullscreen mode and view its name.

๐Ÿ“ธ Screenshot

Stream your desktop directly to Home Assistant via a camera entity.

๐ŸŽง Audio Select

Switch between available speaker or microphone input devices.

โŒจ๏ธ Keyboard Hotkeys

Capture specific keypresses for automation triggers. Settings

๐Ÿ–ฑ๏ธ Mouse control

Simulate mouse movement and actions. Works with the LNXlink Touchpad Card.

๐Ÿ”‘ Send Keys

Broadcast keystrokes or complex combinations using xdotool or ydotool. Usage

๐ŸŽฎ Steam

Launch Steam or non-Steam games from a dropdown list.

๐ŸชŸ Display Env

Identify the current display environment (e.g., :0).

๐Ÿ—” Active Window

Monitor the name and title of the currently focused window.

โœ… System Actions

Module
Description

๐Ÿ”ด Shutdown

Shut down the computer instantly from your dashboard.

โšช Restart

Reboot the system remotely.

๐Ÿ’ค Suspend

Trigger sleep mode to save power when not in use.

๐Ÿš€ Boot Select

Choose which operating system to load on the next boot.

โšก Power Profile

Toggle between performance, balanced, or power-saver profiles.

โš™๏ธ SystemD

Manage Linux services; check status, start, or stop specific units. Settings

๐Ÿ–ฅ System Information

Module
Description

๐Ÿง  CPU

Monitor real-time CPU load and performance.

๐Ÿ’พ RAM

Track memory usage and availability.

๐Ÿ–ผ๏ธ GPU

Monitor load and usage for NVIDIA or AMD graphics cards.

๐Ÿ”‹ Battery

Track battery levels for all connected devices.

๐ŸŒก๏ธ Temperature

Monitor thermal data from all discovered system sensors.

โš ๏ธ Restart Required

Detect if a system reboot is needed (usually after kernel updates).

๐Ÿ”„ System Updates

Track pending packages and update availability in real-time.

๐Ÿ“ฅ Disk IO

Measure read/write throughput for each physical disk.

๐Ÿ“€ Disk Usage

Monitor storage capacity and percentage used per disk. Usage

๐Ÿ–ด Mounts

View space usage for all currently mounted volumes. Usage

๐Ÿ“ก Network & Devices

Module
Description

๐Ÿ“ถ Network Speed

Monitor real-time upload and download speeds.

๐ŸŒ Interfaces

List active network interfaces and their assigned IP addresses.

๐Ÿ“ฑ Bluetooth

Control global Bluetooth power or connect/disconnect specific devices.

๐Ÿ›œ WiFi

Monitor signal strength and connection metadata.

๐Ÿ”Œ WOL

Enable or disable Wake-On-LAN support for compatible network cards.

๐Ÿ—บ๏ธ BeaconDB

Locate the device using WiFi triangulation or custom coordinates. Settings

๐ŸŽš๏ธ Audio/Video/Input

Module
Description

๐ŸŽค Microphone Used

Monitor if any application is currently accessing the microphone.

๐Ÿ”ˆ Speaker Used

Detect active audio output to determine if the system is "in use."

๐ŸŽฅ Camera Used

Track webcam activity for privacy or presence automations.

๐ŸŽฎ Gamepad Used

Report controller activity (active if input detected within 40s).

๐Ÿงฐ Applications & Tools

Module
Description

๐ŸŒ LNXlink Update

Update LNXlink directly from Home Assistant. Usage

๐Ÿ—ฃ๏ธ Speech

Process voice input and return responses via binary sensor attributes. Usage

๐Ÿงฒ GPIO

Control and monitor Raspberry Pi GPIO pins. Settings

๐Ÿ“บ IR Remote

Control IR devices or decode incoming signals. Settings

๐Ÿงฉ Advanced/Other

Module
Description

โณ Inference Time

Debug performance by measuring sensor data collection latency.

๐Ÿ“œ Logging Level

Change debug verbosity on-the-fly for troubleshooting.

๐Ÿš Bash Commands

Create custom sensors, binary_sensors, buttons, or switches using shell scripts. Settings

๐Ÿณ Docker

Manage containers; toggle status, check for updates, or prune images. Settings

๐Ÿ“Š Statistics

Opt-in to send anonymous usage data to help improve LNXlink. Usage

๐Ÿ“ฎ RESTful

Interact with the system using standard HTTP requests. Usage

๐Ÿ“ฆ Custom Modules

Module
Link

Lutris Game Launcher

Active Window (Wayland)

Screens On/Off (KDE)

AM2302 Temp/Humidity

Satisfactory Server

GPU nvidia-settings

Supported OS

LNXlink is built specifically for Linux. There are currently no plans for Windows or macOS support due to deep system dependencies.

Last updated