2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

37_echodevice.pm: keepalive

git-svn-id: https://svn.fhem.de/fhem/trunk@21731 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
michael.winkler 2020-04-20 15:42:34 +00:00
parent 705ed5fac7
commit 7a71c49190

View File

@ -2,6 +2,9 @@
#
##############################################
#
# 2020.04.20 v0.1.4
# - CHANGE: Keepalive aktiviert (cookielogin6)
#
# 2020.04.14 v0.1.3
# - CHANGE: Mehr Loginfos bei set "NPM_login new"
#
@ -378,7 +381,7 @@ use Time::Piece;
use lib ('./FHEM/lib', './lib');
use MP3::Info;
my $ModulVersion = "0.1.3";
my $ModulVersion = "0.1.4";
my $AWSPythonVersion = "0.0.3";
my $NPMLoginTyp = "unbekannt";
@ -2288,6 +2291,7 @@ sub echodevice_SendLoginCommand($$$) {
$param->{header} = 'Cookie: '.$hash->{helper}{".COOKIE"};
$param->{callback} = \&echodevice_ParseAuth;
$param->{noshutdown} = 1;
$param->{keepalive} = 1;
$param->{type} = $type;
$param->{hash} = $hash;
$param->{timeout} = 10;