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 CHANGED
@@ -114,3 +114,7 @@
114
114
  ## Version 0.4.8:
115
115
 
116
116
  - Fixed reading values in heating-curve node.
117
+
118
+ ## Version 0.4.9:
119
+
120
+ - Fixed reading config values for offset and slope in heating-curve node.
@@ -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": 0,
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": "flow_min",
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
  // ##################
@@ -17,6 +17,7 @@
17
17
  "save_state": "Zustand speichern",
18
18
  "send_after_start": "Letze Nachricht 10 Sekunden nach dem Start senden",
19
19
 
20
+ "send_nothing": "Nichts senden",
20
21
  "send_only_change": "Nur bei Änderung",
21
22
  "always": "Immer",
22
23
  "common_output": "Gemeinsamer Ausgang",
@@ -17,6 +17,7 @@
17
17
  "save_state": "Save state",
18
18
  "send_after_start": "Send last message 10 seconds after start",
19
19
 
20
+ "send_nothing": "Send nothing",
20
21
  "send_only_change": "Only on change",
21
22
  "always": "Always",
22
23
  "common_output": "Common output",
@@ -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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-nodes",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "description": "Smart Nodes",
5
5
  "keywords": [
6
6
  "node-red",