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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

denonavr_cli-2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for denonavr_cli-2.tar.gz
Algorithm Hash digest
SHA256 430a1060f2981fc4f9affae4091e4e61fb11188d35c297e9357f2d2118e64669
MD5 c9291ba29037d890d4d8ae7c81050c82
BLAKE2b-256 27413ed6d2dceb6029e03589c7c6421b8e533c31d2fd7c3cc7af3bbb5369e111

See more details on using hashes here.

File details

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

File metadata

  • Download URL: denonavr_cli-2-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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-2-py3-none-any.whl
Algorithm Hash digest
SHA256 11322e699b4ef31437f5294eb460d86830601b09e5c414d476c32d4d5b23387c
MD5 3b36e595efd5ab805f5d3540b5e70596
BLAKE2b-256 5abd69d70a3d2f37ff19871e376ef4533677b9e866d3a77041de8c6233d761a2

See more details on using hashes here.

Supported by

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