Git Product home page Git Product logo

Comments (10)

Barabba11 avatar Barabba11 commented on August 10, 2024 1

I had some problems using this node, I uninstalled it and I send directly by TCP on port 23 the string the TV understand as command. It works correctly

from node-red-contrib-denon.

aborovsky avatar aborovsky commented on August 10, 2024

@thmeger Thank you for reporting! Does you denon device 192.168.178.24 is available? Do you able to connect to host with port 23?

from node-red-contrib-denon.

thmeger avatar thmeger commented on August 10, 2024

Yes. Controlling the device on that IP and Port 23 works. I do that directly from the Loxone Miniserver. tcp://ip:23/...

from node-red-contrib-denon.

bondar avatar bondar commented on August 10, 2024

Happens to me as well... Didn't take a look at the logs.
Also I had to install denon-avr and machina - this is not part of the instructions...
Could it be the reason for the restarts? maybe we're using a later library that has different API?

from node-red-contrib-denon.

thomasnordquist avatar thomasnordquist commented on August 10, 2024

The title should be Error in Node causes node-red to crash.
Same trace

TypeError: this.connection.getConnection(...).off is not a function

at constructor._onExit (/home/pi/.node-red/node_modules/node-red-contrib-denon/lib/connectionFSM.js:120:57)

Crashes every 60 seconds.

from node-red-contrib-denon.

kaui avatar kaui commented on August 10, 2024

_onExit: function () { clearTimeout(this.pingTimer); this.connection.getConnection().off('data', receiveData); }

.off is not defined, thats true. You need to change it to .on().
E.g:

_onExit: function () { clearTimeout(this.pingTimer); this.connection.getConnection().on('data', receiveData); }

from node-red-contrib-denon.

thomasnordquist avatar thomasnordquist commented on August 10, 2024

@kaui from a contextual standpoint your assertion appears to be nonsense.
onExit should clean up EventEmitters instead of leaking the same reference twice.

from node-red-contrib-denon.

aborovsky avatar aborovsky commented on August 10, 2024

@thomasnordquist you are right, on _onExit routine one have to disable event listeners with off routine.

from node-red-contrib-denon.

aborovsky avatar aborovsky commented on August 10, 2024

@thmeger Current link: https://node-red.slack.com/files/U7SHD5JH4/F9Z9Y2E94/restart_loop.txt is not available without authentication.

from node-red-contrib-denon.

aborovsky avatar aborovsky commented on August 10, 2024

Fixed with: 2c4cf0e

from node-red-contrib-denon.

Related Issues (14)

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.