
This does not work in the Arduino IDE. You talk as you can. You need to modify it to act as an interface and work with the esp8266 library in the arduinoIDE. one with a toggle switch and save yourself the headache.

π‘ Izokee ESP-01 Serial WiFi Transceiver Module with USB Converter, Compatible with Arduino
8 Review

πΆ kuman 10pcs nRF24L01+ 2.4GHz Antenna Wireless Transceiver Module for Arduino Raspberry Pi Compatible K19
8 Review

MikroTik S+RJ10 Ethernet Transceiver
10 Review

10GBase-T SFP+ Transceivers, 10G Copper RJ-45 SFP+ CAT.6a, up to 30 meters, π Cisco SFP-10G-T-S Compatible, Ubiquiti UniFi UF-RJ45-10G Supported, Fortinet, Netgear, D-Link, Supermicro (Pack of 2)
9 Review

π USR-TCP232-410s: RS232/RS485 Serial to Ethernet Adapter/IP Device Server with DHCP/DNS Support
4 Review

π Juiced Systems Silver BizHUB USB-C Multiport Gigabit HDMI Hub with 3 USB 3.0 Ports, Gigabit Ethernet, 4K HDMI, SD/Micro SD, and USB-C Power Delivery
11 Review

π StarTech.com NETRS232 Serial to IP Ethernet Device Server - DIN Rail Mountable - Serial Device Server - Serial Over IP Device Server (Black)
4 Review

π StarTech.com NETRS2321P: 1-Port RS232 to Ethernet IP Converter, Serial over IP Device Server - Black
5 Review