Martin's corner on the web

WiFi Thermostat with weekly scheduler

Edit: The project is now available for sale in my shop, you can grab one here:

 

The WiFi SSR board project changed a bit and I use classical relays instead of SSRs now. The reason is that SSRs tend to get quite hot when switching larger loads, and the 8A relays I last used actually could be used for max 2.5A load switching with no heat sink. The high quality relays I now use allow 10A load switching and are rather quiet. I also changed the design a bit so that it would fit in a box (DIN rail compatible) for increased safety.

The board now looks like this: (this particular project needs only one relay):IMG_20150227_090253~2[1]

 

 

As additional feature, I’ve added thermostat function based on Trystan Lea’s Open Thermostat Scheduler, only my code runs entirely off the ESP8266 SoC. The UI is touch-friendly and works great on mobile devices:

control-thermostat-html2

 

I’ve also added broadcasting functionality, allowing the board to send its state to third party services like emoncms.org and thingspeak.com. The benefit of this is that the board can now fetch historical readings from the services and render some fancy charts for further business intelligence:

control-thingspeak-html

 

The first board went into use for a radiator thermostat project for a downtown place I use as office. The building has central heating and the radiators had manual actuators. I replaced these with a Swiss made thermoelectric actuator that is controlled by the relay and set a heating schedule for it:

I have it running for a week now and am loving the convenience and ability to remotely control the temperature.

The same approach could be used to start heater element in a boiler for example.

I plan to blog about location based switching using owntracks, MQTTand the WiFi thermostat sometime soon.

I’ve set up a WiKi for the project in preparation to having few for sale sometime mid-March 2015.

Some more pictures:

 

13 thoughts on “WiFi Thermostat with weekly scheduler

  1. Pingback: Controlling Central Heating Via Wi-Fi | Hackaday

  2. Pingback: Controlling Central Heating Via Wi-Fi | Hack The Planet

    1. Martin Post author

      Thanks Matthew,
      I have published board design files, the ESP8266 source code will be made available under the same GitHub repo on March 15th (this is when my boards for sale are due).
      Cheers,
      Martin

  3. Philippe

    Lovely, you made what I was trying to made with the ESP SDK Board, onboard relay, DHT22, RGB Led etc. But because of the crappy (aka none) documentation and the board fails to boot after 35-40 flashes I’m giving up :-D. I’m ordering one!

  4. Pingback: Making IFTTT (If This Then That) talk to Node-RED | Martin's corner on the web

  5. Pingback: WiFi Thermostat with weekly scheduler | Tehnik Service