From b6e6d58a67b8bd70f12688ab5f95e38f8597c27e Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Wed, 4 Oct 2023 17:41:53 +0300 Subject: [PATCH] Bump version to 0.2.6 --- package.json | 2 +- thermostat-analyzer.js | 4 ++-- thermostat.html | 4 ++-- thermostat.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 2caa883..7680c97 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vvzvlad/node-red-contrib-rn-combined-nodes", - "version": "0.2.5", + "version": "0.2.6", "description": "", "main": "index.js", "keywords": [ diff --git a/thermostat-analyzer.js b/thermostat-analyzer.js index bad60a8..8461748 100644 --- a/thermostat-analyzer.js +++ b/thermostat-analyzer.js @@ -40,8 +40,8 @@ module.exports = function(RED) { function analyzer(msg) { - const status_window = 3 * 60 * 60 * 1000 - const transitions_window = 3 * 60 * 60 * 1000 + const status_window = 5 * 60 * 60 * 1000 + const transitions_window = 5 * 60 * 60 * 1000 const max_temp_diff = 3 diff --git a/thermostat.html b/thermostat.html index 1383ea3..8b72bfe 100644 --- a/thermostat.html +++ b/thermostat.html @@ -10,7 +10,7 @@ }, inputs: 1, outputs: 2, - outputLabels: ["heater","stats"], + outputLabels: ["stats","heater"], icon: "font-awesome/fa-snowflake-o", label: function() { return this.name||"C-Thermostat"; @@ -25,7 +25,7 @@
- +
diff --git a/thermostat.js b/thermostat.js index a8d596c..2c401fd 100644 --- a/thermostat.js +++ b/thermostat.js @@ -195,7 +195,7 @@ module.exports = function(RED) { msg_heater_status = null } - node.send([msg_heater_status, msg_extended_stats]); + node.send([msg_extended_stats, msg_heater_status]); });