homebridge-enphase-envoy 10.2.2-beta.13 → 10.2.2-beta.15
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 +6 -6
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.2-beta.
|
|
5
|
+
"version": "10.2.2-beta.15",
|
|
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
|
@@ -984,16 +984,16 @@ class EnvoyDevice extends EventEmitter {
|
|
|
984
984
|
if (updateMeters && this.feature.meters.installed && this.feature.metersReading.installed && !this.feature.metersReports.installed) await this.updateMetersReading(false);
|
|
985
985
|
if (updateMeters && this.feature.meters.installed && this.feature.metersReports.installed) await this.updateMetersReports(false);
|
|
986
986
|
|
|
987
|
-
if (updateMeters && this.feature.metersData.supported) await this.updateMetersData();
|
|
988
|
-
if (updateInventory && this.feature.pcusData.supported) await this.updatePcusData();
|
|
989
|
-
if (updateInventory && this.feature.nsrbsData.supported) await this.updateNsrbsData();
|
|
990
|
-
|
|
991
987
|
if (this.feature.production.supported) await this.updateProduction();
|
|
992
988
|
if (this.feature.productionPdm.supported && !this.feature.energyPdm.supported) await this.updateProductionPdm();
|
|
993
989
|
if (this.feature.energyPdm.supported) await this.updateEnergyPdm();
|
|
994
|
-
|
|
995
990
|
const updateProductionCt = this.feature.productionCt.supported ? await this.updateProductionCt() : false;
|
|
996
|
-
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
if (updateMeters && this.feature.metersData.supported) await this.updateMetersData();
|
|
994
|
+
if (this.feature.inventory.supported && this.feature.pcusData.supported) await this.updatePcusData();
|
|
995
|
+
if (this.feature.inventory.supported && this.feature.nsrbsData.supported) await this.updateNsrbsData();
|
|
996
|
+
if ((this.feature.inventory.supported || updateProductionCt) && this.feature.acbsData.supported) await this.updateAcbsData();
|
|
997
997
|
if (this.feature.powerAndEnergyData.supported) await this.updatePowerAndEnergyData();
|
|
998
998
|
}))
|
|
999
999
|
.on('updateEnsemble', () => this.handleWithLock('updateEnsemble', async () => {
|