Skip to main content

A simple CLI for Denon AV receivers

Project description

denonavr-cli is a trivial CLI client for Denon AV receivers based on the denonavr library. Its biggest advantage is receiver autodiscovery, so you don’t have to specify the IP address.

When run without arguments, it scans the network for AVRs. If it finds exactly one, it displays its status:

$ denonavr-cli
Power: ON       Volume: -54.0 dB         Input: HEOS Music

Note that if there are more AVRs on the network, you need to specify the host explicitly:

$ denonavr-cli -H 192.168.1.6

After every call, the executable caches the host used, eliminating the autodiscovery delay for subsequent commands (but -H always overrides the cached value). If the cached host is no longer responding, it is discarded and autodiscovery is reenabled. You can also manually clear the cache via:

$ denonavr-cli --host-cache=reset

To see the available commands and options:

$ denonavr-cli --help

In general, commands without additional arguments print the current status in a machine-readable format, e.g.:

$ denonavr-cli volume
-54.0

The commands that alter the state generally print the new value after performing the action:

$ denonavr-cli volume up 4
-50.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

denonavr_cli-4.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

denonavr_cli-4-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file denonavr_cli-4.tar.gz.

File metadata

  • Download URL: denonavr_cli-4.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for denonavr_cli-4.tar.gz
Algorithm Hash digest
SHA256 365e48ea75ff4fb1b83abeff569086d1ea8c84db23fb8c4116ca7a2e0397796f
MD5 e915fbfd9eeb7255f597712823299ade
BLAKE2b-256 42375461587e3c563d2076e8ca6b50c2f9e869d67ad02b4a01109cc92d1694ec

See more details on using hashes here.

File details

Details for the file denonavr_cli-4-py3-none-any.whl.

File metadata

  • Download URL: denonavr_cli-4-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for denonavr_cli-4-py3-none-any.whl
Algorithm Hash digest
SHA256 5a318790d301934d188932127f4d9a5c3139f981a4f1bfd575fb07d808555a1a
MD5 781d6a7c7ebec21265b8e838b0318583
BLAKE2b-256 ce725c684c62a69bb9f51ff87b72a60e96c7f7d0a15212fe5d1beaaa77660651

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page