iobroker.luxtronik2-controller 0.14.0 → 0.15.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 +25 -15
- package/admin/jsonConfig.json +3 -3
- package/build/codes.js +44 -4
- package/build/codes.js.map +2 -2
- package/build/main.js +9 -7
- package/build/main.js.map +2 -2
- package/build/mapping/actions.js +114 -0
- package/build/mapping/actions.js.map +7 -0
- package/build/mapping/info.js +1487 -0
- package/build/mapping/info.js.map +7 -0
- package/build/mapping/settings.js +1179 -0
- package/build/mapping/settings.js.map +7 -0
- package/build/mapping/tablesInfo.js +252 -0
- package/build/mapping/tablesInfo.js.map +7 -0
- package/build/mapping/tablesSettings.js +2820 -0
- package/build/mapping/tablesSettings.js.map +7 -0
- package/build/notificationManager.js +18 -5
- package/build/notificationManager.js.map +2 -2
- package/build/objectManager.js +6 -5
- package/build/objectManager.js.map +2 -2
- package/build/rawFunctions.js +0 -1
- package/build/rawFunctions.js.map +2 -2
- package/build/stateMapping.js +10 -4351
- package/build/stateMapping.js.map +2 -2
- package/build/stateMapping_old.js +4712 -0
- package/build/stateMapping_old.js.map +7 -0
- package/io-package.json +27 -27
- package/package.json +1 -1
|
@@ -0,0 +1,114 @@
|
|
|
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 actions_exports = {};
|
|
20
|
+
__export(actions_exports, {
|
|
21
|
+
ACTIONS_MAPPING: () => ACTIONS_MAPPING
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(actions_exports);
|
|
24
|
+
const ACTIONS_MAPPING = {
|
|
25
|
+
// ==========================================
|
|
26
|
+
// Actions & VIRTUAL
|
|
27
|
+
// ==========================================
|
|
28
|
+
Dump_Raw_To_Log: {
|
|
29
|
+
folder: "Actions",
|
|
30
|
+
name: "Write raw data to log",
|
|
31
|
+
role: "button",
|
|
32
|
+
type: "boolean",
|
|
33
|
+
isVirtual: true,
|
|
34
|
+
write: true,
|
|
35
|
+
def: false,
|
|
36
|
+
required: true
|
|
37
|
+
},
|
|
38
|
+
Regelung_Aktiv: {
|
|
39
|
+
folder: "Actions",
|
|
40
|
+
name: "Toggle automatic system control",
|
|
41
|
+
role: "switch",
|
|
42
|
+
type: "boolean",
|
|
43
|
+
isVirtual: true,
|
|
44
|
+
write: true,
|
|
45
|
+
def: true,
|
|
46
|
+
required: true
|
|
47
|
+
},
|
|
48
|
+
Schreibe_Debug_Log: {
|
|
49
|
+
folder: "Actions",
|
|
50
|
+
name: "Toggle extended debug logging",
|
|
51
|
+
role: "switch",
|
|
52
|
+
type: "boolean",
|
|
53
|
+
isVirtual: true,
|
|
54
|
+
write: true,
|
|
55
|
+
def: false,
|
|
56
|
+
required: true
|
|
57
|
+
},
|
|
58
|
+
Setze_Vorgabewerte: {
|
|
59
|
+
folder: "Actions",
|
|
60
|
+
name: "Set default values manually (e.g. idle)",
|
|
61
|
+
role: "button",
|
|
62
|
+
type: "boolean",
|
|
63
|
+
isVirtual: true,
|
|
64
|
+
write: true,
|
|
65
|
+
def: false,
|
|
66
|
+
required: true
|
|
67
|
+
},
|
|
68
|
+
Zwangsheizen: {
|
|
69
|
+
folder: "Actions",
|
|
70
|
+
name: "Force heating (even without demand)",
|
|
71
|
+
role: "button",
|
|
72
|
+
type: "boolean",
|
|
73
|
+
isVirtual: true,
|
|
74
|
+
write: true,
|
|
75
|
+
def: false,
|
|
76
|
+
required: true
|
|
77
|
+
},
|
|
78
|
+
Zwangswarmwasser: {
|
|
79
|
+
folder: "Actions",
|
|
80
|
+
name: "Force hot water",
|
|
81
|
+
role: "button",
|
|
82
|
+
type: "boolean",
|
|
83
|
+
isVirtual: true,
|
|
84
|
+
write: true,
|
|
85
|
+
def: false,
|
|
86
|
+
required: true
|
|
87
|
+
},
|
|
88
|
+
Activate_Zip: {
|
|
89
|
+
folder: "Actions",
|
|
90
|
+
name: { en: "Activate Circulation Pump (ZIP)", de: "Zirkulationspumpe (ZIP) aktivieren" },
|
|
91
|
+
role: "switch",
|
|
92
|
+
type: "boolean",
|
|
93
|
+
write: true,
|
|
94
|
+
luxWriteId: "Activate_Zip",
|
|
95
|
+
isVirtual: true,
|
|
96
|
+
required: true,
|
|
97
|
+
visiIndex: 59
|
|
98
|
+
},
|
|
99
|
+
connection: {
|
|
100
|
+
folder: "info",
|
|
101
|
+
name: "Connection status",
|
|
102
|
+
role: "indicator.connected",
|
|
103
|
+
type: "boolean",
|
|
104
|
+
isVirtual: true,
|
|
105
|
+
write: false,
|
|
106
|
+
def: false,
|
|
107
|
+
required: true
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
111
|
+
0 && (module.exports = {
|
|
112
|
+
ACTIONS_MAPPING
|
|
113
|
+
});
|
|
114
|
+
//# sourceMappingURL=actions.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/mapping/actions.ts"],
|
|
4
|
+
"sourcesContent": ["import type { StateDefinition } from '../stateMapping';\n\nexport const ACTIONS_MAPPING: Record<string, StateDefinition> = {\n\t// ==========================================\n\t// Actions & VIRTUAL\n\t// ==========================================\n\tDump_Raw_To_Log: {\n\t\tfolder: 'Actions',\n\t\tname: 'Write raw data to log',\n\t\trole: 'button',\n\t\ttype: 'boolean',\n\t\tisVirtual: true,\n\t\twrite: true,\n\t\tdef: false,\n\t\trequired: true,\n\t},\n\tRegelung_Aktiv: {\n\t\tfolder: 'Actions',\n\t\tname: 'Toggle automatic system control',\n\t\trole: 'switch',\n\t\ttype: 'boolean',\n\t\tisVirtual: true,\n\t\twrite: true,\n\t\tdef: true,\n\t\trequired: true,\n\t},\n\tSchreibe_Debug_Log: {\n\t\tfolder: 'Actions',\n\t\tname: 'Toggle extended debug logging',\n\t\trole: 'switch',\n\t\ttype: 'boolean',\n\t\tisVirtual: true,\n\t\twrite: true,\n\t\tdef: false,\n\t\trequired: true,\n\t},\n\tSetze_Vorgabewerte: {\n\t\tfolder: 'Actions',\n\t\tname: 'Set default values manually (e.g. idle)',\n\t\trole: 'button',\n\t\ttype: 'boolean',\n\t\tisVirtual: true,\n\t\twrite: true,\n\t\tdef: false,\n\t\trequired: true,\n\t},\n\tZwangsheizen: {\n\t\tfolder: 'Actions',\n\t\tname: 'Force heating (even without demand)',\n\t\trole: 'button',\n\t\ttype: 'boolean',\n\t\tisVirtual: true,\n\t\twrite: true,\n\t\tdef: false,\n\t\trequired: true,\n\t},\n\tZwangswarmwasser: {\n\t\tfolder: 'Actions',\n\t\tname: 'Force hot water',\n\t\trole: 'button',\n\t\ttype: 'boolean',\n\t\tisVirtual: true,\n\t\twrite: true,\n\t\tdef: false,\n\t\trequired: true,\n\t},\n\tActivate_Zip: {\n\t\tfolder: 'Actions',\n\t\tname: { en: 'Activate Circulation Pump (ZIP)', de: 'Zirkulationspumpe (ZIP) aktivieren' },\n\t\trole: 'switch',\n\t\ttype: 'boolean',\n\t\twrite: true,\n\t\tluxWriteId: 'Activate_Zip',\n\t\tisVirtual: true,\n\t\trequired: true,\n\t\tvisiIndex: 59,\n\t},\n\tconnection: {\n\t\tfolder: 'info',\n\t\tname: 'Connection status',\n\t\trole: 'indicator.connected',\n\t\ttype: 'boolean',\n\t\tisVirtual: true,\n\t\twrite: false,\n\t\tdef: false,\n\t\trequired: true,\n\t},\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,kBAAmD;AAAA;AAAA;AAAA;AAAA,EAI/D,iBAAiB;AAAA,IAChB,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW;AAAA,IACX,OAAO;AAAA,IACP,KAAK;AAAA,IACL,UAAU;AAAA,EACX;AAAA,EACA,gBAAgB;AAAA,IACf,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW;AAAA,IACX,OAAO;AAAA,IACP,KAAK;AAAA,IACL,UAAU;AAAA,EACX;AAAA,EACA,oBAAoB;AAAA,IACnB,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW;AAAA,IACX,OAAO;AAAA,IACP,KAAK;AAAA,IACL,UAAU;AAAA,EACX;AAAA,EACA,oBAAoB;AAAA,IACnB,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW;AAAA,IACX,OAAO;AAAA,IACP,KAAK;AAAA,IACL,UAAU;AAAA,EACX;AAAA,EACA,cAAc;AAAA,IACb,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW;AAAA,IACX,OAAO;AAAA,IACP,KAAK;AAAA,IACL,UAAU;AAAA,EACX;AAAA,EACA,kBAAkB;AAAA,IACjB,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW;AAAA,IACX,OAAO;AAAA,IACP,KAAK;AAAA,IACL,UAAU;AAAA,EACX;AAAA,EACA,cAAc;AAAA,IACb,QAAQ;AAAA,IACR,MAAM,EAAE,IAAI,mCAAmC,IAAI,qCAAqC;AAAA,IACxF,MAAM;AAAA,IACN,MAAM;AAAA,IACN,OAAO;AAAA,IACP,YAAY;AAAA,IACZ,WAAW;AAAA,IACX,UAAU;AAAA,IACV,WAAW;AAAA,EACZ;AAAA,EACA,YAAY;AAAA,IACX,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW;AAAA,IACX,OAAO;AAAA,IACP,KAAK;AAAA,IACL,UAAU;AAAA,EACX;AACD;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|