Tag Archives: Central Heating

Sonoff Heating Control

I’ve wanted to have my central heating controlled from MQTT for a while now to save me hunting around for the remote wireless thermostat timer.

The unit I currently use is a Honeywell CM67. It is pretty good and allows 7 day programming of the CH with up to 8 temperature setups per day. It remotely controls the boiler unit, shown below, which is hard wired to the mains and the boiler contact terminal for the CH demand.

All the boiler needs is for two contacts to be closed to activate the CH. This is normally bridged when using an internal timer or onboard switch. The bridged is removed for remote timers, thermostats or frost protection to be connected.


In my case I have modified my Sonoff to be just the contact switch I need without bridging mains to this input.

I removed a corner of the Sonoff to remove the tracks connecting the neutral bar and the live to the relay. This then leaves the input only connected to the onboard power regulator which feeds the ESP8266 and the low power side of the relay.

I then only needed to solder a bridge from the live input of the relay to the remaining neutral bar.

I have made a crude diagram of this below.

I could have easily done the same with a Sonoff SV and an external PSU but this will be a lot neater install.

Pics of the modified board will be up soon along with installed pics next to boiler.

This now will enable me to control the boiler CH demand state with a simple MQTT topic 🙂 Excellent.

Now initially the only functionality I would lose would be to be able to have the CH come on or off dependant on temperature as the digital thermostat timer would no longer control the boiler CH demand. But I could still run timers (more accurate and complex if need be) and have manual control over it.

I will be adding temperature sensors to my Home Automation at some point in the future to each room. This would give far more control over the heating of multiple rooms and corridors rather than just the room the thermostat is in.