smart-nodes 0.6.2 → 0.6.3

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
@@ -151,7 +151,7 @@
151
151
 
152
152
  ## Version 0.4.17:
153
153
 
154
- - Fixed mixing valve position calculation.
154
+ - Fixed mixing-valve position calculation.
155
155
  - Fixed up_down message for central node.
156
156
 
157
157
  ## Version 0.4.18:
@@ -160,7 +160,7 @@
160
160
 
161
161
  ## Version 0.4.19:
162
162
 
163
- - Added min_change_time option to mixing valve node.
163
+ - Added min_change_time option to mixing-valve node.
164
164
 
165
165
  ## Version 0.4.20:
166
166
 
@@ -206,8 +206,8 @@
206
206
 
207
207
  - Improved light control percentage status text.
208
208
  - Fixed logic node when common outputs is configured but one value is set to "send nothing".
209
- - Mixing valve can now output as percentage directly or with open/close impulses.
210
- - Mixing valve tries to guess the best position, when getting enabled.
209
+ - mixing-valve can now output as percentage directly or with open/close impulses.
210
+ - mixing-valve tries to guess the best position, when getting enabled.
211
211
  - Added debug topic to all nodes, to see current values.
212
212
  - Added new node "mode-selector".
213
213
 
@@ -227,9 +227,13 @@
227
227
 
228
228
  ## Version 0.6.1:
229
229
 
230
- - Removed some ui limits of mixing valve.
230
+ - Removed some ui limits of mixing-valve.
231
231
 
232
232
  ## Version 0.6.2:
233
233
 
234
234
  - Cached runtime config is revoked now, when new settings are applied in the web frontend.
235
- - Removed feature from Mixing valve to automatically start with the best known position, because it hadn't worked as expected.
235
+ - Removed feature from mixing-valve to automatically start with the best known position, because it hadn't worked as expected.
236
+
237
+ ## Version 0.6.3:
238
+
239
+ - Fixed bug, when disabling mixing-valve while it is opening, the off mode close was not handled. Same for closing and off mode open.
@@ -1 +1 @@
1
- {"idn1":{"last_value":false,"last_value_before_alarm":false,"last_value_sended":false,"alarm_active":false,"enabled":false,"setpoint":20,"current_temperature":null,"last_position":50,"last_enabled_sended":null}}
1
+ {"idn1":{"value":null,"last_message":null}}
@@ -214,6 +214,7 @@ module.exports = function (RED)
214
214
  if (node_settings.alarm_active)
215
215
  return;
216
216
 
217
+ stopChanging();
217
218
  stopSampling();
218
219
  doOffMode();
219
220
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-nodes",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Controls light, shutters and more. Includes common used logic and statistic nodes to control your home.",
5
5
  "keywords": [
6
6
  "node-red",
package/persistence.js CHANGED
@@ -85,20 +85,8 @@ module.exports = function (_RED)
85
85
  function get(id, config_change_date)
86
86
  {
87
87
  let data = globalData["id" + id];
88
- if (id == "7e5e332f362a43fb")
89
- {
90
- log({
91
- old_config_change_date: data.config_change_date,
92
- new_config_change_date: config_change_date
93
- });
94
- }
95
-
96
88
  if (data && data.config_change_date && data.config_change_date !== config_change_date)
97
- {
98
- console.log("id = " + id + " - config change date mismatch, ignoring stored data.");
99
89
  return null;
100
- }
101
-
102
90
 
103
91
  return data;
104
92
  }