node-red-contrib-knx-ultimate 3.3.3 → 3.3.4

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.
@@ -61,6 +61,14 @@ module.exports = (RED) => {
61
61
  function commonFunctions() {
62
62
  var node = this;
63
63
 
64
+ // Gather infos about all interfaces on the lan and provides a static variable utils.aDiscoveredknxGateways
65
+ try {
66
+ require('./utils/utils').DiscoverKNXGateways()
67
+ } catch (error) {
68
+
69
+ }
70
+
71
+
64
72
 
65
73
  // 11/03/2020 Delete scene saved file, from html
66
74
  RED.httpAdmin.get('/knxultimateCheckHueConnected', (req, res) => {
@@ -119,8 +119,6 @@ module.exports = (RED) => {
119
119
  if (node.sysLogger !== undefined && node.sysLogger !== null) node.sysLogger.info("IP Protocol AUTO SET to " + node.hostProtocol + ", based on IP " + node.host);
120
120
  }
121
121
 
122
- // Gather infos about all interfaces on the lan and provides a static variable utils.aDiscoveredknxGateways
123
- utils.DiscoverKNXGateways()
124
122
 
125
123
  node.setAllClientsStatus = (_status, _color, _text) => {
126
124
  node.nodeClients.forEach((oClient) => {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "engines": {
4
4
  "node": ">=16.0.0"
5
5
  },
6
- "version": "3.3.3",
6
+ "version": "3.3.4",
7
7
  "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.",
8
8
  "dependencies": {
9
9
  "binary-parser": "2.2.1",