77_SMAEM.pm: contrib 4.1.0

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21442 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-03-17 18:26:42 +00:00
parent cf45f465c8
commit d11594dd58

View File

@ -31,7 +31,7 @@ use strict;
use warnings; use warnings;
use bignum; use bignum;
use IO::Socket::Multicast; use IO::Socket::Multicast;
eval "use IO::Interface;1"; eval "use IO::Interface;1" or my $IOInterfaceAbsent = 1;
use Blocking; use Blocking;
eval "use FHEM::Meta;1" or my $modMetaAbsent = 1; eval "use FHEM::Meta;1" or my $modMetaAbsent = 1;
@ -208,6 +208,8 @@ sub SMAEM_Define ($$) {
$hash->{HELPER}{MODMETAABSENT} = 1 if($modMetaAbsent); # Modul Meta.pm nicht vorhanden $hash->{HELPER}{MODMETAABSENT} = 1 if($modMetaAbsent); # Modul Meta.pm nicht vorhanden
Log3($name, 3, "$name - The perl module \"IO::Interface\" is missing. You should install it.") if($IOInterfaceAbsent);
# Versionsinformationen setzen # Versionsinformationen setzen
SMAEM_setVersionInfo($hash); SMAEM_setVersionInfo($hash);
@ -1352,6 +1354,7 @@ return;
"Blocking": 0 "Blocking": 0
}, },
"recommends": { "recommends": {
"IO::Interface": 0,
"FHEM::Meta": 0 "FHEM::Meta": 0
}, },
"suggests": { "suggests": {