smart-nodes 0.4.26 → 0.4.28

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
@@ -193,3 +193,11 @@
193
193
  ## Version 0.4.26:
194
194
 
195
195
  - Added possibility to control mixing-valve nodes from central node.
196
+
197
+ ## Version 0.4.27:
198
+
199
+ - Fixed central node.
200
+
201
+ ## Version 0.4.28:
202
+
203
+ - Added on and off topic to mixing-valve.
@@ -139,7 +139,7 @@ module.exports = function (RED)
139
139
  // Send cloned message to all linked nodes
140
140
  config.links.forEach(link =>
141
141
  {
142
- helper.log(node, link, { source: node.id, state: state }, new_msg);
142
+ helper.log(node, link, new_msg);
143
143
  RED.events.emit("node:" + link, new_msg);
144
144
  });
145
145
  }
@@ -22,11 +22,11 @@
22
22
  </thead>
23
23
  <tbody>
24
24
  <tr>
25
- <td><code>enable</code></td>
25
+ <td><code>enable</code> oder <code>on</code></td>
26
26
  <td>Aktiviert die Mischeransteuerung.</td>
27
27
  </tr>
28
28
  <tr>
29
- <td><code>disable</code></td>
29
+ <td><code>disable</code> oder <code>off</code></td>
30
30
  <td>Deaktiviert die Mischeransteuerung und fährt die Position an, die als Aus-Modus festgelegt ist.</td>
31
31
  </tr>
32
32
  <tr>
@@ -22,11 +22,11 @@
22
22
  </thead>
23
23
  <tbody>
24
24
  <tr>
25
- <td><code>enable</code></td>
25
+ <td><code>enable</code> or <code>on</code></td>
26
26
  <td>Activates the mixer control.</td>
27
27
  </tr>
28
28
  <tr>
29
- <td><code>disable</code></td>
29
+ <td><code>disable</code> or <code>off</code></td>
30
30
  <td>Deactivates the mixer control and moves to the position that is set as the off mode.</td>
31
31
  </tr>
32
32
  <tr>
@@ -138,6 +138,7 @@ module.exports = function (RED)
138
138
 
139
139
  switch (real_topic)
140
140
  {
141
+ case "on":
141
142
  case "enable":
142
143
  if (node_settings.enabled)
143
144
  break;
@@ -148,6 +149,7 @@ module.exports = function (RED)
148
149
  startSampling();
149
150
  break;
150
151
 
152
+ case "off":
151
153
  case "disable":
152
154
  if (!node_settings.enabled)
153
155
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-nodes",
3
- "version": "0.4.26",
3
+ "version": "0.4.28",
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",