Skip to content

Commit b0dfb60

Browse files
committed
v3.5.7
1 parent ec45eed commit b0dfb60

File tree

6 files changed

+17
-8
lines changed

6 files changed

+17
-8
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Yamaha Remote Control Protocol v3.5.5 - for Companion v3/4
1+
## Yamaha Remote Control Protocol v3.5.7 - for Companion v3/4
22

33
**Available for the following Yamaha Pro Audio Devices**
44

@@ -25,7 +25,11 @@ _Andrew Broughton_
2525

2626
**REVISION HISTORY**
2727

28-
3.5.5
28+
3.5.7
29+
30+
- Add Device Label variable
31+
32+
3.5.6
2933

3034
- Fix DM3 mute action
3135

companion/HELP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Yamaha Remote Control Protocol - v3.5.6
1+
## Yamaha Remote Control Protocol - v3.5.7
22

33
Please visit https://discourse.checkcheckonetwo.com for help, discussions, suggestions, etc.
44

companion/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "yamaha-rcp",
44
"shortname": "yamaha-rcp",
55
"description": "yamaha-rcp",
6-
"version": "3.5.6",
6+
"version": "3.5.7",
77
"license": "MIT",
88
"repository": "git+https://github.com/bitfocus/companion-module-yamaha-rcp.git",
99
"bugs": "https://discourse.checkcheckonetwo.com",

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Control module for Yamaha Pro Audio digital mixers
22
// Andrew Broughton <andy@checkcheckonetwo.com>
3-
// Mat 2025 Version 3.5.6 (for Companion v3/v4)
3+
// Apr 2025 Version 3.5.7 (for Companion v3/v4)
44

55
const { InstanceBase, Regex, runEntrypoint, combineRgb, TCPHelper } = require('@companion-module/base')
66

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"legacy": [
44
"yamaha-scp"
55
],
6-
"version": "3.5.6",
6+
"version": "3.5.7",
77
"main": "index.js",
88
"scripts": {
99
"postinstall": "husky",

variables.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module.exports = {
22
initVars: (instance) => {
33
instance.variables = [
44
{ variableId: 'modelName', name: 'Device Model Name' },
5+
{ variableId: 'deviceName', name: 'Device Label' },
56
{ variableId: 'runMode', name: 'Device Run Mode' },
67
]
78
if (!['TF', 'DM3', 'DM7'].includes(config.model)) {
@@ -64,7 +65,8 @@ module.exports = {
6465
// Get info from a connected console
6566
getVars: (instance) => {
6667
instance.sendCmd('devinfo productname') // Request Device Model
67-
instance.sendCmd('devstatus runmode') // Request Run Mode
68+
instance.sendCmd('devinfo devicename') // Request Device Label
69+
instance.sendCmd('devstatus runmode') // Request Run Mode
6870
if (!['TF', 'DM3', 'DM7'].includes(config.model)) instance.sendCmd('devstatus error') // Request error status
6971

7072
switch (config.model) {
@@ -101,7 +103,10 @@ module.exports = {
101103
}
102104
instance.setVariableValues({ modelName: msg.Val })
103105
break
104-
}
106+
case 'devicename':
107+
instance.setVariableValues({ deviceName: msg.Val })
108+
break
109+
}
105110
break
106111
}
107112
case 'devstatus': {

0 commit comments

Comments
 (0)