From 85dbe75c47ad99188bb7f5632840a3033357dc2e Mon Sep 17 00:00:00 2001 From: ntruchsess <> Date: Thu, 9 Oct 2014 11:20:55 +0000 Subject: [PATCH] I2C_LCD: - replace unicode-chars by corresponding html-entities - remove direct update of state-reading (use stateFormat for that) git-svn-id: https://svn.fhem.de/fhem/trunk@6722 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/52_I2C_LCD.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fhem/FHEM/52_I2C_LCD.pm b/fhem/FHEM/52_I2C_LCD.pm index 3e2914a00..1dea86266 100644 --- a/fhem/FHEM/52_I2C_LCD.pm +++ b/fhem/FHEM/52_I2C_LCD.pm @@ -327,7 +327,6 @@ sub I2C_LCD_Set(@) { my $t = join(" ", @a); # set reading prior to regexp, could contain unprintable chars! main::readingsSingleUpdate($hash,"writeXY",$value." ".$t,1); - readingsSingleUpdate($hash,"state",$t,1); $t = _i2c_lcd_replace($hash,$t); my $sl = length $t; if ($sl > $l) { @@ -468,8 +467,8 @@ sub write {
  • autoBreak <on|off>
  • restoreOnStartup <on|off>
  • restoreOnReconnect <on|off>
  • -
  • replaceRegex ä=ae,cd+=ef,g=\x{DF}
    - specify find=replace regex pattern eg for non-printable characters. \x{DF} will become char 223, which is ° on my lcd. +
  • replaceRegex ä=ae,cd+=ef,g=\x{DF}
    + specify find=replace regex pattern eg for non-printable characters. \x{DF} will become char 223, which is º on my lcd.
  • customChar<0-7>
    up to 8 5x8px custom chars, see http://www.quinapalus.com/hd44780udg.html for a generator, use \x{00} to \x{07} to display