Hi Sara, et all
My USB3 4 way hub seems to have problems with the position of my ESP8266
What happens when you plug the ESP8266 in with a USB; data cable, directly into the computer? Not all USB cables are data cables! USB, data cable is one that allows file transfers; not just phone charging.
Some USB hubs don’t work properly with MicroPython. I don’t know why. If you can, try to plug it directly to your computer.
Additionally, check that you have actually uploaded the code to the board. Some IDEs provide a button that allow you to run code on the board without actually uploading it. So, when you try to run disconnected to your computer, it won’t work.
Make sure that after powering the ESP8266 with the external power source, you press the RST button. This restarts the device to ensure it will run the new code.
Which IDE are you using? And how are you uploading code?