Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not change inputs #4

Open
ralbright-wa opened this issue May 6, 2021 · 7 comments
Open

Does not change inputs #4

ralbright-wa opened this issue May 6, 2021 · 7 comments

Comments

@ralbright-wa
Copy link

I am trying to get node-red to change the inputs on my Epson PowerLite 93, but the only thing it will do is go to Computer1 (Auto), despite having inputs plugged in for both HDMI and Computer 1.

I am using a template node to send {"setinput": {"source": 3, "channel": 2}}
Which when I have manually changed to HDMI, and then use getinput, this is the information that is returned: {"source":3,"channel":2,"code":"32","name":"DIGITAL - 2"}

On Computer1, the information returned is: {"source":1,"channel":1,"code":"11","name":"RGB - 1"}

Thoughts ideas?

@natcl
Copy link
Owner

natcl commented May 6, 2021

Hello,
There was a typo in the documentation.
If you send {"source": 3, "channel": 2}
Without the setinput it will work.

@ralbright-wa
Copy link
Author

ralbright-wa commented May 6, 2021

I took the example coding, modified it accordingly and I get an error "192.168.2.136:4352 Error: Out of parameter"

[{"id":"5c4e7429.a3b18c","type":"debug","z":"d95b0afa.be2258","name":"Error","active":true,"console":"false","complete":"payload","x":510,"y":360,"wires":[]},{"id":"a52c29e3.5ad3d8","type":"pjlink","z":"d95b0afa.be2258","ip":"192.168.2.136","port":4352,"name":"","x":370,"y":340,"wires":[["ae736301.518ca"],["5c4e7429.a3b18c"]]},{"id":"ae736301.518ca","type":"debug","z":"d95b0afa.be2258","name":"Out","active":true,"console":"false","complete":"payload","x":510,"y":320,"wires":[]},{"id":"ecf62a9a.1309d8","type":"template","z":"d95b0afa.be2258","name":"Set input","field":"payload","fieldType":"msg","syntax":"mustache","template":"{\"source\": 4, \"channel\": 2}","x":520,"y":620,"wires":[["a3c3d3d9.5c3c3"]]},{"id":"494f3bc0.b6b0c4","type":"inject","z":"d95b0afa.be2258","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"","topic":"","payload":"","payloadType":"str","x":394,"y":620,"wires":[["ecf62a9a.1309d8"]]},{"id":"a3c3d3d9.5c3c3","type":"json","z":"d95b0afa.be2258","name":"","property":"payload","action":"","pretty":false,"x":654,"y":620,"wires":[["a52c29e3.5ad3d8","a9d0eb2f.6da068"]]},{"id":"a9d0eb2f.6da068","type":"debug","z":"d95b0afa.be2258","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1130,"y":580,"wires":[]}]

@ralbright-wa
Copy link
Author

ralbright-wa commented May 6, 2021

Hello,
There was a typo in the documentation.
If you send {"source": 3, "channel": 2}
Without the setinput it will work.

Can you send me a flow for this? I am needing to use input code 42. {"source": 4, "channel": 2}. but when I send it, the projector ONLY stays on Computer 1. Projector is an Epson Powerlite 93+, so it is compatible with PJLink

@natcl
Copy link
Owner

natcl commented May 6, 2021

That's the projector telling you the parameters are not valid.
are you sure it's 4 and 2 ?

@andypnz
Copy link

andypnz commented Aug 25, 2022

Great node! And removing the "setiput" allows the set input command to work.....

@natcl
Copy link
Owner

natcl commented Aug 31, 2022

Can you clarify the fix you made ?

@andypnz
Copy link

andypnz commented Aug 31, 2022

your own post from May 2021 let me use the set input command….

#4 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants