]> git.basschouten.com Git - openhab-addons.git/commitdiff
[onkyo] HT-RC440 added (#13082)
authorMarkus Michels <markus7017@gmail.com>
Sun, 17 Jul 2022 14:48:00 +0000 (16:48 +0200)
committerGitHub <noreply@github.com>
Sun, 17 Jul 2022 14:48:00 +0000 (16:48 +0200)
* HT-RC440 added

Signed-off-by: Markus Michels <markus7017@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/ht-rc440.xml [new file with mode: 0644]

index ecf255a5cff5bdc26c890236718a407f23ba8eb1..a05d0285304005e2361bd9cf77de601d94894215 100644 (file)
@@ -16,6 +16,7 @@ All supported Onkyo devices are registered as an audio sink in the framework.
 This binding can discover the supported Onkyo AV receivers.
 At the moment only the following models are supported:
 
+-   HT-RC440
 -   HT-RC560
 -   TX-NR414
 -   TX-NR474
index 91f04182aab0d74eeea4a46e402f3b1df1cdf2b5..3486a2c4cc22a63e1e6b460c30fef5e014af39bc 100644 (file)
@@ -24,6 +24,7 @@ public enum OnkyoModel {
 
     // Please also add new supported models to README.md
 
+    HT_RC440("HT-RC440"),
     HT_RC560("HT-RC560"),
     TX_NR414("TX-NR414"),
     TX_NR474("TX-NR474"),
index 9f76633da0b92e2ef79ba0c9e36e54c952fc2a75..5dc56ceea22a44af9aeeb6552f53b7bd65a92a27 100644 (file)
@@ -10,6 +10,8 @@ binding.config.onkyo.callbackUrl.description = url to use for playing notificati
 
 # thing types
 
+thing-type.onkyo.HT-RC440.label = Onkyo HT-RC440 AV Receiver
+thing-type.onkyo.HT-RC440.description = Network enabled Onkyo AV Receiver
 thing-type.onkyo.HT-RC560.label = Onkyo HT-RC560 AV Receiver
 thing-type.onkyo.HT-RC560.description = Network enabled Onkyo AV Receiver
 thing-type.onkyo.TX-NR3007.label = Onkyo TX-NR3007 AV Receiver
diff --git a/bundles/org.openhab.binding.onkyo/src/main/resources/OH-INF/thing/ht-rc440.xml b/bundles/org.openhab.binding.onkyo/src/main/resources/OH-INF/thing/ht-rc440.xml
new file mode 100644 (file)
index 0000000..0a7a3ca
--- /dev/null
@@ -0,0 +1,22 @@
+<?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="HT-RC440">
+               <label>Onkyo HT-RC440 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-group typeId="information" id="info"/>
+               </channel-groups>
+
+               <config-description-ref uri="thing-type:onkyo:config"/>
+       </thing-type>
+
+</thing:thing-descriptions>