# Power\_off - What does it do and can it be recovered from?

**URL:** <https://forum.farmbot.org/t/power-off-what-does-it-do-and-can-it-be-recovered-from/9195>\
**Category:** Software\
**Created:** [June 14, 2024, 9:49pm UTC](https://forum.farmbot.org/t/power-off-what-does-it-do-and-can-it-be-recovered-from/9195 "2024-06-14T21:49:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mvillion](https://forum.farmbot.org/user_avatar/forum.farmbot.org/mvillion/32/5152_2.png) [@mvillion](https://forum.farmbot.org/u/mvillion)\
**Post date:** [June 14, 2024, 9:49pm UTC](https://forum.farmbot.org/t/power-off-what-does-it-do-and-can-it-be-recovered-from/9195/1 "2024-06-14T21:49:58Z")

</div>

I have programmed my FB with 4 home positions.

1. Top right - The normal HOME position used for calibrating
2. Top left - The ‘park’ position after a reboot. (So I know a reboot took place)
3. Middle right - Used to ‘park’ after a successful ‘FB event’ execution
4. Middle left - Used to ‘park’ after an error has been detected (I have written checking into my sequences and code to detect errors).

When an error is detected, it parks in position 4 and executes an E-STOP command, basically to get my attention and to prevent log files from being lost. I get an email to let me know something has gone wrong.

The system works well and recovering operations is an UNLOCK and we are back in business.

Searching through the documentation I found this command

`power_off`

The documentation notes _Instructs FarmBot to shutdown completely_ but what does that mean in real terms as I cannot see how that would work and is there any kind of recovery process besides a physical power cycle?

---

<div class="post-metadata">

**Author:** ![jsimmonds](https://forum.farmbot.org/user_avatar/forum.farmbot.org/jsimmonds/32/1470_2.png) [@jsimmonds](https://forum.farmbot.org/u/jsimmonds)\
**Post date:** [June 15, 2024, 9:57am UTC](https://forum.farmbot.org/t/power-off-what-does-it-do-and-can-it-be-recovered-from/9195/2 "2024-06-15T09:57:54Z")

</div>

> [@mvillion](#):
>
> _Instructs FarmBot to shutdown completely_ but what does that mean in real terms

It means that **Linux** on the Raspberry Pi does an OS power-off. If you have a Genesis model device, look at the Raspberry Pi module lights . . you should see the Green LED flash about 5 times at the end as it stops effective execution.

After this, the only way up is to initiate a Raspberry Pi **Re-Boot**.

---

<div class="post-metadata">

**Author:** ![system](https://forum.farmbot.org/user_avatar/forum.farmbot.org/system/32/4564_2.png) [@system](https://forum.farmbot.org/u/system)\
**Post date:** [July 15, 2024, 9:58am UTC](https://forum.farmbot.org/t/power-off-what-does-it-do-and-can-it-be-recovered-from/9195/3 "2024-07-15T09:58:35Z")

</div>

Closed on July 15, 2024, 9:58am UTC

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