2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-12 22:56:34 +00:00

Bigfix (thanks to Michael)

git-svn-id: https://svn.fhem.de/fhem/trunk@734 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2010-10-24 17:17:24 +00:00
parent 9937fc2283
commit 8dc03432fc
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@
- feature: PID rewrite (and moved from contrib into the FHEM directory).
- feature: FHEM2FHEM module
- bugfix: CUL get should not digest foreign events (fhtsoftbuffer)
- bugfix: S300TH sanity check won't allow negative temperatures.
- 2010-08-15 (5.0)
- **NOTE*: The default installation path is changed to satisfy lintian

View File

@ -1,4 +1,4 @@
# $Id: 14_CUL_WS.pm,v 1.28 2010-08-19 18:42:06 wherzig Exp $
# $Id: 14_CUL_WS.pm,v 1.29 2010-10-24 17:17:24 rudolfkoenig Exp $
#
##############################################
package main;
@ -231,7 +231,7 @@ CUL_WS_Parse($$)
if(@a == 9 && int(@a) > 8) { # S300TH
# Sanity check
if (!($msg =~ /^K\d\d\d\d\d\d\d\d$/ )) {
if (!($msg =~ /^K[0-9A-F]\d\d\d\d\d\d\d$/ )) {
Log GetLogLevel($name,1), "Error: S300TH CUL_WS Cannot decode $msg (sanitycheck). Malformed";
return "";
}