🌐 EN 📦 GitHub
Home Wiki News Contact Privacy Legal Notice Cookies
New Open-Source LAN-Control Skill Turns Router into Universal Remote

Router as Universal Control Hub

Developer QingYue has introduced "lan-control," an innovative solution for home automation. The system transforms a standard router into a central control unit for various household devices. The approach is remarkably simple: the skill automatically finds the router on the network, establishes an SSH connection, and reads the DHCP table to identify all connected devices.

YAML-Based Device Configuration

The core of the system is a flexible YAML configuration that maps device types to control commands. This declarative configuration method allows the community to add new device classes without code changes. Currently supported are TVs from LG, Samsung, and Roku as well as BroadLink devices. Expansion to include additional manufacturers and device types is planned through community contributions.

Technical Architecture

The technical implementation is based on three main steps: First, automatic detection of the router on the local network. Second, SSH access to read the DHCP table. Third, mapping the identified devices to appropriate YAML configurations and sending the corresponding control commands. This architecture enables device-independent control as long as the appropriate commands are defined in the YAML file.

Community-Driven Development

The strength of the system lies in its openness to community contributions. Through the YAML-based configuration, users can create and share their own device configurations without modifying the core code. This approach accelerates the adoption of new device classes and manufacturers. The project exemplifies the trend toward modular, community-driven smart home solutions that could replace proprietary systems.

Availability and Licensing

The software is available as an open-source project. Details about licensing and installation can be found in the associated repository. Interested developers and smart home enthusiasts can fork the project, extend it, and contribute to improvements.