diff --git a/fhem/FHEM/10_MAX.pm b/fhem/FHEM/10_MAX.pm index 4cb09f757..e2299e9b9 100755 --- a/fhem/FHEM/10_MAX.pm +++ b/fhem/FHEM/10_MAX.pm @@ -742,7 +742,13 @@ MAX_Parse($$) readingsBulkUpdate($shash, "decalcification", "$decalcDays{$args[11]} $args[12]:00"); readingsBulkUpdate($shash, ".weekProfile", $args[13]); } 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);