Skip to content

Whiteflood/HA_Thermostat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

🏠 Home Assistant Thermostat Automation

A smart thermostat automation for Home Assistant, designed to manage heating schedules, temperature control, and comfort levels intelligently using Node-RED and Home Assistant entities.


✨ Features

  • 🔥 Automatic heating control based on time schedules and target temperatures
  • 🕒 Weekly scheduling via input_datetime entities (e.g. thermostaat_maandag_start, thermostaat_maandag_eind, etc.)
  • 🌡️ Dynamic temperature tracking using temperature sensors (sensor.dining_room_thermometer_temperature, etc.)
  • 🧠 Failsafe logic with validation and error handling for missing or invalid entities
  • 💬 Detailed Node-RED status messages and warnings for debugging

🧩 How It Works

The system runs in Node-RED, pulling data from Home Assistant to decide when to heat or not.
It checks the current time, compares it to your configured heating schedule, and sets the thermostat accordingly.

Example logic:

  1. Read current temperature (sensor.*_thermometer_temperature)
  2. Compare with target temperature
  3. Activate or deactivate heating switch (switch.thermostaat_relais)
  4. Display status and warnings in Node-RED debug console

⚙️ Requirements

  • Home Assistant
  • Node-RED add-on for Home Assistant
  • Entities:
    • sensor.<room>_thermometer_temperature
    • switch.thermostaat_relais
    • input_datetime.thermostaat_<day>_start
    • input_datetime.thermostaat_<day>_eind

🧠 Example Entities

Example setup for Monday:

input_datetime:
  thermostaat_maandag_start:
    name: Maandag starttijd
    has_date: false
    has_time: true
  thermostaat_maandag_eind:
    name: Maandag eindtijd
    has_date: false
    has_time: true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors