00_ZWDongle.pm: fix false "homeid not set" error during ZWDongle open (Forum #37121)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8649 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-05-29 17:09:43 +00:00
parent 2fd7dcc204
commit 63eb4ce54c

View File

@@ -453,6 +453,7 @@ ZWDongle_DoInit($)
my $name = $hash->{NAME};
$serInit = 1;
$hash->{homeId} = "initial"; # Get-Answers may land in ZWave.pm
DevIo_SetHwHandshake($hash) if($hash->{FD});
ZWDongle_Clear($hash);
ZWDongle_Get($hash, $name, "caps"); $serInit = 0;