Library to control denon avr devices over TCP.
  • C# 98.7%
  • Batchfile 1.3%
Find a file
FrankvdStam 2642c8b731
All checks were successful
Build / build (push) Successful in 1m32s
frankvdstam-patch-1 (#5)
Reviewed-on: #5
2026-04-07 15:45:50 +01:00
.github/workflows frankvdstam-patch-1 (#5) 2026-04-07 15:45:50 +01:00
docs Initial commit 2019-12-28 15:23:46 +01:00
packages Played around with the service, it's not consistently working though. 2020-02-02 20:43:22 +01:00
scripts Played around with the service, it's not consistently working though. 2020-02-02 20:43:22 +01:00
src fix build and warnings (#3) 2026-04-07 10:46:24 +01:00
.gitignore Add packages to git 2019-12-28 15:33:30 +01:00
DenonApi.sln fix build and warnings (#3) 2026-04-07 10:46:24 +01:00
LICENSE Initial commit 2019-12-28 15:22:46 +01:00
readme.md typo 2023-02-16 08:46:26 +01:00

DenonApi

Lightweight library to control Denon AVR devices via TCP. Consider everything unstable in this library.

Example usage:

class Program
{
    static void Main(string[] args)
    {
        IDenonDevice denonDevice = new TcpDenonDevice("192.168.1.65", 23);
        denonDevice.PowerOn();
        Thread.Sleep(10000); //let the device boot
        denonDevice.MasterVolumeUp();
        denonDevice.MasterVolumeDown();
        denonDevice.SetMasterVolume(51);
        denonDevice.ChannelVolumeUp(Channel.SubWoofer1);
        denonDevice.SetChannelVolume(Channel.SubWoofer1, 51.5M);
        Dictionary<Channel, decimal> result = denonDevice.GetChannelStatus();
        denonDevice.PowerStandby();
    }
}

TcpForward can be used to forward all commands over TCP. It has no knowledge about the commands and does just forwarding.

Example usage:

C:\projects\DenonApi\src\TcpForward\bin\Debug\netcoreapp3.0>tcpforward.exe 192.168.1.65 23 PWON
Parsed input as ip: 192.168.1.65, port: 23, command: PWON, wait for response: False, write to file:

Parsed input as ip: 192.168.1.65, port: 23, command: MVUP, wait for response: True, write to file: C:\Temp\denon.txt
MVMAX 91: MV55
File doesn't exist - not writing.

C:\projects\DenonApi\src\TcpForward\bin\Debug\netcoreapp3.0>tcpforward.exe 192.168.1.65 23 MVUP w C:\Temp\denon.txt
Parsed input as ip: 192.168.1.65, port: 23, command: MVUP, wait for response: True, write to file: C:\Temp\denon.txt
MVMAX 91: MV555

C:\projects\DenonApi\src\TcpForward\bin\Debug\netcoreapp3.0>tcpforward.exe 192.168.1.65 23 MVUP w C:\Temp\denon.txt
Parsed input as ip: 192.168.1.65, port: 23, command: MVUP, wait for response: True, write to file: C:\Temp\denon.txt
MVMAX 91: MV56

C:\projects\DenonApi\src\TcpForward\bin\Debug\netcoreapp3.0>tcpforward.exe 192.168.1.65 23 MVUP w C:\Temp\denon.txt
Parsed input as ip: 192.168.1.65, port: 23, command: MVUP, wait for response: True, write to file: C:\Temp\denon.txt
MVMAX 91: MV565