peer to peer, ESP-NOW

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

peer to peer, ESP-NOW

#1 Post by asuz » 19 May 2021, 11:15

Hello,
I want to communicate between two nodemcu modul without access point. What should I use? Actually I read about ESP-NOW but cannot find anything how to install ESP-NOW to the nodemcu? Which firmware version should I use?

TD-er
Core team member
Posts: 8728
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: peer to peer, ESP-NOW

#2 Post by TD-er » 19 May 2021, 11:26

I'm working on it, but it is not included in any released build yet.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: peer to peer, ESP-NOW

#3 Post by asuz » 19 May 2021, 11:46

TD-er wrote: 19 May 2021, 11:26 I'm working on it, but it is not included in any released build yet.
Thank you, i will be around and wait your release :)

TD-er
Core team member
Posts: 8728
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: peer to peer, ESP-NOW

#4 Post by TD-er » 19 May 2021, 11:54

Might take a while, as I'm working on it already for over a year.
Have seen quite a lot of issues related to incompatibilities between ESP32, ESP8266, crashing WiFi if mixing ESP-now and WiFi, etc.
Also the distance between nodes highly fluctuated among builds (few meters, like normal WiFi distance upto 50+ meters per hop)
But it is now become more stable as I'm ironing out the undocumented issues. Still I will not give an estimate on when it is done.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: peer to peer, ESP-NOW

#5 Post by asuz » 19 May 2021, 16:04

Thanks for your effort, what are my alternatives to use instead of ESP_NOW between two nodemcu without access point?

TD-er
Core team member
Posts: 8728
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: peer to peer, ESP-NOW

#6 Post by TD-er » 19 May 2021, 17:58

Enable the AP mode on one node and try to connect the other node to that AP.
Then you can send commands via HTTP on 192.168.4.1 (the IP of the node running with AP enabled)

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: peer to peer, ESP-NOW

#7 Post by asuz » 20 May 2021, 12:30

TD-er wrote: 19 May 2021, 17:58 Enable the AP mode on one node and try to connect the other node to that AP.
Then you can send commands via HTTP on 192.168.4.1 (the IP of the node running with AP enabled)
Thank you

Moff
New user
Posts: 4
Joined: 27 Sep 2020, 22:07

Re: peer to peer, ESP-NOW

#8 Post by Moff » 05 Jan 2023, 18:13

Hello TD-er,

first of all: Best wishes and a healthy, happy and peaceful 2023!

I'm also interested in ESP-Now functionality. Have you further plans to implement it in LCI?

That was quite interesting for me (fixed Channel for ESP-NOW): https://github.com/jonasbystrom/ESP-Now ... -with-WiFi

Beste wishes
Bob

TD-er
Core team member
Posts: 8728
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: peer to peer, ESP-NOW

#9 Post by TD-er » 05 Jan 2023, 18:26

Thanks, will look into that project to see if there are nice new things I never thought of.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests