The old code looked good, don't have time to drill down and see why it did not....
ESP8266 ESP32 deals at Amazon
Where I buy my ESP8266 boards from... (Banggood)
New site featuring ESP8266 and ESP32 projects. tutorials, and news.
ESP8266.com Founder and Administrator
Home of the ESP8266, ESP8285, and ESP32 microcontrollers....