RoonLabs / node-devialet-expert

Devialet Expert Line Device Control via RS232

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Devialet Expert Line Device Control via RS232

Configure your Expert:

  • Link speed: 115200
  • Identifier: Devialet
  • Mode -> Command Acknowledge = TRUE
  • Mode -> Auto Cchange notification = TRUE
  • Mode -> Echo chaining = FALSE

Initialization:

var DevialetExpert = require("node-devialet-expert");
var d = new DevialetExpert();

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'
  • 'volume'
  • 'source'
  • 'mute'
  • 'phase'
  • 'preout'
  • 'riaa'
  • 'subsonic_filter'
  • 'subwoofer'

Starting/Stopping the connection to the Devialet Expert 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 Devialet to be (see above)
d.stop();

About

Devialet Expert Line Device Control via RS232

License:Apache License 2.0


Languages

Language:JavaScript 100.0%