LOLIN WEMOS D1 R1 ES8266 stong wifi. Switching between ESP32 and ESP8266 I change includes, pinouts, chipID. #ifdef ARDUINO_ARCH_ESP8266 #include <ESP8266WiFi.h> #include <WebSocketsServer.h> //websockes by Markus Sattler ver2.36 & 2.14.2 ...