diff --git a/fhem/FHEM/33_readingsGroup.pm b/fhem/FHEM/33_readingsGroup.pm index cd9db1c95..1745f0e25 100644 --- a/fhem/FHEM/33_readingsGroup.pm +++ b/fhem/FHEM/33_readingsGroup.pm @@ -314,7 +314,7 @@ readingsGroup_2html($) if( $regex && $regex =~ m/^<(.*)>$/ ) { my $txt = $1; my $readings; - if( $txt =~ m/^{(.*)}(#[\w|.*]+)?$/ ) { + if( $txt =~ m/^{(.*)}(@[\w|.*]+)?$/ ) { $txt = "{$1}"; $readings = $2; @@ -592,7 +592,7 @@ readingsGroup_Notify($$) if( $regex && $regex =~ m/^<(.*)>$/ ) { my $txt = $1; my $readings; - if( $txt =~ m/^{(.*)}(#([\w|.*]+))?$/ ) { + if( $txt =~ m/^{(.*)}(@([\w|.*]+))?$/ ) { $txt = "{$1}"; $readings = $3; @@ -750,7 +750,7 @@ readingsGroup_Attr($$$)
  • If regex is a comma separatet list the reading values will be shown on a single line.
  • If regex starts with a '+' it will be matched against the internal values of the device instead of the readings.
  • If regex starts with a '?' it will be matched against the attributes of the device instead of the readings.
  • -
  • regex can be of the form <STRING> or <{perl}[#readings]> where STRING or the string returned by perl is +
  • regex can be of the form <STRING> or <{perl}[@readings]> where STRING or the string returned by perl is inserted as the reading. skipped if STRING is undef. if STRING is br a new line will be started. if readings is given the perl expression will be reevaluated during longpoll updates.
  • For internal values and attributes longpoll update is not possible. Refresh the page to update the values.
  • @@ -861,7 +861,7 @@ readingsGroup_Attr($$$) attr batteries valueStyle {($VALUE ne "ok")?'style="color:red"':'style="color:green"'}
    attr temperatures valueStyle {($DEVICE =~ m/aussen/)?'style="color:green"':'style="color:red"'} - Note: Only valueStyle, valueFomat, valueIcon and <{...}#reading> are evaluated during longpoll updates + Note: Only valueStyle, valueFomat, valueIcon and <{...}@reading> are evaluated during longpoll updates and valueStyle has to return a non empty style for every possible value. All other perl expressions are evaluated only once during html creation and will not reflect value updates with longpoll. Refresh the page to update the dynamic style. For nameStyle the color attribut is not working at the moment,