mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
Extend WeMo search timeout
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
var types = require("../lib/HAP-NodeJS/accessories/types.js");
|
var types = require("../lib/HAP-NodeJS/accessories/types.js");
|
||||||
var wemo = require('wemo');
|
var wemo = require('wemo');
|
||||||
|
|
||||||
|
// extend our search timeout from 5 seconds to 60
|
||||||
|
wemo.SearchTimeout = 60000;
|
||||||
|
|
||||||
function WeMoAccessory(log, config) {
|
function WeMoAccessory(log, config) {
|
||||||
this.log = log;
|
this.log = log;
|
||||||
this.name = config["name"];
|
this.name = config["name"];
|
||||||
|
|||||||
Reference in New Issue
Block a user