ESP32: ESP-NOW Web Server Sensor Dashboard (ESP-NOW + Wi-Fi)

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

ความคิดเห็น • 74

  • @RuiSantosdotme
    @RuiSantosdotme  4 ปีที่แล้ว +14

    You can find the complete project details (schematics + source code) on my blog ► RandomNerdTutorials.com/esp32-esp-now-wi-fi-web-server/

    • @guillermodanielarias9828
      @guillermodanielarias9828 4 ปีที่แล้ว

      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.

    • @rampage_xdit
      @rampage_xdit 3 ปีที่แล้ว

      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

    • @kamrannt
      @kamrannt 3 ปีที่แล้ว

      Can we add one esp8266 as one of the sender bot(client)?

    • @gaithouri
      @gaithouri 2 ปีที่แล้ว

      you are eeepiiiccc

    • @hrudaytummala1544
      @hrudaytummala1544 ปีที่แล้ว

      Sir, can u please send the code for IR sensor esp now communication

  • @alcanceweb
    @alcanceweb 4 ปีที่แล้ว +4

    Wonderful! That bit of updating sensor values without the need to refresh the whole page is very interesting, though. Thank you.

  • @TomSchubert
    @TomSchubert 4 ปีที่แล้ว +1

    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
      @guillermodanielarias9828 4 ปีที่แล้ว +2

      Hi Tom, have you tried this code?

    • @TomSchubert
      @TomSchubert 4 ปีที่แล้ว +1

      @@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

  • @rklauco
    @rklauco 3 ปีที่แล้ว +2

    Thanks, this seems to be the best video depicting EPS NOW with parallel wifi connection :)

  • @michealoflaherty1265
    @michealoflaherty1265 4 ปีที่แล้ว +3

    This is exactly what I have been looking to do. Thanks a million.

  • @YigalBZ
    @YigalBZ 4 ปีที่แล้ว +2

    Great video, clear and focused.

  • @felixperez9996
    @felixperez9996 2 ปีที่แล้ว +1

    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?

  • @mikesprojects2917
    @mikesprojects2917 2 ปีที่แล้ว +4

    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!

  • @Wokoman1
    @Wokoman1 3 ปีที่แล้ว +1

    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.

  • @electronicswithzee2565
    @electronicswithzee2565 4 ปีที่แล้ว +2

    Excellent ... Excellent ....Excellent ....!!!

  • @moses5407
    @moses5407 2 ปีที่แล้ว

    How tight is the data synchronization from multiple sending sensors?

  • @moses5407
    @moses5407 ปีที่แล้ว

    Still wondering about time sync of the data from the multiple sensors

  • @0raibi
    @0raibi 2 ปีที่แล้ว

    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?

  • @viniciusnoyoutube
    @viniciusnoyoutube 4 ปีที่แล้ว

    Excellent project.
    Great work.

  • @jenishthumar1904
    @jenishthumar1904 4 ปีที่แล้ว

    Can you make video on how to set internal RTC of esp using Arduino ide. And accuracy of that RTC in normal condition.

  • @kamilzdunczyk2245
    @kamilzdunczyk2245 4 ปีที่แล้ว

    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

  • @nevermind-wp3bf
    @nevermind-wp3bf 8 วันที่ผ่านมา

    This is so cool!

  • @ei23de
    @ei23de 4 ปีที่แล้ว +1

    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?

  • @maskman4821
    @maskman4821 4 ปีที่แล้ว +1

    How do we access ESP-NOW from anywhere in the world ? What kind of service do we need ? I found "husarnet", seems pretty awesome !!!

  • @jeffmcclain
    @jeffmcclain 4 ปีที่แล้ว

    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).

  • @grandecatastrophe
    @grandecatastrophe 4 ปีที่แล้ว

    Can the ESP32 senders directly send packets to a web server without the receiver in the middle?

  • @gerdabotha5917
    @gerdabotha5917 4 ปีที่แล้ว +1

    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

    • @aboyousifiotsmartsolutions1036
      @aboyousifiotsmartsolutions1036 4 ปีที่แล้ว

      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.

  • @ismzaxxon
    @ismzaxxon ปีที่แล้ว

    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

  • @Xander054
    @Xander054 6 หลายเดือนก่อน

    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?

  • @ashokkhurana7149
    @ashokkhurana7149 4 ปีที่แล้ว +4

    A nice project . can it be implemented on ESP8266 . If yes make a video to explain. thanks

    • @underwoodblog
      @underwoodblog 4 ปีที่แล้ว

      Came here to ask the same question!

    • @ArtemisKitty
      @ArtemisKitty 4 ปีที่แล้ว +2

      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.)

  • @lucagraupner4184
    @lucagraupner4184 2 ปีที่แล้ว

    Are you doing it also with esp idf in vsc?

  • @sudarsanchokkara9808
    @sudarsanchokkara9808 4 ปีที่แล้ว

    Very nice project. Dash board looking very nice. I have learned more projects from you. Thank you rui sir.

  • @MonicaYap
    @MonicaYap 4 ปีที่แล้ว +1

    Hi! This is a great project! By the way, how did you make that esp-now dashboard? Do you have a tutorial for that?

    • @ArtemisKitty
      @ArtemisKitty 4 ปีที่แล้ว

      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. :-)

  • @mikemurphy1896
    @mikemurphy1896 2 ปีที่แล้ว

    Great. Do you have this in python 3 ?

  • @FKSolutions_Eng
    @FKSolutions_Eng 3 ปีที่แล้ว

    Parabéns pelo canal e pelo conteúdo, muito bem comentado e explicado. Parabéns mesmo.

  • @prathambumb5593
    @prathambumb5593 4 ปีที่แล้ว +1

    Excellent 👍

  • @MONISHAGOWRI
    @MONISHAGOWRI ปีที่แล้ว

    I want to work with mpu6050 with two esp board can u help me out of it?

  • @jackywoo4975
    @jackywoo4975 4 ปีที่แล้ว

    Thanks for great video Rui. Any chance of espnow, wifi, mqtt combine with d1 mini video? It would be very popular for home automation.

  • @kamalkamel7559
    @kamalkamel7559 4 ปีที่แล้ว +1

    nice, thank you rui

  • @kraskagm
    @kraskagm 4 ปีที่แล้ว

    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.

  • @muthucumarans5831
    @muthucumarans5831 4 ปีที่แล้ว

    It is able to display value in mit app inventor

  • @freshine
    @freshine 3 ปีที่แล้ว

    hi! how i can add a button in web interface to control an aotput on sender esp32?

  • @jettaglnegro
    @jettaglnegro 9 หลายเดือนก่อน

    Tendras estos videos en español?

  • @RatnaPriya-fn5ud
    @RatnaPriya-fn5ud 10 หลายเดือนก่อน

    Did you Change the code the link for source code has different code
    Please help me I am working on this

  • @ramilmamba3700
    @ramilmamba3700 2 ปีที่แล้ว

    Спасибо большое разобраться не мог помогли спасибо🙂😉

  • @reni_christian
    @reni_christian 4 ปีที่แล้ว

    Mind blowing

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 2 ปีที่แล้ว

    Thank You

  • @nvn93
    @nvn93 2 ปีที่แล้ว

    Where can I download esp_now library?

  • @Corgitronics
    @Corgitronics 4 ปีที่แล้ว

    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.

  • @agrnair5738
    @agrnair5738 3 ปีที่แล้ว

    I wish to do this project with esp8266 what changes I have to make any video related to that you made

    • @charleslyell3748
      @charleslyell3748 ปีที่แล้ว

      th-cam.com/video/_eHe7ViXyY8/w-d-xo.html

  • @richardkuhne5054
    @richardkuhne5054 4 ปีที่แล้ว

    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.

  • @kevinrow4157
    @kevinrow4157 4 ปีที่แล้ว

    Can it work on esp8266 and ultrasonic sensors??

    • @YigalBZ
      @YigalBZ 4 ปีที่แล้ว

      Of course it can. It is easy like with any other sensor. Working well for me.

  • @shashikantabiswal7911
    @shashikantabiswal7911 2 ปีที่แล้ว

    Poket data. “delivery failed"
    Output

  • @JamesWattMusic
    @JamesWattMusic ปีที่แล้ว +1

    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.

  • @srrandall88
    @srrandall88 4 ปีที่แล้ว

    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"

    • @underwoodblog
      @underwoodblog 4 ปีที่แล้ว

      Maby if you send the data to IFTTT and connect this to ok google?

    • @kraskagm
      @kraskagm 4 ปีที่แล้ว

      I think when ESP32 is working as a weberver then probably google home can access the MAC address and read in from the webserver.

  • @arfendkhalifa
    @arfendkhalifa 4 ปีที่แล้ว

    the receiver mac address will be changed or not?

    • @YigalBZ
      @YigalBZ 4 ปีที่แล้ว

      The mac address is fixed, by hardware. Note that IP may change,

  • @elektronikakreatif8515
    @elektronikakreatif8515 ปีที่แล้ว

    Yess GOOD...

  • @epiendless1128
    @epiendless1128 2 ปีที่แล้ว

    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.