# Backup power for controller and router

**URL:** <https://forum.onefinitycnc.com/t/backup-power-for-controller-and-router/11155>\
**Category:** Original/PRO Series (Buildbotics) (Gen 1)\
**Created:** [February 12, 2022, 6:39pm UTC](https://forum.onefinitycnc.com/t/backup-power-for-controller-and-router/11155 "2022-02-12T18:39:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [February 12, 2022, 9:02pm UTC](https://forum.onefinitycnc.com/t/backup-power-for-controller-and-router/11155/2 "2022-02-12T21:02:03Z")

</div>

Hey RFI,

you can use **[nut](https://networkupstools.org)** for triggering events in case the UPS reports mains electricity failing (which would be [easy to install](https://packages.debian.org/stable/nut) on (Raspberry Pi 3-based-) Onefinity Controller since it’s in [raspberrypi.org repository](http://mirrordirector.raspbian.org/raspbian/pool/main/n/nut/)). Such an event would be to pause the program, and for stopping spindle you may trigger the programmed Input Terminals available on any VFD. [See also here](https://forum.onefinitycnc.com/t/work-with-a-ups/8963/5).

And finally nut is usually used to shutdown the computer (in this case, the CNC Controller) just before the UPS’s batteries become empty.

---

_[View the full topic](https://forum.onefinitycnc.com/t/backup-power-for-controller-and-router/11155)._
