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-3.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

denonavr_cli-3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: denonavr_cli-3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0b3

File hashes

Hashes for denonavr_cli-3.tar.gz
Algorithm Hash digest
SHA256 f62d973d4b7e3da117baa500812f1654143599803e4442ec40c483aa8e5ccaec
MD5 12f3fbc864ae51a45f80b8b11e81fc21
BLAKE2b-256 dfb5e6a2d9a4bcaa629d31efe8b7c8ac694b18b0adf23f2a2f0a21403aef120d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: denonavr_cli-3-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0b3

File hashes

Hashes for denonavr_cli-3-py3-none-any.whl
Algorithm Hash digest
SHA256 cc1e914be73df9974bd72cf1802acda883dc656ce642b8f8a764902a52a4f317
MD5 651cfeba4ccaa43bc125a0cb1b5cd6f4
BLAKE2b-256 d220f18708af469770c8c9a07917aa5f7917ce7af91242d5a7ebe828f46b052c

See more details on using hashes here.

Supported by

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