Coder Social home page Coder Social logo

daneah / denon Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 585 KB

A partial, flexible, browser-based implementation of the Denon AVR Control Protocol in Django + Vue.js

License: MIT License

Python 71.86% JavaScript 7.46% HTML 3.51% Vue 17.17%
vue django denon-avr home-automation

denon's Introduction

denon

A partial, flexible, browser-based implementation of the Denon AVR Control Protocol in Django + Vue.js

screenshot of interface

Installation

$ git clone [email protected]:daneah/denon.git
$ cd denon/
$ pipenv install
$ cat << EOF > .env
SECRET_KEY=denon
DEBUG=TRUE
DENON_IP_ADDRESS=<your Denon's IP address>
EOF
$ pipenv run ./manage.py migrate
$ pipenv run ./manage.py createsuperuser
$ cd frontend/
$ npm install

Running

In one window:

$ pipenv run ./manage.py runserver

In another window:

$ cd frontend
$ npm run serve

Using

Visit http://localhost:8080 to see the interface.

To add commands and parameters that are supported by your DENON, go to http://localhost:8000/admin.

Commands and parameters can select an icon from the free Font Awesome gallery.

Coming eventually

  • Dockerfile and Kubernetes YAML file as a "quickstart" option.
  • Live status of commands that support it, such as Mute and Power.

For discussion

  • The application sometimes chokes trying to connect to a Denon for status queries (MV?, PW?, etc). Why?
  • How best to model and present commands that have binary/opposing parameters, e.g. ON/OFF or an array of input sources?

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.