How to connect multiple ESP(station) to one ESP(AP+STA) and send data to server

futechiot

How to connect multiple ESP(station) to one ESP(AP+STA) and send data to server

Postby futechiot » Tue Nov 20, 2018 3:28 pm

Hello geeks,
I just want to create a network of multiple ESP(3-4), in this one is main esp8266 which is in ACCESS POINT+ STATION MODE and rest of the esp8266's are in station mode.
this station mode esp has sensors attached to them. All these station mode esp collecting sensor data and sending data to main esp,
this main esp is connected to our internet router and send all received data to the server through HTTP OR MQTT.

can anyone guide me with this?

I'm trying painless mesh and easy mesh but in mesh, each node sends data to another node I don't want that.
I just want to make a sensor node and gateway system
any guidance appreciated.
Thanks.

Her Mary
Posts: 537
Joined: Mon Oct 27, 2014 11:09 am

Re: How to connect multiple ESP(station) to one ESP(AP+STA) and send data to server

Postby Her Mary » Thu Dec 20, 2018 5:36 pm

How about UDP broadcast? All stations send UDP broadcast, and the ESP AP receive those packets, and re-send to the router.

Who is online

Users browsing this forum: No registered users and 3 guests