mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-26 10:34:52 +00:00
70_ZoneMinder: fix afterInitialized (thx GeberNehmer)
git-svn-id: https://svn.fhem.de/fhem/trunk@22251 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
61a643e512
commit
8f5cf3b89e
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- bugfix: 70_ZoneMinder: fix afterInitialized (thx GeberNehmer)
|
||||||
- bugfix: 73_AutoShuttersControl: change shading reading message
|
- bugfix: 73_AutoShuttersControl: change shading reading message
|
||||||
- feature: 76_SMAPortal: upgrade to V3. This version is not compatible to
|
- feature: 76_SMAPortal: upgrade to V3. This version is not compatible to
|
||||||
prior V2. Attributes and Readings are changed.
|
prior V2. Attributes and Readings are changed.
|
||||||
|
@ -99,7 +99,12 @@ sub ZoneMinder_Define {
|
|||||||
my $triggerPortState = $hash->{STATE};
|
my $triggerPortState = $hash->{STATE};
|
||||||
ZoneMinder_updateState( $hash, $triggerPortState, 'n/a' );
|
ZoneMinder_updateState( $hash, $triggerPortState, 'n/a' );
|
||||||
|
|
||||||
ZoneMinder_afterInitialized($hash);
|
if (!$init_done) {
|
||||||
|
InternalTimer(gettimeofday()+5, "ZoneMinder_afterInitialized", $hash, 0);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ZoneMinder_afterInitialized($hash);
|
||||||
|
}
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user