homebridge-enphase-envoy 10.2.5-beta.6 → 10.2.5-beta.8
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/envoydata.js +2 -2
- package/src/envoydevice.js +0 -3
- package/src/functions.js +1 -0
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.5-beta.
|
|
5
|
+
"version": "10.2.5-beta.8",
|
|
6
6
|
"description": "Homebridge p7ugin for Photovoltaic Energy System manufactured by Enphase.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": "grzegorz914",
|
package/src/envoydata.js
CHANGED
|
@@ -12,7 +12,7 @@ class EnvoyData extends EventEmitter {
|
|
|
12
12
|
super();
|
|
13
13
|
|
|
14
14
|
//device configuration
|
|
15
|
-
this.host = host;
|
|
15
|
+
this.host = device.host;
|
|
16
16
|
this.envoyFirmware7xxTokenGenerationMode = device.envoyFirmware7xxTokenGenerationMode;
|
|
17
17
|
this.envoyPasswd = device.envoyPasswd;
|
|
18
18
|
this.enlightenUser = device.enlightenUser;
|
|
@@ -39,7 +39,7 @@ class EnvoyData extends EventEmitter {
|
|
|
39
39
|
this.checkTokenRunning = false;
|
|
40
40
|
|
|
41
41
|
//url
|
|
42
|
-
this.url = envoyFirmware7xxTokenGenerationMode > 0 ? `https://${this.host}` : `http://${this.host}`;
|
|
42
|
+
this.url = device.envoyFirmware7xxTokenGenerationMode > 0 ? `https://${this.host}` : `http://${this.host}`;
|
|
43
43
|
|
|
44
44
|
//supported functions
|
|
45
45
|
this.feature = {
|
package/src/envoydevice.js
CHANGED
|
@@ -361,9 +361,6 @@ class EnvoyDevice extends EventEmitter {
|
|
|
361
361
|
this.envoyIdFile = envoyIdFile;
|
|
362
362
|
this.envoyTokenFile = envoyTokenFile;
|
|
363
363
|
|
|
364
|
-
//url
|
|
365
|
-
this.url = device.envoyFirmware7xxTokenGenerationMode > 0 ? `https://${this.host}` : `http://${this.host}`;
|
|
366
|
-
|
|
367
364
|
//supported functions
|
|
368
365
|
this.feature = {
|
|
369
366
|
productionState: {
|