Skip to content

Commit d72f401

Browse files
committed
1.1.8 - fixing device request on host reappear
1 parent f60f470 commit d72f401

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

lib/lib.manager.deviceManager.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,9 @@ module.exports = class DeviceManager extends ManagerBase
273273
// if we do not have any system host we jump out of the request loop.
274274
// That's okay because the request loop will be triggered again when host comes up again
275275
if (self.systemHost)
276-
setTimeout(function(){self.deviceListRequest(responseUpdateId);}, 5000);
276+
setTimeout(function(){self.deviceListRequest(responseUpdateId);}, 5000);
277+
else
278+
self.deviceListRequestStarted = false;
277279
return;
278280
}
279281

lib/lib.manager.zoneManager.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ module.exports = class ZoneManager extends ManagerBase
7575
// That's okay because the request loop will be triggered again when host comes up again
7676
if (self.systemHost)
7777
setTimeout(function(){self.zoneConfigurationRequest(responseUpdateId);}, 5000);
78+
else
79+
self.zoneConfigRequestStarted = false;
7880
return;
7981
}
8082

0 commit comments

Comments
 (0)