ESP8266 in two Wifi networks simultanously?

Hi,

is it possible to join two wireless networks as station the same time and route between these two?
The problem I am trying to solve:
My solar inverter offers a WiFi connectivity, but only in the way that it acts an access point with an own SSID. I want to read the data from my server in the home network.
I played around with the RangeExtender-NAPT example but this offers only routing between a joined network and a soft AP. And I can't go to the definitions of the NAPT functions.

Uli

See this

This looks like great work, but it does not address the main question: How to route between two networks by having two simultanous working STA confiurations. The ESP has to authenticate in both networks. This is different from extending a network by offering a soft AP.
Bringing it to the point: How can I create two instances of

 WiFi.begin(ssid, password);    

and route between them?
Uli

you can't, an ESP can only be connected AP at a time.
2 ESPs on the other hand could do this while to communicate to each other over Serial (at high speed if you want, 4Mbps should be OK)
so to ESP-01 is what i'd go for, with a decent 3.3v power supply providing 600mA peak power.

an ESP32 will run WiFi and ESP-NOW concurrently - do a web search for esp32 wifi and esp-now
a pair of ESP32 could be connected to WiFi and communicate using ESP-NOW
don't know about ESP8266 though!

Two ESPs, serial line and SLIP-routers could solve the problem.
I'll give it a try when I got second D1 mini :slight_smile:
Thanks
Uli

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.