Comments on: MicroPython: ESP32/ESP8266 with DHT11/DHT22 Web Server (Weather Station) https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sun, 29 Sep 2024 07:53:59 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: ALI AKBAR SHAMSI https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/#comment-962663 Sun, 29 Sep 2024 07:53:59 +0000 https://randomnerdtutorials.com/?p=84495#comment-962663 “In this program, the temperature and humidity values on the display remain static and do not update dynamically. To fix this issue, I recommend using the AJAX technique. This technique allows the browser to continuously retrieve new temperature and humidity data from the server without refreshing the entire page

]]>
By: Christos https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/#comment-595660 Sun, 25 Apr 2021 17:28:05 +0000 https://randomnerdtutorials.com/?p=84495#comment-595660 Hi Sara, thanks for the tutorial! I followed it using a NodMCU with ESP8266 and DHT22, and works as described. However, after a while I cannot access the webserver because I suppose that NodeMCU goes in sleep mode. How can I keep NodeMCU awake without the need of pressing RST button to wake it up? Thanks a lot!

]]>
By: Lee https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/#comment-556609 Sun, 14 Feb 2021 06:11:33 +0000 https://randomnerdtutorials.com/?p=84495#comment-556609 thank you for step-by-step tutorial which runs on my esp8266 with esp8266-20210203-unstable-v1.14.bin firmware. However, main.py exists frequently with the following message. I have searched via google, but it seems that it is hard to solve this. If so, can we use micropython in a stable product? Thanks

Got a connection from (‘192.168.2.4’, 44522)
Content = b’GET / HTTP/1.1\r\nHost: 192.168.2.12\r\nConnection: keep-alive\r\nCache-Control: max-age=0\r\nUpgrade-Insecure-Requests: 1\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7\r\n\r\n’
b’27.0,84.0′
Traceback (most recent call last):
File “main.py”, line 78, in
OSError: [Errno 104] ECONNRESET
“`

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/#comment-521659 Mon, 23 Nov 2020 15:22:43 +0000 https://randomnerdtutorials.com/?p=84495#comment-521659 In reply to Thomas.

Hi.
If you reset the board it will boot up automatically. You can restart the board by pressing the RST button.
Regards,
Sara

]]>
By: Thomas https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/#comment-521459 Sun, 22 Nov 2020 02:26:11 +0000 https://randomnerdtutorials.com/?p=84495#comment-521459 This might be ultra basic, but..
I have everything working, and now I want to power the chip just with a power supply and have it run the code without being connected to my computer. How do I power it and tell it to boot up and run?

]]>
By: Philip Hart https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/#comment-504266 Thu, 08 Oct 2020 13:30:05 +0000 https://randomnerdtutorials.com/?p=84495#comment-504266 Hi Sara,
I’m steadily working through the examples at your website, and they are proving very useful.
Thanks for all the help!
I’m wondering, are you planning on an article on using ESP8266/ESP32 & micropython with the popular Blynk app (which is widely used in Arduino-world).
there are some Blynk / micropython libraries at github and while I have managed to get some connectivity, it is very unstable and unreliable.
Would be great to see a project here.
Thanks & keep up the good work
Philip

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/#comment-437971 Tue, 17 Mar 2020 15:15:12 +0000 https://randomnerdtutorials.com/?p=84495#comment-437971 In reply to Arjan.

Hi.
Use & # 37; (without spaces) instead of the % sign.
Search for its html entity : freeformatter.com/html-entities.html
Regards,
Sara

]]>
By: Arjan https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/#comment-437953 Tue, 17 Mar 2020 13:03:48 +0000 https://randomnerdtutorials.com/?p=84495#comment-437953 If i put the humidity above the temperature the formatting is rather strange, anybody else having the same issue?

Thanks.

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/#comment-405100 Tue, 05 Nov 2019 18:14:16 +0000 https://randomnerdtutorials.com/?p=84495#comment-405100 In reply to Joe Tannenbaum.

Hi Joe.
Thanks for sharing that.
Regards,
Sara 😀

]]>
By: Joe Tannenbaum https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/#comment-404578 Sat, 02 Nov 2019 21:58:28 +0000 https://randomnerdtutorials.com/?p=84495#comment-404578 Well, I was doing a turorial by someone else and he was using a dht22. I only had a dht11 and kept getting invalid reading. After searching, came here to find dht22 data is float and dht11 is int. Changed the type and now my setup is working. Thank you for letting us know the difference between the two.

Joe

]]>