homebridge-enphase-envoy 10.3.1-beta.3 → 10.3.1-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 +9 -7
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.3.1-beta.
|
|
5
|
+
"version": "10.3.1-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
|
@@ -3109,13 +3109,6 @@ class EnvoyDevice extends EventEmitter {
|
|
|
3109
3109
|
this.emit('devInfo', `SerialNr: ${info.serialNumber}`);
|
|
3110
3110
|
this.emit('devInfo', `Time: ${this.functions.formatTimestamp(info.time, timeZone)}`);
|
|
3111
3111
|
this.emit('devInfo', `------------------------------`);
|
|
3112
|
-
if (energyMeter) {
|
|
3113
|
-
this.emit('devInfo', `Eve Energy Meter: ${this.energyMeter ? 'Enabled' : 'Disabled'}`);
|
|
3114
|
-
this.emit('devInfo', `Production: Enabled`);
|
|
3115
|
-
if (feature.meters.consumptionNet.supported) this.emit('devInfo', `Consumption Net: ${feature.meters.consumptionNet.enabled ? 'Enabled' : 'Disabled'}`);
|
|
3116
|
-
if (feature.meters.consumptionTotal.supported) this.emit('devInfo', `Consumption Total: ${feature.meters.consumptionTotal.enabled ? 'Enabled' : 'Disabled'}`);
|
|
3117
|
-
this.emit('devInfo', `------------------------------`);
|
|
3118
|
-
}
|
|
3119
3112
|
|
|
3120
3113
|
// Inventory
|
|
3121
3114
|
let hasInventoryInfo = false;
|
|
@@ -3172,6 +3165,15 @@ class EnvoyDevice extends EventEmitter {
|
|
|
3172
3165
|
|
|
3173
3166
|
this.emit('devInfo', `--------------------------------`);
|
|
3174
3167
|
}
|
|
3168
|
+
|
|
3169
|
+
// Eve Energy Meter
|
|
3170
|
+
if (this.energyMeter) {
|
|
3171
|
+
this.emit('devInfo', `EVE Meter: Yes`);
|
|
3172
|
+
this.emit('devInfo', `Production: Enabled`);
|
|
3173
|
+
if (feature.meters.consumptionNet.supported) this.emit('devInfo', `Consumption Net: ${feature.meters.consumptionNet.enabled ? 'Enabled' : 'Disabled'}`);
|
|
3174
|
+
if (feature.meters.consumptionTotal.supported) this.emit('devInfo', `Consumption Total: ${feature.meters.consumptionTotal.enabled ? 'Enabled' : 'Disabled'}`);
|
|
3175
|
+
this.emit('devInfo', `------------------------------`);
|
|
3176
|
+
}
|
|
3175
3177
|
})
|
|
3176
3178
|
.on('updateDataSampling', (state) => {
|
|
3177
3179
|
if (this.logDebug) this.emit('debug', `Update data sampling`);
|