2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

CUL_HM:update RGB sensor

git-svn-id: https://svn.fhem.de/fhem/trunk@9620 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2015-10-24 06:01:22 +00:00
parent 1c9596efe2
commit a89c6b508d

View File

@ -4390,7 +4390,7 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
$ramp = CUL_HM_encodeTime16($ramp);
CUL_HM_PushCmdStack($hash,'++'.$flag.'11'.$id.$dst.'80'.$chn.
sprintf("%02x%02",$bright,$colVal).$ramp.$tval);
sprintf("%02X%02X",$bright,$colVal).$ramp.$tval);
}
elsif($cmd eq "brightAuto") { ###############################################
my (undef,undef,$bright,$colProg,$min,$max,$duration,$ramp) = @a; #date prepared extention to entdate
@ -4401,7 +4401,7 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
$ramp = CUL_HM_encodeTime16($ramp);
CUL_HM_PushCmdStack($hash,'++'.$flag.'11'.$id.$dst.'80'.$chn.
sprintf("%02x%02%02x%02",$bright,$colProg,$min,$max).$ramp.$tval);
sprintf("%02X%02X%02X%02X",$bright,$colProg,$min,$max).$ramp.$tval);
}
elsif($cmd eq "playTone") { #################################################
my $msg;