mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
57_CALVIEW: fixed internal timer error
git-svn-id: https://svn.fhem.de/fhem/trunk@12054 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5a48c90d5b
commit
ba4acddf45
@ -77,6 +77,7 @@ sub CALVIEW_GetUpdate($){
|
|||||||
#cleanup readings
|
#cleanup readings
|
||||||
delete ($hash->{READINGS});
|
delete ($hash->{READINGS});
|
||||||
# new timer
|
# new timer
|
||||||
|
RemoveInternalTimer($hash);
|
||||||
InternalTimer(gettimeofday()+$hash->{INTERVAL}, "CALVIEW_GetUpdate", $hash, 1);
|
InternalTimer(gettimeofday()+$hash->{INTERVAL}, "CALVIEW_GetUpdate", $hash, 1);
|
||||||
readingsBeginUpdate($hash); #start update
|
readingsBeginUpdate($hash); #start update
|
||||||
my @termine = getsummery($hash);
|
my @termine = getsummery($hash);
|
||||||
@ -257,6 +258,8 @@ sub CALVIEW_Notify($$)
|
|||||||
|
|
||||||
1;
|
1;
|
||||||
=pod
|
=pod
|
||||||
|
=item device
|
||||||
|
=item summary provides calendar events in a readable form
|
||||||
=begin html
|
=begin html
|
||||||
|
|
||||||
<a name="CALVIEW"></a>
|
<a name="CALVIEW"></a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user