node-red-contrib-knx-ultimate 2.1.44 → 2.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -1
- package/nodes/utils/hueEngine.js +10 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
# CHANGELOG
|
|
8
8
|
|
|
9
9
|
<p>
|
|
10
|
-
<b>Version 2.1.
|
|
10
|
+
<b>Version 2.1.45</b> - August 2023<br/>
|
|
11
11
|
- HUE Light: now it correctly sets the KNX brightness if you turn on/off the light via HUE app.<br/>
|
|
12
|
+
- Fix a resource occupation while connecting to the HUE bridge and the bridge is not reachable for the first time.<br/>
|
|
12
13
|
</p>
|
|
13
14
|
<p>
|
|
14
15
|
<b>Version 2.1.43</b> - August 2023<br/>
|
package/nodes/utils/hueEngine.js
CHANGED
|
@@ -61,15 +61,16 @@ class classHUE extends EventEmitter {
|
|
|
61
61
|
this.emit('connected');
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
this.es.onerror = (error) => {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
64
|
+
// this.es.onerror = (error) => {
|
|
65
|
+
// 29/08/2023 NON riattivare, perchè alla disconnessione, va in loop e consuma tutto il pool di risorse.
|
|
66
|
+
// try {
|
|
67
|
+
// this.es.close();
|
|
68
|
+
// this.es = null;
|
|
69
|
+
// if (this.sysLogger !== undefined && this.sysLogger !== null) this.sysLogger.error(`KNXUltimatehueEngine: classHUE: request.on(error): ${error.message}`);
|
|
70
|
+
// } catch (err) { /* empty */ }
|
|
71
|
+
// this.Connect();
|
|
72
|
+
// // this.emit('error', error)
|
|
73
|
+
// };
|
|
73
74
|
|
|
74
75
|
// 31/07/2023 Every now and then, restart the connection to the eventsource, because it can goes down without knowing that
|
|
75
76
|
if (this.timerReconnect !== undefined) clearInterval(this.timerReconnect);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"engines": {
|
|
4
4
|
"node": ">=16.0.0"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.1.
|
|
6
|
+
"version": "2.1.45",
|
|
7
7
|
"description": "Control your KNX intallation via Node-Red! Single Node KNX IN/OUT with optional ETS group address importer. Easy to use and highly configurable. With integrated Philips HUE devices handling.",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"binary-parser": "2.2.1",
|