OWX/OWX_ASYNC: fix racecondition in initialization-sequence of devices
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6379 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -99,7 +99,7 @@ no warnings 'deprecated';
|
||||
|
||||
sub Log3($$$);
|
||||
|
||||
my $owx_version="5.25";
|
||||
my $owx_version="5.26";
|
||||
#-- fixed raw channel name, flexible channel name
|
||||
my @owg_fixed = ("A","B");
|
||||
my @owg_channel = ("A","B");
|
||||
@@ -287,8 +287,6 @@ sub OWCOUNT_Init ($) {
|
||||
#-- Start timer for updates
|
||||
RemoveInternalTimer($hash);
|
||||
InternalTimer(gettimeofday()+10, "OWCOUNT_GetValues", $hash, 0);
|
||||
#--
|
||||
readingsSingleUpdate($hash,"state","Initialized",1);
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ no warnings 'deprecated';
|
||||
|
||||
sub Log($$);
|
||||
|
||||
my $owx_version="5.19";
|
||||
my $owx_version="5.20";
|
||||
#-- flexible channel name
|
||||
my $owg_channel;
|
||||
|
||||
@@ -303,8 +303,6 @@ sub OWMULTI_Init ($) {
|
||||
#-- Start timer for updates
|
||||
RemoveInternalTimer($hash);
|
||||
InternalTimer(gettimeofday()+10, "OWMULTI_GetValues", $hash, 0);
|
||||
#--
|
||||
readingsSingleUpdate($hash,"state","Initialized",1);
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ no warnings 'deprecated';
|
||||
|
||||
sub Log($$);
|
||||
|
||||
my $owx_version="5.19";
|
||||
my $owx_version="5.20";
|
||||
#-- fixed raw channel name, flexible channel name
|
||||
my @owg_fixed = ("A","B","C","D","E","F","G","H");
|
||||
my @owg_channel = ("A","B","C","D","E","F","G","H");
|
||||
@@ -289,8 +289,6 @@ sub OWSWITCH_Init ($) {
|
||||
#-- Start timer for updates
|
||||
RemoveInternalTimer($hash);
|
||||
InternalTimer(gettimeofday()+10, "OWSWITCH_GetValues", $hash, 0);
|
||||
#--
|
||||
readingsSingleUpdate($hash,"state","Initialized",1);
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ no warnings 'deprecated';
|
||||
sub Log3($$$);
|
||||
sub AttrVal($$$);
|
||||
|
||||
my $owx_version="5.25";
|
||||
my $owx_version="5.26";
|
||||
|
||||
my %gets = (
|
||||
"id" => "",
|
||||
@@ -277,8 +277,6 @@ sub OWTHERM_Init ($) {
|
||||
#-- Start timer for updates
|
||||
RemoveInternalTimer($hash);
|
||||
InternalTimer(gettimeofday()+10, "OWTHERM_GetValues", $hash, 0);
|
||||
#--
|
||||
readingsSingleUpdate($hash,"state","Initialized",1);
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user