The Thermostat revisited

ThermostatRemember this? I put this Node-Red Dashboard (+ images) stat together January 2017 then promptly forgot about it – thank heavens I blogged the lot, having recently moved home.

I find I need a thermostat for our home and yesterday I was in the process of re-inventing the wheel when I came across my Node-Red stat.

All documented in the original blog entry and apart from a minor change to Node-Red Dashboard’s default cell sizes from 48x48 to 52x52, it just works. Lovely.

Here’s the link - https://tech.scargill.net/a-thermostat-weekend/ I can’t believe I put all that work in then just ignored the design – it’s marvellous even though I say it myself and setup (end user0 could not be easier.

Facebooktwittergoogle_pluspinterestlinkedin

14 thoughts on “The Thermostat revisited

  1. I really like the stat code and have been incorporating it into my setup. One thing is slightly confusing and maybe you can enlighten me. In the Process Heat node (around line 17) you decrement the context global "frost" in the same way you do "away" as a countdown timer. I am not sure why you would want a timer on the frost setting which I assumed was to act as a minimum temperature. Indeed f you set the frost global using the test inputs provided the setting buttons stop working as they are overriden by the frost counter. In addition I don't see any functionality to actually take into account if the frost temperature setting is higher than the desired or actual temperature reading in the setting of the heat relay.

  2. I replaced "if (global.get("frost")) { msg.desired=global.get("timing")[168]; global.set("frost",global.get("frost")-1); }" with "if (msg.frost > msg.desired) msg.desired = msg.frost;" - seems to work OK

    1. In that case you can likely help me - I can't recall how to reset frost timeout - setting it to 0 doesn't do anything..(ie not changing the frost fallback temperature, just going back to normal settings...)

        1. Perhaps I have misunderstood the purpose of the frost setting. I was under the impression that it was too provide a minimum temperature regardless of any other setting in the schedule. In that scenario I don't see the purpose for a frost timeout - it would be akin to saying "only protect the system from freezing when I have anticipated a problem".

          1. It is a stop point you can set from node red if you want the heating OFF for a long period... clearly you don't want OFF or the place could freeze. It is only half thought out, clearly, but works.. whereas AWAY wont let it get colder than 14 which WAS the fallback for nights until I made the thing hourly programmable. This all stems from having THIS thermometer for the owner, a simpler wall display for holiday renters and you would not want to give them access to the FROST setting but you could give them AWAY control.

      1. I don't know if you fell into the same problem as I did when first using this some time ago - in adjusting it I was trying to follow the dial with my finger but it works much better with either pure left right or up down - then works fine.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.