mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
LUXTRONIK2: docu
git-svn-id: https://svn.fhem.de/fhem/trunk@7234 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
48d3c32b62
commit
25881efdaa
@ -664,9 +664,10 @@ sub ########################################
|
||||
LUXTRONIK2_UpdateDone($)
|
||||
{
|
||||
my ($string) = @_;
|
||||
return unless(defined($string));
|
||||
|
||||
my $value = "";
|
||||
my $state = "";
|
||||
return unless(defined($string));
|
||||
|
||||
my @a = split("\\|",$string);
|
||||
my $hash = $defs{$a[0]};
|
||||
|
@ -864,7 +864,7 @@ PROPLANTA_Html($)
|
||||
</li><br>
|
||||
<li><code>URL <Internetadresse></code>
|
||||
<br>
|
||||
Internetadresse, von der die Daten ausgelesen werden (überschreibt die Werte im 'define'-Term
|
||||
Internetadresse, von der die Daten ausgelesen werden (überschreibt die Werte im 'define'-Term)
|
||||
</li><br>
|
||||
<li><a href="#readingFnAttributes">readingFnAttributes</a></li>
|
||||
</ul>
|
||||
|
@ -371,9 +371,8 @@ JSONMETER_GetUpdate($)
|
||||
unless(exists($hash->{helper}{RUNNING_PID}));
|
||||
}
|
||||
|
||||
|
||||
sub ##########################################
|
||||
JSONMETER_GetJsonFile ($)
|
||||
##########################################
|
||||
sub JSONMETER_GetJsonFile ($)
|
||||
{
|
||||
my ($name) = @_;
|
||||
my $returnStr;
|
||||
@ -407,11 +406,12 @@ JSONMETER_GetJsonFile ($)
|
||||
return $returnStr;
|
||||
}
|
||||
|
||||
sub ##########################################
|
||||
JSONMETER_ReadFromFile($)
|
||||
|
||||
##########################################
|
||||
sub JSONMETER_ReadFromFile($)
|
||||
{
|
||||
my ($string) = @_;
|
||||
my ($name, $pathString) = split /\|/, $string;
|
||||
my ($name, $pathString) = split "\\|", $string;
|
||||
|
||||
JSONMETER_Log $name, 4, "Open file '$pathString'";
|
||||
if (open(IN, "<" . $pathString)) {
|
||||
@ -432,7 +432,7 @@ JSONMETER_ReadFromUrl($)
|
||||
{
|
||||
|
||||
my ($string) = @_;
|
||||
my ($name, $ip, $port, $pathString) = split /\|/, $string;
|
||||
my ($name, $ip, $port, $pathString) = split "\\|", $string;
|
||||
|
||||
my $buf ;
|
||||
my $message ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user