HowTo: Node Red – Set up a “welcome boost” for the heating when you are new

Gerade nicht-Technik-begeisterte Mitbewohner stehen dieser ganzen SmartHome Sache meistens skeptisch gegenüber. Ständig werden Fragen gestellt wie „Aber wozu braucht man das denn?“ oder „Und das ist jetzt so wichtig, dass das automatisch funktioniert?“. Hat man dann die bekannten Vorteile aufgelistet und der Technik-Muffel ist immer noch nicht überzeugt wirkt das oft frustrierend auf den SmartHome-Enthusiasten. Dann heißt es Fakten schaffen. Eine Funktion mit der Ihr mindestens die fröstelnden Menschen unter den Technik-Muffeln überzeugen werdet ist der automatische „Begrüßungsboost“ der Heizungsanlage.

This ensures that the potentially shivering technophobe is automatically greeted with a warm heater after entering the living area. As soon as the SmartHome detects that a resident has entered the - still cold - living area, a signal is automatically sent to the radiators, which switches them on at the highest level for a certain period of time in order to increase the temperature in the entire living area as quickly as possible.

An example of what a configuration might look like is described in the following article.


Safety instructions

I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.
https://www.nerdiy.de/sicherheitshinweise/

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 make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. 🙂 


Requirements

Helpful articles:
To be able to use this configuration, NodeRed should of course already be installed.
How to prepare a RaspberryPi and then install NodeRed on it is described in the following articles.

The following articles describe what you need to do to get everything ready:
RaspberryPi – setup for nerdiys!
RaspberryPi – The first configuration!
RaspberryPi – Control the RaspberryPi via SSH

NodeRed – Installing NodeRed on the RaspberryPi
NodeRed – Install new nodes

Required tool:
-no-

Required material:

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


Log into the NodeRed configuration interface

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

View of the login dialog. Here you have to enter the login data that you specified during the configuration of the login. You can find information about this in the article NodeRed - set up user login.

Need to install nodes

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

View in the NodeRed editor.

Node code:

[{"id":"ef043f7b.09869","type":"function","z":"4131a41e.b9233c","name":"set all to boost","func":"msg.payload = {mode:"BOOST"}; return 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","e.g ":"","host":"MAXCube.fritz.box","port":"62910"}]

Have fun with the project

I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂

PS 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 think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂

Buy Me a Coffee at ko-fi.com       

Kommentar hinterlassen

Your email address will not be published. Erforderliche Felder sind mit * markiert

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