]> git.basschouten.com Git - openhab-addons.git/commitdiff
[onkyo] Add support for TX-NR609 (#12067)
authorMatt Filetto <matt.filetto@gmail.com>
Wed, 19 Jan 2022 17:15:22 +0000 (09:15 -0800)
committerGitHub <noreply@github.com>
Wed, 19 Jan 2022 17:15:22 +0000 (18:15 +0100)
* binding: [onkyo]: add TX-NR609
* Basically a 616 but with some THX Listening Modes not on other models
* [onkyo]: add "PLIIx Music + THX Music" Listening Mode

Signed-off-by: Matt Filetto <matt.filetto@gmail.com>
bundles/org.openhab.binding.onkyo/README.md
bundles/org.openhab.binding.onkyo/src/main/java/org/openhab/binding/onkyo/internal/OnkyoModel.java
bundles/org.openhab.binding.onkyo/src/main/resources/OH-INF/i18n/onkyo.properties
bundles/org.openhab.binding.onkyo/src/main/resources/OH-INF/thing/channels.xml
bundles/org.openhab.binding.onkyo/src/main/resources/OH-INF/thing/tx-nr609.xml [new file with mode: 0644]

index 3fa7112f8352fa4ce475a7538989924b6fc6872f..ceb36e08742e4b72defcd51f60375e79ef15cf4f 100644 (file)
@@ -27,6 +27,7 @@ At the moment only the following models are supported:
 -   TX-NR555
 -   TX-NR575
 -   TX-NR575E
+    TX-NR609
 -   TX-NR616
 -   TX-NR626
 -   TX-NR636
index f09ed20bbe66ec88d4c58ef9baad23bedbbc191a..ba31e84a398a1360ec0c23ea94bd563c6d8d0066 100644 (file)
@@ -35,6 +35,7 @@ public enum OnkyoModel {
     TX_NR555("TX-NR555"),
     TX_NR575("TX-NR575"),
     TX_NR575E("TX-NR575E"),
+    TX_NR609("TX-NR609"),
     TX_NR616("TX-NR616"),
     TX_NR626("TX-NR626"),
     TX_NR636("TX-NR636"),
index 654c7f27a2d655b5e88e17910429296a1636fdba..cffec79efc5e3a8bf56d8426f1f25118c9d756ad 100644 (file)
@@ -34,6 +34,8 @@ thing-type.onkyo.TX-NR575.label = Onkyo TX-NR575 AV Receiver
 thing-type.onkyo.TX-NR575.description = Network enabled Onkyo AV Receiver
 thing-type.onkyo.TX-NR575E.label = Onkyo TX-NR575E AV Receiver
 thing-type.onkyo.TX-NR575E.description = Network enabled Onkyo AV Receiver
+thing-type.onkyo.TX-NR609.label = Onkyo TX-NR609 AV Receiver
+thing-type.onkyo.TX-NR609.description = Network enabled Onkyo AV Receiver
 thing-type.onkyo.TX-NR616.label = Onkyo TX-NR616 AV Receiver
 thing-type.onkyo.TX-NR616.description = Network enabled Onkyo AV Receiver
 thing-type.onkyo.TX-NR626.label = Onkyo TX-NR626 AV Receiver
@@ -194,6 +196,7 @@ channel-type.onkyo.listenmode.state.option.129 = PLII/PLIIx Music
 channel-type.onkyo.listenmode.state.option.130 = Neo 6/Neo:X Cinema + DTS:X/Neural:X
 channel-type.onkyo.listenmode.state.option.131 = Neo 6/Neo:X Music
 channel-type.onkyo.listenmode.state.option.134 = PLII/PLIIx Game
+channel-type.onkyo.listenmode.state.option.139 = PLII/PLIIx Music + THX Music
 channel-type.onkyo.listenmode.state.option.160 = PLIIx/PLII Movie + Audyssey DSX
 channel-type.onkyo.listenmode.state.option.161 = PLIIx/PLII Music + Audyssey DSX
 channel-type.onkyo.listenmode.state.option.162 = PLIIx/PLII Game + Audyssey DSX
index 5ba983b94a65f0349c4ab38adec8125ce83f5a27..d3d2d490f788777d56645d667cecf3a492140de4 100644 (file)
@@ -92,6 +92,7 @@
                                <option value="130">Neo 6/Neo:X Cinema + DTS:X/Neural:X</option>
                                <option value="131">Neo 6/Neo:X Music</option>
                                <option value="134">PLII/PLIIx Game</option>
+                               <option value="139">PLII/PLIIx Music + THX Music</option>
                                <option value="160">PLIIx/PLII Movie + Audyssey DSX</option>
                                <option value="161">PLIIx/PLII Music + Audyssey DSX</option>
                                <option value="162">PLIIx/PLII Game + Audyssey DSX</option>
diff --git a/bundles/org.openhab.binding.onkyo/src/main/resources/OH-INF/thing/tx-nr609.xml b/bundles/org.openhab.binding.onkyo/src/main/resources/OH-INF/thing/tx-nr609.xml
new file mode 100644 (file)
index 0000000..e6d653f
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<thing:thing-descriptions bindingId="onkyo"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
+       xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
+
+       <thing-type id="TX-NR609">
+               <label>Onkyo TX-NR609 AV Receiver</label>
+               <description>Network enabled Onkyo AV Receiver</description>
+
+               <channel-groups>
+                       <channel-group typeId="zone1Controls" id="zone1"/>
+                       <channel-group typeId="zone2Controls" id="zone2"/>
+                       <channel-group typeId="playerControls" id="player"/>
+                       <channel-group typeId="netMenuControls" id="netmenu"/>
+               </channel-groups>
+
+               <config-description-ref uri="thing-type:onkyo:config"/>
+       </thing-type>
+
+</thing:thing-descriptions>