MAX: disable automatic wakeup for now

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3285 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre 2013-06-14 21:25:55 +00:00
parent bcaec05ccd
commit addff8a5e2

View File

@ -436,7 +436,8 @@ MAX_Set($@)
return "Number of arguments must be even" if(@args%2 == 1); return "Number of arguments must be even" if(@args%2 == 1);
#Send wakeUp, so we can send the weekprofile pakets without preamble #Send wakeUp, so we can send the weekprofile pakets without preamble
MAX_WakeUp($hash) if( @args > 2 ); #Disabled for now. Seems like the first packet is lost. Maybe inserting a delay after the wakeup will fix this
#MAX_WakeUp($hash) if( @args > 2 );
for(my $i = 0; $i < @args; $i += 2) { for(my $i = 0; $i < @args; $i += 2) {
return "Expected day, got $args[$i]" if(!exists($decalcDaysInv{$args[$i]})); return "Expected day, got $args[$i]" if(!exists($decalcDaysInv{$args[$i]}));