[rotel] Extension of amplifier A14's channel list (#12447)

* A14: new channels: tcbypass, balance, speakera and speakerb
* Specific balance set command for models A1x
* Channels added on other models
* In state TCBYPASS ON: 1) Ignore user adjustments on BASS/TREBLE. 2) Reset BASS/TREBLE to 0.

Signed-off-by: Wilhelm Tonsern <wto.wit01@gmx.net>
Also-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
tonwi
2022-03-22 20:48:18 +01:00
committed by GitHub
parent 109ba0ec06
commit b347491d60
20 changed files with 558 additions and 83 deletions

View File

@@ -319,4 +319,5 @@
<description>@text/config.inputLabelMulti.description</description>
</parameter>
</config-description>
</config-description:config-descriptions>

View File

@@ -110,6 +110,14 @@ channel-type.rotel.treble.label = Treble Adjustment
channel-type.rotel.treble.description = Adjust the treble
channel-type.rotel.volumeUpDown.label = Volume
channel-type.rotel.volumeUpDown.description = Increase or decrease the volume
channel-type.rotel.tcbypass.label = Tone Control Bypass
channel-type.rotel.tcbypass.description = The user's bass-/treble-settings are bypassed
channel-type.rotel.balance.label = Balance Adjustment
channel-type.rotel.balance.description = Adjust the speakers left-right balance
channel-type.rotel.speakera.label = Speaker-A Adjustment
channel-type.rotel.speakera.description = Turn on/off the speaker group A
channel-type.rotel.speakerb.label = Speaker-B Adjustment
channel-type.rotel.speakerb.description = Turn on/off the speaker group B
# thing type configuration

View File

@@ -17,6 +17,10 @@
<channel id="bass" typeId="bass"/>
<channel id="treble" typeId="treble"/>
<channel id="brightness" typeId="brightness"/>
<channel id="tcbypass" typeId="tcbypass"/>
<channel id="balance" typeId="balance"/>
<channel id="speakera" typeId="speakera"/>
<channel id="speakerb" typeId="speakerb"/>
</channels>
<properties>

View File

@@ -18,6 +18,10 @@
<channel id="treble" typeId="treble"/>
<channel id="frequency" typeId="frequency"/>
<channel id="brightness" typeId="brightness"/>
<channel id="tcbypass" typeId="tcbypass"/>
<channel id="balance" typeId="balance"/>
<channel id="speakera" typeId="speakera"/>
<channel id="speakerb" typeId="speakerb"/>
</channels>
<properties>

View File

@@ -18,6 +18,10 @@
<channel id="treble" typeId="treble"/>
<channel id="frequency" typeId="frequency"/>
<channel id="brightness" typeId="brightness"/>
<channel id="tcbypass" typeId="tcbypass"/>
<channel id="balance" typeId="balance"/>
<channel id="speakera" typeId="speakera"/>
<channel id="speakerb" typeId="speakerb"/>
</channels>
<properties>

View File

@@ -201,4 +201,27 @@
<description>The backlight brightness level (in %) of the device front panel</description>
</channel-type>
<channel-type id="tcbypass" advanced="true">
<item-type>Switch</item-type>
<label>Tone Control Bypass</label>
<description>The user's bass-/treble-settings are bypassed</description>
</channel-type>
<channel-type id="balance" advanced="true">
<item-type>Number</item-type>
<label>Balance Adjustment</label>
<description>Adjust the speakers left-right balance</description>
</channel-type>
<channel-type id="speakera" advanced="true">
<item-type>Switch</item-type>
<label>Speaker-A Adjustment</label>
<description>Turn on/off the speaker group A</description>
</channel-type>
<channel-type id="speakerb" advanced="true">
<item-type>Switch</item-type>
<label>Speaker-B Adjustment</label>
<description>Turn on/off the speaker group B</description>
</channel-type>
</thing:thing-descriptions>

View File

@@ -19,6 +19,8 @@
<channel id="playControl" typeId="system.media-control"/>
<channel id="frequency" typeId="frequency"/>
<channel id="brightness" typeId="brightness"/>
<channel id="tcbypass" typeId="tcbypass"/>
<channel id="balance" typeId="balance"/>
</channels>
<properties>

View File

@@ -19,6 +19,8 @@
<channel id="playControl" typeId="system.media-control"/>
<channel id="frequency" typeId="frequency"/>
<channel id="brightness" typeId="brightness"/>
<channel id="tcbypass" typeId="tcbypass"/>
<channel id="balance" typeId="balance"/>
</channels>
<properties>

View File

@@ -19,6 +19,10 @@
<channel id="playControl" typeId="system.media-control"/>
<channel id="frequency" typeId="frequency"/>
<channel id="brightness" typeId="brightness"/>
<channel id="tcbypass" typeId="tcbypass"/>
<channel id="balance" typeId="balance"/>
<channel id="speakera" typeId="speakera"/>
<channel id="speakerb" typeId="speakerb"/>
</channels>
<properties>

View File

@@ -18,6 +18,10 @@
<channel id="treble" typeId="treble"/>
<channel id="frequency" typeId="frequency"/>
<channel id="brightness" typeId="brightness"/>
<channel id="tcbypass" typeId="tcbypass"/>
<channel id="balance" typeId="balance"/>
<channel id="speakera" typeId="speakera"/>
<channel id="speakerb" typeId="speakerb"/>
</channels>
<config-description-ref uri="thing-type:rotel:serialandipandprotocol"/>

View File

@@ -18,6 +18,10 @@
<channel id="treble" typeId="treble"/>
<channel id="frequency" typeId="frequency"/>
<channel id="brightness" typeId="brightness"/>
<channel id="tcbypass" typeId="tcbypass"/>
<channel id="balance" typeId="balance"/>
<channel id="speakera" typeId="speakera"/>
<channel id="speakerb" typeId="speakerb"/>
</channels>
<config-description-ref uri="thing-type:rotel:serialandipandprotocol"/>

View File

@@ -19,6 +19,8 @@
<channel id="playControl" typeId="system.media-control"/>
<channel id="frequency" typeId="frequency"/>
<channel id="brightness" typeId="brightness"/>
<channel id="tcbypass" typeId="tcbypass"/>
<channel id="balance" typeId="balance"/>
</channels>
<properties>

View File

@@ -18,6 +18,8 @@
<channel id="treble" typeId="treble"/>
<channel id="frequency" typeId="frequency"/>
<channel id="brightness" typeId="brightness"/>
<channel id="tcbypass" typeId="tcbypass"/>
<channel id="balance" typeId="balance"/>
</channels>
<config-description-ref uri="thing-type:rotel:serialandipandprotocol"/>

View File

@@ -18,6 +18,8 @@
<channel id="treble" typeId="treble"/>
<channel id="frequency" typeId="frequency"/>
<channel id="brightness" typeId="brightness"/>
<channel id="tcbypass" typeId="tcbypass"/>
<channel id="balance" typeId="balance"/>
</channels>
<config-description-ref uri="thing-type:rotel:serialandipandprotocol"/>