From 60c199c9c995c529f6d09989c4b42ef1f2000133 Mon Sep 17 00:00:00 2001 From: James Hewitt Date: Sat, 19 Jun 2021 07:51:22 +0100 Subject: [PATCH] [rfxcom] Add support for additional blinds (#10877) Based on the RFXtrx SDK, new blind types. They mostly seem to match existing logic, so this shouldn't break existing things. Signed-off-by: James Hewitt --- bundles/org.openhab.binding.rfxcom/README.md | 17 +++++++++++--- .../messages/RFXComBlinds1Message.java | 22 ++++++++++++------- .../main/resources/OH-INF/thing/blinds1.xml | 13 ++++++++++- 3 files changed, 40 insertions(+), 12 deletions(-) diff --git a/bundles/org.openhab.binding.rfxcom/README.md b/bundles/org.openhab.binding.rfxcom/README.md index b82ae0dc82c..30685dc1c66 100644 --- a/bundles/org.openhab.binding.rfxcom/README.md +++ b/bundles/org.openhab.binding.rfxcom/README.md @@ -265,7 +265,7 @@ A BBQ Temperature device ### blinds1 - RFXCOM Blinds1 Actuator -A Blinds1 device +A Blinds1 device. Not all blinds support all commands. #### Channels @@ -291,11 +291,22 @@ A Blinds1 device * T2 - A-OK RF01 * T3 - A-OK AC114/AC123 * T4 - Raex YR1326 - * T5 - Media Mount - * T6 - DC106/Rohrmotor24-RMF/Yooda + * T5 - Media Mount (warning - directions reversed) + * T6 - DC106/Rohrmotor24-RMF/Yooda/Dooya/ESMO/Brel/Quitidom * T7 - Forest * T8 - Chamberlain CS4330CN + * T9 - Sunpery/BTX + * T10 - Dolat DLM-1, Topstar * T11 - ASP + * T12 - Confexx CNF24-2435 + * T13 - Screenline + * T14 - Hualite + * T15 - Motostar + * T16 - Zemismart + * T17 - Gaposa + * T18 - Cherubini + * T19 - Louvolite One Touch Vogue motor + * T20 - OZRoll ### chime - RFXCOM Chime diff --git a/bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/messages/RFXComBlinds1Message.java b/bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/messages/RFXComBlinds1Message.java index caa8db85392..11aa77bdbb3 100644 --- a/bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/messages/RFXComBlinds1Message.java +++ b/bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/messages/RFXComBlinds1Message.java @@ -36,20 +36,26 @@ public class RFXComBlinds1Message extends RFXComBatteryDeviceMessage> 4; unitCode = (byte) (data[7] & 0x0F); } else { diff --git a/bundles/org.openhab.binding.rfxcom/src/main/resources/OH-INF/thing/blinds1.xml b/bundles/org.openhab.binding.rfxcom/src/main/resources/OH-INF/thing/blinds1.xml index d38ea8657c9..4d9518db0fd 100644 --- a/bundles/org.openhab.binding.rfxcom/src/main/resources/OH-INF/thing/blinds1.xml +++ b/bundles/org.openhab.binding.rfxcom/src/main/resources/OH-INF/thing/blinds1.xml @@ -38,10 +38,21 @@ - + + + + + + + + + + + +