2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 02:10:32 +00:00

HM_Config: bugfix led cmd for HM-OU-LED16

git-svn-id: https://svn.fhem.de/fhem/trunk@24763 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2021-07-17 08:36:36 +00:00
parent 08372c5707
commit 2e690d7a0c

View File

@ -1827,8 +1827,7 @@ $culHmSubTypeSets{motionAndBtn} = $culHmSubTypeSets{threeStateSensor};
,display =>"-text- (comma|no) -unit- (off|1|2|3) (off|on|slow|fast) -symbol-" ,display =>"-text- (comma|no) -unit- (off|1|2|3) (off|on|slow|fast) -symbol-"
} }
,"HM-PB-4DIS-WM-2" =>{ text =>"-txt1- [-txt2-]" } ,"HM-PB-4DIS-WM-2" =>{ text =>"-txt1- [-txt2-]" }
,"HM-OU-LED16" =>{ led =>"(off|red|green|orange)" ,"HM-OU-LED16" =>{ ilum => "(0..15;1) (0..127;1)"
,ilum => "(0..15;1) (0..127;1)"
,statusRequest =>"" ,statusRequest =>""
} }
,"HM-OU-CFM-PL" =>{ "on-for-timer" =>"-sec-" ,"HM-OU-CFM-PL" =>{ "on-for-timer" =>"-sec-"
@ -1931,6 +1930,8 @@ $culHmModelSets{"HM-HM-LC-DW-WM"} = $culHmSubTypeSets{dimmer}; ##### re
,tempTmplSet =>"-tempTmpl-" ,tempTmplSet =>"-tempTmpl-"
,peerChan =>"-btnNumber- -actChn- [({single})] [({set}|unset)] [(actor|remote|{both})]" ,peerChan =>"-btnNumber- -actChn- [({single})] [({set}|unset)] [(actor|remote|{both})]"
} }
,"HM-OU-LED1600" =>{ led =>"-color-"}
,"HM-OU-LED1601" =>{ led =>"(off|red|green|orange)"}
,"HM-OU-CFM-PL01" =>{ led =>"(redL|greenL|orangeL|redS|greenS|orangeS|pause)[,(-color2-...)] 'rep:' [(1..255;1|{1})]"} ,"HM-OU-CFM-PL01" =>{ led =>"(redL|greenL|orangeL|redS|greenS|orangeS|pause)[,(-color2-...)] 'rep:' [(1..255;1|{1})]"}
,"HM-OU-CFM-PL02" =>{ playTone =>"[{replay}|-MP3No-[,-MP3No-...]] 'rep:' [(1..255;1|{1})] 'vol:' [(0..10;1|{10})] 'dur:' [(-duration-|{108000})]" ,"HM-OU-CFM-PL02" =>{ playTone =>"[{replay}|-MP3No-[,-MP3No-...]] 'rep:' [(1..255;1|{1})] 'vol:' [(0..10;1|{10})] 'dur:' [(-duration-|{108000})]"
,pct =>"-value- [-ontime-]"} ,pct =>"-value- [-ontime-]"}
@ -1976,6 +1977,7 @@ $culHmModelSets{"HM-HM-LC-DW-WM"} = $culHmSubTypeSets{dimmer}; ##### re
,off =>"" ,off =>""
,up =>"'change:'[(0..100;1|{10})] [(-ontime-|{})] [(-ramptime-|{})]" ,up =>"'change:'[(0..100;1|{10})] [(-ontime-|{})] [(-ramptime-|{})]"
,down =>"'change:'[(0..100;1|{10})] [(-ontime-|{})] [(-ramptime-|{})]" ,down =>"'change:'[(0..100;1|{10})] [(-ontime-|{})] [(-ramptime-|{})]"
,statusRequest =>""
} }
,"HM-LC-RGBW-WM03" =>{ colProgram =>"(0..255;1|{0})" ,"HM-LC-RGBW-WM03" =>{ colProgram =>"(0..255;1|{0})"
,brightAuto =>"'bright:' (0..100;0.5|{100}) 'colProg:' [(0..255;1|{0})] 'min:' [(0..255;1|{0})] 'max:' [(0..255;1|{255})] [(-ontime-|{0})] [(-ramp-|{5})]" ,brightAuto =>"'bright:' (0..100;0.5|{100}) 'colProg:' [(0..255;1|{0})] 'min:' [(0..255;1|{0})] 'max:' [(0..255;1|{255})] [(-ontime-|{0})] [(-ramp-|{5})]"
@ -2009,6 +2011,9 @@ $culHmModelSets{"HM-HM-LC-DW-WM"} = $culHmSubTypeSets{dimmer}; ##### re
); );
# clones- - - - - - - - - - - - - - - - - # clones- - - - - - - - - - - - - - - - -
for (my$ch = 1;$ch < 17;$ch++){
$culHmChanSets{"HM-OU-LED16".uc(sprintf("%02x",$ch))} = $culHmChanSets{"HM-OU-LED1601"};
}
$culHmChanSets{"HM-DIS-EP-WM5502"} = $culHmChanSets{"HM-DIS-EP-WM5501"}; $culHmChanSets{"HM-DIS-EP-WM5502"} = $culHmChanSets{"HM-DIS-EP-WM5501"};
$culHmChanSets{"HM-DIS-EP-WM5504"} = $culHmChanSets{"HM-DIS-EP-WM5504"} =
$culHmChanSets{"HM-DIS-EP-WM5505"} = $culHmChanSets{"HM-DIS-EP-WM5505"} =