hi Everyone, I am doing this smart blind, did everything the as the video but I am having an issue connecting the ESP8226 to my network, for some reason when I do the configuration ESP wont connect to my network.
Here is the diagram of my electric work. I am no electrician and my wires and motor gets hot.
If you really are using a 9v PP3 battery as shown, it is very likely the cause of your problem, so cease and desist immediately and put it back in the smoke detector you stole it from. Your project is not worth discussing until you have clarified the power situation. Even if you use a battery later, you would be well-advised to use a mains adapter to start with.
Some comment on the motor and it's suitability for the job won't go astray. The fact that it gets hot suggests it isn't, but a PP3 battery means it won't be hot for long.
If you put an ESP8266 on breadboard like that, with the antenna just a few mm away from the breadboard contacts, you may well find that the performance of the antenna is degraded to the point that it won't work. Put the ESP8266 at one end, so the antenna hangs over the end of the breadboard and use header pins to lift it off the board.
I'm with Nick. The 9v block won't suffice. If WiFi connection is problematic but the rest works, then a power issue is a likely cause. you need something that can provide 300mA for the nodeMCU + whatever the motor will require. They should probably not be on the same power source anyway.
Since the code is out of Github, you might assume it is kosher - and the problem is indeed down to power or wiring. PC USB port may well be a bad choice, and upping to 12v is not necessarily the answer either. NodeMCU runs fine on a 5v 2A phone charger but you ought to power the peripherals separately, as suggested above. Ultimately you might use a more sophisticated PSU to power everything.