mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
77_SMAEM.pm: contrib 4.1.0
git-svn-id: https://svn.fhem.de/fhem/trunk@21441 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
32332492a9
commit
d899c2c7c4
@ -31,6 +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";
|
||||||
use Blocking;
|
use Blocking;
|
||||||
eval "use FHEM::Meta;1" or my $modMetaAbsent = 1;
|
eval "use FHEM::Meta;1" or my $modMetaAbsent = 1;
|
||||||
|
|
||||||
@ -169,7 +170,7 @@ sub SMAEM_Define ($$) {
|
|||||||
my $socket;
|
my $socket;
|
||||||
|
|
||||||
my @a = split("[ \t][ \t]*", $def);
|
my @a = split("[ \t][ \t]*", $def);
|
||||||
my $if = $a[2] ? "'".$a[2]."'" : "";
|
my $if = $a[2] ? $a[2] : "";
|
||||||
|
|
||||||
$hash->{INTERVAL} = 60;
|
$hash->{INTERVAL} = 60;
|
||||||
$hash->{HELPER}{FAULTEDCYCLES} = 0;
|
$hash->{HELPER}{FAULTEDCYCLES} = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user