Close
0%
0%

SST - ESP8266 Smart Thermostat WiFi IoT ready

SST - ESP8266 WiFi Smart Thermostat based on Souliss IoT Framework

Similar projects worth following
ESP8266 WiFi Smart Thermostat based on Souliss IoT Framework is a "smart thermostat" wifi ready. You can control from SoulissApp or (in the next release) via dedicated webserver.
This project is born to replace standard thermostat or cronothermostat in your house.
You can choose to use it as stand-alone smart thermostat or if you want to use IoT Souliss framework to automate your house, this thermostat is Souliss-ready.
Relevant function:
-DHT22 realtime measurement, temperature & humidity
-n°2 layout, you can select it by menù
-NTP clock, you can adjust your UTC by menù
-CRONO function, you can select between 4 diffrent setpoint(adjustable by menù),for every 1/2hour,for every day
-OTA, now you can upload your SST over the air
-3D model, you can print by yourself support and cover for SST
-Remote nodes(relè or sensor), you can command or read remote nodes(ex. relè on your furnace,or temperature form other rooms)

https://github.com/mcbittech/souliss-smart-thermostat-WiFi

for Souliss side:

n°1 Typical 31 : Temperature control with cooling and heating mode, on slot 0
n°1 Typical 52 : Temperature measure (-20, +50) °C, on slot 5
n°1 Typical 53 : Humidity measure (0, 100) %, on slot 7
n°1 Typical 19 : Single Color LED Strip, used for backlight dimming, on slot 9
n°1 Typical 11 : ON/OFF Digital Output,used only on software side for AWAY function, on slot 11

for functionality side you have:
-n°2 layout, you can select it by menù
-NTP clock, you can adjust your UTC by menù
-CRONO function, you can select between 4 diffrent setpoint(adjustable by menù),for every 1/2hour,for every day
-Copy/Paste function of day selected, in other day/days
-Save all data, crono & preferences in eeprom/flash(first boot,data will be taken from preferences.h)

-3D model, you can print by yourself support and cover for SST

-crono data moved from eeprom to spiffs json file to improve stability and data exchange to future webserver
-OTA, now you can upload your SST over the air
-Publish & Subscribe for remote node (ex. for a remote relay node or other, like remote sensors to display on topics page)
-added e06_ESP_SST_RemoteHeatingRelay example for remote relay node
-new topics page for layout1 if enabled
-topics in homepage fo layout2 if enabled
-child lock with longpress on encoder button
-deadband & hysteresis configurable insketch

IDE and library:
-moved to last ESP core (now @ 2.3.0 STABLE)
-moved to last Arduino IDE (now @ 1.6.12)
-moved to last Souliss Framework (now @ 7.2 beta1)

bug correction:
-DHT22 reinit if NaN is retrieved
-NTP reinit if there isn't correct response from NTP server
-chrono crash correction(in some case MCU reboot during navigation of crono)
-bugfix for timezone and daylightsaving

layout2_assembled.png

Portable Network Graphics (PNG) - 303.04 kB - 12/29/2016 at 10:03

Preview

DSC_3425.JPG

3D printed surface, cover + support details

JPEG Image - 283.82 kB - 12/29/2016 at 10:03

Preview

layout1_assembled.png

Portable Network Graphics (PNG) - 284.86 kB - 12/29/2016 at 10:03

Preview

DSC_3421.JPG

3D printed surface assembled back

JPEG Image - 328.78 kB - 12/29/2016 at 10:03

Preview

DSC_3419.JPG

3D printed surface assembled front

JPEG Image - 122.69 kB - 12/29/2016 at 10:03

Preview

View all 11 files

  • 1 × Olimex ESP8266-EVB
  • 1 × ILI9341 with SPI connection, via UEXT connector
  • 1 × Rotary Encoder with pushbutton & status LED
  • 1 × DHT22 Temperature & Humidity Sensor

  • 1
    Step 1
    HOW TO COMPILE AND LOAD SKETCH ON YOUR SST in 8 steps
    tested on Windows10 with Arduino IDE 1.6.10 & 1.6.11 on 21-09-16 by mcbittech
    this guide require about 15min
    • In File-->Preferences-->Additional Boards Manager URLs inserthttp://arduino.esp8266.com/stable/package_esp8266com_index.json
    • In Tools-->Board-->Board Manager search for esp8266 and install the latest core, actually 2.3.0
    • Clone or Download SST-WiFi Smart Thermostat
    • Copy all the libraries in Libraries-Core-Docs/libraries/ to your Arduino libraries folder (generally ...Documents\Arduino\libraries)
    • Clone or Download Souliss Framework
    • Unzip it to your Arduino libraries folder (generally ...Documents\Arduino\libraries)
    • Open SST sketch, set your board parameter to:
      • Board -->Olimex MOD-WIFI-ESP8266(-DEV)
      • CPU Frequency --> 160 Mhz
      • Upload Speed --> as you prefer or your board require(default 115200)
      • Port --> COM port where your SST is connected
    • Reboot your SST with pushbutton pressed (GPIO 0 to ground at boot)
    • Now compile your sketch,upload & enjoy your SST! :-)

View all instructions

Enjoy this project?

Share

Discussions

Roger Hanson wrote 10/02/2022 at 04:13 point

Following the directions, I get this. Sorry if this is easy to fix. I'm not good at Arduino.

In file included from F:\Downloads\souliss-smart-thermostat-WiFi-master\souliss-smart-thermostat-WiFi-master\SST_Eclipse\display.h:4,
                 from F:\Downloads\souliss-smart-thermostat-WiFi-master\souliss-smart-thermostat-WiFi-master\SST_Eclipse\SST_Eclipse.ino:52:
Ucglib.h:61:10: fatal error: utility/ucg.h: No such file or directory
   61 | #include "utility/ucg.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
exit status 1
utility/ucg.h: No such file or directory

  Are you sure? yes | no

Flavio wrote 12/28/2017 at 07:13 point

HelloThanhTran,
try to compile the project following this steps
https://github.com/mcbittech/souliss-smart-thermostat-WiFi/wiki/SST---WiFi-Souliss-Smart-Thermostat-Wiki
Let me now
Flavio

  Are you sure? yes | no

ThanhTran wrote 12/28/2017 at 21:43 point

Thanks for the quick reply Flavio

I found that using the Ucglib under your Libaries-Core https://github.com/mcbittech/souliss-smart-thermostat-WiFi/tree/master/Libraries-Core-Docs/libraries/Ucglib fixed my linker problem.  If I use any other versions (gotten by Arduino libary manager) then the compilation went fine but with linking error like what I've shown earlier.

There are  a lot of differences between the official Ucglib version (1.5.2) and your version. Maybe the bigger code space caused the mentioned linker error.

Now that the compilation & linking have completed, I can start playing with the "thermostats". First time ever I heard of Souliss and OpenHab.

Thanks

-Thanh

  Are you sure? yes | no

ThanhTran wrote 12/28/2017 at 07:06 point

I'm trying to compile this project for NodeMcu ESP8266 board. It has a linker error at the end:

.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: address 0x3ffff2f8 of /tmp/builddd453b880b776aea4d25f37bd6397540.tmp/e05_ESP8266_SST_webconf.ino.elf section `.bss' is not within region `dram0_0_seg'

It seems the project is too big for my ESP board? I also tried switching the board to Olimex MOD-WIFI-ESP-8266, and the error also showed up. Not sure how to solve this.   Not even seeing any map file to see which code takes too much space.  I'm not really familiar with the Arduino environment.

Anyone seeing this problem and how to fix it?

Thanks very much

  Are you sure? yes | no

tinkmaster wrote 09/19/2017 at 23:51 point

From the photos it looks like there's an extra PCB that the four listed components are wired to. Is this true? If so, is it possible to buy that PCB somewhere as well? Maybe a schematic that I could have printed? I'd love to build this but without that extra PCB to keep things clean I'm guessing I'd have to redesign the model for the cover.

  Are you sure? yes | no

Flavio wrote 12/28/2017 at 07:32 point

  Are you sure? yes | no

Flavio wrote 03/21/2017 at 07:16 point

@Dr. Fragle & MrShark & @svitky, have you solved? if yes, can you explain your behaviour and your action to solve this problem for other people?

Thanks, 

Flavio

  Are you sure? yes | no

dr.ramankumar wrote 03/06/2017 at 18:21 point

Hello this is cool project. Will this also work with SoulissApp? 

  Are you sure? yes | no

Flavio wrote 03/21/2017 at 07:11 point

Hello, it works with SoulissApp and with OpenHab!

  Are you sure? yes | no

svitky wrote 01/28/2017 at 15:06 point

I forgot to say thanks, the project is awesome.

  Are you sure? yes | no

svitky wrote 01/28/2017 at 15:04 point

Hi, I dont know if this is still life,...

I bought a display that is not working with ucglib (I can see something, light gray, on a display but not even close to the stuff that should be there...)

has anybody tried to rewrite the project so it works with Adafruit_GFX library

when I test the display according http://nailbuster.com/?page_id=341

thanks

  Are you sure? yes | no

Flavio wrote 01/31/2017 at 22:39 point

H svitky,

I'm sorry, but SST are designed around ucglib!
So,there is a misunderstanding I think...
You say that your display work with Adafruit ILI9341, and this is the right display for SST!
Post your display type please....

  Are you sure? yes | no

svitky wrote 02/01/2017 at 07:18 point

Hi Flavio. Yes, I have the example of adafruit_ili9341 library running. but ucglib no, even after setting correct CD/CS pins...in config. After flashing SST there is a light gray movement on the display, so it is not completely dead.. but not the pitcture that should be there.

that is the display I bought.

https://www.aliexpress.com/item/J34-F85-Free-Shipping-2-8-240x320-SPI-TFT-LCD-Serial-Port-Module-PCB-Adapter-Micro/32602444645.html?spm=2114.13010608.0.0.ufAqJj

If it is a problem, and I think(with my none programming skills) it wont be that easy to adjust it, dont worry about me, just send me a link of the display You are using.

thanks for Your time.

peter

  Are you sure? yes | no

Dr. Fragle & MrShark wrote 02/04/2017 at 18:59 point

hi

i've a similar display of the one of Svitky, with the exact same behaviour... just a little flickering on start, then nothing, all black... checked connections many times, with no luck... tried even to leave only the display, removing dht22, encoder and led (my encoder has no built-in one... where did you find that with led???), same behaviour... thanks in advance

  Are you sure? yes | no

Just4Fun wrote 01/01/2017 at 19:20 point

Awesome (E' uno spettacolo...)! :)

  Are you sure? yes | no

Flavio wrote 01/01/2017 at 20:22 point

Thanks so much!(grazie mille!)

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates