homebridge-enphase-envoy 10.2.6-beta.4 → 10.2.6-beta.5
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 +1 -1
- package/src/envoydevice.js +5 -5
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.
|
|
5
|
+
"version": "10.2.6-beta.5",
|
|
6
6
|
"description": "Homebridge p7ugin for Photovoltaic Energy System manufactured by Enphase.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": "grzegorz914",
|
package/src/envoydevice.js
CHANGED
|
@@ -3203,14 +3203,14 @@ class EnvoyDevice extends EventEmitter {
|
|
|
3203
3203
|
|
|
3204
3204
|
// Network interfaces
|
|
3205
3205
|
if (this.feature.home.networkInterfaces.installed) {
|
|
3206
|
-
interfaces?.forEach((
|
|
3207
|
-
if (!
|
|
3206
|
+
interfaces?.forEach((networkInterface, index) => {
|
|
3207
|
+
if (!networkInterface.carrier) return;
|
|
3208
3208
|
|
|
3209
3209
|
// Create characteristics
|
|
3210
3210
|
const characteristics1 = [
|
|
3211
|
-
{ type: Characteristic.Type, value:
|
|
3212
|
-
{ type: Characteristic.AddressIp, value:
|
|
3213
|
-
{ type: Characteristic.SignalStrength, value:
|
|
3211
|
+
{ type: Characteristic.Type, value: networkInterface.type },
|
|
3212
|
+
{ type: Characteristic.AddressIp, value: networkInterface.ip },
|
|
3213
|
+
{ type: Characteristic.SignalStrength, value: networkInterface.signalStrength },
|
|
3214
3214
|
];
|
|
3215
3215
|
|
|
3216
3216
|
// Update envoy services
|