P2P own Wifi Network

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Yov
New user
Posts: 3
Joined: 10 Feb 2023, 12:36

P2P own Wifi Network

#1 Post by Yov » 10 Feb 2023, 15:38

Hello,

I have a project where i need a remote unit to send a device state to a second device. (External charger for a machine) i have set up a P2P setup where my MASTER sends a 1-0 to my slave device. This works perfect now on my Wifi network.
But can i set up the master or Slave (slave wil be constantly powered) to create its own wifi network to find the P2P signal of the Master? Devices wil always be under 4 meters in ea other range.

Thanks for the help!
Yov

User avatar
Ath
Normal user
Posts: 3419
Joined: 10 Jun 2018, 12:06
Location: NL

Re: P2P own Wifi Network

#2 Post by Ath » 10 Feb 2023, 16:15

A very similar request was done in this thread

TL;DR; No, not currently possible with only ESPEasy units, but using a simple/small/old/redundant/cheap WiFi router, even without internet access, you can.
/Ton (PayPal.me)

Yov
New user
Posts: 3
Joined: 10 Feb 2023, 12:36

Re: P2P own Wifi Network

#3 Post by Yov » 10 Feb 2023, 16:27

Ath wrote: 10 Feb 2023, 16:15 A very similar request was done in this thread

TL;DR; No, not currently possible with only ESPEasy units, but using a simple/small/old/redundant/cheap WiFi router, even without internet access, you can.
Hello, Thank you for the reply! Would a 3 ESP module work for this? Extra wifi Router in a battery charger seems a bit overkil! :lol:

bidrohini
Normal user
Posts: 101
Joined: 03 Nov 2022, 16:24

Re: P2P own Wifi Network

#4 Post by bidrohini » 11 Feb 2023, 14:59

Ath wrote: 10 Feb 2023, 16:15 A very similar request was done in this thread

TL;DR; No, not currently possible with only ESPEasy units, but using a simple/small/old/redundant/cheap WiFi router, even without internet access, you can.
Isn't it possible to use ESP modules to create a P2P network between a master and a slave device?

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

Re: P2P own Wifi Network

#5 Post by TD-er » 11 Feb 2023, 15:14

Not yet, as that's still a work-in-progress.
Read: it still isn't working reliable between platforms/builds.

kimot
Normal user
Posts: 190
Joined: 12 Oct 2017, 20:46

Re: P2P own Wifi Network

#6 Post by kimot » 11 Mar 2023, 22:36

I think, you need ESPNOW.
Look for example at project PJON - it uses it.

https://github.com/gioblu/PJON/tree/mas ... ies/ESPNOW

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

Re: P2P own Wifi Network

#7 Post by TD-er » 11 Mar 2023, 22:54

kimot wrote: 11 Mar 2023, 22:36 I think, you need ESPNOW.
Look for example at project PJON - it uses it.

https://github.com/gioblu/PJON/tree/mas ... ies/ESPNOW
I do use it for the -still work-in-progress PR- and the inter platform quirkyness is the reason why it hasn't been merged yet.
However the last few weeks I did manage to get it more 'predictable' (reliable is not yet the correct term)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 33 guests