diff --git a/fhem/FHEM/10_EnOcean.pm b/fhem/FHEM/10_EnOcean.pm index 94c5848b7..fd7483160 100755 --- a/fhem/FHEM/10_EnOcean.pm +++ b/fhem/FHEM/10_EnOcean.pm @@ -9765,10 +9765,16 @@ sub EnOcean_Parse($$) if ($st eq "lightTempOccupSensor.01") { # Light, Temperatur and Occupancy Sensor (EEP A5-08-01) - # [Eltako FABH63, FBH55, FBH63, FIBH63] + # [Eltako FABH63, FBH55, FBH63, FIBH63, TF-BHSB] if ($manufID eq "00D") { - $lux = sprintf "%d", $db[2] * 2048 / 255; - push @event, "3:state:M: $motion E: $lux"; + if ( $model eq 'Eltako_TF') { + $lux = $db[2] << 1; + push @event, "3:state:M: $motion E: $lux U: $voltage"; + push @event, "3:voltage:$voltage"; + } else { + $lux = sprintf "%d", $db[2] * 2048 / 255; + push @event, "3:state:M: $motion E: $lux"; + } } else { $lux = $db[2] << 1; $temp = sprintf "%0.1f", $db[1] * 0.2; @@ -10649,6 +10655,11 @@ sub EnOcean_Parse($$) push @event, "3:state:Manufacturer Specific Application unknown"; } + } elsif ($st eq "contact" && $manufID eq "00D") { + # Eltako TF-FKB voltage telegram + push @event, "3:voltage:" . sprintf "%0.1f", $db[2] * 0.02; + push @event, "3:energyStorage:" . sprintf "%0.1f", $db[3] * 0.02; + } elsif ($st eq "PM101") { # Light and Presence Sensor [Omnio Ratio eagle-PM101] # The sensor also sends switching commands (RORG F6) with the senderID-1 @@ -18115,7 +18126,8 @@ EnOcean_Delete($$) The attr subType must be contact. The attribute must be set manually. A monitoring period can be set for signOfLife telegrams of the sensor, see signOfLife and signOfLifeInterval. - Default is "off" and an interval of 1980 sec. + Default is "off" and an interval of 1980 sec.
+ Set the manufID to 00D for Eltako devices that send a periodic voltage telegram. (For example TF-FKB)

  • Room Sensor and Control Unit (EEP A5-10-02)
    @@ -20432,17 +20444,19 @@ EnOcean_Delete($$)
  • Single Input Contact, Door/Window Contact
    1BS Telegram (EEP D5-00-01)
    - [EnOcean EMCS, STM 320, STM 329, STM 250, Eltako FTK, Peha D 450 FU] + [EnOcean EMCS, STM 320, STM 329, STM 250, Eltako FTK, Peha D 450 FU, Eltako TK-TKB]
  • The device should be created by autocreate. A monitoring period can be set for signOfLife telegrams of the sensor, see signOfLife and signOfLifeInterval. - Default is "off" and an interval of 1310 sec. + Default is "off" and an interval of 1980 sec.

  • Temperature Sensors with with different ranges (EEP A5-02-01 ... A5-02-30)
    @@ -20642,7 +20656,7 @@ EnOcean_Delete($$) Eltako and PEHA devices only support Brightness and Motion.
    The attr subType must be lightTempOccupSensor.<01|02|03> and attr manufID must be 00D for Eltako Devices. This is done if the device was - created by autocreate. + created by autocreate. Set model to Eltako_TF manually for Eltako TF Devices.