From c515ddeba15f1b244b5957f4729ed6fc1ea3269a Mon Sep 17 00:00:00 2001 From: pizmus <> Date: Sun, 16 Feb 2020 10:45:03 +0000 Subject: [PATCH] EseraShutter: new module that supports the Esera 1-wire shutter controller git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21207 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- CHANGED | 1 + FHEM/66_EseraOneWire.pm | 14 +- FHEM/66_EseraShutter.pm | 423 ++++++++++++++++++++++++++++++++++++++++ MAINTAINER.txt | 1 + 4 files changed, 433 insertions(+), 6 deletions(-) create mode 100644 FHEM/66_EseraShutter.pm diff --git a/CHANGED b/CHANGED index 2f54f21d7..b0dd00df3 100644 --- a/CHANGED +++ b/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - new: 66_EseraShutter: new module that supports the Esera 1-wire shutter - new: 98_DSBMobile: Module to read DSBMobile substitution plan - bugfix: 95_Dashboard: fix Perl warning in Docker environment - bugfix: 77_SMAEM: fix Perl warning if no frequence is delivered diff --git a/FHEM/66_EseraOneWire.pm b/FHEM/66_EseraOneWire.pm index 952c60776..e5e741563 100644 --- a/FHEM/66_EseraOneWire.pm +++ b/FHEM/66_EseraOneWire.pm @@ -30,6 +30,7 @@ # 66_EseraTemp # 66_EseraCount # 66_EseraIButton +# 66_EseraShutter # # For Esera 1-wire controllers with serial/USB interface please check the # commandref. @@ -82,13 +83,14 @@ EseraOneWire_Initialize($) $readingFnAttributes; - $hash->{Clients} = ":EseraDigitalInOut:EseraTemp:EseraMulti:EseraAnalogInOut:EseraIButton:EseraCount:"; + $hash->{Clients} = ":EseraDigitalInOut:EseraTemp:EseraMulti:EseraAnalogInOut:EseraIButton:EseraCount:EseraShutter:"; $hash->{MatchList} = { "1:EseraDigitalInOut" => "^DS2408|^11220|^11228|^11229|^11216|^SYS1|^SYS2", "2:EseraTemp" => "^DS1820", - "3:EseraMulti" => "^DS2438|^11121|^11132|^11134|^11135", + "3:EseraMulti" => "^DS2438|^11121|^11134|^11135", "4:EseraAnalogInOut" => "^SYS3", "5:EseraIButton" => "^DS2401", - "6:EseraCount" => "^DS2423"}; + "6:EseraCount" => "^DS2423", + "7:EseraShutter" => "^11231|^11209"}; } sub @@ -2185,7 +2187,7 @@ EseraOneWire_processKalMessage($)
- + Readings
- + Attributes
- + Events