This component enables control of Tesmart LAN 232 devices including KVMs, Matrixes, and Switches.
Included, but not limited to, are:
- 4x1 DVI KVM Control Panel (DKS0401A30)
- 8x1 HDMI KVM Control Panel (HKS0801A30, HKS0801A20, HKE0802A10, HKS0801A40)
- 8x1 HDMI Switch (KVM) Controller (HSW0801A10, HSW0801A1U, HKS0801A1U)
- 16x1 HDMI Switch Controller (HKS1601A10, HSW1601A10, HKS1601A1U, HSW1601A1U)
- Matrix:
- 4x4 HDMI Matrix Control Panel V2 (HMA0404A40, HMA0404B40, HMA0404B50, HMA0404B30, HME040410H, HME040806R, HMA0404A1U, HMA0404A70, HMA0404A60)
- 8x8 HDMI Matrix Control Panel V2 (HMA0808A10, HMA0808A20, HMA0808A30, HMA0808A1U)
- 16x16 Matrix Controller (HMA1616A10, HMA1616A20)
If you are upgrading from version 0.0.1:
- Remove the old integration which is /custom_components/tesmart-kvm-homeassistant/ and then install the latest version of the integration.
- Update the platform configuration in your configuration.yaml file from
tesmart_kvm
totesmart_lan
.
Unless you have a good reason not to, you probably want to install this component via HACS(Home Assistant Community Store)
- Ensure that HACS is installed.
- Navigate to HACS -> Integrations
- Open the three-dot menu and select 'Custom Repositories'
- Put 'https://github.com/lululombard/tesmart-lan-homeassistant/' into the 'Repository' textbox.
- Select 'Integration' as the category
- Press 'Add'.
- Find the tesmart-lan-homeassistant integration in the HACS integration list and install it
- Restart Home Assistant.
- Add the below configuration examples to your configuration.yaml and secrets.yaml file
- Copy all files in
custom_components/tesmart_lan
to your<config directory>/custom_components/tesmart_lan/
directory. - Restart Home-Assistant.
- Add the configuration to your configuration.yaml and secrets.yaml.
- Restart Home-Assistant again.
Add the following to your configuration.yaml file changing the values for friendly_name, host ip, and the source names. Note: this example makes use of the secrets.yaml file.
media_player:
- platform: tesmart_lan
lans:
tesmart_hdmi_switch:
friendly_name: Nerdroom HDMI Switch
host: !secret hdmi_switch_host
sources:
HDMI 1: NES
HDMI 2: SENES
HDMI 3: Nintendo N64
HDMI 4: Wii U
HDMI 5: HDMI 5
HDMI 6: Xbox One
HDMI 7: HDMI 7
HDMI 8: Sega Genesis
HDMI 9: Atari 2600+
HDMI 10: HDMI 10
HDMI 11: HDMI 11
HDMI 12: HDMI 12
# HDMI 13: HDMI 13
# HDMI 14: HDMI 14
# HDMI 15: HDMI 15
# HDMI 16: HDMI 16
Example secrets.yaml file:
# Use this file to store secrets like usernames and passwords.
# Learn more at https://www.home-assistant.io/docs/configuration/secrets/
upstairs_hdmi_switch_host: "192.168.1.10"
- Proper integration with config_flow
This project is licensed under MIT license. See LICENSE file for details.