Coder Social home page Coder Social logo

vandabbin / denon_avr_remote Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 123 KB

CLI Remote for Denon AVRs

License: GNU General Public License v3.0

Python 98.36% Makefile 1.64%
python python3 cli command-line-tool denon-avr denon-receiver denon remote-control remote linux

denon_avr_remote's Introduction

denon_avr_remote

CLI Remote for Denon AVRs

This script has been tested with Denon AVR-S710W and may not be compatible with other receivers

If you test it with another receiver and it works let me know!

This is a very early version and may contain bugs. It is also not fully featured yet.

This script allows you to control a Denon Audio Video Receiver from the command line.

If you do not wish to enter an ip address every time you send a command then open the script in a text editor and change default_ip to your receiver's IP Address.

# Default IP
# ex.
# default_ip = "192.168.0.100"
default_ip = ""

Command List:

    power [-h] (status, on, off, toggle)
    volume [-h] (status, up, down, [0-90])
    mute [-h] (status, toggle)
    source [-h] status
                bluetooth
                tuner
                aux
                iradio
                mplayer
                game
                dvd
                bluray
                favorites
                siriusxm
                pandora
                ipod
    mode [-h] status
              dolby
              stereo
              mstereo
              direct
              rock
              jazz

How to use:

# Template:
$ script primary_command secondary_command

# Examples: (All examples in this block perform the same task)
# Standard Usage
# If default_ip or default_port are not set in script then it
# will interactively ask for them
$ ./avremote.py power status

# Usage when default_ip and default_port ARE NOT set in script
# and you want to run script non-interactively. Or if you want to
# use a different ip or port from the defaults.
$ ./avremote.py -a 192.168.0.100 -p 23 power status

# The default secondary command for all primary commands except mute
# is status (mute's default is toggle)
# 
$ ./avremote.py power

# The default primary command if no commands are given is power
# -a and -p functionality do not work with this method of invoking
# the script. You must include the primary command if you wish to use them.
$ ./avremote.py

denon_avr_remote's People

Contributors

vandabbin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.