mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
76_SMAPortal: contrib 2.7.0
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@22047 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
163b1f0cf9
commit
dca2d32700
@ -721,7 +721,7 @@ sub GetSetData { ## no cri
|
|||||||
# Sunny Home Manager Seite abfragen
|
# Sunny Home Manager Seite abfragen
|
||||||
|
|
||||||
# Abfragezähler setzen (Anzahl tägliche Wiederholungen von GetSetData)
|
# Abfragezähler setzen (Anzahl tägliche Wiederholungen von GetSetData)
|
||||||
my $cstring = ReadingsVal($name, "daycount", "");
|
my $cstring = ReadingsVal($name, "dailyCallCounter", "");
|
||||||
my ($day,$count) = split(":", $cstring);
|
my ($day,$count) = split(":", $cstring);
|
||||||
my $mday = (localtime(time))[3];
|
my $mday = (localtime(time))[3];
|
||||||
if(!$day || $day != $mday) {
|
if(!$day || $day != $mday) {
|
||||||
@ -1761,7 +1761,7 @@ sub setFromBlocking {
|
|||||||
$hash->{HELPER}{SETTER} = $setp if($setp ne "NULL");
|
$hash->{HELPER}{SETTER} = $setp if($setp ne "NULL");
|
||||||
$hash->{HELPER}{oldlogintime} = $logintime if($logintime ne "NULL");
|
$hash->{HELPER}{oldlogintime} = $logintime if($logintime ne "NULL");
|
||||||
|
|
||||||
readingsSingleUpdate($hash, "daycount", $counter, 1) if($counter ne "NULL");
|
readingsSingleUpdate($hash, "dailyCallCounter", $counter, 1) if($counter ne "NULL");
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user