homebridge-enphase-envoy 10.4.1-beta.3 → 10.4.2-beta.0
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 +8 -0
- package/config.schema.json +7 -6
- package/index.js +2 -2
- package/package.json +1 -1
- package/src/envoydevice.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
- For plugin >= v10.4.0 use Homebridge UI >= v5.13.0
|
|
12
12
|
- after update to v10.0.0 and above the accessory and bridge need to be removed from the homebridge / Home.app and added again
|
|
13
13
|
|
|
14
|
+
## [10.4.1] - (03.01.2026)
|
|
15
|
+
|
|
16
|
+
## Changes
|
|
17
|
+
|
|
18
|
+
- config validation improvements
|
|
19
|
+
- config schema updated
|
|
20
|
+
- cleanup
|
|
21
|
+
|
|
14
22
|
## [10.4.0] - (02.01.2026)
|
|
15
23
|
|
|
16
24
|
## Changes
|
package/config.schema.json
CHANGED
|
@@ -146,7 +146,6 @@
|
|
|
146
146
|
"energyMeter": {
|
|
147
147
|
"title": "Energy Meter",
|
|
148
148
|
"type": "boolean",
|
|
149
|
-
"default": false,
|
|
150
149
|
"description": "Enables energy meter as a axtra accessory to display charts in EVE app"
|
|
151
150
|
},
|
|
152
151
|
"lockControl": {
|
|
@@ -181,8 +180,13 @@
|
|
|
181
180
|
"allOf": [
|
|
182
181
|
{
|
|
183
182
|
"if": {
|
|
184
|
-
"
|
|
185
|
-
"
|
|
183
|
+
"required": [
|
|
184
|
+
"enable"
|
|
185
|
+
],
|
|
186
|
+
"properties": {
|
|
187
|
+
"enable": {
|
|
188
|
+
"const": true
|
|
189
|
+
}
|
|
186
190
|
}
|
|
187
191
|
},
|
|
188
192
|
"then": {
|
|
@@ -1386,7 +1390,6 @@
|
|
|
1386
1390
|
"energyConsumptionNetLifetimeOffset": {
|
|
1387
1391
|
"title": "Energy Lifetime Offset",
|
|
1388
1392
|
"type": "integer",
|
|
1389
|
-
"default": 0,
|
|
1390
1393
|
"description": "Offset in (Wh) for net energy consumption (if needed)"
|
|
1391
1394
|
},
|
|
1392
1395
|
"energyConsumptionNetLevelSensors": {
|
|
@@ -1935,13 +1938,11 @@
|
|
|
1935
1938
|
"enpowerDryContactsControl": {
|
|
1936
1939
|
"title": "Dry Contacts Control",
|
|
1937
1940
|
"type": "boolean",
|
|
1938
|
-
"default": false,
|
|
1939
1941
|
"description": "Enables control over dry contacts state"
|
|
1940
1942
|
},
|
|
1941
1943
|
"enpowerDryContactsSensor": {
|
|
1942
1944
|
"title": "Dry Contacts Sensor",
|
|
1943
1945
|
"type": "boolean",
|
|
1944
|
-
"default": false,
|
|
1945
1946
|
"description": "Enables monitoring of dry contacts state"
|
|
1946
1947
|
},
|
|
1947
1948
|
"enpowerGridStateControl": {
|
package/index.js
CHANGED
|
@@ -96,8 +96,8 @@ class EnvoyPlatform {
|
|
|
96
96
|
.on('start', async () => {
|
|
97
97
|
try {
|
|
98
98
|
const envoyDevice = new EnvoyDevice(api, log, url, deviceName, device, envoyIdFile, envoyTokenFile, prefDir, energyMeterHistoryFileName)
|
|
99
|
-
.on('devInfo', (info) => log.info(info))
|
|
100
|
-
.on('success', (msg) => log.success(`Device: ${host} ${deviceName}, ${msg}`))
|
|
99
|
+
.on('devInfo', (info) => logLevel.devInfo && log.info(info))
|
|
100
|
+
.on('success', (msg) => logLevel.success && log.success(`Device: ${host} ${deviceName}, ${msg}`))
|
|
101
101
|
.on('info', (msg) => log.info(`Device: ${host} ${deviceName}, ${msg}`))
|
|
102
102
|
.on('debug', (msg, data) => log.info(`Device: ${host} ${deviceName}, debug: ${data ? `${msg} ${JSON.stringify(data, null, 2)}` : msg}`))
|
|
103
103
|
.on('warn', (msg) => log.warn(`Device: ${host} ${deviceName}, ${msg}`))
|
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.4.
|
|
5
|
+
"version": "10.4.2-beta.0",
|
|
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
|
@@ -91,8 +91,6 @@ class EnvoyDevice extends EventEmitter {
|
|
|
91
91
|
this.dataSamplingSensor = device.dataRefreshSensor || {};
|
|
92
92
|
|
|
93
93
|
//log
|
|
94
|
-
this.logDeviceInfo = device.log?.deviceInfo || true;
|
|
95
|
-
this.logSuccess = device.log?.logSuccess || false;
|
|
96
94
|
this.logInfo = device.log?.info || false;
|
|
97
95
|
this.logWarn = device.log?.warn || true;
|
|
98
96
|
this.logError = device.log?.error || true;
|
|
@@ -3119,7 +3117,6 @@ class EnvoyDevice extends EventEmitter {
|
|
|
3119
3117
|
|
|
3120
3118
|
if (this.logDebug) this.emit('debug', `Requesting device info`);
|
|
3121
3119
|
if (this.logSuccess) this.emit('success', `Connect Success`);
|
|
3122
|
-
if (!this.logDeviceInfo) return;
|
|
3123
3120
|
|
|
3124
3121
|
// Device basic info
|
|
3125
3122
|
this.emit('devInfo', `-------- ${this.name} --------`);
|