2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-05 08:20:23 +00:00

37_echodevice.pm: more loginformations

git-svn-id: https://svn.fhem.de/fhem/trunk@21649 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
michael.winkler 2020-04-12 12:50:40 +00:00
parent 552a9e754f
commit ae7fc2ae02

View File

@ -2,6 +2,9 @@
#
##############################################
#
# 2020.04.12 v0.1.2
# - CHANGE: Mehr Loginfos bei set "NPM_login new"
#
# 2020.04.08 v0.1.1
# - CHANGE: Keepalive aktiviert
# - BUG: set "NPM_login new"
@ -372,7 +375,7 @@ use Time::Piece;
use lib ('./FHEM/lib', './lib');
use MP3::Info;
my $ModulVersion = "0.1.1";
my $ModulVersion = "0.1.2";
my $AWSPythonVersion = "0.0.3";
my $NPMLoginTyp = "unbekannt";
@ -4516,8 +4519,10 @@ sub echodevice_NPMLoginNew($){
foreach my $ipLine (@ips) {
my ($interface, undef, $ipParts) = split(' ', $ipLine);
my ($ip) = split('/', $ipParts);
Log3 $name, 4, "[$name] [echodevice_NPMLoginNew] Check Interface=$interface IP=$ip";
if ($interface ne 'lo') {
$OwnIP = $ip if (!(index($ip, ":") != -1));
Log3 $name, 4, "[$name] [echodevice_NPMLoginNew] Result Interface=$interface IP=$ip";
}
}