Budget:20$,1-2 hr job
Need expertise who can provide solution and fix this issue asap.
1)Using nodemcu 2relay LM2596(step down 36v(battery) to 5v,powering nodemcu and relay from 36v battery ) to control battery power to motor on/off.
2)this code calls API every 10 seconds,connects to wifi hotspot and do not know it heats up and does not work anymore ,need to fix this issue and make it run 24x7 ,365 days .
Everything works fine for few hrs but suddenly nodemcu and relay will not work anymore,do not know if nodemcu and relay are not so good or problem with code .
This is quick job for expertise.
your code is probably right ! can i please know how many amps are you squezing out of this module ? if you play right at the limmits. probably you need to thing about cooling it ! a fan or something ! please send me the code and more info on what are you suppling to the module and what are you taking out of it Volts and Amps. the solution is very close to your problem.
i have read your problem , there was some little mistake in hardware designing , no problem i will fix your hardware + software related issues in no time