09_CUL_FHTTK: removed low batt information from state, moved to reading batteryState

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18391 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Matscher 2019-01-23 19:05:58 +00:00
parent df4714406a
commit d206e932bb
2 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,7 @@
# 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.
- bugfix: 09_CUL_FHTTK: removed low batt information from state, moved to
reading batteryState
- feature: 59_Weather: add limit forecast, selection between daily and hourly
forecast
- feature: 49_SSCam: V8.6.1, new attribute snapReadingRotate, time format in

View File

@ -72,10 +72,10 @@ my %fhttfk_codes = (
"01" => "Window:Open",
"81" => "Window:Open",
"0c" => "Sync:Syncing",
"91" => "Window:Open, Low Batt",
"11" => "Window:Open, Low Batt",
"92" => "Window:Closed, Low Batt",
"12" => "Window:Closed, Low Batt",
"91" => "Window:Open", # Low Batt
"11" => "Window:Open", # Low Batt
"92" => "Window:Closed", # Low Batt
"12" => "Window:Closed", # Low Batt
"0f" => "Test:Success");
# -wusel, 2009-11-09: Map retransmission codes to major (8x) ones (0x)
@ -342,7 +342,7 @@ CUL_FHTTK_Parse($$)
my $batteryReading = "batteryState";
my $batteryState = "ok";
if($state eq "11" || $state eq "12") {
if($state eq "11" || $state eq "12" || $state eq "91" || $state eq "92") {
$batteryState = "low";
}