Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 937 Bytes

README.md

File metadata and controls

32 lines (19 loc) · 937 Bytes

Maranz AV Reciever Control

This library allows you to control the basic functions of a Marantz Reciever using io.js/node.js. This library is just a wrapper around the Marantz HTTP 'API'. However it handles a few things like:

  • Rate limiting API calls - the receiver, at least in my testing would fail if you made too many requests at once.
  • Normalizing their horrible naming conventions

Note, that I used a few ES6 functions that are compatible with iojs in this library so you will either need to enable the flags or edit the library and use a polyfill if you are using Node.js.

Install

npm install marantz-avr

Usage

var AVReciever = require('marantz-avr');
var reciever = new AVReciever('ip_address');


reciever.powerOn();

Tests

It's sad, but tests require available device to run test scripts against it.

TODOs

  • Add HTTP request parameter for zone selection: ZoneName=(ZONE1|ZONE2|ZONE3)