After years of manually pressing the power button on my Lyngdorf TDAI-1120 amplifier, I finally found a solution to automate this process using Home Assistant (HA). The amplifier doesn’t have native HA integration, and purchasing a remote control from the manufacturer was not cost-effective. I explored various methods like power triggers and signal detection, but none worked until I stumbled upon the idea of using network commands.
Here’s how I achieved it:
- Adding Shell Commands: I added the following commands to my
configuration.yamlfile:
yaml
shell_command:
tdai_on: ‘echo -ne “!SRC(6)\r” | nc 192.168.0.111 84’
tdai_off: ‘echo -ne “!OFF\r” | nc 192.168.0.111 84’
This setup sends network commands to the amplifier. The IP address is reserved in my router’s DHCP settings for the TDAI-1120.
- Setting Up Automations: I created two automations—one for turning the amplifier on and another for turning it off. These automations trigger based on the state of my Denon AV receiver.
ON Automation:
yaml
alias: Turn on TDAI1120 with Denon
description: “”
triggers:
- device_id: fc9d29d6ac95c80f010e1ace682b6c9e
domain: media_player
entity_id: 2864b9216395ee0a7d3f14f37c4374ff
type: turned_on
trigger: device
conditions:
actions: - action: shell_command.tdai_on
metadata: {}
data: {}
mode: single
OFF Automation:
yaml
alias: TDAI1120 off when Denon off
description: “”
triggers:
- device_id: fc9d29d6ac95c80f010e1ace682b6c9e
domain: media_player
entity_id: 2864b9216395ee0a7d3f14f37c4374ff
type: turned_off
trigger: device
conditions:
actions: - action: shell_command.tdai_off
metadata: {}
data: {}
mode: single
This setup has transformed my home theater experience, eliminating the need for manual intervention. I hope this guide helps others facing similar challenges with their audio equipment!
Happy automating! ![]()