Git Product home page Git Product logo

node-red-contrib-eiscp's People

Contributors

aborovsky avatar bendamat avatar jakob-gliwa avatar kedzior-io avatar onokje avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-red-contrib-eiscp's Issues

Only one AVR device possible

First I would like to say I happy with this, because it is only EISCP tool I found where it is possible to send out MSG XML letter to the Pioneer MRX-5 and NR555 to connect them via flairconnect.

So I send out sommthing like MGS05000 as the msg.raw payload.

The issue I found out is, that if you have more than one device(controller), the node will everytime send the values to the first controller and not to the other ones. I think/hope that it is no be a big tdeal to fix. Would be nice if you could fix that soon.

My work around is currenty using the onky implentation on the console of my raspberry for the devices where I don't need to send out the multiroom xml stuff.

thanks

uncatchable errors

At first, the flow works fine for me, thank you for your development.

But I cannot find a way to supress the error messages when the device is not reachable. The node spams the debug log every few seconds. I think these error messages are usefull for debugging, but unnecessary when you expect them. The connection can easily be taken from the node state.

Can you please give us the option to supress the connection errors at all or make them at least catchable?

Thank you

input selector to tv does not work

great module. love it.

only thing i cant get to work: set the input to the "TV" aka hdmi with ARC.
i can turn it on and off and change volume and other stuff.
but with payload: "input-selector=Video1" nothing is happening.
i can control my pioneer vsx-933 from the app, wich means it is possible over eiscp to switch to TV input.
i read the commands at https://raw.githubusercontent.com/tillbaks/node-eiscp/master/eiscp-commands.json wich showed me it should be input-selector=Video1
i researched and tried for a couple of hours an only this thing does not work.

am i doing something wrong?

Issue with several receivers

I have in total 3 ONKYO receivers in my network.
Ech of them has an own fixed IP address and an own configured eiscp device.
I built 3 equal flows where the only difference is the eiscp device used.
As long as only the first eiscp devic is activated, this one is working.
But as soon as a second eiscp device is activated even the first is not working anymore.
Hoping this description helps finding the problem.
Thanks in advance!

Release in sync with

Hello @aborovsky ,

I wondering about the difference of this repository vs. release in https://flows.nodered.org/node/node-red-contrib-eiscp.

This repository says update a few Month ago

image

while https://flows.nodered.org/node/node-red-contrib-eiscp telling most current is version: 0.4.0, updated 1 year, 2 months ago.

image

Can you please clarify what is the most current and whether and when you plan to release a version with your most recent changes reflecting this repository.

Thanks in advance!

SIL11 is missing

command: input-selector:strm-box in eiscp-commands.json for SLI11 isnt there.

i add it in this lines:

json
commands
main
SLI
"11": {
"name": "strm-box",
"description": "sets STRM BOX",
"models": "set1"
},
value_mappings
main
SLI
"strm-box": {
"value": "11",
"models": "set1"
},

How to use

How do i exactly use this module, tried to inject Json, string data but nothing works.
Do you have a simple example?

If device is turned off, there is not way to attempts to connect top errors (even if modules are disabled)

Is there a way the code can check if the modules are enabled or not?
image

Even with modules disabled it tries to connect (and fail to the device)

Error: ERROR (server_error) Server error on 192.168.1.75:60128 - Error: connect EHOSTUNREACH 192.168.1.75:60128
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1128:14) {
errno: 'EHOSTUNREACH',
code: 'EHOSTUNREACH',
syscall: 'connect',
address: '192.168.1.75',
port: 60128
}

Issue when having 2 Controllers

Hi,
i have 2 Pioneer MRX-5 which can be controlled over eISCP.
Each of them have a individual IP-address, so i created 2 controllers in nodered.
In the output node, there seems no problem.
But in the input node i get all informations of the eiscp stream, although I have selected a controller.

cant figure out to control Center speaker sound level.

I cant figure out for correct syntax to try and control volume level of the center speaker.
Its a Onkyo TX-NR636

I think its in "Center (temporary) level" command.

I have tried endless combinations but all something like this:
msg = { payload: "center-level=" + msg.payload } return msg;

the msg.payload comes from a slider.

Here is the entire flow:
[{"id":"1bd5b853.d19d78","type":"function","z":"cc5bd9e5.26e4a8","name":"power on","func":"msg.payload = \"system-power=on\",\n\"volume=40\",\n\"input-selector=05\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":600,"y":1020,"wires":[["ec4ed61b.61a9e8"]]},{"id":"ec4ed61b.61a9e8","type":"eiscp-out","z":"cc5bd9e5.26e4a8","name":"Onkyo On","controller":"251c622e.28c96e","x":1040,"y":1140,"wires":[]},{"id":"2a223efa.c5a9b2","type":"function","z":"cc5bd9e5.26e4a8","name":"power off","func":"msg.payload = \"system-power=standby\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":590,"y":1200,"wires":[["ec4ed61b.61a9e8"]]},{"id":"1fcab1b0.1f270e","type":"ui_switch","z":"cc5bd9e5.26e4a8","name":"","label":"","tooltip":"","group":"b95c1e7e.f316f","order":4,"width":"2","height":"1","passthru":true,"decouple":"false","topic":"","style":"","onvalue":"on","onvalueType":"str","onicon":"fa-power-off fa-2x","oncolor":"#82c91e","offvalue":"off","offvalueType":"str","officon":"fa-power-off fa-2x","offcolor":"#0068C2","x":230,"y":1020,"wires":[["536e5e7f.d829e8"]]},{"id":"536e5e7f.d829e8","type":"switch","z":"cc5bd9e5.26e4a8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":390,"y":1020,"wires":[["1bd5b853.d19d78","5b817062.0add58","77a73c99.dcc99c"],["2a223efa.c5a9b2"]]},{"id":"5b817062.0add58","type":"function","z":"cc5bd9e5.26e4a8","name":"volume 35","func":"msg.payload = \"volume=35\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":610,"y":1100,"wires":[["dca231dd.cbdb98"]]},{"id":"77a73c99.dcc99c","type":"function","z":"cc5bd9e5.26e4a8","name":"input-source pc","func":"msg.payload = \"input-selector=pc\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":620,"y":1060,"wires":[["ec4ed61b.61a9e8"]]},{"id":"dca231dd.cbdb98","type":"delay","z":"cc5bd9e5.26e4a8","name":"","pauseType":"delay","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":790,"y":1140,"wires":[["ec4ed61b.61a9e8"]]},{"id":"92f7919.c1271f","type":"ui_slider","z":"cc5bd9e5.26e4a8","name":"","label":"Anlæg lyd","tooltip":"","group":"b95c1e7e.f316f","order":6,"width":0,"height":0,"passthru":true,"outs":"end","topic":"","min":0,"max":"100","step":1,"x":380,"y":1240,"wires":[["5e02c487.a6e72c"]]},{"id":"5e02c487.a6e72c","type":"function","z":"cc5bd9e5.26e4a8","name":"volume","func":"msg = {\npayload: \"volume=\" + msg.payload\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":590,"y":1240,"wires":[["ec4ed61b.61a9e8"]]},{"id":"1dcea16a.dbaa57","type":"function","z":"cc5bd9e5.26e4a8","name":"input-source TV","func":"msg.payload = \"input-selector=CD\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":570,"y":1280,"wires":[["ec4ed61b.61a9e8"]]},{"id":"17d9021d.442dbe","type":"ui_button","z":"cc5bd9e5.26e4a8","name":"","group":"b95c1e7e.f316f","order":9,"width":"3","height":"1","passthru":false,"label":"TV","tooltip":"","color":"","bgcolor":"","icon":"","payload":"on","payloadType":"str","topic":"","x":390,"y":1280,"wires":[["1dcea16a.dbaa57"]]},{"id":"80ce9083.b313","type":"ui_button","z":"cc5bd9e5.26e4a8","name":"","group":"b95c1e7e.f316f","order":11,"width":"3","height":"1","passthru":false,"label":"Radio","tooltip":"","color":"","bgcolor":"","icon":"","payload":"on","payloadType":"str","topic":"","x":380,"y":1090,"wires":[["77a73c99.dcc99c"]]},{"id":"4b9e74f5.e0827c","type":"ui_slider","z":"cc5bd9e5.26e4a8","name":"","label":"Center lyd","tooltip":"","group":"b95c1e7e.f316f","order":7,"width":0,"height":0,"passthru":true,"outs":"end","topic":"","min":0,"max":"100","step":1,"x":370,"y":1430,"wires":[["142000e5.07d20f"]]},{"id":"142000e5.07d20f","type":"function","z":"cc5bd9e5.26e4a8","name":"volume","func":"msg = {\npayload: \"center-level=\" + msg.payload\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":590,"y":1430,"wires":[["ec4ed61b.61a9e8"]]},{"id":"cafc8961.a13e5","type":"ui_button","z":"cc5bd9e5.26e4a8","name":"","group":"b95c1e7e.f316f","order":10,"width":"3","height":"1","passthru":false,"label":"Surround","tooltip":"","color":"","bgcolor":"","icon":"","payload":"on","payloadType":"str","topic":"","x":380,"y":1320,"wires":[["fb224b24.bcb6e8"]]},{"id":"fb224b24.bcb6e8","type":"function","z":"cc5bd9e5.26e4a8","name":"Surround sound","func":"msg.payload = \"listening-mode=SURROUND\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":570,"y":1320,"wires":[["ec4ed61b.61a9e8"]]},{"id":"1dce4f85.80a82","type":"function","z":"cc5bd9e5.26e4a8","name":"all channel stereo","func":"msg.payload = \"listening-mode=ALL-CH-STEREO\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":560,"y":1360,"wires":[["ec4ed61b.61a9e8"]]},{"id":"a7fbceb6.429f48","type":"ui_button","z":"cc5bd9e5.26e4a8","name":"","group":"b95c1e7e.f316f","order":12,"width":"3","height":"1","passthru":false,"label":"All ch. stereo","tooltip":"","color":"","bgcolor":"","icon":"","payload":"on","payloadType":"str","topic":"","x":370,"y":1360,"wires":[["1dce4f85.80a82"]]},{"id":"251c622e.28c96e","type":"eiscp-controller","name":"Onkyo TX-NR636","host":"192.168.0.4","port":"60128","model":"TX-NR636"},{"id":"b95c1e7e.f316f","type":"ui_group","name":"Stue anlæg","tab":"33f57dc0.49190a","order":2,"disp":true,"width":"6","collapse":false},{"id":"33f57dc0.49190a","type":"ui_tab","name":"Radio","icon":"radio","order":5,"disabled":false,"hidden":false}]

Send raw commands to receiver?

This node is working for MOST of the functionality I'm looking for. Great work so far!

I am looking for a way to send raw commands to my receiver. The current source of the EISCP in this node looks to be over 3 years old. I have a 2018 receiver - it would be great to send raw commands to the receiver.

For example instead of sending system-power=on I would like to send PWR01. This may already work but I can't find any documentation on how to send it... Any help would be appreciated!

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.