32_mailcheck.pm: added disabledForIntervals
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8868 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -41,6 +41,7 @@ mailcheck_Initialize($)
|
|||||||
$hash->{AttrList} = "debug:1 ".
|
$hash->{AttrList} = "debug:1 ".
|
||||||
"delete_message:1 ".
|
"delete_message:1 ".
|
||||||
"disable:1 ".
|
"disable:1 ".
|
||||||
|
"disabledForIntervals ".
|
||||||
"interval ".
|
"interval ".
|
||||||
"logfile ".
|
"logfile ".
|
||||||
"nossl:1 ";
|
"nossl:1 ";
|
||||||
@@ -130,7 +131,7 @@ mailcheck_Connect($)
|
|||||||
my ($hash) = @_;
|
my ($hash) = @_;
|
||||||
my $name = $hash->{NAME};
|
my $name = $hash->{NAME};
|
||||||
|
|
||||||
return undef if( AttrVal($name, "disable", 0 ) == 1 );
|
return undef if( IsDisabled($name) > 0 );
|
||||||
|
|
||||||
my $socket;
|
my $socket;
|
||||||
if( AttrVal($name, "nossl", 0) ) {
|
if( AttrVal($name, "nossl", 0) ) {
|
||||||
@@ -525,6 +526,7 @@ mailcheck_Read($)
|
|||||||
1 -> don't use ssl.</li><br>
|
1 -> don't use ssl.</li><br>
|
||||||
<li>disable<br>
|
<li>disable<br>
|
||||||
1 -> disconnect and stop polling</li>
|
1 -> disconnect and stop polling</li>
|
||||||
|
<li>disabledForIntervals HH:MM-HH:MM HH:MM-HH-MM...</li>
|
||||||
<li>debug<br>
|
<li>debug<br>
|
||||||
1 -> enables debug output. default target is stdout.</li>
|
1 -> enables debug output. default target is stdout.</li>
|
||||||
<li>logfile<br>
|
<li>logfile<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user