Hi,
is there a way to restart the ESP from the code?
I know that there is the reset function in the machine library.
But I don't think that it is what I'm searching for.
I need a function that shuts the ESP completly down like pulling the plug.
Best Matthias
Restart ESP8266
Re: Restart ESP8266
You can connect one of the gpio pins to the EN (CH_PD) pin, and use that pin for restart/shutdown.
You can also put your board into deep sleep indefinitely, which is similar to shutting it down (the current it takes is minimal then).
What are you actually trying to achieve?
You can also put your board into deep sleep indefinitely, which is similar to shutting it down (the current it takes is minimal then).
What are you actually trying to achieve?
-
- Posts: 8
- Joined: Sun Mar 05, 2017 2:37 pm
Re: Restart ESP8266
I use mqtt to start and stop some measurements the ESP is doing.
But after 2 times starting the measure the ESP crashes. So I want to restart it after every measurement.
Thanks vor the help, i will try this =)
But after 2 times starting the measure the ESP crashes. So I want to restart it after every measurement.
Thanks vor the help, i will try this =)