mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 19:30:31 +00:00
MAX: correctly parse week profile for wall thermostat (thanks to Schnup)
git-svn-id: https://svn.fhem.de/fhem/trunk@4103 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ad44a9971f
commit
1e8a540f37
@ -742,7 +742,13 @@ MAX_Parse($$)
|
|||||||
readingsBulkUpdate($shash, "decalcification", "$decalcDays{$args[11]} $args[12]:00");
|
readingsBulkUpdate($shash, "decalcification", "$decalcDays{$args[11]} $args[12]:00");
|
||||||
readingsBulkUpdate($shash, ".weekProfile", $args[13]);
|
readingsBulkUpdate($shash, ".weekProfile", $args[13]);
|
||||||
} else {
|
} else {
|
||||||
readingsBulkUpdate($shash, ".weekProfile", $args[4]);
|
my ($weekProfile, $unknownBytes) = $args[4] =~ m/^(.{364})(.*)$/;
|
||||||
|
readingsBulkUpdate($shash, ".weekProfile", $weekProfile);
|
||||||
|
#We still have to find out what $unknownBytes mean, so hopefully
|
||||||
|
#we can observe some other values
|
||||||
|
if($unknownBytes ne "071830") {
|
||||||
|
Log GetLogLevel($shash->{NAME}, 2), "While parsing weekProfile of WallThermostat: Additional bytes $unknownBytes differ from 071830. Please report to http://forum.fhem.de/index.php?topic=15567";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MAX_ParseWeekProfile($shash);
|
MAX_ParseWeekProfile($shash);
|
||||||
|
Loading…
Reference in New Issue
Block a user