The FHT80 is sending a0/b0 after a sync in the summer instead of a6/b6

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@366 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2009-05-04 18:02:53 +00:00
parent c3eae30004
commit ff34ca3772
2 changed files with 4 additions and 2 deletions

View File

@@ -454,7 +454,8 @@ CUL_DoInit($)
if($ver =~ m/CUR/) {
my @a = localtime;
my $msg = sprintf("c%02d%02d%02d", $a[2],$a[1],$a[0]);
my $msg = sprintf("c%02d%02d%02d%02d%02d%02d",
($a[5]+1900)%100,$a[4]+1,$a[3],$a[2],$a[1],$a[0]);
CUL_SimpleWrite($hash, $msg);
}