1.your wifi &hotspot ssid & pass write on arduino code file.
2.Creat thingspeak account.
3.download & upload esp8266 code into your board.
4.after upload open arduino serial page and press reset button when connect it will show to serial page .
5.write thingspeak write key on my webpage to on off devices anywhere in the world.
YAWOT IOT CONTROL WebPage
1.first download the esp-8266 wifi shield code then edit your server and wifi admin and password. then upload to esp8266 shield.
2.comes to my website given URL http://www.yawot.com/2021/04/12/control-your-device-anywhere-in-the-world-using-a-things-speak-server-and-esp-8266-wifi/
3.write your thingspek server api on then above software show.
4.Then press d1 button to on off as per button given text.
5. its working with 10-30 sec delay .