Git Product home page Git Product logo

node-red-contrib-denon's Issues

Installation fails on Ubuntu 22.04

I have the node running on a NR installation that runs on Ubuntu 20.04.LTS without any issue. I am now trying to install it on a NR that I run on Ubuntu 22.04 and it won't install. The error message says NPM can't find a certain file.

2022-12-23T19:45:26.371Z Install : node-red-contrib-denon 0.1.5

2022-12-23T19:45:26.560Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected]
2022-12-23T19:45:26.905Z [err] npm
2022-12-23T19:45:26.905Z [err] WARN config
2022-12-23T19:45:26.905Z [err] production Use --omit=dev instead.
2022-12-23T19:45:27.273Z [err] npm
2022-12-23T19:45:27.273Z [err] ERR! code ENOENT
2022-12-23T19:45:27.273Z [err] npm
2022-12-23T19:45:27.274Z [err] ERR! syscall
2022-12-23T19:45:27.274Z [err] spawn git
2022-12-23T19:45:27.274Z [err] npm ERR!
2022-12-23T19:45:27.274Z [err] path git
2022-12-23T19:45:27.274Z [err] npm ERR! errno -2
2022-12-23T19:45:27.275Z [err] npm ERR! enoent An unknown git error occurred
2022-12-23T19:45:27.275Z [err] npm ERR! enoent This is related to npm not being able to find a file.
2022-12-23T19:45:27.275Z [err] npm
2022-12-23T19:45:27.275Z [err] ERR! enoent
2022-12-23T19:45:27.276Z [err]
2022-12-23T19:45:27.277Z [err] npm ERR! A complete log of this run can be found in:
2022-12-23T19:45:27.277Z [err] npm ERR!

just noticed how to switch on /off Denon

HiI have in log constant errors like timeout or session close. For this reaason i'll uload directly tcp packet on port 23.
I just need to switch on or off the amplifer, by now, it would be nice to have in future a command sequence with delay to obtain results.
In my case i have power on sending PWON
power off:
Z3OFF
delay
Z2OFF
delay
ZMOFF

install error windows 10

Hello,

I am really happy with node red on windows 10 (runned as a service) with google home node. I try to run this denon node from "manage pallet" in node red but it fails so i try to run it with powershell and get these:

npm install node-red-contrib-denon
npm : npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\user\package.json'
At line:1 char:1
+ npm install node-red-contrib-denon
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (npm WARN saveEr...l\package.json':String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
npm
 
WARN
 
enoent ENOENT: no such file or directory, open 'C:\Users\user\package.json'
npm WARN user No description
npm WARN user No repository field.
npm WARN user No README data
npm WARN user No license field.

after some tinkering

npm install node-red-contrib-denon
npm : npm WARN [email protected] No repository field.
At line:1 char:1
+ npm install node-red-contrib-denon
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (npm WARN node-r...pository field.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
npm
 
WARN
 [email protected] No license field.

any help appreciated, thanks a lot

Security Issues when installing

found 5 vulnerabilities (2 low, 3 high) in 131 scanned packages
5 vulnerabilities require manual review. See the full report for details

Package: lodash
Path: node-red-contrib-denon > machina > lodash

So update machina version to newer version and check again.

TypeError: callback is not a function

It seems to be able to control my AVR-X1000, but now Node Red running under Raspbian keeps crashing and restarting.

7 Nov 23:41:39 - [red] Uncaught Exception:
7 Nov 23:41:39 - TypeError: callback is not a function
at Object.callback (/home/pi/.node-red/node_modules/denon-avr/lib/app.js:197:7)
at Object.callbackInner (/home/pi/.node-red/node_modules/denon-avr/lib/telnet.js:106:29)
at handleQueue (/home/pi/.node-red/node_modules/denon-avr/lib/telnet.js:80:17)
at Timeout. (/home/pi/.node-red/node_modules/denon-avr/lib/telnet.js:118:5)
at ontimeout (timers.js:471:11)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Unit entered failed state.
nodered.service: Failed with result 'exit-code'.
nodered.service: Service hold-off time over, scheduling restart.

Update: I realize this is probably due to me sending an invalid command to the Denon. I'm trying to select the optical input, but the commands from the PDF don't seem to do it

The denon-in node doesn't pick up anything at all from the AVR, so I'm flying blind. (Update 2: turned out the correct command was SIMPLAY, for Media PLAYer).

Denon-In

Hi,

I'm trying to use the 'denon-in' node but nothing happens. I just connected a debug node to it (with complete msg) but I would like to be able to receive 'notification' when the source is changed on my Denon receiver.

Thought this would be possible using the 'denon-in' node.
Thanks for your help.

Error in Node causes a restart of Node-RED

My denon test flow caused a restart-loop of Node-RED.
https://node-red.slack.com/files/U7SHD5JH4/F9Z9Y2E94/restart_loop.txt

[{"id":"593de943.9479b","type":"inject","z":"8fed475e.a2775","name":"Denon Standy","topic":"Denon ","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":586.031494140625,"y":75.01693725585938,"wires":[["bd627d63.4bc63"]]},{"id":"bd627d63.4bc63","type":"denon-out","z":"8fed475e.a2775","name":"","controller":"a63d4fe.123643","unit_number":"1","output":"1","denoncommand":"PWSTANDBY","x":757.36669921875,"y":77,"wires":[]},{"id":"189295c8.cf652a","type":"denon-in","z":"8fed475e.a2775","name":"","controller":"a63d4fe.123643","x":309.3666687011719,"y":235.25,"wires":[["b1341fdb.0cdce"]]},{"id":"b1341fdb.0cdce","type":"debug","z":"8fed475e.a2775","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":543.36669921875,"y":233.5,"wires":[]},{"id":"497c8b48.dd18d4","type":"inject","z":"8fed475e.a2775","name":"USB","topic":"Denon","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":573.75,"y":134.75,"wires":[["2c0a668a.b5d5ca"]]},{"id":"2c0a668a.b5d5ca","type":"denon-out","z":"8fed475e.a2775","name":"","controller":"a63d4fe.123643","unit_number":"1","output":"1","denoncommand":"SINET/USB","x":776.085205078125,"y":134.73306274414062,"wires":[]},{"id":"7fe0713d.ed7b3","type":"inject","z":"8fed475e.a2775","name":"Denon On","topic":"Denon","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":569.75,"y":31.75,"wires":[["fb492b2f.72c2b"]]},{"id":"fb492b2f.72c2b","type":"denon-out","z":"8fed475e.a2775","name":"","controller":"a63d4fe.123643","unit_number":"1","output":"1","denoncommand":"PWON","x":751.085205078125,"y":33.733062744140625,"wires":[]},{"id":"68a69633.c24a88","type":"inject","z":"8fed475e.a2775","name":"USB","topic":"Denon","payload":"{\"topic\":\"SetVolumeDB\",\"payload\":-60.5}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":580.75,"y":182.75,"wires":[["12cc2bd6.b71b54"]]},{"id":"12cc2bd6.b71b54","type":"denon-out","z":"8fed475e.a2775","name":"","controller":"a63d4fe.123643","unit_number":"1","output":"1","denoncommand":"SIIRADIO","x":783.085205078125,"y":182.73306274414062,"wires":[]},{"id":"a63d4fe.123643","type":"denon-controller","z":"","name":"Denen x2400H","host":"192.168.178.24","port":"23"}]

`29 Mar 21:07:28 - [red] Uncaught Exception:

29 Mar 21:07:28 - 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)

at constructor.transition (/home/pi/.node-red/node_modules/machina/lib/machina.js:414:26)

at constructor.Fsm.(anonymous function) [as transition] (/home/pi/.node-red/node_modules/machina/lib/machina.js:580:60)

at constructor. (/home/pi/.node-red/node_modules/node-red-contrib-denon/lib/connectionFSM.js:114:34)

at ontimeout (timers.js:386:11)`

How to get status of AVR - command like PW?

How to get status of AVR - command like PW?

When I inject PW? in a string to denon-out node where I can get the result? .. tried to put denon-in and debug but nothing happened

Better examples for readme

I suggest adding better examples to the readme

From AVR3312CI_AVR3312_PROTOCOL_V7.6.0.pdf, starting at page 7, if you use the Example column minus in the denon-out node command field, it seems like you can send any command to the denon in a flow.

From page 11, if I send a command of MSPURE DIRECT then my Denon X4500H goes into direct sound mode. Command of MSDOLBY DIGITAL and it goes into Dolby Digital mode

From page 8, if I send command of SIDVD then Denon selects input source DVD
SICD selects CD for source, etc.

I've also tried the zone 2 and 3 commands, and they will work this way.

This make is easy to put the commands in a flow. I made a flow to turn on the Denon, wait a second, set source to CD and set sound mode to MSPURE DIRECT.

It would be more convenient if the out node had an output so you could link commands and send them sequentially.

For installation, you should add that you need git installed as a dependency.

Have to redeploy before commands come through again on my denon

Dear Community,

For some reason my node red commands does not come through any more on my denon.
What's weird is that it still detects when the denon is online, while commands not work anymore.

Whenever this happens and I send a redeploy it works again till the next time.

telnet connection to Denon receiver times out

Hello,

I always experience the following problem:
I use the "Denon out" node to send certain commands to my Denon AVRX1200WBKE2.
This works fine, but the connection seems to time out after some time. The node is still in "connected" state, but commands are not received anymore by the receiver.
Also when I connect via telnet to the receiver during that time, the connection is possible. Normally its blocked by nodered. This also shows, that the connection got dropped somehow without nodered noticing it. When I restart nodered, then the connection is made again and commands come through.

This is annoying, because when I come home and want to control my receiver via nodered, its not working because of this timeout.

Is this a known issue or do I do something wrong?

If I can collect some logfiles, It would be nice if someone has a link to a short intro how that works.

Thanks in advance and
best regards!

Can't install


2022-05-28T12:29:50.824Z installieren : node-red-denon-main.tgz


2022-05-28T12:30:30.558Z installieren : node-red-contrib-denon 0.1.5

2022-05-28T12:30:30.671Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2022-05-28T12:30:39.190Z [err] npm
2022-05-28T12:30:39.191Z [err] ERR! code 128
2022-05-28T12:30:39.204Z [err] npm ERR!
2022-05-28T12:30:39.205Z [err] command failed
2022-05-28T12:30:39.205Z [err] npm ERR! command
2022-05-28T12:30:39.205Z [err] git ls-remote ssh://[email protected]/estbeetoo/denon-avr.git
2022-05-28T12:30:39.205Z [err] npm ERR! Host key verification failed.
2022-05-28T12:30:39.205Z [err] npm
2022-05-28T12:30:39.205Z [err] ERR! fatal: Could not read from remote repository.
2022-05-28T12:30:39.205Z [err] npm ERR!
2022-05-28T12:30:39.206Z [err]
2022-05-28T12:30:39.206Z [err] npm ERR! Please make sure you have the correct access rights
2022-05-28T12:30:39.206Z [err] npm ERR! and the repository exists.
2022-05-28T12:30:39.251Z [err]
2022-05-28T12:30:39.251Z [err] npm ERR! A complete log of this run can be found in:
2022-05-28T12:30:39.251Z [err] npm ERR! /usr/local/addons/redmatic/var/npm-cache/_logs/2022-05-28T12_30_39_209Z-debug.log
2022-05-28T12:30:39.298Z rc=128

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.