homebridge-enphase-envoy 10.2.6-beta.3 → 10.2.6-beta.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.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "displayName": "Enphase Envoy",
4
4
  "name": "homebridge-enphase-envoy",
5
- "version": "10.2.6-beta.3",
5
+ "version": "10.2.6-beta.4",
6
6
  "description": "Homebridge p7ugin for Photovoltaic Energy System manufactured by Enphase.",
7
7
  "license": "MIT",
8
8
  "author": "grzegorz914",
@@ -1210,11 +1210,13 @@ class EnvoyDevice extends EventEmitter {
1210
1210
  });
1211
1211
  }
1212
1212
 
1213
- // Wireless connection kits
1213
+ this.envoyService = service;
1214
+
1215
+ // Network Interfaces
1214
1216
  if (networkInterfacesInstalled) {
1215
1217
  this.networkInterfacesServices = [];
1216
1218
 
1217
- for (const networkInterface of home.networkInterfaces) {
1219
+ for (const networkInterface of home.network.interfaces) {
1218
1220
  const interfaceType = networkInterface.type;
1219
1221
  if (this.logDebug) this.emit('debug', `Prepare Network Interface ${interfaceType} Service`);
1220
1222
 
@@ -1273,8 +1275,6 @@ class EnvoyDevice extends EventEmitter {
1273
1275
  this.wirelessConnectionsKitServices.push(wirelessService);
1274
1276
  }
1275
1277
  }
1276
-
1277
- this.envoyService = service;
1278
1278
  }
1279
1279
 
1280
1280
  //meters