mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 05:06:35 +00:00
98_GAEBUS.pm: Timeout beim lesen von ebusd von 1.8 auf 5.0 erhöht.
Umlaute in ".csv" Files durch html entities ersetzt. git-svn-id: https://svn.fhem.de/fhem/trunk@9247 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
22f70c322a
commit
131c210df7
@ -10,6 +10,8 @@
|
||||
# 11.09.2015 : A.Goebel : add attribute "ebusWritesEnable:0,1"
|
||||
# 11.09.2015 : A.Goebel : add set w~ commands to set attributes for writing
|
||||
# 11.09.2015 : A.Goebel : add set <write-reading> command to write to ebusd
|
||||
# 13.09.2015 : A.Goebel : increase timeout for reads from ebusd from 1.8 to 5.0
|
||||
# 13.09.2015 : A.Goebel : use html entities to display values from ".csv" files
|
||||
|
||||
package main;
|
||||
|
||||
@ -623,6 +625,15 @@ GAEBUS_ProcessCSV($$)
|
||||
next if /^\s$/;
|
||||
s/\r//;
|
||||
|
||||
s/ä/\ä/g;
|
||||
s/Ä/\Ä/g;
|
||||
s/ü/\ü/g;
|
||||
s/Ü/\Ü/g;
|
||||
s/ö/\ö/g;
|
||||
s/Ö/\Ö/g;
|
||||
s/ß/\ß/g;
|
||||
#s/"/\"/g;
|
||||
|
||||
chomp;
|
||||
|
||||
$line = $_;
|
||||
@ -746,9 +757,10 @@ GAEBUS_doEbusCmd($$$$$)
|
||||
return undef unless ($hash->{STATE} eq "Connected");
|
||||
}
|
||||
|
||||
my $timeout = 1.8;
|
||||
$timeout = 10 if ($action eq "v");
|
||||
$timeout = 10 if ($action eq "w");
|
||||
#my $timeout = 1.8;
|
||||
my $timeout = 5.0;
|
||||
$timeout = 10.0 if ($action eq "v");
|
||||
$timeout = 10.0 if ($action eq "w");
|
||||
|
||||
|
||||
my ($io,$class,$var,$comment) = split ($delimiter, $readingcmdname, 4);
|
||||
|
Loading…
x
Reference in New Issue
Block a user