diff --git a/fhem/FHEM/98_Hyperion.pm b/fhem/FHEM/98_Hyperion.pm index 30fab1286..9ab5b0d7d 100644 --- a/fhem/FHEM/98_Hyperion.pm +++ b/fhem/FHEM/98_Hyperion.pm @@ -529,7 +529,8 @@ sub Hyperion_Set($@) } elsif ($cmd eq "rgb") { - return "Value of $cmd has to be in rgb hex format like ffffff or 3f7d90" if ($value !~ /^(\d|[a-f]){6}$/); + return "Value of $cmd has to be in RGB hex format like ffffff or 3F7D90" if ($value !~ /^(\d|[a-f|A-F]){6}$/); + $value = lc($value); my ($r,$g,$b) = Color::hex2rgb($value); $obj{color} = [$r,$g,$b]; $obj{command} = "color"; @@ -952,8 +953,8 @@ sub Hyperion_readingsBulkUpdateIfChanged($$$) { set the light on and restore previous state
  • - rgb <rrggbb> [duration] [priority]
    - set color in rgb hex format with optional duration in seconds and priority + rgb <RRGGBB> [duration] [priority]
    + set color in RGB hex format with optional duration in seconds and priority
  • saturationGain <1.100>