iobroker.zendure-solarflow 1.7.6 → 1.8.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 +9 -0
- package/build/constants/smartPlugStates.js +37 -0
- package/build/constants/smartPlugStates.js.map +7 -0
- package/build/helpers/createCalculationStates.js +336 -294
- package/build/helpers/createCalculationStates.js.map +2 -2
- package/build/helpers/createControlStates.js +115 -104
- package/build/helpers/createControlStates.js.map +2 -2
- package/build/helpers/createSolarFlowStates.js +23 -6
- package/build/helpers/createSolarFlowStates.js.map +2 -2
- package/build/main.js +2 -2
- package/build/main.js.map +2 -2
- package/build/models/IPack2Device.js +17 -0
- package/build/models/IPack2Device.js.map +7 -0
- package/build/services/adapterService.js +4 -8
- package/build/services/adapterService.js.map +2 -2
- package/build/services/calculationService.js +47 -23
- package/build/services/calculationService.js.map +2 -2
- package/build/services/fallbackMqttService.js +6 -6
- package/build/services/fallbackMqttService.js.map +2 -2
- package/build/services/jobSchedule.js +2 -2
- package/build/services/jobSchedule.js.map +1 -1
- package/build/services/mqttService.js +38 -10
- package/build/services/mqttService.js.map +2 -2
- package/io-package.json +27 -27
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,6 +46,15 @@ If you find the adapter useful for you and want to support my work, feel free to
|
|
|
46
46
|
[](https://www.paypal.com/paypalme/PeterFrommert)
|
|
47
47
|
|
|
48
48
|
## Changelog
|
|
49
|
+
### 1.8.0 (2024-08-06)
|
|
50
|
+
|
|
51
|
+
- Fix SOC and energyWhMax Value (counted by type of attached batteries - seems to work better now)
|
|
52
|
+
- Add Calculation for Grid Input (only for Ace 1500 and Hyper 2000)
|
|
53
|
+
|
|
54
|
+
### 1.7.7 (2024-08-02)
|
|
55
|
+
|
|
56
|
+
- Fix Input and Output limit for Hyper 2000
|
|
57
|
+
|
|
49
58
|
### 1.7.6 (2024-08-01)
|
|
50
59
|
|
|
51
60
|
- Fix support for 'Hyper_Test' devices
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var smartPlugStates_exports = {};
|
|
20
|
+
__export(smartPlugStates_exports, {
|
|
21
|
+
smartPlugStates: () => smartPlugStates
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(smartPlugStates_exports);
|
|
24
|
+
const smartPlugStates = [
|
|
25
|
+
{
|
|
26
|
+
title: "lastUpdate",
|
|
27
|
+
nameDe: "Letztes Update",
|
|
28
|
+
nameEn: "Last Update",
|
|
29
|
+
type: "number",
|
|
30
|
+
role: "value.time"
|
|
31
|
+
}
|
|
32
|
+
];
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
smartPlugStates
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=smartPlugStates.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/constants/smartPlugStates.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/indent */\n\nimport { ISolarflowState } from \"../models/ISolarflowState\";\n\nexport const smartPlugStates: ISolarflowState[] = [\n {\n title: \"lastUpdate\",\n nameDe: \"Letztes Update\",\n nameEn: \"Last Update\",\n type: \"number\",\n role: \"value.time\",\n },\n];\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIO,MAAM,kBAAqC;AAAA,EAChD;AAAA,IACE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,EACR;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|