smart-nodes 0.4.8 → 0.4.9
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/CHANGELOG.md +4 -0
- package/examples/heating-curve.json +2 -10
- package/examples/heating-curve.png +0 -0
- package/heating-curve/heating-curve.js +2 -2
- package/logic/locales/de-DE/logic.json +1 -0
- package/logic/locales/en-US/logic.json +1 -0
- package/long-press/long-press.html +4 -0
- package/multi-press/multi-press.html +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
[
|
|
2
|
-
{
|
|
3
|
-
"id": "e83d01afd93457a2",
|
|
4
|
-
"type": "tab",
|
|
5
|
-
"label": "Heating Curve",
|
|
6
|
-
"disabled": false,
|
|
7
|
-
"info": "",
|
|
8
|
-
"env": []
|
|
9
|
-
},
|
|
10
2
|
{
|
|
11
3
|
"id": "4240b41f17726057",
|
|
12
4
|
"type": "smart_heating-curve",
|
|
@@ -14,7 +6,7 @@
|
|
|
14
6
|
"name": "",
|
|
15
7
|
"room_setpoint": 20,
|
|
16
8
|
"slope": "1.5",
|
|
17
|
-
"offset":
|
|
9
|
+
"offset": "1.5",
|
|
18
10
|
"flow_max": 75,
|
|
19
11
|
"flow_min": 20,
|
|
20
12
|
"x": 540,
|
|
@@ -217,7 +209,7 @@
|
|
|
217
209
|
"crontab": "",
|
|
218
210
|
"once": false,
|
|
219
211
|
"onceDelay": 0.1,
|
|
220
|
-
"topic": "
|
|
212
|
+
"topic": "flow_max",
|
|
221
213
|
"payload": "80",
|
|
222
214
|
"payloadType": "num",
|
|
223
215
|
"x": 190,
|
|
Binary file
|
|
@@ -34,8 +34,8 @@ module.exports = function (RED)
|
|
|
34
34
|
// ##################
|
|
35
35
|
// # Dynamic config #
|
|
36
36
|
// ##################
|
|
37
|
-
let slope = config.slope;
|
|
38
|
-
let offset = config.offset;
|
|
37
|
+
let slope = parseFloat(config.slope);
|
|
38
|
+
let offset = parseFloat(config.offset);
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
// ##################
|
|
@@ -67,4 +67,8 @@
|
|
|
67
67
|
<label for="node-input-long"><i class="fa fa-hand-o-up"></i> <span data-i18n="long-press.ui.long"></span></label>
|
|
68
68
|
<input type="text" id="node-input-long" />
|
|
69
69
|
</div>
|
|
70
|
+
<div class="form-row">
|
|
71
|
+
<label for="node-input-outputs"><i class="fa fa-hashtag"></i> <span data-i18n="long-press.ui.outputs"></span></label>
|
|
72
|
+
<input id="node-input-outputs" />
|
|
73
|
+
</div>
|
|
70
74
|
</script>
|
|
@@ -128,4 +128,8 @@
|
|
|
128
128
|
<label for="node-input-out4"><i class="fa fa-hand-o-up"></i> 4x</label>
|
|
129
129
|
<input type="text" id="node-input-out4" />
|
|
130
130
|
</div>
|
|
131
|
+
<div class="form-row">
|
|
132
|
+
<label for="node-input-outputs"><i class="fa fa-hashtag"></i> <span data-i18n="multi-press.ui.outputs"></span></label>
|
|
133
|
+
<input id="node-input-outputs" />
|
|
134
|
+
</div>
|
|
131
135
|
</script>
|