What is your self-hosting setup for home thermostat?


I'm not sure the best way to ask or if there is a better community to post...

I'm hoping to use my home server to control my home thermostat but not sure where to start.

Does anyone use Home Assistant for this? Another software?

I'm not sure if I'm allowed to ask about hardware here, but are there things to be aware of in making sure that a wifi thermostat is best suited for the job?

in reply to gedaliyah

I live in an apartment building with a stable enough temperature that I never have to use a heater or AC, but I do have a number of zigbee temperature/humidity sensors and a Home Assistant automation that turns on a window fan if the relative indoor vs outdoor conditions are favorable.
This entry was edited (Monday, February 3, 2025, 3:40 AM)
in reply to gedaliyah

The media in this post is not displayed to visitors. To view it, please go to the original post.

I have ESP8266 WiFi modules running Tasmota firmware for a few parts of this. Some report temperature (and humidity just for fun), I like DS18B20 sensors better than SHT30s which seem to have a bit more self heating. Then I also have Mitsubishi mini split heat pumps for which there's a Tasmota control library. MQTT for communication + HomeAssistant for UI + AppDaemon for automation scripts in Python.

Examples of the UI in HA:

in reply to atzanteol

Does the Honeywell T6 give you separate control of temperature and fan? That is, can you turn air circulation on/off, even when the temperature wouldn't trigger heating/cooling?

I've been watching pm2.5 in my house, and the HVAC filter does a pretty good job of keeping it down if I run the fan, but that fan takes a lot of energy, and I'd like to turn it off when the air is pretty clean.

in reply to tburkhol

I believe so, my system is baseboard so I didn't use a fan. There is a fan control option on the device. The instructions say it can do auto, on, of, circ.

digitalassets.resideo.com/damr…

More details here:

honeywellhome.com/us/en/produc…

in reply to gedaliyah

Each room has one ZigBee thermometer and thermovalves for the heaters. Home Assistant with an automation open and closes them based on the thermometers.

Also in HA, I have a schedule for the "comfort" temperature so that the boiler can be turned on and off accordingly.

See wiki.gardiol.org/doku.php?id=h… for the detailed setup.

in reply to gedaliyah

Best place to start would be to look at the thermostat hardware you've currently got, and start searching online if anyone has integrated it into Home Assistant.

I've lived at a few houses now with Home Assistant. In all of them I was able to integrate my HVAC and automate it, but some brands and hardware are definitely easier than others.

I think the most extreme of them required a custom esphome device connected to its PCB to talk to Home Assistant, and another required me to write my own custom component.

Hardware and brands make a huge difference, but sometimes you're stuck with what you've got.

in reply to atzanteol

Clarification here There are ZigBee thermostats that are integrated sensors and switches where you can control the switch, read the sensor and control the set point both on the device and via ZigBee so they are controllable locally in two senses - on the device and with the home. There are proprietary Smart thermostats that may be local on the device but rely on external servers for any off device control. then there are Proprietary thermostats that are totally dependent on an internet connection to do anything - Its important to check

Selfhosted reshared this.

in reply to gedaliyah

It really really depends on what you have for heating.

Floor heating + heat pump? You don't need to mess around with target temp much because the principle behind it is thermal mass buildup and maintaining that. You have to tune thermostatic valves on the room level. Then you can have one central thermostat simply slightly change the target temperature with many hours of delay. That doesn't seem too useful to me to automate.

Do you have radiators? Then you can get zwave or ZigBee valves and tie them together with whatever thermostat that you want in home assistant. Then you can set per room/zone heat depending on whatever sensors you have.

Do you have central forced air heating and air conditioning? Then you have pretty much target temp and on/off control unless you want to put in motorized automatic registers or redesign your entire duct system for per-room duct valves.

Individual heat pumps/airco units with radiator based heating is the most "per room" customizable and probably the most useful to put automations on in Home Assistant.

Ventilation can be useful by monitoring CO2 levels and humidity. Then you can use either the fan units themselves or socket switches to actuate those and put whatever sensors you want wherever it is useful.

I am probably missing some stuff here, but there are only a few HVAC setups that actually benefit from automation, in my opinion. Mainly ventilation, infrared, and non centralized forced air heat pumps. Plus heating and cooling is something you want to work 100% flawlessly even if your router dies, your home assistant falls off a cliff, and your ZigBee/zwave controller dies.

This entry was edited (Monday, February 3, 2025, 1:59 PM)
in reply to JustEnoughDucks

I live in a hot climate, so it's really the expense of air conditioning.

Small adjustments to the temperature based on whether or not we're home, pre-cooling versus cooling during the heat of the day, etc. makes a big difference on the bill potentially.

I've seen some scenarios where people were able to save hundreds of dollars a year just by adjusting the timing of systems. The price of electricity can go up and down during the day.

Maybe those cases are outliers and it's actually not worthwhile, but it seems compelling. If I can put a system in place for under $100, that will be at least as good as what I have and possibly a significant improvement, I'm interested in trying it.

in reply to gedaliyah

I have an EcoBee thermostat which is typically web managed, however it also supports HomeKit. Using the homekit plugin for HomeAssistant I now get best of both worlds.

If I were to do it again I might consider a Z-Wave or ZigBee thermostat, but living in a cold climate I really appreciate knowing that if for some reason my home auto fails there is a backup service to alert me, or vice versa.