# How can I reboot the esp8266 with a pulse?

**URL:** https://forum.xod.io/t/how-can-i-reboot-the-esp8266-with-a-pulse/6595
**Category:** XOD Programming Questions
**Created:** [July 11, 2023, 7:21pm UTC](https://forum.xod.io/t/how-can-i-reboot-the-esp8266-with-a-pulse/6595 "2023-07-11T19:21:00Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![manuelgonzalez-iot](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/manuelgonzalez-iot/32/3795_2.png) [@manuelgonzalez-iot](https://forum.xod.io/u/manuelgonzalez-iot)
#### Post date: [July 11, 2023, 7:21pm UTC](https://forum.xod.io/t/how-can-i-reboot-the-esp8266-with-a-pulse/6595/1 "2023-07-11T19:21:00Z")

</div>

Hello friends, it turns out that I want to implement a patch to be able to reboot the esp8266, but I have not seen any information on how to do it, in arduino it can be done with ESP.restart(); and I would like to be able to do it from xod.  
any ideas?

---

<div class="post-metadata">

### Author: ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)
#### Post date: [July 11, 2023, 11:22pm UTC](https://forum.xod.io/t/how-can-i-reboot-the-esp8266-with-a-pulse/6595/2 "2023-07-11T23:22:09Z")

</div>

Try:  
[https://xod.io/libs/wayland/esp-utilities/](https://xod.io/libs/wayland/esp-utilities/)

I’ve put ESP.restart() inside a node called **restart**. There is also an example patch to demonstrate use. I’ve successfully tested this on both ESP8266 and ESP32.

---

<div class="post-metadata">

### Author: ![manuelgonzalez-iot](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/manuelgonzalez-iot/32/3795_2.png) [@manuelgonzalez-iot](https://forum.xod.io/u/manuelgonzalez-iot)
#### Post date: [July 12, 2023, 10:44am UTC](https://forum.xod.io/t/how-can-i-reboot-the-esp8266-with-a-pulse/6595/3 "2023-07-12T10:44:06Z")

</div>

Thank you very much, now I have to read the documentation to learn how to use third-party libraries, to use them with XOD, the thing is that I find few videos explaining the process.

Spanish:

Muchas gracias, ahora tengo que leer la documentacion para aprender a utilizar librerias de terceros, para utilizarlas con XOD, lo que pasa es que encuentro pocos videos explicando el proceso.

---

<div class="post-metadata">

### Author: ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)
#### Post date: [July 12, 2023, 1:46pm UTC](https://forum.xod.io/t/how-can-i-reboot-the-esp8266-with-a-pulse/6595/4 "2023-07-12T13:46:46Z")

</div>

You’re welcome!

If you’re familiar with C++, it’s easy to wrap class-based Arduino libraries in XOD. The official guide is here:  
[https://xod.io/docs/guide/wrapping-arduino-libraries/](https://xod.io/docs/guide/wrapping-arduino-libraries/)

There is also an unofficial guide in this book:  
[https://www.biomaker.org/s/RapidProto-US-FinalDraft\_s.pdf](https://www.biomaker.org/s/RapidProto-US-FinalDraft_s.pdf)  
See chapter on “Software Expansion” that starts on page 155.

---

<div class="post-metadata">

### Author: ![manuelgonzalez-iot](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/manuelgonzalez-iot/32/3795_2.png) [@manuelgonzalez-iot](https://forum.xod.io/u/manuelgonzalez-iot)
#### Post date: [July 12, 2023, 2:38pm UTC](https://forum.xod.io/t/how-can-i-reboot-the-esp8266-with-a-pulse/6595/5 "2023-07-12T14:38:06Z")

</div>

Thank you very much wayland, my c++ level is basic. I will see the examples in the book, it seems very interesting.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)
#### Post date: [July 14, 2023, 2:38pm UTC](https://forum.xod.io/t/how-can-i-reboot-the-esp8266-with-a-pulse/6595/6 "2023-07-14T14:38:07Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
