mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-12 08:41:41 +00:00
09_CUL_FHTTK: removed low batt information from state, moved to reading batteryState
git-svn-id: https://svn.fhem.de/fhem/trunk@18391 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
47b357bb81
commit
341990a6f5
@ -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
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user