mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Silence Listener leak warning (#229)
* Replacing the original wemo node with the wemo-ng node * Added install instructions * Fix name of wemo out node * Fix some jshint errors More jshint fixes fix jshint last jshint fix Fix last jshint error * Adds proper url length detection * fix up the extra line added in the merge * Fix some jshint errors More jshint fixes fix jshint last jshint fix Fix last jshint error load of tiny listing fixes, undef, unused, etc fix slight wrinkle in new Wemo node Fix wemo package name for npm. Add contribution.md to node-red-nodes to make it more obvious. correct spelling in readme.md revert .jshintrc Added subtree and walker nodes. (#200) Thanks @mikakaraila - very useful. slight edits to snmp to pass jslint-ing Bump underlying serial port nam version correct BBB callback response to check exists To Fix #198 * Adds proper url length detection fix up the extra line added in the merge * Added some more error checking in discovery * Adds proper url length detection* fix up the extra line added in the merge * Adds proper url length detection * fix up the extra line added in the merge Add line output mode for Daemon node to address #202 Email rework (#195) * Rework of Node-RED email nodes tidy up email listing - no code changes add latest email node dips and update email node libs - bump version update package version for nodes tests add a few tests geohash, smooth, base64, msgpack correct path of source file Thanks @Ltrlg Fix typo in node-red-node-smooth (#205) node-red-node-physical-web: Added msg.advertising = true/false to enable/disable advertising (#204) * Added msg.advertising = true/false to enable/disable advertising * Fixed comparison with bool Don't use get_compass as it breaks get_orientation add envelope to email node options as part of node-red#875 Physical-web: Added status (found, updated and lost) as msg.topic (#206) Added msg.advertising = true/false to enable/disable advertising Added status (lost, updated, found) as msg.topic, if not already set Added checkbox to allow duplicates or not. * Re-added optional topic to avoid breaking compatibility * Cleaner topic slection add a v0.3 serial port to help with node5/6 let PI try to enable sensorTag access on install Add cc and bcc options to email node to close #209 updates to email node to better handle different mail types. Still not great - but does the basics… To close Better email node parsing (again) Fix indent fixed formating * Fix heading in README.md Fix node name in README.md * Silences warnings about too many listeners
This commit is contained in:
parent
eb6e35957b
commit
04b7ee9e1e
@ -73,6 +73,7 @@ util.inherits(WeMoNG, events.EventEmitter);
|
|||||||
WeMoNG.prototype.start = function start() {
|
WeMoNG.prototype.start = function start() {
|
||||||
//console.log("searching");
|
//console.log("searching");
|
||||||
var _wemo = this;
|
var _wemo = this;
|
||||||
|
_wemo.setMaxListeners(0);
|
||||||
_wemo._client = new Client();
|
_wemo._client = new Client();
|
||||||
_wemo._client.setMaxListeners(0);
|
_wemo._client.setMaxListeners(0);
|
||||||
_wemo._client.on('response', function (headers, statusCode, rinfo) {
|
_wemo._client.on('response', function (headers, statusCode, rinfo) {
|
||||||
@ -195,6 +196,7 @@ WeMoNG.prototype.start = function start() {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.error("failed to parse respose from " + location.href);
|
console.error("failed to parse respose from " + location.href);
|
||||||
|
console.error(xml);
|
||||||
console.error(err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user