Giter Club home page Giter Club logo

denon-remote's People

Contributors

iharosi avatar jtangelder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

denon-remote's Issues

I got some error

Hi, I got some error when run denon, I run it at raspberry, any idea?

/root/.npm-global/lib/node_modules/denon/index.js:12
denon.on('connect', ()=> {
^
SyntaxError: Unexpected token )
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3

error after install

HI!
After installing node-js legacy on a Mint17 machine i got these errors:
Did I miss something?

/usr/local/lib/node_modules/denon/lib/DenonClient.js:3
module.exports = class DenonClient {
^^^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/denon/index.js:5:21)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)

Error: Most middleware software is no longer bundled and must be installed separately.

I'm trying to get the server software to run, but it won't start up at all. I tried installing Express and the middleware functions to no avail.

Error: Most middleware (like bodyParser) is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.
  at Function.Object.defineProperty.get (C:\Users\tyler.WORKGROUP\Documents\GitHub\denon-remote\node_modules\express\lib\express.js:99:13)
  at Object.<anonymous> (C:\Users\tyler.WORKGROUP\Documents\GitHub\denon-remote\server.coffee:13:16)
  at Object.<anonymous> (C:\Users\tyler.WORKGROUP\Documents\GitHub\denon-remote\server.coffee:2:1)

  at Module._compile (module.js:460:26)
  at Object.exports.run (C:\Users\tyler.WORKGROUP\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\coffee-script.js:134:23)
  at compileScript (C:\Users\tyler.WORKGROUP\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\command.js:224:29)
  at compilePath (C:\Users\tyler.WORKGROUP\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\command.js:174:14)
  at Object.exports.run (C:\Users\tyler.WORKGROUP\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\command.js:98:20)
  at Object.<anonymous> (C:\Users\tyler.WORKGROUP\AppData\Roaming\npm\node_modules\coffee-script\bin\coffee:7:41)
  at Module._compile (module.js:460:26)
  at Object.Module._extensions..js (module.js:478:10)
  at Module.load (module.js:355:32)
  at Function.Module._load (module.js:310:12)
  at Function.Module.runMain (module.js:501:10)
  at startup (node.js:129:16)
  at node.js:814:3

Error message

Hi,
Trying to install on Syonlogy NAS
Logged in as root. Any help?

npm install jtangelder/denon-remote -g
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/local/lib/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
npm ERR! [Error: EACCES: permission denied, access '/usr/local/lib/node_modules'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:

problem with server

Hello,

i had tried your denon-remote and it works well with my denon x2000 if i use cli.
But if i use the server i only get a static page (with status not connected) and this output:

(function() { var Denon, socket; Denon = (function() { return { connect: function(host, port) { return socket.emit('denon.connect', { host: host, port: port }); }, command: function(cmd, params) { return socket.emit('denon.command', { cmd: cmd, params: params || [] }); }, exec: function(cmd, params) { return socket.emit('denon.exec', { cmd: cmd, param: param || "" }); } }; })(); socket = io.connect(); socket.on('connect', function(data) { return Denon.connect('192.168.2.170', 23); }); socket.on('denon.connected', function(data) { console.log('denon.connected!'); $("#data-connected").text("Connected"); Denon.command('power'); Denon.command('input'); Denon.command('volume'); return Denon.command('info'); }); socket.on('denon.response', function(data) { var index, value, _ref, _results; switch (data.cmd) { case 'power': return $("#data-power").text(data.value); case 'input': return $("#data-input").text(data.value); case 'volume': return $("#data-volume").text(data.value); case 'info': _ref = data.value; _results = []; for (index in _ref) { value = _ref[index]; if (index === "0") { $("#data-info").empty(); _results.push($("#data-info-title").text(value)); } else { _results.push($("#data-info").append("" + value + "\n")); } } return _results; break; default: return console.log('response', data); } }); }).call(this);

can you please help?
if you need some informations about module versions let me know.

Custom command doesn't work as expected

The custom command option only sends the first param of a command.

For example:
command PSCINEMA EQ. ? won't send the whole command to the AVR,
instead PSCINEMA will be sent without the rest of the parameters.

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.