2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 17:26:34 +00:00

FHT shortmessage

git-svn-id: https://svn.fhem.de/fhem/trunk@265 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2008-11-06 09:36:59 +00:00
parent 73c03c294f
commit 232cc122bc
2 changed files with 7 additions and 0 deletions

View File

@ -439,3 +439,4 @@
- feature: new modules 00_CM11.pm and 20_X10.pm for integration of X10
devices in fhem (Boris 2008-11-02)
- feature: X10 support for pgm3 (Boris 2008-11-02)
- bugfix: FHT short message warning

View File

@ -318,6 +318,12 @@ FHT_Parse($$)
my $def = $defptr{$dev};
my $name = $def->{NAME};
# Short message
if(length($msg) < 26) {
Log 4,"FHT Short message. Device $name, Message: $msg";
return "";
}
if(!$val || $cde eq "65" || $cde eq "66") {
# This is a confirmation message. We reformat it so that
# it looks like a real message, and let the rest parse it