node-red-contrib-knx-ultimate
Advanced tools
Comparing version
@@ -124,3 +124,3 @@ | ||
if (err) { | ||
reject(err); | ||
reject(new Error(err.message || 'getBridgeDetails general error')); | ||
} else { | ||
@@ -127,0 +127,0 @@ // log.trace('http data ' + data); |
@@ -81,3 +81,3 @@ /* eslint-disable max-len */ | ||
this.emit("connected"); | ||
if (this.sysLogger !== undefined && this.sysLogger !== null) this.sysLogger.info(`KNXUltimatehueEngine: classHUE: this.es.onopen: connected`); | ||
// Check wether the hue bridge is connected or not | ||
@@ -90,3 +90,5 @@ if (this.timerCheckConnected !== null) clearInterval(this.timerCheckConnected); | ||
// this.es.onerror = (error) => { | ||
this.es.onerror = (error) => { | ||
if (this.sysLogger !== undefined && this.sysLogger !== null) this.sysLogger.error(`KNXUltimatehueEngine: classHUE: this.es.onopen: ${error.status || ''} ${error.message}`); | ||
}; | ||
// 29/08/2023 NON riattivare, perchè alla disconnessione, va in loop e consuma tutto il pool di risorse. | ||
@@ -93,0 +95,0 @@ // try { |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "3.2.8", | ||
"version": "3.2.9", | ||
"description": "Control your KNX intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control and ETS group address importer. Easy to use and highly configurable.", | ||
@@ -9,0 +9,0 @@ "dependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
6366361
0.01%12508
0.02%