WiFi thermostat based on Wemos D1 Mini and using SHT3X(SHT31-D) temperature/humidity sensor. Data are sent to Thingspeak server and Blynk. Thermostat can be controlled by Blynk application. Project is free to use, coded in C++, created in Visual Code with PlatfomIO IDE.
To build a project, you need to download all the necessary libraries and create the settings.cpp file in the src folder:
// Thermostat project settings
struct Settings
{
const char *thingSpeakWriteApiKey = "Your API Key";
const unsigned long thingSpeakChannelId = channelId;
const char *ssid = "WIFI ssid";
const char *password = "WIFI password";
const char *blynkAuth = "blynkAuth";
};
- Wemos D1 Mini
- HLK-PM01 220v to 5v power supply
- Wemos relay shield
- OLED shield 64x48
- SHT3X (SHT-31D) temperature and humidity sensor
- RGB LED common anode