homebridge-enphase-envoy 10.2.6-beta.5 → 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 +10 -0
- package/package.json +1 -1
- package/src/customcharacteristics.js +1 -1
- package/src/envoydata.js +1 -1
- package/src/envoydevice.js +2 -6
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
- after update to v10.0.0 and above the accessory and bridge need to be removed from the homebridge / Home.app and added again
|
|
11
11
|
|
|
12
|
+
## [10.2.6] - (18.10.2025)
|
|
13
|
+
|
|
14
|
+
## Changes
|
|
15
|
+
|
|
16
|
+
- fix [#216](https://github.com/grzegorz914/homebridge-enphase-envoy/issues/216)
|
|
17
|
+
- fix [#217](https://github.com/grzegorz914/homebridge-enphase-envoy/issues/217)
|
|
18
|
+
- fix wireless connections kit publish
|
|
19
|
+
- added network interface services
|
|
20
|
+
- cleanup
|
|
21
|
+
|
|
12
22
|
## [10.2.5] - (17.10.2025)
|
|
13
23
|
|
|
14
24
|
## Changes
|
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",
|
|
@@ -253,7 +253,7 @@ export default (api) => {
|
|
|
253
253
|
|
|
254
254
|
class AddressIp extends Characteristic {
|
|
255
255
|
constructor() {
|
|
256
|
-
super('Address
|
|
256
|
+
super('Address IP', '00000029-000B-1000-8000-0026BB765291');
|
|
257
257
|
this.setProps({
|
|
258
258
|
format: Formats.STRING,
|
|
259
259
|
perms: [Perms.PAIRED_READ, Perms.NOTIFY]
|
package/src/envoydata.js
CHANGED
|
@@ -933,7 +933,7 @@ class EnvoyData extends EventEmitter {
|
|
|
933
933
|
this.feature.home.networkInterfaces.count = networkInterfaces.length;
|
|
934
934
|
|
|
935
935
|
this.feature.home.wirelessConnections.supported = wirelessConnections.length > 0;
|
|
936
|
-
this.feature.home.wirelessConnections.installed = wirelessConnections.some(w => w.connected
|
|
936
|
+
this.feature.home.wirelessConnections.installed = wirelessConnections.some(w => w.connected);
|
|
937
937
|
this.feature.home.wirelessConnections.count = wirelessConnections.length;
|
|
938
938
|
this.feature.home.supported = true;
|
|
939
939
|
|
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) 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) return;
|
|
3228
3224
|
|
|
3229
3225
|
// Create characteristics
|
|
3230
3226
|
const characteristics2 = [
|