Hi roy thank you inadvance for your good project . May you tell me hiw I can take photo by esp32 cam with pir sensor and send photo by sim800L and save that to server or cloud and send link that by sms to my phone? Thanks alot
This is perfect, I've been racking my brain for the last 3 days to get ESPnow and a web server/ wifi working at the same time. I'll dive into the code this afternoon. Thank you
@@guillermodanielarias9828 I definitely have, it didn't work in my unique situation as I needed Wi-Fi plus ESP now sending. I ended up running a master which connects to Wi-Fi and received ESP now and then communicates over serial to the first slave which directly sends out ESP now
Hi Rui, many thanks from Canada for all the great tutorials! Wondering how difficult it would be to use ESP8266 01S for remote sensors? It seems such a waste of processor and footprint to use only one or two I/O pins. Any guidance would be greatly appreciated!
I can't get it working, I'm combining 2 ESP01 as sender and an esp32 as receiver/server. Both ESP01's are recognized and can communicate with the 32 up untill it is connected to the wifi. Then suddenly the communication stops and both are no longer available. Would you still have the old code somewhere available so I can try that? In this video you clearly mention both espnow and wifi network need to be on different channels, while on the site (and the new script) you state the opposite so it's a bit confusing. I suspect my mesh wifi to fail with the new scripts.
Very nice! ESP-NOW is great! It's super fast and efficient. I built some sensors and a doorbell with it too. Did you manage to combine ESP32 and ESP8266 via ESPNOW together?
Yes, it can. ESP-NOW is compatible with both, and cross-communicates between them with no problems. I’d stick with the ESP32 for the web server (from experience using both to do that for other projects) but as far as the sensors go? No need. Honestly you might even want to UNDERclock it a little bit to save more power. Even 20Mhz is way more than sufficient for a basic sensor. I myself plan to use those old 8266 boards for something useful that I still have, so this is perfect! (I’m upgrading the office LED lights by switching the existing NodeMCU boards for ESP32 M5 Atom modules because they’re tiny. I also have a few temp/humidity/etc sensors, but I’m pretty sure they’re AM2302 mostly, MAYBE 1 DHT11? Shouldn’t matter though. Hopefully. I’ll update once the new shipment arrives! Any day now!) Next step: Change all the LED shelf lights to have a 2nd mesh network between them using ESP-NOW, so that even if/when the WiFi is down, I don’t have to connect individually to them in ad-hoc mode one by one. I want to use the temp sensors/humidity sensors to integrate with the air on and a fan on the porch, along with adding functions as I think of them. (Still researching the best “human presence sensor” option for the porch and bathroom lights that won’t turn off when you sit still, lol.)
Do you think this method can work for realtime applications like let's say moving motors via a joystick or turning a rotary knob to determine the motor position using espnow and this server client method?
Very nice video. I would also like to do this on a cloud-based server so that I can access my data from anywhere in the world. Hope you can make a video on that as well
I think it will easy just you need to modify the Reciver code to add your server and, port number and Resource path API, then you can send http POST request to your server that containing sensors values.
Seems like you could make the connection to the receiver assign back a number for that MAC that it uses to set it's broadcasts and not have to have custom 1,2,3,4... int assignments hard coded in. This would allow the same code to be used for each sensor ESP32 and dynamically connect/assign number when connected. I'm going to work on this (granted, you'll have to be peer not just Rx or Tx).
Hello! I am trying to run webservers on multiple esp32 devices. I'm planning that each device can run as a master device. And in every device I can pair 2 esp32 devices entering the MAC addresses in the webserver user interface. So when it's paired then regardless on which webserver am i, I can control both or three devices. On the webserver I have a field where I can enter the MAC address. I wonder is it possible to pair devices like so? I haven't implemented the communication code yet and looking solutions which might be the easiest to implement. Right now what i have is a single device working in a webserver access point mode with a user interface for one device. I implemented the add on buttons and sliders but they aren't yet connected to the other esp32 devices and no data is in the background.
Yeah, that looks SO much better than anything I come up with for my control interfaces/projects, haha. I’d also love to know what that is, if you don’t mind sharing. :-)
I dont think the esp32 works like this with both wifi and esp now at same time. I have tried everything but the second I turn on WiFi.begin() on the receiver board, and at the same time as ESP-NOW, the data isnt received. If I comment out, WiFi.begin(), the ESP32 starts receiving ESP-NOW data again. All on channel 6 of my wifi. So I have no idea how to publish the ESP-NOW data onto a webpage, only shows up in serial.
Thank you for following up with another update on ESP-NOW. It's on my list of things to work on soon. BTW, what video editing tools/software do you use? That would be interesting, as the quality of your videos is excellent! I really would like to know what you use for screen capture and for the diagrams.
Is there a way to ask Google home what the temperature of a room is using this project...?? Specifically I want to read temperature of my pool aloud when i ask it Question:"ok Google, what is the pool temperature? " Answer: "The pool temperature is currently 27.5 degrees celcius"
I found an apparent bug in the transmitter code. It worked well for a week or two, but then started to complain "Peer interface is invalid". Fault seems to be an inadequately initialised structure. Following advice elsewhere I changed esp_now_peer_info_t peerInfo; to esp_now_peer_info_t peerInfo = {}; That seems to have fixed it.
You can find the complete project details (schematics + source code) on my blog ► RandomNerdTutorials.com/esp32-esp-now-wi-fi-web-server/
Hi Rui, I'm having a problem with setting the AP channel. If I connect WiFi with the STATION, the AP channel changes to the channel from the station.
Hi roy thank you inadvance for your good project .
May you tell me hiw I can take photo by esp32 cam with pir sensor and send photo by sim800L and save that to server or cloud and send link that by sms to my phone? Thanks alot
Can we add one esp8266 as one of the sender bot(client)?
you are eeepiiiccc
Sir, can u please send the code for IR sensor esp now communication
Wonderful! That bit of updating sensor values without the need to refresh the whole page is very interesting, though. Thank you.
This is perfect, I've been racking my brain for the last 3 days to get ESPnow and a web server/ wifi working at the same time. I'll dive into the code this afternoon. Thank you
Hi Tom, have you tried this code?
@@guillermodanielarias9828 I definitely have, it didn't work in my unique situation as I needed Wi-Fi plus ESP now sending. I ended up running a master which connects to Wi-Fi and received ESP now and then communicates over serial to the first slave which directly sends out ESP now
Thanks, this seems to be the best video depicting EPS NOW with parallel wifi connection :)
This is exactly what I have been looking to do. Thanks a million.
Great video, clear and focused.
Simply perfect :) i have a question... if we, for example, from the server, what "turn on" a light in one of the clients... What we have to do?
Hi Rui, many thanks from Canada for all the great tutorials! Wondering how difficult it would be to use ESP8266 01S for remote sensors? It seems such a waste of processor and footprint to use only one or two I/O pins. Any guidance would be greatly appreciated!
I can't get it working, I'm combining 2 ESP01 as sender and an esp32 as receiver/server. Both ESP01's are recognized and can communicate with the 32 up untill it is connected to the wifi. Then suddenly the communication stops and both are no longer available.
Would you still have the old code somewhere available so I can try that? In this video you clearly mention both espnow and wifi network need to be on different channels, while on the site (and the new script) you state the opposite so it's a bit confusing. I suspect my mesh wifi to fail with the new scripts.
Still wondering about time sync of the data from the multiple sensors
How tight is the data synchronization from multiple sending sensors?
Excellent ... Excellent ....Excellent ....!!!
Thanks!
Very nice! ESP-NOW is great! It's super fast and efficient. I built some sensors and a doorbell with it too.
Did you manage to combine ESP32 and ESP8266 via ESPNOW together?
A nice project . can it be implemented on ESP8266 . If yes make a video to explain. thanks
Came here to ask the same question!
Yes, it can. ESP-NOW is compatible with both, and cross-communicates between them with no problems.
I’d stick with the ESP32 for the web server (from experience using both to do that for other projects) but as far as the sensors go? No need. Honestly you might even want to UNDERclock it a little bit to save more power. Even 20Mhz is way more than sufficient for a basic sensor.
I myself plan to use those old 8266 boards for something useful that I still have, so this is perfect! (I’m upgrading the office LED lights by switching the existing NodeMCU boards for ESP32 M5 Atom modules because they’re tiny. I also have a few temp/humidity/etc sensors, but I’m pretty sure they’re AM2302 mostly, MAYBE 1 DHT11? Shouldn’t matter though. Hopefully. I’ll update once the new shipment arrives! Any day now!)
Next step: Change all the LED shelf lights to have a 2nd mesh network between them using ESP-NOW, so that even if/when the WiFi is down, I don’t have to connect individually to them in ad-hoc mode one by one. I want to use the temp sensors/humidity sensors to integrate with the air on and a fan on the porch, along with adding functions as I think of them. (Still researching the best “human presence sensor” option for the porch and bathroom lights that won’t turn off when you sit still, lol.)
This is so cool!
Are you doing it also with esp idf in vsc?
Where can I download esp_now library?
Can the ESP32 senders directly send packets to a web server without the receiver in the middle?
How do we access ESP-NOW from anywhere in the world ? What kind of service do we need ? I found "husarnet", seems pretty awesome !!!
I want to work with mpu6050 with two esp board can u help me out of it?
Can this be setup as a software access point and not require connection to an access point? I have tried with no luck so far
Excellent project.
Great work.
Did you Change the code the link for source code has different code
Please help me I am working on this
Do you think this method can work for realtime applications like let's say moving motors via a joystick or turning a rotary knob to determine the motor position using espnow and this server client method?
hi! how i can add a button in web interface to control an aotput on sender esp32?
Very nice video. I would also like to do this on a cloud-based server so that I can access my data from anywhere in the world. Hope you can make a video on that as well
I think it will easy just you need to modify the Reciver code to add your server and, port number and Resource path API, then you can send http POST request to your server that containing sensors values.
Can you make video on how to set internal RTC of esp using Arduino ide. And accuracy of that RTC in normal condition.
I’ve been pulling my hair out trying to connect my ESP receiver to WiFi and still receive packets. Is it as simple as fixing the AP channel?
do you plan to do something similar but with the ability to read data from anywhere?
Not only reading the data while connected to the local network
Seems like you could make the connection to the receiver assign back a number for that MAC that it uses to set it's broadcasts and not have to have custom 1,2,3,4... int assignments hard coded in. This would allow the same code to be used for each sensor ESP32 and dynamically connect/assign number when connected. I'm going to work on this (granted, you'll have to be peer not just Rx or Tx).
Great. Do you have this in python 3 ?
Tendras estos videos en español?
Very nice project. Dash board looking very nice. I have learned more projects from you. Thank you rui sir.
Parabéns pelo canal e pelo conteúdo, muito bem comentado e explicado. Parabéns mesmo.
Hello! I am trying to run webservers on multiple esp32 devices. I'm planning that each device can run as a master device. And in every device I can pair 2 esp32 devices entering the MAC addresses in the webserver user interface. So when it's paired then regardless on which webserver am i, I can control both or three devices. On the webserver I have a field where I can enter the MAC address. I wonder is it possible to pair devices like so? I haven't implemented the communication code yet and looking solutions which might be the easiest to implement. Right now what i have is a single device working in a webserver access point mode with a user interface for one device. I implemented the add on buttons and sliders but they aren't yet connected to the other esp32 devices and no data is in the background.
Thanks for great video Rui. Any chance of espnow, wifi, mqtt combine with d1 mini video? It would be very popular for home automation.
It is able to display value in mit app inventor
Hi! This is a great project! By the way, how did you make that esp-now dashboard? Do you have a tutorial for that?
Yeah, that looks SO much better than anything I come up with for my control interfaces/projects, haha. I’d also love to know what that is, if you don’t mind sharing. :-)
Excellent 👍
Thank you!
I wish to do this project with esp8266 what changes I have to make any video related to that you made
ua-cam.com/video/_eHe7ViXyY8/v-deo.html
Poket data. “delivery failed"
Output
Can it work on esp8266 and ultrasonic sensors??
Of course it can. It is easy like with any other sensor. Working well for me.
the receiver mac address will be changed or not?
The mac address is fixed, by hardware. Note that IP may change,
nice, thank you rui
You're welcome!
I dont think the esp32 works like this with both wifi and esp now at same time. I have tried everything but the second I turn on WiFi.begin() on the receiver board, and at the same time as ESP-NOW, the data isnt received. If I comment out, WiFi.begin(), the ESP32 starts receiving ESP-NOW data again. All on channel 6 of my wifi. So I have no idea how to publish the ESP-NOW data onto a webpage, only shows up in serial.
Thank you for following up with another update on ESP-NOW. It's on my list of things to work on soon.
BTW, what video editing tools/software do you use? That would be interesting, as the quality of your videos is excellent! I really would like to know what you use for screen capture and for the diagrams.
Спасибо большое разобраться не мог помогли спасибо🙂😉
Thank You
Mind blowing
Amazing, i‘m still looking for some Micro python or Circuit python projects that use ESP-now. If anyone found something please let me know.
Is there a way to ask Google home what the temperature of a room is using this project...??
Specifically I want to read temperature of my pool aloud when i ask it Question:"ok Google, what is the pool temperature? " Answer: "The pool temperature is currently 27.5 degrees celcius"
Maby if you send the data to IFTTT and connect this to ok google?
I think when ESP32 is working as a weberver then probably google home can access the MAC address and read in from the webserver.
Yess GOOD...
Up
I found an apparent bug in the transmitter code. It worked well for a week or two, but then started to complain "Peer interface is invalid".
Fault seems to be an inadequately initialised structure. Following advice elsewhere I changed
esp_now_peer_info_t peerInfo;
to
esp_now_peer_info_t peerInfo = {};
That seems to have fixed it.
Thank you