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

git-svn-id: https://svn.fhem.de/fhem/trunk@8649 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-05-29 17:09:43 +00:00
parent 8fd60e95e9
commit d866ef2ad8

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;