Multi-Zone Heating/Cooling Control with Schedules, Presence Modes, Safety Lockouts and Responsive Dashboard

Hi everyone :waving_hand:

I’ve been working on a reusable multi-zone heating control system for Home Assistant, and I’m now sharing it publicly for testing, feedback, and contributions.

GitHub:

The project started as a way to control heating room by room without relying entirely on the internal temperature sensor and logic of each thermostat.

It has developed into a more complete framework with room schedules, external temperature references, automatic away setback, window and door protection, manual safety lockouts, temperature trend monitoring, and a responsive dashboard.

Main features

Each room or heating zone can have:

  • Separate morning, midday, evening, and night temperature targets
  • One or several external room-temperature sensors
  • Average temperature calculated from multiple sensors
  • Temperature-rate monitoring to detect rapid temperature drops
  • Window and door lockout protection
  • Manual and automatic heating lockouts
  • Thermostat minimum and maximum limit handling
  • Adaptive thermostat correction when the measured room temperature is below target
  • Support for one heater, several heaters, or floor heating
  • Automatic recovery when unsafe conditions have cleared

Presence and away control

The system separates physical presence tracking from heating override modes.

It includes three modes:

Automatic

The normal room schedules are used while someone is home.

After the configured away period, currently 24 hours in the examples, all zones use the away temperature.

Force Away

Immediately activates the away temperature, for example 15°C, without stopping or resetting physical presence tracking.

Force Home

Ignores the automatic away setback and returns every zone to its currently selected schedule.

This does not force every room to 21°C and does not overwrite the morning, midday, evening, or night helpers. Each room returns to its own chosen target.

Dashboard

The repository includes a responsive standalone HTML dashboard showing:

  • Home Assistant connection status
  • Current presence state
  • Exact elapsed time away
  • Current schedule period and next schedule change
  • Active heating presence mode
  • Active zones and lockouts
  • Average measured temperature
  • Open windows and doors
  • Current room temperature
  • Current thermostat setpoint
  • Temperature change rate
  • Editable schedule helpers
  • Manual lockout controls
  • Plain-language explanations of interlock causes
  • Global and room-level controls

The dashboard works on desktop and mobile and includes a populated demo version, so the interface can be tested before connecting it to a real Home Assistant installation.

Easy adoption with AI or manual setup

The repository contains generic example entities rather than references to one specific house or thermostat brand.

To adapt it, users can open:

Home Assistant → Developer Tools → States

Then collect the exact entity IDs for:

  • A person. or device_tracker. entity
  • Every climate. heater or thermostat
  • Room-temperature sensor. entities
  • Optional binary_sensor. window and door contacts
  • Floor-temperature sensors where applicable
  • Four input_number. schedule helpers per zone
  • Manual and automatic lockout helpers

The repository includes an entity worksheet and a prepared AI customization prompt.

Users can fill in the worksheet, attach the example files to an AI assistant, and ask it to generate complete versions using only the supplied entity IDs.

There is also a manual setup guide for users who prefer to configure everything themselves.

Heating today, cooling next

The current examples focus mainly on heating, but the same zone structure could be expanded to:

  • Cooling
  • Heat pumps
  • Fan coils
  • Ventilation demand
  • Combined HVAC control

Future versions could support separate heating and cooling targets, deadband control, humidity limits, summer and winter modes, and switching based on outdoor conditions.

Possible commercial use

Although the examples are designed to be understandable for a home installation, the same architecture could be adapted to larger buildings with many independently controlled zones.

Possible use cases include:

  • Hotels with one zone per room
  • Apartment buildings
  • Offices and meeting rooms
  • Schools and universities
  • Sports halls and stadium areas
  • Warehouses
  • Workshops and industrial buildings

A commercial deployment would naturally need additional engineering around permissions, redundancy, alarm handling, HVAC safety, network architecture, equipment certification, and local building regulations.

Still, Home Assistant can provide an approachable supervisory interface for viewing zones, changing schedules, identifying interlocks, and controlling many rooms from one dashboard.

Roadmap and ideas

Some features I would like to explore:

  • Heating and cooling support
  • Outdoor-temperature compensation
  • Weather forecast integration
  • Electricity-price-aware heating
  • Peak-load limiting
  • Better room occupancy detection
  • Historical performance and energy reporting
  • Automatic tuning of temperature correction
  • Easier configuration generation
  • Blueprint or package-based installation
  • HACS-compatible packaging

To do: AI control

A particularly interesting future feature would be integration with AI-based control through voice and text commands.

Examples:

  • “Set all guest rooms to 19°C until tomorrow morning”
  • “Why is the upstairs bedroom not heating?”
  • “Put the building in away mode”
  • “Which zones currently have an open-window lockout?”
  • “Reduce heating in unused rooms for the next six hours”

The goal would be to let AI interpret commands and explain system status, while Home Assistant automations remain responsible for the actual safety logic and equipment control.

Feedback wanted

I would especially appreciate feedback on:

  • The overall automation structure
  • Better ways to package the helpers
  • Heating and cooling support
  • Commercial or large-building use cases
  • Dashboard usability
  • Different thermostat integrations
  • Safety and recovery behavior
  • Blueprint, package, or HACS installation options

Issues, suggestions, pull requests, testing, and screenshots from other installations are very welcome.

Thanks for taking a look :slightly_smiling_face:

Looks interesting. I will keep an eye on this.