Giter VIP home page Giter VIP logo

node-mcintosh's Introduction

McIntosh Line Device Control via RS232

The McIntosh RS232 protocol implementation is based on McIntosh Labs equipment control article and documentation.

Configure your McIntosh:

  • Link speed: 115200
  • Identifier: McIntosh

Initialization:

var McIntosh = require("node-mcintosh");
var d = new McIntosh();

Listening to events:

d.on('status', function(status) { });
d.on('changed', function(property, value) { });

status can be one of the following:

  • 'connecting'
  • 'initializing'
  • 'connected'
  • 'disconnected'

property can be one of the following:

  • 'power_on'
  • 'power_off'
  • 'volume'
  • 'source'
  • 'mute'

Starting/Stopping the connection to the McIntosh device:

d.start(port, baud);
  • port should be like '/dev/cu.usbserial' or something similar on MacOS or Linux, or 'COM3' on Windows
  • baud should be like 115200, or whatever you configured your McIntosh to be (see above)
d.stop();

McIntosh RS232 issues and workarounds

- C47 does not send any response when it goes in stand by. This means the extension would loose track of the current state.
  Workaround used is to monitor USB state of the connected USB DAC (I am using the McIntosh C47's DAC via USB connection). C47 is closing DAC USB on standby.

 - I'm using the Passthru feature on C47 (for Hometheater), but when this mode is initialized, there is no indication via RS232.
  Workaround is based on RS232 OP1 command response (output 1) which is returned back at this moment.

node-mcintosh's People

Contributors

skruzlik avatar jaimebaraqui69 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.