node-red-contrib-pjlink
Version:
A PJLink node for Node-RED
39 lines (28 loc) • 830 B
Markdown
# node-red-contrib-pjlink
A PJLink node for Node-RED
## Installation
```bash
npm install node-red-contrib-pjlink
```
## Usage
You can send the following commands as a text string in <code>msg.payload</code>
- on
- off
- muteon
- muteoff
- getmute
- getname
- getmanufacturer
- getmodel
- getlamps
- getinputs
- getinput
- getinfo
- getpowerstate
- getclass
- geterrors
You can also set the inputs by sending this object as <code>msg.payload</code>
<code>{"source": 3, "channel": 3}</code>
PJLink specfic errors will be sent to the second output.
You can connect to multiple projectors with the same object by specifying `msg.host`, `msg.port` and `msg.password` In this mode the status will not be shown.
See <a href="http://flows.nodered.org/flow/f9b28307c3841f6ef1e6">this flow </a>for an example of all the commands.