homebridge-enphase-envoy 10.2.7-beta.2 → 10.2.7-beta.3
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 +2 -2
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.7-beta.
|
|
5
|
+
"version": "10.2.7-beta.3",
|
|
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
|
@@ -805,7 +805,7 @@ class EnvoyDevice extends EventEmitter {
|
|
|
805
805
|
.setCharacteristic(Characteristic.FirmwareRevision, this.pv.info.software.replace(/[a-zA-Z]/g, '') ?? '0');
|
|
806
806
|
|
|
807
807
|
switch (i) {
|
|
808
|
-
case
|
|
808
|
+
case 0://PV
|
|
809
809
|
//system
|
|
810
810
|
if (this.systemAccessory) {
|
|
811
811
|
if (this.logDebug) this.emit('debug', `Prepare System Service`);
|
|
@@ -2998,7 +2998,7 @@ class EnvoyDevice extends EventEmitter {
|
|
|
2998
2998
|
|
|
2999
2999
|
accessories.push(accessory);
|
|
3000
3000
|
break;
|
|
3001
|
-
case
|
|
3001
|
+
case 1: //Energy Meter
|
|
3002
3002
|
if (this.logDebug) this.emit('debug', `Prepare Fakegato ${this.pv.powerAndEnergyData.data[0].measurementType} Service`);
|
|
3003
3003
|
this.fakegatoHistoryService = new this.fakegatoHistory(`energy`, accessory, {
|
|
3004
3004
|
storage: 'fs',
|