<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Homelab UPS: Battery Backup Sizing and NUT Guides</title><description>Plain guides to UPS battery backup sizing and NUT shutdown setup for homelabs, built from published official documentation.</description><link>https://homelabups.com/</link><language>en</language><atom:link href="https://homelabups.com/rss.xml" rel="self" type="application/rss+xml"/><item><title>Pure Sine Wave vs Simulated Sine Wave UPS for Active PFC</title><link>https://homelabups.com/posts/pure-sine-wave-simulated-sine-wave-ups-active/</link><guid isPermaLink="true">https://homelabups.com/posts/pure-sine-wave-simulated-sine-wave-ups-active/</guid><description>Choose a UPS waveform for an active-PFC power supply, check the output on battery, and configure USB shutdown on a QNAP NAS running QTS.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Choose a UPS that outputs &lt;strong&gt;pure sine wave on battery&lt;/strong&gt; for a NAS or homelab server with an active power factor correction (active PFC) power supply. Simulated sine wave is a stepped approximation that some active-PFC supplies may handle poorly. &lt;a href=&quot;https://www.legrandav.com/resources/white_papers_guides_and_ebooks/five-steps-to-selecting-a-ups&quot;&gt;Legrand’s waveform selection guide&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Choose a waveform for your power supply&lt;/h2&gt;
&lt;p&gt;Look up the exact NAS or server power supply in the equipment maker’s product specifications or manual. Check for active PFC and any input waveform requirement. Consider simulated sine wave if the maker confirms that the power supply accepts a stepped waveform. If your power supply uses active PFC and you can’t confirm stepped-wave support, choose pure sine wave. &lt;a href=&quot;https://www.legrandav.com/resources/white_papers_guides_and_ebooks/five-steps-to-selecting-a-ups&quot;&gt;Legrand’s waveform selection guide&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Read the battery-mode spec&lt;/h2&gt;
&lt;p&gt;On the spec sheet for the exact UPS model, check the output waveform during battery operation. &lt;a href=&quot;https://www.legrandav.com/resources/white_papers_guides_and_ebooks/five-steps-to-selecting-a-ups&quot;&gt;Legrand’s UPS waveform comparison&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What the battery-mode spec says&lt;/th&gt;
&lt;th&gt;What the UPS delivers&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Pure sine wave&lt;/td&gt;
&lt;td&gt;A smooth sine wave&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Simulated or modified sine wave&lt;/td&gt;
&lt;td&gt;A stepped approximation of a sine wave&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Check NAS support and set up USB shutdown&lt;/h2&gt;
&lt;p&gt;After checking the waveform, check whether your NAS supports the exact UPS model. For QNAP, use &lt;strong&gt;Search by Product&lt;/strong&gt; in the compatibility list to look up your NAS model. &lt;a href=&quot;https://www.qnap.com/en/compatibility/&quot;&gt;QNAP Compatibility List&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For installation, follow the manufacturer’s manual and local rules.&lt;/p&gt;
&lt;p&gt;For a supported USB UPS on &lt;strong&gt;QTS 5.2.x&lt;/strong&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open &lt;strong&gt;Control Panel &amp;gt; System &amp;gt; External Device &amp;gt; UPS&lt;/strong&gt; and select &lt;strong&gt;USB connection&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Set the outage delay and choose whether to power off the NAS or enter auto-protection mode. In auto-protection mode, QTS stops services and unmounts volumes.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Apply&lt;/strong&gt;. &lt;a href=&quot;https://docs.qnap.com/operating-system/qts/5.2.x/en-us/configuring-the-ups-settings-2AD2FE5E.html&quot;&gt;QTS 5.2.x UPS settings&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; This comparison is based on Legrand’s UPS selection guide, QNAP’s compatibility list, and the QTS 5.2.x manual. The hardware and setup steps were not tested for this article.&lt;/p&gt;
</content:encoded><author>Homelab UPS Editorial</author></item><item><title>How to Size a UPS for a NAS and Homelab (VA, Watts, Runtime)</title><link>https://homelabups.com/posts/size-ups-nas-homelab-va-watts-runtime/</link><guid isPermaLink="true">https://homelabups.com/posts/size-ups-nas-homelab-va-watts-runtime/</guid><description>Add up your NAS and homelab load in watts and VA, then use a manufacturer’s runtime chart to find a UPS that gives your gear time to shut down.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Size a UPS for your NAS and homelab by adding up the watts and VA of everything that needs battery power. Choose a UPS that covers both totals, then look up how long that exact model can run at your load in watts. Allow enough time for the equipment to finish shutting down. &lt;a href=&quot;https://www.cyberpower.com/GLOBAL/EN/product/sku/cp1000pfclcda&quot;&gt;CyberPower CP1000PFCLCDa specifications&lt;/a&gt; · &lt;a href=&quot;https://eg.eaton.com/ups-battery-runtime/en-us/SMART1000LCDTNC&quot;&gt;Example Eaton runtime chart&lt;/a&gt; · &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;Network UPS Tools configuration notes&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;List the equipment that needs battery power&lt;/h2&gt;
&lt;p&gt;Start with the NAS and any hosts you need to keep running or shut down cleanly. For network-controlled shutdown, include the network gear your shutdown plan depends on. &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;Network UPS Tools configuration notes&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Add up watts and VA separately&lt;/h2&gt;
&lt;p&gt;Record each device’s input watts and VA. &lt;a href=&quot;https://www.p3international.com/products/p4400.html&quot;&gt;P3 P4400 specifications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This example uses hypothetical loads.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Battery-backed device&lt;/th&gt;
&lt;th style=&quot;text-align:right&quot;&gt;Watts&lt;/th&gt;
&lt;th style=&quot;text-align:right&quot;&gt;VA&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;NAS&lt;/td&gt;
&lt;td style=&quot;text-align:right&quot;&gt;80 W&lt;/td&gt;
&lt;td style=&quot;text-align:right&quot;&gt;100 VA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Homelab host&lt;/td&gt;
&lt;td style=&quot;text-align:right&quot;&gt;190 W&lt;/td&gt;
&lt;td style=&quot;text-align:right&quot;&gt;240 VA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Network switch&lt;/td&gt;
&lt;td style=&quot;text-align:right&quot;&gt;30 W&lt;/td&gt;
&lt;td style=&quot;text-align:right&quot;&gt;40 VA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Total&lt;/strong&gt;&lt;/td&gt;
&lt;td style=&quot;text-align:right&quot;&gt;&lt;strong&gt;300 W&lt;/strong&gt;&lt;/td&gt;
&lt;td style=&quot;text-align:right&quot;&gt;&lt;strong&gt;380 VA&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Screen each candidate against the two columns independently. In this example, it must support at least 300 W and 380 VA. Add any equipment you already plan to put on the battery outlets before doing this calculation. &lt;a href=&quot;https://www.cyberpower.com/GLOBAL/EN/product/sku/cp1000pfclcda&quot;&gt;CyberPower CP1000PFCLCDa specifications&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Set the runtime you need&lt;/h2&gt;
&lt;p&gt;For a clean shutdown, budget for any delay before shutdown starts and the time for all protected systems to finish. For example, a planned wait of 2 minutes, 3 minutes to shut everything down, and a 3-minute reserve give an 8-minute runtime target. &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;Network UPS Tools configuration notes&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Use the total watts you expect during that window. To estimate runtime for a specific workload, you can take readings under that workload with a plug-in meter that displays watts, such as the P3 P4400, and add the readings for the devices on battery. &lt;a href=&quot;https://www.p3international.com/products/p4400.html&quot;&gt;P3 P4400 specifications&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Read the runtime at your load&lt;/h2&gt;
&lt;p&gt;Open the manufacturer’s runtime chart for the exact model. Find your load on the watts axis and read the corresponding time in minutes. On Eaton’s example chart, hover over the graph to see detailed values. Compare the resulting time with your runtime target. &lt;a href=&quot;https://eg.eaton.com/ups-battery-runtime/en-us/SMART1000LCDTNC&quot;&gt;Example Eaton runtime chart&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Suppose the example setup draws 300 W during the outage. CyberPower rates its CP1000PFCLCDa at 1,000 VA and 600 W, with 6 minutes of runtime at half load. It passes the capacity screen. &lt;a href=&quot;https://www.cyberpower.com/GLOBAL/EN/product/sku/cp1000pfclcda&quot;&gt;CyberPower CP1000PFCLCDa specifications&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Check battery outlets and shutdown support&lt;/h2&gt;
&lt;p&gt;Check that every device on your list has a battery-backed outlet. For example, the CP1000PFCLCDa lists 10 outlets, of which 5 provide battery backup. &lt;a href=&quot;https://www.cyberpower.com/GLOBAL/EN/product/sku/cp1000pfclcda&quot;&gt;CyberPower CP1000PFCLCDa specifications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For a NAS or server that uses Network UPS Tools (NUT), look up the exact UPS model and connection type in its compatibility list, then use the configuration guide for automatic shutdown. &lt;a href=&quot;https://networkupstools.org/stable-hcl.html&quot;&gt;NUT hardware compatibility list&lt;/a&gt; · &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;Network UPS Tools configuration notes&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; Eaton’s example runtime chart, the P3 P4400 and CyberPower CP1000PFCLCDa specifications, and the NUT 2.8.5 documentation were checked on November 26, 2026. The procedure was not run. CyberPower’s runtime estimate is based on new, fully charged batteries under normal operating conditions. Actual runtime can vary with battery age, charge and environment. &lt;a href=&quot;https://www.cyberpower.com/GLOBAL/EN/product/sku/cp1000pfclcda&quot;&gt;CyberPower CP1000PFCLCDa specifications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Visit the &lt;a href=&quot;/&quot;&gt;Homelab UPS overview&lt;/a&gt; or browse the &lt;a href=&quot;/posts/&quot;&gt;guide index&lt;/a&gt;.&lt;/p&gt;
</content:encoded><author>Homelab UPS Editorial</author></item><item><title>Synology NAS as a NUT Server for Proxmox and TrueNAS</title><link>https://homelabups.com/posts/synology-nas-nut-server-proxmox-truenas/</link><guid isPermaLink="true">https://homelabups.com/posts/synology-nas-nut-server-proxmox-truenas/</guid><description>Turn on the network UPS server in Synology DSM, then set up Proxmox VE upsmon and the TrueNAS UPS service as NUT clients of the NAS.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;To use a Synology NAS as the NUT server for Proxmox VE and TrueNAS, connect the UPS to the NAS and tick &lt;strong&gt;Enable network UPS server&lt;/strong&gt; on the DSM UPS tab. Then run NUT&apos;s upsmon on the Proxmox VE host in netclient mode with a MONITOR line that names the UPS on the NAS, and put the TrueNAS UPS service in Slave mode with the NAS as its remote host.&lt;/p&gt;
&lt;h2&gt;How the pieces fit&lt;/h2&gt;
&lt;p&gt;The &lt;a href=&quot;https://networkupstools.org/projects.html&quot;&gt;Network UPS Tools (NUT) project&apos;s list of related projects&lt;/a&gt; says Synology has worked closely with Arnaud Quette to integrate UPS support on all its devices. The same page says the ups-mqtt tool, which fetches data from a NUT server, &amp;quot;Can be used for UPS connected to Synology NAS with UPS Network Server enabled&amp;quot;. In DSM, the NAS connected to the UPS by USB or network acts as a &amp;quot;network UPS server&amp;quot;. It receives UPS information and relays it to client NAS units.&lt;/p&gt;
&lt;p&gt;In the &lt;a href=&quot;https://networkupstools.org/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;NUT manual&apos;s configuration notes&lt;/a&gt;, the shutdown monitor is upsmon. When a system only monitors a UPS over the network and another system is the primary, that upsmon is a secondary. TrueNAS uses NUT for its &lt;a href=&quot;https://www.truenas.com/docs/scale/25.10/scaletutorials/systemsettings/services/upsservicesscale/&quot;&gt;UPS support&lt;/a&gt;, and its UPS service names the two roles Master and Slave.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Machine&lt;/th&gt;
&lt;th&gt;Role&lt;/th&gt;
&lt;th&gt;Where you configure it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Synology NAS with the UPS cable&lt;/td&gt;
&lt;td&gt;Network UPS server&lt;/td&gt;
&lt;td&gt;Control Panel &amp;gt; Hardware &amp;amp; Power, UPS tab&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Proxmox VE host&lt;/td&gt;
&lt;td&gt;NUT netclient, upsmon secondary&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/etc/nut/nut.conf&lt;/code&gt; and &lt;code&gt;/etc/nut/upsmon.conf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;TrueNAS system&lt;/td&gt;
&lt;td&gt;UPS service in Slave mode&lt;/td&gt;
&lt;td&gt;System &amp;gt; Services &amp;gt; UPS&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Turn on the network UPS server in DSM&lt;/h2&gt;
&lt;p&gt;On the Synology NAS that is connected to the UPS, open &lt;strong&gt;Control Panel &amp;gt; Hardware &amp;amp; Power&lt;/strong&gt; and go to the &lt;strong&gt;UPS&lt;/strong&gt; tab. &lt;a href=&quot;https://kb.synology.com/en-global/DSM/help/DSM/AdminCenter/system_hardware_ups?version=7&quot;&gt;Synology&apos;s DSM 7 UPS help&lt;/a&gt; gives these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Connect the UPS to a USB port of the NAS.&lt;/li&gt;
&lt;li&gt;Tick &lt;strong&gt;Enable UPS support&lt;/strong&gt; and select &lt;strong&gt;USB UPS&lt;/strong&gt; from the &lt;strong&gt;UPS type&lt;/strong&gt; menu. For an SNMP UPS, select &lt;strong&gt;SNMP UPS&lt;/strong&gt; and fill in the SNMP UPS IP address, MIB, version and community fields instead.&lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;Time before Synology NAS enters Standby Mode&lt;/strong&gt;, choose &lt;strong&gt;Until low battery&lt;/strong&gt; or &lt;strong&gt;Customize time&lt;/strong&gt;. Synology notes that, whichever you choose, the NAS automatically enters Standby Mode when it is low on power.&lt;/li&gt;
&lt;li&gt;Tick &lt;strong&gt;Enable network UPS server&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Permitted Synology NAS Devices&lt;/strong&gt;, enter the IP addresses of the client Synology NAS devices, click &lt;strong&gt;OK&lt;/strong&gt;, then click &lt;strong&gt;Apply&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The field is called &lt;strong&gt;Permitted Synology NAS Devices&lt;/strong&gt;. Synology documents it as the place to enter the IP addresses of the client Synology NAS devices that may connect to this UPS. Synology&apos;s page does not say that other clients, such as Proxmox VE or TrueNAS, can be entered there.&lt;/p&gt;
&lt;p&gt;Synology also lists two network requirements, written for Synology clients. All the NAS units should be on the same network. The switch or hub each one connects to should be plugged into the same UPS, or the NAS units cannot relay UPS information during a power failure.&lt;/p&gt;
&lt;p&gt;Take care with &lt;strong&gt;Shut down UPS when the system enters Standby Mode&lt;/strong&gt;. Synology says that with it enabled, the NAS will be shut down immediately upon the loss of power source.&lt;/p&gt;
&lt;h2&gt;Find the UPS name and the NUT account&lt;/h2&gt;
&lt;p&gt;A NUT client addresses a UPS as &lt;code&gt;&amp;lt;upsname&amp;gt;@&amp;lt;hostname&amp;gt;&lt;/code&gt;, as the &lt;a href=&quot;https://networkupstools.org/docs/man/upsmon.conf.html&quot;&gt;upsmon.conf manual&lt;/a&gt; describes. Once NUT is installed on the Proxmox VE host (next section), &lt;a href=&quot;https://networkupstools.org/docs/man/upsc.html&quot;&gt;upsc&lt;/a&gt; can show what the NAS serves. Replace &lt;code&gt;192.0.2.10&lt;/code&gt; with your NAS address in every example on this page.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;upsc -l 192.0.2.10
upsc myups@192.0.2.10 ups.status
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The first command lists all UPS names configured at that host, one per line. In the second, replace &lt;code&gt;myups&lt;/code&gt; with a name that the first command returned. The upsc manual says that naming a variable displays the value of that variable only, so the second command prints just the status value, such as &lt;code&gt;OL&lt;/code&gt; for a UPS on line power. In the status value, &lt;code&gt;OB&lt;/code&gt; means on battery and &lt;code&gt;LB&lt;/code&gt; means low battery, as the &lt;a href=&quot;https://networkupstools.org/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;NUT manual&apos;s configuration notes&lt;/a&gt; explain. Their example for a UPS that has reached low battery shows both tokens, &lt;code&gt;OB LB&lt;/code&gt;, in upsc&apos;s full, labeled listing as &lt;code&gt;ups.status: OB LB&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The client also needs a NUT user name and password. NUT requires the pair on a client&apos;s MONITOR line to match an entry in the server&apos;s upsd.users file. Synology&apos;s UPS help shows no user name or password field for the server or for a client Synology NAS, which enters the server&apos;s IP address in the &lt;strong&gt;Network UPS server IP&lt;/strong&gt; field. Confirm the account your NAS&apos;s NUT server accepts before you rely on the setup.&lt;/p&gt;
&lt;h2&gt;Proxmox VE: run upsmon as a network client&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://pve.proxmox.com/pve-docs/chapter-sysadmin.html&quot;&gt;Proxmox VE is based on Debian GNU/Linux&lt;/a&gt;, and the full range of Debian packages is available. The &lt;a href=&quot;https://networkupstools.org/docs/user-manual.chunked/_installation_instructions.html&quot;&gt;NUT installation instructions&lt;/a&gt; for Debian say to install the &lt;code&gt;nut&lt;/code&gt; package with apt-get, aptitude or Synaptic. Debian and derivatives keep the NUT configuration in &lt;code&gt;/etc/nut&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Set the mode in &lt;code&gt;/etc/nut/nut.conf&lt;/code&gt;. The &lt;a href=&quot;https://networkupstools.org/docs/man/nut.conf.html&quot;&gt;nut.conf manual&lt;/a&gt; documents &lt;code&gt;netclient&lt;/code&gt; as the mode for a host where only upsmon is required:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MODE=netclient
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Secure &lt;code&gt;upsmon.conf&lt;/code&gt; before you add the password. The NUT manual recommends owner root, group nut, readable by the group and not by the world:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;chown root:nut /etc/nut/upsmon.conf
chmod 0640 /etc/nut/upsmon.conf
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then add the monitor and shutdown lines to &lt;code&gt;/etc/nut/upsmon.conf&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MONITOR myups@192.0.2.10 1 monuser mypass secondary
MINSUPPLIES 1
SHUTDOWNCMD &amp;quot;/sbin/shutdown -h +0&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In the MONITOR line, replace &lt;code&gt;myups&lt;/code&gt; with the UPS name from &lt;code&gt;upsc -l&lt;/code&gt;, &lt;code&gt;192.0.2.10&lt;/code&gt; with your NAS address, and &lt;code&gt;monuser&lt;/code&gt; and &lt;code&gt;mypass&lt;/code&gt; with the NUT user name and password that your NAS&apos;s NUT server accepts.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;1&lt;/code&gt; after the UPS is the power value, the number of power supplies this UPS feeds on the host. NUT says most normal computers have one. The manual says &lt;code&gt;0&lt;/code&gt; can be used to monitor a UPS that does not actually supply power to this system, for notifications about status changes without shutting down when that UPS goes critical. &lt;code&gt;MINSUPPLIES 1&lt;/code&gt; matches the default, which NUT calls acceptable for normal computers with one power supply.&lt;/p&gt;
&lt;p&gt;The NUT manual says that on operating systems with service management frameworks, the monitoring client life-cycle is managed by the &lt;code&gt;nut-monitor&lt;/code&gt; service. The manual also says the separate startup-scripts step is not needed if NUT was installed from packages, and to follow the package&apos;s own instructions for enabling services.&lt;/p&gt;
&lt;p&gt;Check the system log after upsmon starts. The NUT manual shows a successful start as an upsmon &amp;quot;Startup successful&amp;quot; message, and says errors at this point are probably due to the upsmon or upsd config files. To list the clients connected to the UPS on the NAS, run the following, again replacing &lt;code&gt;myups&lt;/code&gt; with the UPS name from &lt;code&gt;upsc -l&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;upsc -c myups@192.0.2.10
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;a href=&quot;https://pve.proxmox.com/pve-docs/chapter-qm.html&quot;&gt;Proxmox VE virtual machine documentation&lt;/a&gt; says Proxmox VE uses the reverse of the start order for shutdown. That order can only be enforced between virtual machines running on the same host, not cluster-wide, and VMs managed by the HA stack are skipped by the startup and shutdown algorithm. Each VM&apos;s &lt;strong&gt;Shutdown timeout&lt;/strong&gt; is how long Proxmox VE waits for the VM to be offline after the shutdown request. It defaults to 180 seconds, and a VM still online after the timeout is stopped forcefully.&lt;/p&gt;
&lt;h2&gt;TrueNAS: set the UPS service to Slave mode&lt;/h2&gt;
&lt;p&gt;In TrueNAS, go to &lt;strong&gt;System &amp;gt; Services&lt;/strong&gt;, find &lt;strong&gt;UPS&lt;/strong&gt; and click edit. The &lt;a href=&quot;https://www.truenas.com/docs/scale/25.10/scaleuireference/systemsettings/services/upsservicesscreenscale/&quot;&gt;TrueNAS 25.10 UPS Services screen documentation&lt;/a&gt; describes these fields:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;What to enter&lt;/th&gt;
&lt;th&gt;What TrueNAS documents&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Identifier&lt;/td&gt;
&lt;td&gt;A name for the UPS&lt;/td&gt;
&lt;td&gt;Required. Alphanumeric, period, hyphen and underscore characters are allowed.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UPS Mode&lt;/td&gt;
&lt;td&gt;Slave&lt;/td&gt;
&lt;td&gt;Slave shuts this system down before the master system. It shows Remote Host and Remote Port and removes Driver.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Remote Host&lt;/td&gt;
&lt;td&gt;The NAS IP address&lt;/td&gt;
&lt;td&gt;Required. A valid IP address for the remote UPS master system.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Remote Port&lt;/td&gt;
&lt;td&gt;The open network port number of the master system&lt;/td&gt;
&lt;td&gt;Required. The default port is 3493.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monitor User and Monitor Password&lt;/td&gt;
&lt;td&gt;A user and password&lt;/td&gt;
&lt;td&gt;Enter a user to associate with this service. The new password cannot include a space or #.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shutdown Mode&lt;/td&gt;
&lt;td&gt;UPS goes on battery, or UPS reaches low battery&lt;/td&gt;
&lt;td&gt;The battery condition that starts the shutdown.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shutdown Timer&lt;/td&gt;
&lt;td&gt;Seconds to wait on battery&lt;/td&gt;
&lt;td&gt;Applies only with UPS goes on battery. No shutdown if power returns during the countdown.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The TrueNAS documentation states that TrueNAS High Availability (HA) systems are not compatible with a UPS.&lt;/p&gt;
&lt;h2&gt;Shutdown order and timing&lt;/h2&gt;
&lt;p&gt;The NUT manual sets out the order for one UPS feeding several systems:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The UPS goes on battery, then reaches low battery.&lt;/li&gt;
&lt;li&gt;The upsmon primary sets the forced shutdown (FSD) flag for the secondaries.&lt;/li&gt;
&lt;li&gt;Each secondary waits FINALDELAY seconds, typically 5, then runs its SHUTDOWNCMD.&lt;/li&gt;
&lt;li&gt;The primary waits up to HOSTSYNC seconds, typically 15, for secondaries to disconnect. If any are still connected after this time, it stops waiting and proceeds with the shutdown anyway. Its own shutdown sequence then waits FINALDELAY seconds before it runs SHUTDOWNCMD.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;On TrueNAS, with Shutdown Mode set to UPS goes on battery, the Shutdown Timer is the number of seconds the UPS waits before initiating shutdown.&lt;/p&gt;
&lt;p&gt;Synology&apos;s help describes the server side through its Standby Mode timer instead. Under &lt;strong&gt;Customize time&lt;/strong&gt;, you can specify when the NAS should enter Standby Mode upon power failure.&lt;/p&gt;
&lt;h2&gt;Test before you rely on it&lt;/h2&gt;
&lt;p&gt;Synology&apos;s help advises a power outage simulation test before using the UPS in production, by removing the UPS power cable. The NUT manual also says to test the shutdown sequence before leaving systems unattended. A successful sequence is one where the OS halts before the battery runs out, and the system restarts when power returns.&lt;/p&gt;
&lt;p&gt;If you enable &lt;strong&gt;Shut down UPS when the system enters Standby Mode&lt;/strong&gt;, Synology says to also tick &lt;strong&gt;Restart automatically after a power failure&lt;/strong&gt; under Control Panel &amp;gt; Hardware &amp;amp; Power &amp;gt; General. That lets the NAS restart once power is restored.&lt;/p&gt;
&lt;h2&gt;Evidence and limits&lt;/h2&gt;
&lt;p&gt;This guide is compiled from Synology&apos;s DSM 7 UPS help, the Network UPS Tools online manual and man pages (2.8.5 development documentation), the Proxmox VE 9.3 administration guide and the TrueNAS 25.10 documentation. The steps have not been run on test hardware. NUT notes that Debian packages may be several years behind the tip of development, so check the man pages installed on your host. All sources were checked on 26 November 2026.&lt;/p&gt;
&lt;h2&gt;More guides&lt;/h2&gt;
&lt;p&gt;See &lt;a href=&quot;/posts/&quot;&gt;all guides&lt;/a&gt; on this site.&lt;/p&gt;
</content:encoded><category>nut</category><category>synology</category><category>proxmox</category><category>truenas</category><category>ups shutdown</category><author>Homelab UPS Editorial</author></item><item><title>NUT vs apcupsd for Linux and Proxmox Homelabs</title><link>https://homelabups.com/posts/nut-apcupsd-linux-proxmox-homelabs/</link><guid isPermaLink="true">https://homelabups.com/posts/nut-apcupsd-linux-proxmox-homelabs/</guid><description>Compare NUT and apcupsd for Linux and Proxmox. Match your UPS to a driver, choose where to run the monitor, and plan the order for guest shutdown.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Choose Network UPS Tools (NUT) for supported UPS models across brands or when several Linux or Proxmox hosts sharing one UPS need to coordinate shutdown. For a single Proxmox or Linux host with a supported APC UPS, apcupsd is a good choice when you want a dedicated daemon to trigger shutdown during an outage. &lt;a href=&quot;https://networkupstools.org/stable-hcl.html&quot;&gt;NUT hardware list&lt;/a&gt; · &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Overview.html&quot;&gt;NUT network roles&lt;/a&gt; · &lt;a href=&quot;https://manpages.debian.org/trixie/apcupsd/apcupsd.conf.5.en.html&quot;&gt;apcupsd configuration manual&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Match the software to your UPS&lt;/h2&gt;
&lt;p&gt;Look up the exact model and connection in the NUT hardware list. For example, it lists &lt;code&gt;usbhid-ups&lt;/code&gt; for the APC Smart-UPS SMT750I over USB. For one supported USB HID UPS, a NUT &lt;code&gt;ups.conf&lt;/code&gt; entry like the following names the device &lt;code&gt;rackups&lt;/code&gt;. &lt;a href=&quot;https://networkupstools.org/stable-hcl.html&quot;&gt;NUT hardware list&lt;/a&gt; · &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;NUT driver configuration&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-ini&quot;&gt;[rackups]
    driver = usbhid-ups
    port = auto
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For a supported APC UPS using apcupsd&apos;s USB mode, use these connection settings in your apcupsd configuration file (&lt;code&gt;/etc/apcupsd/apcupsd.conf&lt;/code&gt; by default on Debian trixie). Leave the value after &lt;code&gt;DEVICE&lt;/code&gt; blank so apcupsd can locate the USB device. &lt;a href=&quot;https://manpages.debian.org/trixie/apcupsd/apcupsd.conf.5.en.html&quot;&gt;apcupsd configuration manual&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-text&quot;&gt;UPSCABLE usb
UPSTYPE usb
DEVICE
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Place the monitor on each host&lt;/h2&gt;
&lt;p&gt;Identify which machine has the USB cable and which machines draw power from that UPS. If the Proxmox node needs to shut down during an outage, put its shutdown monitor on the node. Use the local row if the node has the USB cable and is the only host the UPS protects. Use the network row if UPS monitoring spans hosts. &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;NUT host roles&lt;/a&gt; · &lt;a href=&quot;https://manpages.debian.org/trixie/apcupsd/apcupsd.conf.5.en.html&quot;&gt;apcupsd configuration manual&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layout&lt;/th&gt;
&lt;th&gt;NUT&lt;/th&gt;
&lt;th&gt;apcupsd&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;One UPS and one host&lt;/td&gt;
&lt;td&gt;Use &lt;code&gt;MODE=standalone&lt;/code&gt; in &lt;code&gt;nut.conf&lt;/code&gt;. Run the driver, &lt;code&gt;upsd&lt;/code&gt; and primary &lt;code&gt;upsmon&lt;/code&gt; on that host. &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/man/nut.conf.html&quot;&gt;NUT modes&lt;/a&gt; · &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Overview.html&quot;&gt;NUT host roles&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Run the daemon on the UPS-connected host. For local status queries, use &lt;code&gt;NETSERVER on&lt;/code&gt; and bind &lt;code&gt;NISIP&lt;/code&gt; to &lt;code&gt;127.0.0.1&lt;/code&gt;. &lt;a href=&quot;https://manpages.debian.org/trixie/apcupsd/apcupsd.conf.5.en.html&quot;&gt;apcupsd configuration manual&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;One UPS and multiple hosts&lt;/td&gt;
&lt;td&gt;On the UPS-connected host, use &lt;code&gt;MODE=netserver&lt;/code&gt; and set &lt;code&gt;LISTEN&lt;/code&gt; in &lt;code&gt;upsd.conf&lt;/code&gt; to the address the clients can reach. Set each other protected host to &lt;code&gt;MODE=netclient&lt;/code&gt; and configure its &lt;code&gt;upsmon&lt;/code&gt; as secondary. &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/man/nut.conf.html&quot;&gt;NUT modes&lt;/a&gt; · &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;NUT configuration&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Enable &lt;code&gt;NETSERVER on&lt;/code&gt; on the UPS-connected host and set &lt;code&gt;NISIP&lt;/code&gt; to its LAN address. On a remote client, configure &lt;code&gt;UPSTYPE net&lt;/code&gt; and set &lt;code&gt;DEVICE&lt;/code&gt; to the server&apos;s &lt;code&gt;hostname:port&lt;/code&gt;. &lt;a href=&quot;https://manpages.debian.org/trixie/apcupsd/apcupsd.conf.5.en.html&quot;&gt;apcupsd configuration manual&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Compare the shutdown triggers&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;NUT.&lt;/strong&gt; In the manual&apos;s single-UPS setup, on battery plus low battery (&lt;code&gt;OB LB&lt;/code&gt;) is the critical state. The primary sets the forced shutdown flag (&lt;code&gt;FSD&lt;/code&gt;). If secondaries are present, they call their shutdown commands. The primary waits up to &lt;code&gt;HOSTSYNC&lt;/code&gt; for them to disconnect before proceeding with its own shutdown. &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;NUT shutdown sequence&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;apcupsd.&lt;/strong&gt; During a power failure, apcupsd starts shutdown when the first applicable condition from &lt;code&gt;BATTERYLEVEL&lt;/code&gt;, &lt;code&gt;MINUTES&lt;/code&gt; or &lt;code&gt;TIMEOUT&lt;/code&gt; is met. &lt;code&gt;BATTERYLEVEL&lt;/code&gt; uses remaining charge, &lt;code&gt;MINUTES&lt;/code&gt; uses the UPS&apos;s estimate of remaining runtime, and &lt;code&gt;TIMEOUT&lt;/code&gt; uses elapsed time after power failure. The timer is useful for simple-signalling units that lack charge or runtime readings. &lt;a href=&quot;https://manpages.debian.org/trixie/apcupsd/apcupsd.conf.5.en.html&quot;&gt;apcupsd power failure settings&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Check UPS status from the host&lt;/h2&gt;
&lt;p&gt;Use the row for your stack once its server is running. Substitute your UPS name for &lt;code&gt;rackups&lt;/code&gt; and your server address for &lt;code&gt;ups-server.example&lt;/code&gt;. If the status server listens only on its network address, query that address even from the server itself. The apcupsd examples use the default NIS port. &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/man/upsc.html&quot;&gt;NUT query syntax&lt;/a&gt; · &lt;a href=&quot;https://manpages.debian.org/trixie/apcupsd/apcaccess.8.en.html&quot;&gt;apcupsd status manual&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Local-only setup&lt;/th&gt;
&lt;th&gt;Network setup&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;NUT&lt;/td&gt;
&lt;td&gt;&lt;code&gt;upsc rackups@localhost ups.status&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;upsc rackups@ups-server.example ups.status&lt;/code&gt; &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;NUT configuration&lt;/a&gt; · &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/man/upsc.html&quot;&gt;&lt;code&gt;upsc&lt;/code&gt; manual&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;apcupsd&lt;/td&gt;
&lt;td&gt;&lt;code&gt;apcaccess status 127.0.0.1:3551&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;apcaccess status ups-server.example:3551&lt;/code&gt; &lt;a href=&quot;https://manpages.debian.org/trixie/apcupsd/apcaccess.8.en.html&quot;&gt;apcupsd status manual&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;In NUT, &lt;code&gt;OL&lt;/code&gt; means the UPS is running on line power. The apcupsd &lt;code&gt;STATUS&lt;/code&gt; field can report &lt;code&gt;ONLINE&lt;/code&gt;. For NUT, use a separate shutdown test to check that the host halts before battery power runs out. &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;NUT status and testing&lt;/a&gt; · &lt;a href=&quot;https://manpages.debian.org/trixie/apcupsd/apcaccess.8.en.html&quot;&gt;apcupsd status fields&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Plan Proxmox guest shutdown&lt;/h2&gt;
&lt;p&gt;For containers on the same node, set &lt;strong&gt;Start/Shutdown order&lt;/strong&gt; to reflect dependencies. Proxmox shuts those containers down in reverse startup order. For example, set a DNS container to order &lt;code&gt;1&lt;/code&gt; and the application container that uses it to order &lt;code&gt;2&lt;/code&gt;. The application container then shuts down before the DNS container. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/pct.adoc&quot;&gt;Proxmox container documentation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; The NUT 2.8.5 manual, the manuals from Debian&apos;s apcupsd 3.14.14-5 package, and the Proxmox VE container guide were checked on November 26, 2026. No hardware tests were performed. &lt;a href=&quot;https://networkupstools.org/historic/v2.8.5/docs/user-manual.chunked/Configuration_notes.html&quot;&gt;NUT manual&lt;/a&gt; · &lt;a href=&quot;https://manpages.debian.org/trixie/apcupsd/apcupsd.conf.5.en.html&quot;&gt;Debian apcupsd manual&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/pct.adoc&quot;&gt;Proxmox container docs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Browse the &lt;a href=&quot;/&quot;&gt;Homelab UPS homepage&lt;/a&gt; or the &lt;a href=&quot;/posts/&quot;&gt;article index&lt;/a&gt;.&lt;/p&gt;
</content:encoded><author>Homelab UPS Editorial</author></item></channel></rss>