๐ฉ๏ธ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
๐ข 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
๐ด 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
๐ง 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
๐ถ 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
๐ค 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
๐งฉ Advanced/Other
โณ 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
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.
Windows: We recommend HASS.Agent.
Cross-Platform: Consider IoTuring.
Last updated