Comments on: ESP32/ESP8266 Thermostat Web Server – Control Output Based on Temperature https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 17 Mar 2025 12:17:11 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: luberth dijkman https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/#comment-910428 Sun, 28 Apr 2024 03:56:40 +0000 https://randomnerdtutorials.com/?p=93918#comment-910428 another version with websockets
so that it changes settings in all browser windows
esp8266

https://github.com/ldijkman/async-esp-fs-webserver/tree/master/docs/ino/thermostat_web_flash

]]>
By: Manfred https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/#comment-892826 Tue, 20 Feb 2024 11:31:36 +0000 https://randomnerdtutorials.com/?p=93918#comment-892826 Hi Sara and Rui,

have found this project and have “one” question.

Every time i start up this project i have the same conditions on the values “Threashold” and “Arm Trigger”. This is probably because the two parameters are hard-coded and are always reset at startup.

I have build a smal extension with the LittleFS-System to save parameters in a coresponding text-file (e.g. inputmessage.txt and enablearmchecked.txt) to save the last state(s). LittleFS is realy easy to handle and should help to save parameters and values to the FileSystem on the ESP8266-Chip.

But there is a realy tricky problem found on the checkbox. How could i save the actual state of the checkbox to a file (how to handle save and load with LittleFS is not the problem) and read it back at startup within the processor()-task. The value “checked” is not a real parameter of the input-element and we have to handle it over the string-processor and parameters manually. But how to do this tricky thing? Did you have a idea, solution or maybe a equal tutorial to handle this?

Thanks a lot and i think there are many follower to have the same idea/problem?

Sunny greetings from germany,
Manfred

]]>
By: Daniel Andreucetti https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/#comment-876053 Tue, 05 Dec 2023 00:01:26 +0000 https://randomnerdtutorials.com/?p=93918#comment-876053 In reply to Sara Santos.

Hi Sara! Also you can use a PID control for better perfomance! Thanks!!!

]]>
By: Ender https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/#comment-872923 Sun, 19 Nov 2023 09:13:13 +0000 https://randomnerdtutorials.com/?p=93918#comment-872923 Hi,
It works very well. But I can only access it via wifi at home. How can I access it from outside my home?
thanks..

]]>
By: Igor https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/#comment-845600 Thu, 06 Jul 2023 19:08:57 +0000 https://randomnerdtutorials.com/?p=93918#comment-845600 In reply to Sara Santos.

I think you didn’t understand my question
I know how to use the DHT sensor
I just want to know how to adapt the code to use the DHT11 sensor instead of the DS18B20 sensor

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/#comment-845582 Thu, 06 Jul 2023 16:59:11 +0000 https://randomnerdtutorials.com/?p=93918#comment-845582 In reply to Igor.

Hi.
You can learn how to use the DHT sensor with the following tutorial:
https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-sensor-arduino-ide/
Then, you just need to make slighty changes to use the DHT instead.
Regards,
Sara

]]>
By: Igor https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/#comment-845542 Thu, 06 Jul 2023 11:57:12 +0000 https://randomnerdtutorials.com/?p=93918#comment-845542 How do i adapt this to using the DHT11 sensor instead DS18B20 sensor?

]]>
By: Bill https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/#comment-831548 Sun, 23 Apr 2023 14:23:46 +0000 https://randomnerdtutorials.com/?p=93918#comment-831548 Yes, I looked at that, probably a good start. I get lost trying to combine the thermostat sketch with the client-server sketch.
Thanks

]]>
By: Bill https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/#comment-831546 Sun, 23 Apr 2023 14:19:46 +0000 https://randomnerdtutorials.com/?p=93918#comment-831546 I probably still wasn’t clear. I want to connect the 2 esp8266 through wifi, maybe with esp NOW or some kind of client-server set up. Hope that makes sense.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/#comment-831545 Sun, 23 Apr 2023 14:19:33 +0000 https://randomnerdtutorials.com/?p=93918#comment-831545 In reply to Bill.

Hi.
Check this tutorial: https://randomnerdtutorials.com/esp8266-nodemcu-client-server-wi-fi/
I hope this helps.
Regards,
Sara

]]>