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

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 76

  • @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 3 роки тому

      you are eeepiiiccc

    • @hrudaytummala1544
      @hrudaytummala1544 Рік тому

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

  • @fabiocardoso_dev_br
    @fabiocardoso_dev_br 4 роки тому +5

    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.

  • @moses5407
    @moses5407 2 роки тому

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

  • @moses5407
    @moses5407 2 роки тому

    How tight is the data synchronization from multiple sending sensors?

  • @electronicswithzee2565
    @electronicswithzee2565 4 роки тому +2

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

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

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

  • @nevermind-wp3bf
    @nevermind-wp3bf Місяць тому

    This is so cool!

  • @lucagraupner4184
    @lucagraupner4184 2 роки тому

    Are you doing it also with esp idf in vsc?

  • @nvn93
    @nvn93 2 роки тому

    Where can I download esp_now library?

  • @grandecatastrophe
    @grandecatastrophe 4 роки тому

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

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

  • @MONISHAGOWRI
    @MONISHAGOWRI Рік тому

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

  • @ismzaxxon
    @ismzaxxon 2 роки тому

    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

  • @viniciusnoyoutube
    @viniciusnoyoutube 4 роки тому

    Excellent project.
    Great work.

  • @RatnaPriya-fn5ud
    @RatnaPriya-fn5ud 11 місяців тому

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

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

  • @freshine
    @freshine 3 роки тому

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

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

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

  • @Xander054
    @Xander054 7 місяців тому

    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?

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

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

  • @mikemurphy1896
    @mikemurphy1896 3 роки тому

    Great. Do you have this in python 3 ?

  • @jettaglnegro
    @jettaglnegro 10 місяців тому

    Tendras estos videos en español?

  • @sudarsanchokkara9808
    @sudarsanchokkara9808 4 роки тому

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

  • @FKSolutions_Eng
    @FKSolutions_Eng 3 роки тому

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

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

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

  • @muthucumarans5831
    @muthucumarans5831 4 роки тому

    It is able to display value in mit app inventor

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

  • @prathambumb5593
    @prathambumb5593 4 роки тому +1

    Excellent 👍

  • @agrnair5738
    @agrnair5738 3 роки тому

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

  • @shashikantabiswal7911
    @shashikantabiswal7911 2 роки тому

    Poket data. “delivery failed"
    Output

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

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

  • @kamalkamel7559
    @kamalkamel7559 4 роки тому +1

    nice, thank you rui

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

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

  • @ramilmamba3700
    @ramilmamba3700 2 роки тому

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

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 3 роки тому

    Thank You

  • @reni_christian
    @reni_christian 4 роки тому

    Mind blowing

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

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

  • @elektronikakreatif8515
    @elektronikakreatif8515 2 роки тому

    Yess GOOD...

  • @benmedka
    @benmedka Місяць тому

    Up

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

  • @benmedka
    @benmedka Місяць тому

    Thank you