Help me figure out the esp8266 module

Are the pin numbers used in the code the chip pin numbers or, as is more conventional, the board pin numbers ? If the latter then they are usually referred to as printed on the board, ie with a D prefix

Which ESP8266 board or module are you using ?