Your home at your fingertips

Heating – Boilerplate : A Universal Temperature Control Solution with Modes

Home >> Node-RED App Library

The ‘Heating Boilerplate’ is based on this excellent OpenHAB article by ThomDietrich

The ‘Heating Boilerplate’ defines the following heating modes:

NORMAL – The normal heating mode
PARTY – Hold temperatures for a longer time and in more rooms, reset to NORMAL during the night
SICKDAY – Heat to a higher temperature throughout the day, reset to NORMAL during the night
WEEKEND_TRIP – Hold a normal temperature during the weekend, reset to NORMAL after
AWAY – For vacations or longer trips the temperature is lowered to a safe temperature, no reset
OFF_SUMMER – All heating is turned off

Main Mode: NORMAL Heating Schedule

The Boilerplate includes one Normal heating schedule that – under normal circumstances – will make sure that rooms are warm when they need to be.

1. Increase temperatures after work (17:00)
Set Living room to 21.0
Set Bedroom to 17.0
Set Bathroom to 20.0

2. Increase temperatures in the evening (20:30)
Set Living room to 22.0
Set Bedroom to 19.0
Set Bathroom to 20.0

3. Lower heating temperatures at bedtime (23:30)
Set Living room to 17.0
Set Bedroom to 17.0
Set Bathroom to 17.0

4. Saturday and Sunday: Comfortable temperatures during the day (09:00)
Set Living room to 21.0
Set Bedroom to 21.0
Set Bathroom to 21.0

5. Weekday: Cozy bathroom in the morning
(08:00) Set Bathroom to 23.0
(09:00) Set Bathroom to 17.0

Special Mode: PARTY (manual start, ends at 02:00)

Set Living room to 21.0
Set Bedroom to 15.0
Set Bathroom to 19.0

Special Mode: SICKDAY Mode (manual start, ends at 02:00)

Set Living room to 23.0
Set Bedroom to 19.0
Set Bathroom to 23.0

Special Mode: WEEKEND_TRIP (manual start, ends at 13:00 Mon)

Set Living room to 15.0
Set Bedroom to 15.0
Set Bathroom to 15.0

Special Mode: AWAY (manual start, manual stop)

Set Living room to 13.0
Set Bedroom to 13.0
Set Bathroom to 13.0

Special Mode: OFF_SUMMER (manual start, manual stop)

Set Living room to 0
Set Bedroom to 0
Set Bathroom to 0

Here’s our implementation of the described service, but instead of OpenHAB scripts, we have chosen to implement with Node-RED.

Download Codeheating-boilerplate.json

How-to import: Video Tutorial