mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 07:24:21 +00:00
noshutdown patch by housekeeper, to make it work again
git-svn-id: https://svn.fhem.de/fhem/trunk@3211 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d0e95a74d1
commit
23efd6a933
@ -121,13 +121,17 @@ NetIO230B_Request($@)
|
||||
{
|
||||
my ($hash, $cmd, $list) = @_;
|
||||
my $URL='';
|
||||
|
||||
my $timeout=4;
|
||||
my $noshutdown=1;
|
||||
|
||||
my $log='';
|
||||
my $parm='l';
|
||||
if($cmd eq "set") {
|
||||
$parm = $list;
|
||||
}
|
||||
|
||||
my $response = GetFileFromURL("http://"."$hash->{HOST}/tgi/control.tgi?l=p:". $hash->{USER}.":".$hash->{PASS}."&p=".$parm);
|
||||
my $response = GetFileFromURL("http://"."$hash->{HOST}/tgi/control.tgi?l=p:". $hash->{USER}.":".$hash->{PASS}."&p=".$parm, $timeout, undef, $noshutdown );
|
||||
if(!$response or length($response)==0)
|
||||
{
|
||||
Log 3, "NetIO230B_Request failed: ".$log;
|
||||
|
Loading…
x
Reference in New Issue
Block a user