From c1d38fbe0f6041d5352f6fa0eb36307292ac87d5 Mon Sep 17 00:00:00 2001 From: DS_Starter Date: Tue, 17 Mar 2020 18:26:42 +0000 Subject: [PATCH] 77_SMAEM.pm: contrib 4.1.0 git-svn-id: https://svn.fhem.de/fhem/trunk@21442 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/77_SMAEM.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fhem/contrib/DS_Starter/77_SMAEM.pm b/fhem/contrib/DS_Starter/77_SMAEM.pm index d880d7d2d..52c6450bd 100644 --- a/fhem/contrib/DS_Starter/77_SMAEM.pm +++ b/fhem/contrib/DS_Starter/77_SMAEM.pm @@ -31,7 +31,7 @@ use strict; use warnings; use bignum; use IO::Socket::Multicast; -eval "use IO::Interface;1"; +eval "use IO::Interface;1" or my $IOInterfaceAbsent = 1; use Blocking; 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 + Log3($name, 3, "$name - The perl module \"IO::Interface\" is missing. You should install it.") if($IOInterfaceAbsent); + # Versionsinformationen setzen SMAEM_setVersionInfo($hash); @@ -1352,6 +1354,7 @@ return; "Blocking": 0 }, "recommends": { + "IO::Interface": 0, "FHEM::Meta": 0 }, "suggests": {