That's great. Unfortunately, the option to react to the values with a button is still missing. As in the previous ON OFF project, which was created as an ESP32 access point and cannot be combined well with this. Something like this here, but with buttons would be great.
I am looking for a video that shows how the information is transferred to the web from the esp32, like how the variables get transferred most specifically, so I could make a less fancy website but more variables, how the read variables go from the sensor readings and then how they are manipulated by the htlm/css/java im not sure how it changes names.
Interesting video. However, you're refreshing the webpage every 4 seconds. The way I see it, it is the whole webpage that gets refreshed. If there are (many) more values, which so of them don't change, it is not the best idea to refresh everything. Could you explain how you would only transfer the data of those values instead of the whole page?
I did that using a static webpage with some javascript to call the fetch() function every x seconds. On the ESP32 I created a new route to only send the data in json format using the ArduinoJson lib (it's awesome!).
Haha to me DHT stands for Distributed Hash Table. I made a proof-of-concept dynamically allocated DHT server in Rust for a distributed E2E messaging system. I wager it would be fairly hard to censor given a P2P E2E system with a public key encryption protocol such as x25519 and then some stream cipher such as ChaCha20 for security. Written in Rust for that extra oomph of memory safety to keep things extra tied down. I mean, imagine such a resilient system!
bro can we attach two sensors like dht11 and mq 135 to the esp32 board and get the data onto a server .and lastly into a mobile phone app . i plan to develop this app . please help
If the router tells me that it is connected but the IP address does not appear on the serial monitor, but the MAC of the device appears linked, I am connecting the ESP 32 with a WLAN 1100 (PHOENIX CONTAC) in the web administrator (of the wlan) It tells me that the ESP 32 is in the connected devices and it gives the MAC, but in the serial monitor it only shows points, that is, it stays in the while and does not show me the IP address, what could I do? To connect the WLAN with a tablet or a mobile phone, I must configure the IP to be static, enter the data and it connects, how can I do it on the ESP 32? That is to say, it would be to put the data on its own IP address, WLAN IP, "prefix length" dns 1, dns 2, how can I assign (program) these values to esp 32? What strategy do you recommend?
@@TaylenIsInsane I fixed it like this: use: //----------------------------------WIFI connection to use with fixed ip IPAddress ip(192,168, 1.28); //Use the one you want to give it IPAddress gateway(192, 168, 0, 1); // Use the one your WLAN has IPAddress subnet(255,255,255,0); // Use the one your WLAN has WiFi.config(ip, gateway, subnet);
@@clumpimpi I fixed it like this: use: //----------------------------------WIFI connection to use with fixed ip IPAddress ip(192,168, 1.28); //Use the one you want to give it IPAddress gateway(192, 168, 0, 1); // Use the one your WLAN has IPAddress subnet(255,255,255,0); // Use the one your WLAN has WiFi.config(ip, gateway, subnet);
Brother I have this project to present monday so I hope you see my comment and help me. I want to edit the web page to include other stuff is it possible?and how can i do it?
Hello all iam working to add 2 relays with this program so i can control my heating in my cotage could you help me figure out how to add this fonction ! thx for your help
ciao intanto ti faccio i miei complimenti perchè spieghi "molto molto bene" per me che sono ignorante nel settore, maneggio un pò di arduino giusto semplici progetti, in questi giorni mi sto avvicinando alla esp32 per un progetto con sonda Dallas che ho già realizzato con la Mega. Se mi posso permettere la mia domanda è , si può utilizzare la WI-FI insieme al Bluetoouth per visualizzare la temperatura su un'altra esp32 dove ho collegato un LCD? grazie
hello, thank you for this video. but is it possible to get the ip address independently from the laptop, in other words, can i do this project without the need to power the esp32 from my laptop? help pls :/
when i try to do it it says fatal error: WebServer.h: No such file or directory, i already downloaded the library for Wifi and WiFiClient but i cant find where to download the library for WebServer
Pretty sad how unorganized the microcontroller world is. You'd think sensors with the name dht11 would all be pinned out the same. The one I have is vcc on left, gnd on right and data in middle. At least that's what the markings are
Hello, I really like your videos and they have helped me a lot. I have learned a lot with your videos. But could you make one using an ultrasonic sensor, an ESP8266 and some distance away that triggers an alarm and pops up an alert or something please. it would help me a lot
Good day to you Sir, thank you so much for taking your time to show all the steps that you went through to make the project a success; I have personally been helped greatly. I just wanted to hear from you if that website on which the values are shown, is customizable; as in you can add other things like charts, buttons etc for more comprehensive analysis of the values. Or i'd need to design a separate web-something for that to be possible. Thank you
You are very welcome Yeah, you could customize it and create a better interface by changing the html code inside the sketch, but you need to learn how to use html and css
If the esp32 is permanently connected to my home WiFi, and I know the IP address of the esp32, why can't I access it from my office WiFi using my mobile phone?
Bhai agar usne code nhi diya na to thik hi kiya 😂😂😂.... Aaj ke dino me is profession ka koi matlab nhi agar GitHub ya Dusre VCS ko operate karna nhi ata hai .... Sari coding Sari DSA fail woh nhi aata to ... kyu ki use sikhna kuch 2 3 din ka kaam hai aur 7 days with practice.. itna bhi effort nhi lagaoge to nhi chalega 😅
HELLO i want to make something similar but i want to add some thing to show state of a variable 0 or 1 , can i contact you privately to help me? also i noticed you are from tunisia im from algeria
Works great on LAN but not Wan. Must reconfigure and open a port in your router. 192.168.5.108 is not a Wan URL (Uniform Resource Locator). For remote viewing you will need an IP address or Domain Name and FTP ( File Transfer Protocol).
► Project: github.com/Enjoy-Mechatronics/ESP32-DHT-Webserver
podria explicar como realizo el codigo http porfa
Thanks!
No worries ☺️
This tutorial was great! I'm planning on adapting it for an in situ soil EC meter.
Perfect!
Big hug teacher, health and luck always.
That's great. Unfortunately, the option to react to the values with a button is still missing. As in the previous ON OFF project, which was created as an ESP32 access point and cannot be combined well with this. Something like this here, but with buttons would be great.
I am looking for a video that shows how the information is transferred to the web from the esp32, like how the variables get transferred most specifically, so I could make a less fancy website but more variables, how the read variables go from the sensor readings and then how they are manipulated by the htlm/css/java im not sure how it changes names.
Where I can get the code?
Thanks a lot!!! It works perfectly with DOIT ESP32 DEVKIT V1, thanks!!!
Great! 👍
Interesting video. However, you're refreshing the webpage every 4 seconds. The way I see it, it is the whole webpage that gets refreshed. If there are (many) more values, which so of them don't change, it is not the best idea to refresh everything. Could you explain how you would only transfer the data of those values instead of the whole page?
I did that using a static webpage with some javascript to call the fetch() function every x seconds. On the ESP32 I created a new route to only send the data in json format using the ArduinoJson lib (it's awesome!).
@@soniccinos Ah, that makes sense!
i just changed how often the whole page gets updated, seemed easier that way. 4 seconds seems too often for most people so i made it 30 sec.
\
\
Nice clean web interface - thanks
Glad you like it!
Haha to me DHT stands for Distributed Hash Table. I made a proof-of-concept dynamically allocated DHT server in Rust for a distributed E2E messaging system. I wager it would be fairly hard to censor given a P2P E2E system with a public key encryption protocol such as x25519 and then some stream cipher such as ChaCha20 for security. Written in Rust for that extra oomph of memory safety to keep things extra tied down. I mean, imagine such a resilient system!
bro can we attach two sensors like dht11 and mq 135 to the esp32 board and get the data onto a server .and lastly into a mobile phone app . i plan to develop this app . please help
Works great, is there anyway I can add the localtime to the webpage? I have tried with Const and Float commands, but just can't work it out.
I am using BMP280, is the code same or must search again? btw the code that you use is from Arduino examples or must create manually?
Nice video bro 👍
Glad you liked it
Lovely work!
Many thanks!
ye, use float with 2 decimals, but use only one. Use also float for int number.
Could you do one that uses A9G to send data to a remote web page using GPRS?
If the router tells me that it is connected but the IP address does not appear on the serial monitor, but the MAC of the device appears linked, I am connecting the ESP 32 with a WLAN 1100 (PHOENIX CONTAC) in the web administrator (of the wlan) It tells me that the ESP 32 is in the connected devices and it gives the MAC, but in the serial monitor it only shows points, that is, it stays in the while and does not show me the IP address, what could I do?
To connect the WLAN with a tablet or a mobile phone, I must configure the IP to be static, enter the data and it connects, how can I do it on the ESP 32? That is to say, it would be to put the data on its own IP address, WLAN IP, "prefix length" dns 1, dns 2, how can I assign (program) these values to esp 32? What strategy do you recommend?
i am also having the same problem, it just shows "......." and continues forever. i have not found the solution yet
@@TaylenIsInsane SAME HERE , I WAS SO EXCITED TO DO THE PROJECT BUT ONLY "------------" IS COMING. SOMEBODY PLEASE HELP US
i have the same problem
@@TaylenIsInsane I fixed it like this:
use:
//----------------------------------WIFI connection to use with fixed ip
IPAddress ip(192,168, 1.28); //Use the one you want to give it
IPAddress gateway(192, 168, 0, 1); // Use the one your WLAN has
IPAddress subnet(255,255,255,0); // Use the one your WLAN has
WiFi.config(ip, gateway, subnet);
@@clumpimpi I fixed it like this:
use:
//----------------------------------WIFI connection to use with fixed ip
IPAddress ip(192,168, 1.28); //Use the one you want to give it
IPAddress gateway(192, 168, 0, 1); // Use the one your WLAN has
IPAddress subnet(255,255,255,0); // Use the one your WLAN has
WiFi.config(ip, gateway, subnet);
Hello Sir, i have a problem - "Website not reachble" what can I do?
Can I use the nodemcu instead of the esp32 for this project?;
I want🥹🥹 the code for the backend and frontend of the web application and how to make the relationship between them with the arduino ide code?
Hello, I have a problem, the temperature and humidity value is -1.0, WHY???.
same for me
Sameee
Hi 👋
You have to replace float by int
Hi, i am not good at HTML😢.
PLEASE what is the relation between the 2 ino files ?.
Thank you
Brother I have this project to present monday so I hope you see my comment and help me.
I want to edit the web page to include other stuff is it possible?and how can i do it?
Hello all iam working to add 2 relays with this program so i can control my heating in my cotage could you help me figure out how to add this fonction !
thx for your help
Can you please make a guide on how to can design the website of the webserver
Great work!
Thanks for sharing
No worries 👍
Nice info, thanks for sharing :)
No problem!
ciao intanto ti faccio i miei complimenti perchè spieghi "molto molto bene" per me che sono ignorante nel settore, maneggio un pò di arduino giusto semplici progetti, in questi giorni mi sto avvicinando alla esp32 per un progetto con sonda Dallas che ho già realizzato con la Mega.
Se mi posso permettere la mia domanda è , si può utilizzare la WI-FI insieme al Bluetoouth per visualizzare la temperatura su un'altra esp32 dove ho collegato un LCD?
grazie
hello, thank you for this video. but is it possible to get the ip address independently from the laptop, in other words, can i do this project without the need to power the esp32 from my laptop? help pls :/
Use ESP mdns
when i try to do it it says fatal error: WebServer.h: No such file or directory, i already downloaded the library for Wifi and WiFiClient but i cant find where to download the library for WebServer
The webserver library comes with the esp32 package. So, you don't have to install it.
@@EnjoyMechatronics i take same error. But not coming with esp32 packages. how can i get it
Hello! Thank you for this tutorial! What can I do if when entering the ip address nothing opens in the browser?
try to adjust baud in serial monitor
I just tried this as my very fist ESP32 project and the screen is stuck on "Hard resetting via RTS pin".
And it just worked properly the 6th attempt with no real reason why - oh well, at least it's working now, thanks for the video :)
do you have the code ? i need 😢
@@Zainab_king_ali it's on the top comment
How can i add a 16x2 lcd display using i2c
Pretty sad how unorganized the microcontroller world is. You'd think sensors with the name dht11 would all be pinned out the same. The one I have is vcc on left, gnd on right and data in middle. At least that's what the markings are
simply Go for the markings
What changes to be made to make it send data to a server by calling a url
It depends on the server, so read the documentation.
it really work thx
No problem
Tks bro, I've a question, the DNS name could be saved in the memory flash?
I believe so
Hello, I really like your videos and they have helped me a lot. I have learned a lot with your videos. But could you make one using an ultrasonic sensor, an ESP8266 and some distance away that triggers an alarm and pops up an alert or something please. it would help me a lot
y IAYAN8 YURNVA8RUVO
Hi, Can I use more than one sensor with a single ESP32?
Definitely 💯
working nicely
Good to hear
i can't find the My-Network to conect. What i should do? please help me!
You have to connect to your network
You could use your mobile Hotspot
it is possible I assign static IP, please reply
Good day to you Sir, thank you so much for taking your time to show all the steps that you went through to make the project a success; I have personally been helped greatly. I just wanted to hear from you if that website on which the values are shown, is customizable; as in you can add other things like charts, buttons etc for more comprehensive analysis of the values. Or i'd need to design a separate web-something for that to be possible. Thank you
You are very welcome
Yeah, you could customize it and create a better interface by changing the html code inside the sketch, but you need to learn how to use html and css
I have 4 pins in my sensor, what will be the connections?
First vcc, snd data, forth gnd
Terima kasih ilmunya sukses selalu semoga bermanfaat, salam..
Perfect good job. I would like to connect 15 sensor dht22 for my beehives can i?
Is there a way to power with batterys
Definitely
Hi its not creating an IP address...not sure whats wrong
Can you double-check your network settings and make sure the ESP32 is connected to your WiFi network?
Hey If I'm using Nodemcu esp8266 will I have to add other library or the same code will work
It's almost the same code, but there is a slight difference that I am gonna explain in the next few videos.
bagus, anda baik sekali telah berbagi, terima kasih banyak
Thank you! 😊
very very good!
Thanks!
If the esp32 is permanently connected to my home WiFi, and I know the IP address of the esp32, why can't I access it from my office WiFi using my mobile phone?
Because it's connected to the local network of your home WIFI, not to the internet. So you have to be at the same network to access it
You could port forward the IP on your Router to allow remote access
wow i like this, what is you dimension size of breadboard?
Failed uploading: uploading error: exit status 2 help
Hello, I had the same problem, you need to disconnect all the pins that receive information (like the dht sensor), and try again
Please advise...Thank you.
Let me know if you have any questions.
Where can I find the code?
github.com/Enjoy-Mechatronics/ESP32-DHT-Webserver/blob/main/ESP32-DHT-Webserver.ino
good❤❤
Thanks 😊
If you're going to mention "Sensor from the last video", at least link it....
Show great !
Thanks!
Plz can y send me the program
github.com/Enjoy-Mechatronics/ESP32-DHT-Webserver
@@EnjoyMechatronics شكرا اخي
bro please can you give your code in comment because i dont work that much in github please reply with code
Bhai agar usne code nhi diya na to thik hi kiya 😂😂😂....
Aaj ke dino me is profession ka koi matlab nhi agar GitHub ya Dusre VCS ko operate karna nhi ata hai .... Sari coding Sari DSA fail woh nhi aata to ... kyu ki use sikhna kuch 2 3 din ka kaam hai aur 7 days with practice.. itna bhi effort nhi lagaoge to nhi chalega 😅
great work! can this code work with the esp8266?
Yes it will
Bro code its wrong
No, it works
Bro I need code bro
👍
send me the code
IS A HFDNYU JNRDUBUYJJ
hay codigo hay like
wow mDNS
HELLO i want to make something similar but i want to add some thing to show state of a variable 0 or 1 , can i contact you privately to help me?
also i noticed you are from tunisia im from algeria
Works great on LAN but not Wan. Must reconfigure and open a port in your router. 192.168.5.108 is not a Wan URL (Uniform Resource Locator). For remote viewing you will need an IP address or Domain Name and FTP ( File Transfer Protocol).
Where i can get the code?
github.com/Enjoy-Mechatronics/ESP32-DHT-Webserver