Skip to content

Commit 832a41d

Browse files
committed
Restored polling the network for new bulbs
1 parent dbc964f commit 832a41d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lifx.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ Lifx.prototype.startDiscovery = function() {
4646
UDPClient.setBroadcast(true);
4747
var intervalID;
4848
// Now send the discovery packets
49-
// self._intervalID = setInterval(function() {
49+
self._intervalID = setInterval(function() {
5050

5151
var message = packet.getPanGateway({protocol:21504});
5252

5353
if (debug) console.log(" U+ " + message.toString("hex"));
5454
UDPClient.send(message, 0, message.length, port, "255.255.255.255", function(err, bytes) {
5555
});
56-
// }, 1000);
56+
}, 1000);
5757
});
5858

5959
};

0 commit comments

Comments
 (0)