homebridge-solaxcloud-api 2.0.2-beta.0 → 2.1.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.
- package/README.md +17 -11
- package/config.json +6 -1
- package/config.sample +6 -2
- package/config.schema.json +27 -17
- package/dist/lightSensorAccessory.d.ts +3 -4
- package/dist/lightSensorAccessory.d.ts.map +1 -1
- package/dist/lightSensorAccessory.js +6 -7
- package/dist/lightSensorAccessory.js.map +1 -1
- package/dist/motionAccessory.d.ts +3 -4
- package/dist/motionAccessory.d.ts.map +1 -1
- package/dist/motionAccessory.js +6 -7
- package/dist/motionAccessory.js.map +1 -1
- package/dist/outletAccessory.d.ts +11 -4
- package/dist/outletAccessory.d.ts.map +1 -1
- package/dist/outletAccessory.js +19 -11
- package/dist/outletAccessory.js.map +1 -1
- package/dist/platform.d.ts +10 -54
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +80 -181
- package/dist/platform.js.map +1 -1
- package/dist/platformAccessory.d.ts +7 -8
- package/dist/platformAccessory.d.ts.map +1 -1
- package/dist/platformAccessory.js +13 -14
- package/dist/platformAccessory.js.map +1 -1
- package/dist/platformInverter.d.ts +97 -0
- package/dist/platformInverter.d.ts.map +1 -0
- package/dist/platformInverter.js +206 -0
- package/dist/platformInverter.js.map +1 -0
- package/dist/util.d.ts +6 -0
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +8 -0
- package/dist/util.js.map +1 -1
- package/images/homebridge-ui.png +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SolaxCloudAPIPlatformInverter = void 0;
|
|
4
|
+
const solaxcloudapi_1 = require("./solaxcloudapi");
|
|
5
|
+
const outletAccessory_1 = require("./outletAccessory");
|
|
6
|
+
const lightSensorAccessory_1 = require("./lightSensorAccessory");
|
|
7
|
+
const motionAccessory_1 = require("./motionAccessory");
|
|
8
|
+
/**
|
|
9
|
+
* Standard names for accessories.
|
|
10
|
+
*/
|
|
11
|
+
const ACCESSORY_NAMES = {
|
|
12
|
+
pv: 'PV',
|
|
13
|
+
inverterAC: 'AC',
|
|
14
|
+
inverterToGrid: 'To Grid',
|
|
15
|
+
inverterToHouse: 'To House',
|
|
16
|
+
gridToHouse: 'From Grid',
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* SolaxCloudAPIPlatformInverter.
|
|
20
|
+
* This class is the main constructor for your inverter accessories
|
|
21
|
+
* to be used by Homebridge.
|
|
22
|
+
*/
|
|
23
|
+
class SolaxCloudAPIPlatformInverter {
|
|
24
|
+
/**
|
|
25
|
+
* Platform inverter constructor.
|
|
26
|
+
* @param log
|
|
27
|
+
* @param config
|
|
28
|
+
* @param api
|
|
29
|
+
* @param tokenId
|
|
30
|
+
* @param inverterSN
|
|
31
|
+
* @param smoothingWindow
|
|
32
|
+
* @returns
|
|
33
|
+
*/
|
|
34
|
+
constructor(log, config, api, tokenId, sn, name, smoothingWindow) {
|
|
35
|
+
/** Array with all accessories */
|
|
36
|
+
this.solaxAccessories = [];
|
|
37
|
+
// store values in properties
|
|
38
|
+
this.log = log;
|
|
39
|
+
this.config = config;
|
|
40
|
+
this.api = api;
|
|
41
|
+
// setup inverter data
|
|
42
|
+
this.sn = sn.toLowerCase();
|
|
43
|
+
this.name = name;
|
|
44
|
+
this.smoothingWindow = smoothingWindow;
|
|
45
|
+
this.log.info(`Initialing acessories for inverter "${name}" (SN="${sn}")...`);
|
|
46
|
+
// init new Solax Cloud API object with give tokenID and sn
|
|
47
|
+
this.solaxCloudAPI = new solaxcloudapi_1.SolaxCloudAPI(tokenId, sn);
|
|
48
|
+
// initial data set
|
|
49
|
+
const apiData = this.solaxCloudAPI.getAPIData();
|
|
50
|
+
this.log.debug(`apiData = ${JSON.stringify(apiData)}`);
|
|
51
|
+
let inverterModel;
|
|
52
|
+
if (apiData.success) {
|
|
53
|
+
inverterModel = solaxcloudapi_1.SolaxCloudAPI.getInverterType(apiData.result.inverterType);
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
this.log.info('Could not retrieve initial values from Solax Cloud, accessory Serial Number and Model properties deferred...');
|
|
57
|
+
inverterModel = 'Unknown';
|
|
58
|
+
}
|
|
59
|
+
// setup raw outlet accessories
|
|
60
|
+
this.rawOutlets = {
|
|
61
|
+
pv: new outletAccessory_1.SolaxOutletAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.pv}`, `pv-${this.sn}`, inverterModel),
|
|
62
|
+
inverterAC: new outletAccessory_1.SolaxOutletAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterAC}`, `inv-ac-${this.sn}`, inverterModel),
|
|
63
|
+
inverterToGrid: new outletAccessory_1.SolaxOutletAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterToGrid}`, `inv-grid-${this.sn}`, inverterModel),
|
|
64
|
+
inverterToHouse: new outletAccessory_1.SolaxOutletAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterToHouse}`, `inv-house-${this.sn}`, inverterModel),
|
|
65
|
+
gridToHouse: new outletAccessory_1.SolaxOutletAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.gridToHouse}`, `grid-house-${this.sn}`, inverterModel),
|
|
66
|
+
};
|
|
67
|
+
// setup update motion sensor
|
|
68
|
+
this.motionUpdate =
|
|
69
|
+
new motionAccessory_1.SolaxMotionAccessory(this.log, this.api, `${this.name} Update`, `update-${this.sn}`, inverterModel);
|
|
70
|
+
// create array with all base accessories
|
|
71
|
+
this.solaxAccessories =
|
|
72
|
+
[this.rawOutlets.pv, this.rawOutlets.inverterAC, this.rawOutlets.inverterToGrid,
|
|
73
|
+
this.rawOutlets.inverterToHouse, this.rawOutlets.gridToHouse, this.motionUpdate];
|
|
74
|
+
// check if "pure" Home App accessories are needed
|
|
75
|
+
if (this.config.pureHomeApp) {
|
|
76
|
+
// add raw light sensors
|
|
77
|
+
this.rawLightSensors = {
|
|
78
|
+
pv: new lightSensorAccessory_1.SolaxLightSensorAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.pv} sensor`, `pv-light-${this.sn}`, inverterModel),
|
|
79
|
+
inverterAC: new lightSensorAccessory_1.SolaxLightSensorAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterAC} sensor`, `inv-ac-light-${this.sn}`, inverterModel),
|
|
80
|
+
inverterToGrid: new lightSensorAccessory_1.SolaxLightSensorAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterToGrid} sensor`, `inv-grid-light-${this.sn}`, inverterModel),
|
|
81
|
+
inverterToHouse: new lightSensorAccessory_1.SolaxLightSensorAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterToHouse} sensor`, `inv-house-light-${this.sn}`, inverterModel),
|
|
82
|
+
gridToHouse: new lightSensorAccessory_1.SolaxLightSensorAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.gridToHouse} sensor`, `grid-house-light-${this.sn}`, inverterModel),
|
|
83
|
+
};
|
|
84
|
+
this.solaxAccessories.push(this.rawLightSensors.pv, this.rawLightSensors.inverterAC, this.rawLightSensors.inverterToGrid, this.rawLightSensors.inverterToHouse, this.rawLightSensors.gridToHouse);
|
|
85
|
+
if (this.config.smoothMeters) {
|
|
86
|
+
// add smooth light sensors
|
|
87
|
+
this.smoothLightSensors = {
|
|
88
|
+
pv: new lightSensorAccessory_1.SolaxLightSensorAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.pv} sensor (smooth)`, `pv-light-${this.sn}`, inverterModel),
|
|
89
|
+
inverterAC: new lightSensorAccessory_1.SolaxLightSensorAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterAC} sensor (smooth)`, `inv-ac-light-smooth-${this.sn}`, inverterModel),
|
|
90
|
+
inverterToGrid: new lightSensorAccessory_1.SolaxLightSensorAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterToGrid} sensor (smooth)`, `inv-grid-light-smooth-${this.sn}`, inverterModel),
|
|
91
|
+
inverterToHouse: new lightSensorAccessory_1.SolaxLightSensorAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterToHouse} sensor (smooth)`, `inv-house-light-smooth-${this.sn}`, inverterModel),
|
|
92
|
+
gridToHouse: new lightSensorAccessory_1.SolaxLightSensorAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.gridToHouse} sensor (smooth)`, `grid-house-light-smooth-${this.sn}`, inverterModel),
|
|
93
|
+
};
|
|
94
|
+
this.solaxAccessories.push(this.smoothLightSensors.pv, this.smoothLightSensors.inverterAC, this.smoothLightSensors.inverterToGrid, this.smoothLightSensors.inverterToHouse, this.smoothLightSensors.gridToHouse);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
if (this.config.smoothMeters) {
|
|
99
|
+
// setup smooth outlet accessories
|
|
100
|
+
this.smoothOutlets = {
|
|
101
|
+
pv: new outletAccessory_1.SolaxOutletAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.pv} (smooth)`, `pv-smooth-${this.sn}`, inverterModel),
|
|
102
|
+
inverterAC: new outletAccessory_1.SolaxOutletAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterAC} (smooth)`, `inv-ac-smooth-${this.sn}`, inverterModel),
|
|
103
|
+
inverterToGrid: new outletAccessory_1.SolaxOutletAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterToGrid} (smooth)`, `inv-grid-smooth-${this.sn}`, inverterModel),
|
|
104
|
+
inverterToHouse: new outletAccessory_1.SolaxOutletAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.inverterToHouse} (smooth)`, `inv-house-smooth-${this.sn}`, inverterModel),
|
|
105
|
+
gridToHouse: new outletAccessory_1.SolaxOutletAccessory(this.log, this.api, `${this.name} ${ACCESSORY_NAMES.gridToHouse} (smooth)`, `grid-house-smooth-${this.sn}`, inverterModel),
|
|
106
|
+
};
|
|
107
|
+
this.solaxAccessories.push(this.smoothOutlets.pv, this.smoothOutlets.inverterAC, this.smoothOutlets.inverterToGrid, this.smoothOutlets.inverterToHouse, this.smoothOutlets.gridToHouse);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Updates smooth ambient light sensors data from raw outlet data by applying configured smoothing function.
|
|
113
|
+
*/
|
|
114
|
+
updateSmoothLightSensors() {
|
|
115
|
+
this.smoothLightSensors.pv.setAmbientLightLevel(this.rawOutlets.pv.getSmoothPowerConsumption(this.config.smoothingMethod, this.smoothingWindow));
|
|
116
|
+
this.smoothLightSensors.inverterAC.setAmbientLightLevel(this.rawOutlets.inverterAC.getSmoothPowerConsumption(this.config.smoothingMethod, this.smoothingWindow));
|
|
117
|
+
this.smoothLightSensors.inverterToGrid.setAmbientLightLevel(this.rawOutlets.inverterToGrid.getSmoothPowerConsumption(this.config.smoothingMethod, this.smoothingWindow));
|
|
118
|
+
this.smoothLightSensors.inverterToHouse.setAmbientLightLevel(this.rawOutlets.inverterToHouse.getSmoothPowerConsumption(this.config.smoothingMethod, this.smoothingWindow));
|
|
119
|
+
this.smoothLightSensors.gridToHouse.setAmbientLightLevel(this.rawOutlets.gridToHouse.getSmoothPowerConsumption(this.config.smoothingMethod, this.smoothingWindow));
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Update raw ambient light sensors with power consumption data from Solax Cloud API.
|
|
123
|
+
* @param {SolaxCloudAPIResponse} apiData API data retrieved from Solax Cloud.
|
|
124
|
+
*/
|
|
125
|
+
updateRawLightSensors(apiData) {
|
|
126
|
+
this.rawLightSensors.pv.setAmbientLightLevel(solaxcloudapi_1.SolaxCloudAPI.getPVPower(apiData.result));
|
|
127
|
+
this.rawLightSensors.inverterAC.setAmbientLightLevel(solaxcloudapi_1.SolaxCloudAPI.getInverterACPower(apiData.result));
|
|
128
|
+
this.rawLightSensors.inverterToGrid.setAmbientLightLevel(solaxcloudapi_1.SolaxCloudAPI.getInverterPowerToGrid(apiData.result));
|
|
129
|
+
this.rawLightSensors.inverterToHouse.setAmbientLightLevel(solaxcloudapi_1.SolaxCloudAPI.getInverterPowerToHouse(apiData.result));
|
|
130
|
+
this.rawLightSensors.gridToHouse.setAmbientLightLevel(solaxcloudapi_1.SolaxCloudAPI.getGridPowerToHouse(apiData.result));
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Updates smooth outlet data from raw outlet data by applying configured smoothing function.
|
|
134
|
+
*/
|
|
135
|
+
updateSmoothOutlets() {
|
|
136
|
+
this.smoothOutlets.pv.setPowerConsumption(this.rawOutlets.pv.getSmoothPowerConsumption(this.config.smoothingMethod, this.smoothingWindow));
|
|
137
|
+
this.smoothOutlets.inverterAC.setPowerConsumption(this.rawOutlets.inverterAC.getSmoothPowerConsumption(this.config.smoothingMethod, this.smoothingWindow));
|
|
138
|
+
this.smoothOutlets.inverterToGrid.setPowerConsumption(this.rawOutlets.inverterToGrid.getSmoothPowerConsumption(this.config.smoothingMethod, this.smoothingWindow));
|
|
139
|
+
this.smoothOutlets.inverterToHouse.setPowerConsumption(this.rawOutlets.inverterToHouse.getSmoothPowerConsumption(this.config.smoothingMethod, this.smoothingWindow));
|
|
140
|
+
this.smoothOutlets.gridToHouse.setPowerConsumption(this.rawOutlets.gridToHouse.getSmoothPowerConsumption(this.config.smoothingMethod, this.smoothingWindow));
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Update raw outlet data from API data read from Solax Cloud.
|
|
144
|
+
* @param {SolaxCloudAPIResponse} apiData Solax Cloud API data.
|
|
145
|
+
*/
|
|
146
|
+
updateRawOutlets(apiData) {
|
|
147
|
+
this.rawOutlets.pv.setPowerConsumption(solaxcloudapi_1.SolaxCloudAPI.getPVPower(apiData.result));
|
|
148
|
+
this.rawOutlets.inverterAC.setPowerConsumption(solaxcloudapi_1.SolaxCloudAPI.getInverterACPower(apiData.result));
|
|
149
|
+
this.rawOutlets.inverterAC.setTotalEnergyConsumption(solaxcloudapi_1.SolaxCloudAPI.getYieldTotal(apiData.result));
|
|
150
|
+
this.rawOutlets.inverterToGrid.setPowerConsumption(solaxcloudapi_1.SolaxCloudAPI.getInverterPowerToGrid(apiData.result));
|
|
151
|
+
this.rawOutlets.inverterToHouse.setPowerConsumption(solaxcloudapi_1.SolaxCloudAPI.getInverterPowerToHouse(apiData.result));
|
|
152
|
+
this.rawOutlets.gridToHouse.setPowerConsumption(solaxcloudapi_1.SolaxCloudAPI.getGridPowerToHouse(apiData.result));
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Update all platform accessory status based on the values read from the API.
|
|
156
|
+
* @param {SolaxCloudAPIResponse} apiData API data from Solax Cloud.
|
|
157
|
+
*/
|
|
158
|
+
updateAccessories(apiData) {
|
|
159
|
+
// update raw outlets on/off, power & energy settings
|
|
160
|
+
this.updateRawOutlets(apiData);
|
|
161
|
+
if (this.config.pureHomeApp) {
|
|
162
|
+
// update raw light sensors with power consumption
|
|
163
|
+
this.updateRawLightSensors(apiData);
|
|
164
|
+
if (this.config.smoothMeters) {
|
|
165
|
+
// update smooth light sensors from raw outlets by applying smoothing function to power consumption
|
|
166
|
+
this.updateSmoothLightSensors();
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
if (this.config.smoothMeters) {
|
|
171
|
+
// update smooth outlets data from raw outlets by applying smoothing function to power consumption
|
|
172
|
+
this.updateSmoothOutlets();
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
// update motion sensor
|
|
176
|
+
this.motionUpdate.setState(true);
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Update data from this inverter by using the Solax Cloud API
|
|
180
|
+
*/
|
|
181
|
+
updateInverterData() {
|
|
182
|
+
try {
|
|
183
|
+
this.log.info(`Retrieving data from Solax Cloud API for inverter "${this.name}" (SN="${this.sn}")`);
|
|
184
|
+
const apiData = this.solaxCloudAPI.getAPIData();
|
|
185
|
+
if (apiData.success) {
|
|
186
|
+
this.log.debug(`Retrieved inverter status: ${JSON.stringify(apiData.result)}`);
|
|
187
|
+
this.updateAccessories(apiData);
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
throw new Error(apiData.exception);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
catch (error) {
|
|
194
|
+
this.log.error(`Failed to read from Solax Cloud API for inverter "${this.name}" (SN="${this.sn})". Error: ${error}`);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Get array with full list of accessories for this inverter.
|
|
199
|
+
* @returns {AccessoryPlugin[]} Array of accessories for this inverter.
|
|
200
|
+
*/
|
|
201
|
+
getAccessories() {
|
|
202
|
+
return this.solaxAccessories;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
exports.SolaxCloudAPIPlatformInverter = SolaxCloudAPIPlatformInverter;
|
|
206
|
+
//# sourceMappingURL=platformInverter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformInverter.js","sourceRoot":"","sources":["../src/platformInverter.ts"],"names":[],"mappings":";;;AAEA,mDAAuE;AAEvE,uDAAyD;AACzD,iEAAmE;AAInE,uDAAyD;AAEzD;;GAEG;AACH,MAAM,eAAe,GAAG;IACtB,EAAE,EAAE,IAAI;IACR,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,SAAS;IACzB,eAAe,EAAE,UAAU;IAC3B,WAAW,EAAE,WAAW;CACzB,CAAC;AAEF;;;;GAIG;AACH,MAAa,6BAA6B;IAyDxC;;;;;;;;;QASI;IACJ,YAAa,GAAY,EAAE,MAAsB,EAAE,GAAQ,EAAE,OAAe,EAAE,EAAU,EAAE,IAAY,EAAE,eAAuB;QAb/H,iCAAiC;QACzB,qBAAgB,GAAsB,EAAE,CAAC;QAa/C,6BAA6B;QAC7B,IAAI,CAAC,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C"}
|
package/dist/util.d.ts
CHANGED
|
@@ -14,5 +14,11 @@ export declare class Util {
|
|
|
14
14
|
* @returns {string} Resulting string without any non-standard chars.
|
|
15
15
|
*/
|
|
16
16
|
static normalizeName(s: string): string;
|
|
17
|
+
/**
|
|
18
|
+
* Returns whether an array has duplicates or not.
|
|
19
|
+
* @param {unknown[]} array The array to check for duplicates.
|
|
20
|
+
* @returns {boolean} Whether the array has duplicates.
|
|
21
|
+
*/
|
|
22
|
+
static arrayHasDuplicates(array: unknown[]): boolean;
|
|
17
23
|
}
|
|
18
24
|
//# sourceMappingURL=util.d.ts.map
|
package/dist/util.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,qBAAa,IAAI;IAEf;;;;OAIG;WACW,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;IAiBvC;;;;OAIG;WACW,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,qBAAa,IAAI;IAEf;;;;OAIG;WACW,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;IAiBvC;;;;OAIG;WACW,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;IAI9C;;;;OAIG;WACW,kBAAkB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,OAAO;CAI5D"}
|
package/dist/util.js
CHANGED
|
@@ -30,6 +30,14 @@ class Util {
|
|
|
30
30
|
static normalizeName(s) {
|
|
31
31
|
return s.replace(/[^-_ a-zA-Z0-9]/gi, '');
|
|
32
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Returns whether an array has duplicates or not.
|
|
35
|
+
* @param {unknown[]} array The array to check for duplicates.
|
|
36
|
+
* @returns {boolean} Whether the array has duplicates.
|
|
37
|
+
*/
|
|
38
|
+
static arrayHasDuplicates(array) {
|
|
39
|
+
return (new Set(array)).size !== array.length;
|
|
40
|
+
}
|
|
33
41
|
}
|
|
34
42
|
exports.Util = Util;
|
|
35
43
|
//# sourceMappingURL=util.js.map
|
package/dist/util.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":";;;AACA;;GAEG;AACH,MAAa,IAAI;IAEf;;;;OAIG;IACI,MAAM,CAAC,MAAM,CAAC,CAAS;QAC5B,IAAI,IAAI,GAAG,CAAC,CAAC;QAEb,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;YAClB,OAAO,IAAI,CAAC;SACb;QAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACjC,MAAM,GAAG,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YAE5B,IAAI,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,GAAG,CAAC;YAClC,IAAI,IAAI,CAAC,CAAC,CAAC,2BAA2B;SACvC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,aAAa,CAAC,CAAS;QACnC,OAAO,CAAC,CAAC,OAAO,CAAC,mBAAmB,EAAE,EAAE,CAAC,CAAC;IAC5C,CAAC;CAEF;
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":";;;AACA;;GAEG;AACH,MAAa,IAAI;IAEf;;;;OAIG;IACI,MAAM,CAAC,MAAM,CAAC,CAAS;QAC5B,IAAI,IAAI,GAAG,CAAC,CAAC;QAEb,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;YAClB,OAAO,IAAI,CAAC;SACb;QAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACjC,MAAM,GAAG,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YAE5B,IAAI,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,GAAG,CAAC;YAClC,IAAI,IAAI,CAAC,CAAC,CAAC,2BAA2B;SACvC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,aAAa,CAAC,CAAS;QACnC,OAAO,CAAC,CAAC,OAAO,CAAC,mBAAmB,EAAE,EAAE,CAAC,CAAC;IAC5C,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,kBAAkB,CAAC,KAAgB;QAC/C,OAAO,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,MAAM,CAAC;IAChD,CAAC;CAEF;AA1CD,oBA0CC"}
|
package/images/homebridge-ui.png
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"private": false,
|
|
3
3
|
"displayName": "Homebridge Solax Cloud API",
|
|
4
4
|
"name": "homebridge-solaxcloud-api",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.1.1-beta.0",
|
|
6
6
|
"description": "Integrates solar production info using public Solax Cloud API into Homebrigde accessories.",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"repository": {
|