[Solved] Nano - Data input from several serials

Check out this post for a Mega to ESP8266 example code using json
Also check out the circuits here for connections between Uno/Mega and ESP32 Serial1,Serial2 which leaves usb available
The Uno connection uses Software Serial so its USB is also available.
The code in the post is a revised version of the webpage code.