Comments (10)
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.
@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.
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.
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.
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.
_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.
@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.
@thomasnordquist you are right, on _onExit routine one have to disable event listeners with off
routine.
from node-red-contrib-denon.
@thmeger Current link: https://node-red.slack.com/files/U7SHD5JH4/F9Z9Y2E94/restart_loop.txt is not available without authentication.
from node-red-contrib-denon.
Fixed with: 2c4cf0e
from node-red-contrib-denon.
Related Issues (14)
- Is it working ? HOT 1
- Have to redeploy before commands come through again on my denon HOT 3
- Better examples for readme
- Security Issues when installing
- Can't install
- Denon-In HOT 2
- Installation fails on Ubuntu 22.04 HOT 1
- TypeError: callback is not a function HOT 15
- install error windows 10 HOT 2
- How to get status of AVR - command like PW? HOT 5
- peerinvalid Peer [email protected] wants marked@^0.3.3 HOT 2
- just noticed how to switch on /off Denon
- telnet connection to Denon receiver times out HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-denon.