HowTo: Node Red – Set up a “welcome-boost” for the heater on entering the apartment

Especially non-technology enthusiastic roommates are usually skeptical about this whole SmartHome thing. Constantly questions such as “But why do you need that?” or “And that’s so important now that it works automatically?”. If you then list the known benefits and the techie muffle is still not convinced that often has a frustrating effect on the SmartHome enthusiasts. Then it’s time to create facts. A feature that you will convince at least the shivering people among the technology moaners is the automatic “welcome boost” of the heating system.

This will welcome the potentially shivering technical muffle after entering the living area automatically with a warm apartment. Once the SmartHome detects that a resident has entered the – still cold – living area, a signal is automatically sent to the radiators, which turns them on for a certain time at the highest level in order to increase the temperature in the entire living area as quickly as possible.

An example of how a configuration can look like this is described in the following article.

Hints for our lovely english readers: Basically, many of the articles on are translations from the original german articles. Therefore, it may happen here and there that some illustrations are not available in english and that some translations are weird/strange/full of mistakes or generally totaly wrong. So if you find some obvious (or also not obvious) mistakes don't hesitate to leave us a hint about that in the comment section. 
Also please don't get confused, that instead of a "dot" often a "comma" is used as decimal separator. 🙂

Safety instructions

I know the following hints are always a bit annoying and seem unnecessary. But unfortunately, many people who knew it "better" from carelessness lost their eyes, fingers or other things or hurt themselves. In comparison, a loss of data is almost not worth mentioning, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Even the coolest project is worth no injury or other annoyance.

Affiliate links / advertising links

The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and shop via this link, receives a commission from the online shop or provider concerned. The price doesn't change for you. If you do your purchases via these links, you will support in being able to offer further useful projects in the future. 🙂


Helpful Articles:
Of course NodeRed should already be installed so that you can take over this configuration.
How to prepare a RaspberryPi and then install NodeRed on it, is described in the following articles.
RaspberryPi – Setting up for Nerdiys!
RaspberryPi – The first configuration
RaspberryPi – Controlling the RaspberryPi via SSH
NodeRed – Installing NodeRed on the RaspberryPi
NodeRed – Install New Nodes
NodeRed – Import and Export Node Code

Required tools:

Required material:

In the following list you will find all the parts you need to implement this article.

Log in to the NodeRed configuration interface

Before you can edit your NodeRed configuration you must - if activated - first log in to the NodeRed configuration interface.

View of the login screen. Here you have to enter the login details that you entered during the configuration of the login. Information about this can be found in the article NodeRed - User Login Setup.

Install necessary nodes

To take this example, you need to import the node code below. In order for the automatic boost to work with your presence detection, you must replace the injection node with your presence detection. As soon as a new presence is detected, this must trigger the function node. This sends a signal to all radiator thermostats connected to the configured MAX!

View in the NodeRed editor.


[{"id":"ef043f7b.09869","type":"function","z":"4131a41e.b9233c","name":"set all to boost","func":"msg.payload = {mode:\"BOOST\"};\nreturn msg;","outputs":1,"noerr":0,"x":940,"y":1940,"wires":[["6d4b998e.fe5478"]]},{"id":"c650f513.e8b4b8","type":"inject","z":"4131a41e.b9233c","name":"","topic":"manual boost","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":"","x":710,"y":1940,"wires":[["ef043f7b.09869"]]},{"id":"6d4b998e.fe5478","type":"maxcube in","z":"4131a41e.b9233c","server":"c34aa49e.22b218","x":1140,"y":1940,"wires":[]},{"id":"c34aa49e.22b218","type":"maxcube-server","z":"","host":"","port":"62910"}]

Have fun with the project

I hope everything worked as described. If not or you have any other questions or suggestions, please let me know in the comments. Also, ideas for new projects are always welcome. 🙂

P.S. Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you appreciate it that I share these information with you, I would be happy about a small donation to the coffee box. 🙂

Buy Me a Coffee at   

Leave a Reply

Your email address will not be published.