File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed
Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,14 @@ The authorization 'password' sequence generates a random number used a control t
88
99----------
1010
11- ## ** Available commands for PJLink**
11+ ## ** Available Commands for PJLink**
1212
1313- Power On/Off Projector
1414- AV Mute Projector
1515- Freeze / Unfreeze Input
1616- Change Input (Dynamic Input Names from Projector)
17+ - Speaker Volume Up by 1
18+ - Speaker Volume Down by 1
1719- ** Note:**
1820<br >Class 2 projectors provide actual input names
1921<br >Class 1 Projectors will create generic names based on the input type:
@@ -24,7 +26,7 @@ The authorization 'password' sequence generates a random number used a control t
2426 - 5: Network (HD-BaseT, NDI)
2527 - 6: Internal (Flash memory Logo or still)
2628
27- ## ** Available variables for PJLink**
29+ ## ** Available Variables for PJLink**
2830
2931- Projector Class
3032- Projector Name
@@ -49,7 +51,7 @@ The authorization 'password' sequence generates a random number used a control t
4951- Projector Input
5052- ** Note:** Some variables are only available with Class 2 protocol. These will show as 'N/A' on a Class 1 projector.
5153
52- ## ** Available feedback for PJLink**
54+ ## ** Available Feedback for PJLink**
5355
5456- Error Status
5557- Freeze Status
Original file line number Diff line number Diff line change @@ -713,6 +713,13 @@ class PJInstance extends InstanceBase {
713713 } ,
714714 ] ,
715715 } ,
716+ volumeUp : {
717+ name : 'Speaker Volume - Increase by 1' ,
718+ } ,
719+ volumeDown : {
720+ name : 'Speaker Volume - Decrease by 1' ,
721+ } ,
722+
716723 }
717724 for ( let cmd in actions ) {
718725 actions [ cmd ] . callback = async ( action , context ) => {
@@ -757,6 +764,12 @@ class PJInstance extends InstanceBase {
757764 case 'inputToggle' :
758765 cmd = '%1INPT ' + opt . inputNum
759766 break
767+ case 'volumeUp' :
768+ cmd = '%1SVOL 1'
769+ break
770+ case 'volumeDown' :
771+ cmd = '%1SVOL 0'
772+ break
760773 }
761774
762775 if ( cmd !== null ) {
You can’t perform that action at this time.
0 commit comments