homebridge-enphase-envoy 10.2.6-beta.6 → 10.2.6-beta.7
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 -0
- package/package.json +1 -1
- package/src/envoydevice.js +2 -6
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
15
15
|
|
|
16
16
|
- fix [#216](https://github.com/grzegorz914/homebridge-enphase-envoy/issues/216)
|
|
17
17
|
- fix [#217](https://github.com/grzegorz914/homebridge-enphase-envoy/issues/217)
|
|
18
|
+
- fix wireless connections kit publish
|
|
19
|
+
- added network interface services
|
|
18
20
|
- cleanup
|
|
19
21
|
|
|
20
22
|
## [10.2.5] - (17.10.2025)
|
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.7",
|
|
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
|
@@ -3093,9 +3093,8 @@ class EnvoyDevice extends EventEmitter {
|
|
|
3093
3093
|
try {
|
|
3094
3094
|
const comm = home.comm ?? {};
|
|
3095
3095
|
const network = home.network ?? {};
|
|
3096
|
-
const wirelessConnections = home.wireless_connection ?? [];
|
|
3097
|
-
const networkInterfaces = network.interfaces ?? [];
|
|
3098
|
-
|
|
3096
|
+
const wirelessConnections = (home.wireless_connection ?? []).filter(kit => kit.signal_strength_max > 0);
|
|
3097
|
+
const networkInterfaces = (network.interfaces ?? []).filter(iface => iface.carrier === true || iface.ip !== '169.254.120.1');
|
|
3099
3098
|
// Communication device support flags
|
|
3100
3099
|
const commEnsemble = comm.esub ?? {};
|
|
3101
3100
|
const commEncharges = Array.isArray(comm.encharge) ? comm.encharge : [];
|
|
@@ -3115,7 +3114,6 @@ class EnvoyDevice extends EventEmitter {
|
|
|
3115
3114
|
configured: iface.type === 'wifi' ? iface.configured : null,
|
|
3116
3115
|
status: iface.type === 'wifi' ? ApiCodes[iface.status] : null
|
|
3117
3116
|
}));
|
|
3118
|
-
|
|
3119
3117
|
// Process encharges (synchronous)
|
|
3120
3118
|
const encharges = commEncharges.map(encharge => ({
|
|
3121
3119
|
num: encharge.num,
|
|
@@ -3204,7 +3202,6 @@ class EnvoyDevice extends EventEmitter {
|
|
|
3204
3202
|
// Network interfaces
|
|
3205
3203
|
if (this.feature.home.networkInterfaces.installed) {
|
|
3206
3204
|
interfaces?.forEach((networkInterface, index) => {
|
|
3207
|
-
if (!networkInterface.carrier || networkInterface.ip === '169.254.120.1') return;
|
|
3208
3205
|
|
|
3209
3206
|
// Create characteristics
|
|
3210
3207
|
const characteristics1 = [
|
|
@@ -3224,7 +3221,6 @@ class EnvoyDevice extends EventEmitter {
|
|
|
3224
3221
|
// Wireless connection characteristics
|
|
3225
3222
|
if (this.feature.home.wirelessConnections.installed) {
|
|
3226
3223
|
wirelessKits?.forEach((kit, index) => {
|
|
3227
|
-
if (!kit || kit.signalStrengthMax === 0) return;
|
|
3228
3224
|
|
|
3229
3225
|
// Create characteristics
|
|
3230
3226
|
const characteristics2 = [
|