A set of python scripts to query (pull)
- documented parameters (FY21AVR_DENON_PROTOCOL_V02_04062020.xlsx)
- additional system parameters and
- derived parameters
from Denon AVRs and return them friendly formated to HA.
It is more then just send command and forward responses to HA. Several parameters must be formated, some used system parameters are not included in the official documention and the "output channel layout" parameter must be derived from a set of CV-parameters for a nice presentation.
- Create a folder <python_scripts> in your HA config folder.
- Copy all python scripts to that folder.
- Add sensors to your HA <configuration.yaml>. In <denon_example_configuration.yaml> you find examples for command_line sensors.
- Use the sensors in your HA cards and automations
>python3 /config/python_scripts/denon_extsensors.py "AudioInOutStr"
PCM (7.1) => Auro-3D (7.1.4)
>python3 /config/python_scripts/denon_telnet.py "NSFRN " "?"
Denon AVC-X4700H
>python3 /config/python_scripts/denon_telnet.py "SSOUTFAISFOR " "?"
7.1.4
>python3 /config/python_scripts/denon_telnet.py "SYSDVIN " "?"
1080p60
>python3 /config/python_scripts/denon_telnet.py "PSMULTEQ:" " ?"
Reference
>python3 /config/python_scripts/denon_telnet.py "MV" "70"
-10.0
MIT
@namornoditz: https://github.com/namornoditz
...
Home Assistant: https://github.com/home-assistant/home-assistant/
denonavr-cli: https://pypi.org/project/denonavr-cli/
denonavr: https://github.com/ol-iver/denonavr/