Page 1 of 1

P2P own Wifi Network

Posted: 10 Feb 2023, 15:38
by Yov
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

Re: P2P own Wifi Network

Posted: 10 Feb 2023, 16:15
by Ath
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.

Re: P2P own Wifi Network

Posted: 10 Feb 2023, 16:27
by Yov
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:

Re: P2P own Wifi Network

Posted: 11 Feb 2023, 14:59
by bidrohini
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?

Re: P2P own Wifi Network

Posted: 11 Feb 2023, 15:14
by TD-er
Not yet, as that's still a work-in-progress.
Read: it still isn't working reliable between platforms/builds.

Re: P2P own Wifi Network

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

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

Re: P2P own Wifi Network

Posted: 11 Mar 2023, 22:54
by TD-er
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)