espressif / esp-now

A connectionless Wi-Fi communication protocol
Apache License 2.0
506 stars 93 forks source link

can esp now uses as the repeater on esp8266 #5

Closed ankit-thealchemist closed 2 years ago

ankit-thealchemist commented 2 years ago

Hello,

I have many esp8266 which does some work like on off relay, temperature sensor etc. Each esp8266 reports to the wifi network. Problem is each esp might not be in the range of wifi. Can esp now some how help in resolving the issue by extending the range of wifi or helps in relaying the message. Thanks!

ljy770 commented 2 years ago

Yes, esp now can help extending the range of wifi by forwarding the message from device to device. ESP8266 supports esp-now basic APIs like in https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-reference/network/esp_now.html. This project is developed based on these basic APIs, but haven't been tested on ESP8266. Refer to the project, you can develop your own esp-now project on ESP8266.

ankit-thealchemist commented 2 years ago

Yes, esp now can help extending the range of wifi by forwarding the message from device to device. ESP8266 supports esp-now basic APIs like in https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-reference/network/esp_now.html. This project is developed based on these basic APIs, but haven't been tested on ESP8266. Refer to the project, you can develop your own esp-now project on ESP8266.

Thanks for reply!! I watched the your youtube video and amazed with the capabilities of esp now protocol. I want to replicate the networking using the esp now, from where to start? which mobile appilication you used to control the mesh. Please let me know!!

Specific questions are:-

  1. What is the procedure of provisioning the device?
  2. Which mobile app is used in the video?
ljy770 commented 2 years ago

You can try esp-now/examples/control to start. Simple provisioning examples is esp-now/examples/provisioning. In the video we use ESP-WIFI-MESH to control the initiator light, app is ESP-Mesh App (iOS version and Android). The initiator light is provisioned by bluetooth and other lights are provisioned and controlled by the initiator light with esp-now, not by the APP. The examples are not applied now.

ankit-thealchemist commented 2 years ago

Thanks for info! Closing the issue.