From 7d09e058634f794c1510cea5ee5821aedbb21967 Mon Sep 17 00:00:00 2001 From: klaus-schauer Date: Thu, 13 Mar 2014 18:57:27 +0000 Subject: [PATCH] 10_EnOcean: Profil gateway/switching: Eltako FSA12 supported git-svn-id: https://svn.fhem.de/fhem/trunk@5218 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_EnOcean.pm | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/fhem/FHEM/10_EnOcean.pm b/fhem/FHEM/10_EnOcean.pm index c1d454b53..c4a102505 100755 --- a/fhem/FHEM/10_EnOcean.pm +++ b/fhem/FHEM/10_EnOcean.pm @@ -241,7 +241,7 @@ my %EnO_subType = ( my @EnO_models = qw ( other FAE14 FHK14 FHK61 - FSB14 FSB61 FSB70 + FSA12 FSB14 FSB61 FSB70 FSM12 FSM61 FT55 FTS12 @@ -803,7 +803,11 @@ EnOcean_Set($@) $updateState = 0; $data = sprintf "%02X%04X%02X", $gwCmdID, $time, $setCmd; } elsif ($cmd eq "off") { - $setCmd = 8; + if ($model eq "FSA12") { + $setCmd = 0x0E; + } else { + $setCmd = 8; + } readingsSingleUpdate($hash, "block", "unlock", 1); if ($a[1]) { return "Usage: $cmd [lock|unlock]" if (($a[1] ne "lock") && ($a[1] ne "unlock")); @@ -4346,7 +4350,7 @@ EnOcean_Undef($$)
  • Gateway (EEP A5-38-08)
    Switching
    - [Eltako FLC61, FSR14]
    + [Eltako FLC61, FSA12, FSR14]

    The attr subType must be gateway and gwCmd must be switching. This is done if the device was created by autocreate.
    - For Eltako devices attributes must be set manually. + For Eltako devices attributes must be set manually. For Eltako FSA12 attribute model must be set + to FSA12.


  • @@ -5560,7 +5565,7 @@ EnOcean_Undef($$)
  • Gateway (EEP A5-38-08)
    Switching
    - [Eltako FLC61, FSR14]
    + [Eltako FLC61, FSA12, FSR14]