GithubHelp home page GithubHelp logo

basvdijk / domusto-marantz Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 50 KB

DOMUSTO Home Automation plugin for controlling Marantz receivers

TypeScript 100.00%
domusto domusto-plugin marantz marantz-avr marantz-receiver denon denon-receiver denon-avr

domusto-marantz's Introduction

DOMUSTO marantz plugin

plugin:       Marantz
author:       Bas van Dijk
category:     system
version:      0.0.1
website:      http://domusto.com
description:  Control your Marantz receiver e.g. power, volume, mute etc.

Features

  • Power on/off
  • Mute on/off
  • Volume up/down
  • Select input

Hardware needed

  • Marantz AVR

Tested with

  • Marantz SR6010

Installation

Execute in the domusto-server folder:

$ ./domusto.js plugin add basvdijk/domusto-marantz

Configuration

  1. Add the section below to your config.ts
  2. Set the correct ip address of your Marantz device
  3. Restart DOMUSTO
{
    enabled: true,
    dummyData: false,
    debug: true,
    type: 'MARANTZ',
    settings: {
        ip: '192.168.178.1',  // IP address of the Marantz device
        pollDelay: 5000       // (optional) ms between polls, default: 10000
    }
}

Example devices

// Power on/off
{
    id: 'MARANTZ-POWER',
    enabled: true,
    role: 'output',
    name: 'Marantz',
    type: 'switch',
    subType: 'on/off',
    protocol: {
        pluginId: 'MARANTZ',
        deviceId: 'power',
    }
},

// Mute enable/disable
{
    id: 'MARANTZ-MUTE',
    enabled: true,
    role: 'output',
    name: 'Mute',
    type: 'switch',
    subType: 'on/off',
    protocol: {
        pluginId: 'MARANTZ',
        deviceId: 'mute',
    }
},

// Volume up/down
{
    id: 'MARANTZ-VOLUME',
    enabled: true,
    role: 'output',
    name: 'Volume',
    type: 'switch',
    subType: 'up/down',
    protocol: {
        pluginId: 'MARANTZ',
        deviceId: 'volume',
    }
},

Input source switch

Valid values for protocol subType:

  • GAME
  • SAT/CBL
  • NET
  • USB/IPOD
  • TUNER
  • DVD
  • BD
  • HDRADIO
  • AUX1
  • AUX2
  • MPLAY
  • TV
  • PHONO
  • IRADIO
  • M-XPORT
  • NETHOME
{
    id: 'MARANTZ-SOURCE-GAME',
    enabled: true,
    role: 'output',
    name: 'Game',
    type: 'switch',
    subType: 'momentary',
    protocol: {
        pluginId: 'MARANTZ',
        deviceId: 'source',
        value: 'GAME'
    }
},
{
    id: 'MARANTZ-SOURCE-MPLAY',
    enabled: true,
    role: 'output',
    name: 'MPlayer',
    type: 'switch',
    subType: 'momentary',
    protocol: {
        pluginId: 'MARANTZ',
        deviceId: 'source',
        value: 'MPLAY'
    }
},

domusto-marantz's People

Contributors

basvdijk 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.