I'm completely new in hobby electronics, and I assembled the following circuit to control a power LED over wifi using esp8266. The problem is, that it is always, on no matter, what I send via GPIO1 port. I know that this is not an esp8266 problem, I tested my program with a simple low power LED, without the NPN transistor. I'm sure, I do something wrong with connecting that transistor.
simulate this circuit – Schematic created using CircuitLab