NodeMCU v3 esp8266 периодично дисконектится

GPIO8 is an illegal pin to use with the NodeMCU.
GPIO8 and the pin marked D8 are not the same thing.
You should read this:

Pete.