homebridge-enphase-envoy 10.4.0 → 10.4.1-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.
Files changed (2) hide show
  1. package/config.schema.json +43 -69
  2. package/package.json +2 -2
@@ -138,7 +138,6 @@
138
138
  "envoyTokenInstaller": {
139
139
  "title": "Installer",
140
140
  "type": "boolean",
141
- "default": false,
142
141
  "description": "Enable for installer-provided token",
143
142
  "condition": {
144
143
  "functionBody": "return model.devices[arrayIndices].envoyFirmware7xxTokenGenerationMode === 2;"
@@ -309,8 +308,6 @@
309
308
  "powerProductionSummary": {
310
309
  "title": "Power Summary",
311
310
  "type": "integer",
312
- "minimum": 1,
313
- "default": 1000,
314
311
  "description": "Using the Enphase app, provide the total (W) of all microinverters (used to calculate percentage)"
315
312
  },
316
313
  "powerProductionLevelSensors": {
@@ -610,38 +607,7 @@
610
607
  },
611
608
  "then": {
612
609
  "required": [
613
- "compareMode"
614
- ]
615
- }
616
- },
617
- {
618
- "if": {
619
- "required": [
620
- "displayType",
621
- "compareMode"
622
- ],
623
- "properties": {
624
- "displayType": {
625
- "enum": [
626
- 1,
627
- 2,
628
- 3
629
- ]
630
- },
631
- "compareMode": {
632
- "enum": [
633
- 0,
634
- 1,
635
- 2,
636
- 3,
637
- 4,
638
- 5
639
- ]
640
- }
641
- }
642
- },
643
- "then": {
644
- "required": [
610
+ "compareMode",
645
611
  "energyLevel"
646
612
  ]
647
613
  }
@@ -652,7 +618,6 @@
652
618
  "energyProductionLifetimeOffset": {
653
619
  "title": "Energy Lifetime Offset",
654
620
  "type": "integer",
655
- "default": 0,
656
621
  "description": "Here set offset in (Wh) for energy production (if needed)"
657
622
  },
658
623
  "gridProductionQualitySensors": {
@@ -1068,7 +1033,6 @@
1068
1033
  "energyConsumptionTotalLifetimeOffset": {
1069
1034
  "title": "Energy Lifetime Offset",
1070
1035
  "type": "integer",
1071
- "default": 0,
1072
1036
  "description": "Offset in (Wh) for energy consumption total (if needed)"
1073
1037
  },
1074
1038
  "energyConsumptionTotalLevelSensors": {
@@ -1200,38 +1164,7 @@
1200
1164
  },
1201
1165
  "then": {
1202
1166
  "required": [
1203
- "compareMode"
1204
- ]
1205
- }
1206
- },
1207
- {
1208
- "if": {
1209
- "required": [
1210
- "displayType",
1211
- "compareMode"
1212
- ],
1213
- "properties": {
1214
- "displayType": {
1215
- "enum": [
1216
- 1,
1217
- 2,
1218
- 3
1219
- ]
1220
- },
1221
- "compareMode": {
1222
- "enum": [
1223
- 0,
1224
- 1,
1225
- 2,
1226
- 3,
1227
- 4,
1228
- 5
1229
- ]
1230
- }
1231
- }
1232
- },
1233
- "then": {
1234
- "required": [
1167
+ "compareMode",
1235
1168
  "energyLevel"
1236
1169
  ]
1237
1170
  }
@@ -4062,6 +3995,47 @@
4062
3995
  "name",
4063
3996
  "displayType",
4064
3997
  "envoyFirmware7xxTokenGenerationMode"
3998
+ ],
3999
+ "allOf": [
4000
+ {
4001
+ "if": {
4002
+ "required": [
4003
+ "envoyFirmware7xxTokenGenerationMode"
4004
+ ],
4005
+ "properties": {
4006
+ "envoyFirmware7xxTokenGenerationMode": {
4007
+ "enum": [
4008
+ 1
4009
+ ]
4010
+ }
4011
+ }
4012
+ },
4013
+ "then": {
4014
+ "required": [
4015
+ "enlightenUser",
4016
+ "enlightenPasswd"
4017
+ ]
4018
+ }
4019
+ },
4020
+ {
4021
+ "if": {
4022
+ "required": [
4023
+ "envoyFirmware7xxTokenGenerationMode"
4024
+ ],
4025
+ "properties": {
4026
+ "envoyFirmware7xxTokenGenerationMode": {
4027
+ "enum": [
4028
+ 2
4029
+ ]
4030
+ }
4031
+ }
4032
+ },
4033
+ "then": {
4034
+ "required": [
4035
+ "envoyToken"
4036
+ ]
4037
+ }
4038
+ }
4065
4039
  ]
4066
4040
  }
4067
4041
  }
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.0",
5
+ "version": "10.4.1-beta.0",
6
6
  "description": "Homebridge p7ugin for Photovoltaic Energy System manufactured by Enphase.",
7
7
  "license": "MIT",
8
8
  "author": "grzegorz914",
@@ -31,7 +31,7 @@
31
31
  "LICENSE"
32
32
  ],
33
33
  "engines": {
34
- "homebridge": "^1.8.0 || ^2.0.0 || ^2.0.0-beta.40 || ^2.0.0-alpha.60",
34
+ "homebridge": "^1.8.0 || ^2.0.0 || ^2.0.0-beta.81 || ^2.0.0-alpha.68",
35
35
  "node": "^20 || ^22 || ^24 || ^25"
36
36
  },
37
37
  "dependencies": {