]> git.basschouten.com Git - openhab-addons.git/commitdiff
[onkyo] Add support for TX-NR807 (#13006)
authorNadahar <Nadahar@users.noreply.github.com>
Mon, 27 Jun 2022 14:17:15 +0000 (16:17 +0200)
committerGitHub <noreply@github.com>
Mon, 27 Jun 2022 14:17:15 +0000 (16:17 +0200)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.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/tx-nr807.xml [new file with mode: 0644]

index ceb36e08742e4b72defcd51f60375e79ef15cf4f..ecf255a5cff5bdc26c890236718a407f23ba8eb1 100644 (file)
@@ -41,6 +41,7 @@ At the moment only the following models are supported:
 -   TX-NR737
 -   TX-NR747
 -   TX-NR757
+-   TX-NR807
 -   TX-NR809
 -   TX-NR818
 -   TX-NR828
index ba31e84a398a1360ec0c23ea94bd563c6d8d0066..91f04182aab0d74eeea4a46e402f3b1df1cdf2b5 100644 (file)
@@ -49,6 +49,7 @@ public enum OnkyoModel {
     TX_NR737("TX-NR737"),
     TX_NR747("TX-NR747"),
     TX_NR757("TX-NR757"),
+    TX_NR807("TX-NR807"),
     TX_NR809("TX-NR809"),
     TX_NR818("TX-NR818"),
     TX_NR828("TX-NR828"),
index cffec79efc5e3a8bf56d8426f1f25118c9d756ad..9f76633da0b92e2ef79ba0c9e36e54c952fc2a75 100644 (file)
@@ -60,6 +60,8 @@ thing-type.onkyo.TX-NR737.label = Onkyo TX-NR737 AV Receiver
 thing-type.onkyo.TX-NR737.description = Network enabled Onkyo AV Receiver
 thing-type.onkyo.TX-NR747.label = Onkyo TX-NR747 AV Receiver
 thing-type.onkyo.TX-NR747.description = Network enabled Onkyo AV Receiver
+thing-type.onkyo.TX-NR807.label = Onkyo TX-NR807 AV Receiver
+thing-type.onkyo.TX-NR807.description = Network enabled Onkyo AV Receiver
 thing-type.onkyo.TX-NR809.label = Onkyo TX-NR809 AV Receiver
 thing-type.onkyo.TX-NR809.description = Network enabled Onkyo AV Receivers
 thing-type.onkyo.TX-NR818.label = Onkyo TX-NR818 AV Receiver
diff --git a/bundles/org.openhab.binding.onkyo/src/main/resources/OH-INF/thing/tx-nr807.xml b/bundles/org.openhab.binding.onkyo/src/main/resources/OH-INF/thing/tx-nr807.xml
new file mode 100644 (file)
index 0000000..c988980
--- /dev/null
@@ -0,0 +1,23 @@
+<?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-NR807">
+               <label>Onkyo TX-NR807 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="zone3Controls" id="zone3"/>
+                       <channel-group typeId="playerControls" id="player"/>
+                       <channel-group typeId="netMenuControls" id="netmenu"/>
+                       <channel-group typeId="information" id="info"/>
+               </channel-groups>
+
+               <config-description-ref uri="thing-type:onkyo:config"/>
+       </thing-type>
+
+</thing:thing-descriptions>