Nut multiple usb ups. NUT allows your Pi to communicate with a UPS.


Nut multiple usb ups ) I can ping my UPS nc -zv 192. conf (5) or protocol commands to change the driver. NUT The IPFire NUT package contains the core system as well as the serial and USB UPS drivers. At the same time, I know which bus they are on, as well as the device number. Dec 26, 2022 · I have several Riello UPS connected via USB to RPi4. NUT itself is split in to multiple modules. I am using a Cyberpower UPS, so your settings may differ. SUPPORTED HARDWARE ¶ usbhid-ups brings USB/HID UPS monitoring to NUT on all platforms supporting USB through libusb. my configuration is as follows: users: - username: xxxx password: xxxxxx instcmds: - all actions: [] devices: - name: smartups1 May 29, 2022 · The primary goal of the Network UPS Tools (NUT) project is to provide support for Power Devices, such as Uninterruptible Power Supplies, Power Distribution Units, Automatic Transfer Switches, Power Supply Units and Solar Controllers. Furthermore, I see some bizarre behavior with lsusb where sometimes the second UPS disconnects and reconnects to the host in a loop. I had issues with it where the UPS would constantly drop connection and then reconnect within 30 seconds with the software; and so my emails would get spammed (at least 2 connection drop notifications per hour). I managed to configure the server with a device but I can’t but I don’t know the syntax of how to insert a new device into the configuration. Don’t forget to restart the NUT UPS daemon to apply your changes: sudo synosystemctl restart ups-usb Pro tip: The default NUT username on Synology is monuser with the password secret. It uses the client server model, which allows several systems to react to the same information. SUPPORTED HARDWARE usbhid-ups brings USB/HID UPS monitoring to NUT on all platforms supporting USB through libusb. Nov 10, 2021 · I have a similar issue. May 3, 2025 · Running Network UPS Tools (NUT), the server manages multiple UPS devices over USB, providing real-time monitoring, remote access via a Node. Jul 22, 2019 · UPDATE (February 15, 2022): Updated with instructions for adding a second UPS Since I don’t want my OH installation to be corrupted by a power failure, I purchased a CyberPower UPS, and connected it to my Raspberry Pi using Network UPS Tools (NUT). Feb 19, 2024 · Here‘s what I figured out, but please know that this could be very wrong, since I only learned of NUT this morning. I have two cheap UPS devices connected, it seems a lot of them use USB interfaces with no real Vendor ID, Product ID or Serial number (which is zero). This part shows how to set up Network Ups Tools on a raspberry pi to monitor a ups and send a notification to a MQTT broker. This guide explains how to configure a USB-connected UPS with NUT on NethSecurity. The native USB on a UPS usually uses the HID or some other weird driver but serial adapters are pretty standard. GNOME Power Manager’s UPS support is buggy. Jul 1, 2020 · Just wanted to share a simple How To for setting up NUT if you plan on using unraid as the master and windows clients. If the same USB connection is not recognized, you can use the nut-scanner command to scan the UPS, which will print out a sample UPS configuration in the console after a successful scan 2 days ago · For USB UPS devices the NUT package/port installs devd rules in /usr/local/etc/devd/nut-usb. These are listed in the NUT Hardware compatibility list. 7. This wiki page shows how to install and configure the Network UPS Tools (NUT) package to monitor and report the statistics for a USB attached Uninterruptible Power Supply (UPS) and make the UPS status available over the network, so it can be monitored and used to trigger actions in a home automation system like Home Assistant. NUT allows your Pi to communicate with a UPS. Apr 27, 2022 · After UPS Firmware upgrade and "reboot of the UPS with the new firmware" it appeared again on USB using a supported vendorID and product/device ID, allowing the default devd rules included with nut services to work with my UPS. debug value), but may also benefit from LibUSB specific debugging. It has a 'server' component, which monitors the UPS status and notifies a 'client' component when the UPS has a low battery. This is a nut-upsd Docker image, implementing the UPS drivers and the upsd daemon from https://networkupstools. I'm not sure if this would work though, as you can't normally have a device connected to multiple devices in this way over USB? Hoping someone has tried it and can let me know. 168. They show up in lsusb with the same vendor and product ID (as expected). It often works better, and is definitely more flexible, than expensive software from the UPS vendor. NUT can monitor UPSes connected via serial cable or USB, and is designed for networked operation to control multiple servers and workstations. Jan 18, 2021 · Overview What is NUT? NUT, or Network UPS Tools, is a collection of applications that lets your system monitor and react to the status of a battery backup, whether you’re directly connected to the UPS or not. This turned out to be pretty difficult as the " Network UPS Tools " are a bit of a pain to set up. NUT has 3 daemons associated with it: The driver which communicates with the UPS. My environment has 5 UPS devices connected to various servers and Oct 28, 2022 · This question may sound a bit odd, but does anyone have any experience of using multiple APC UPS with apcupsd or NUT, and/or running multiple instances of them? I have a couple (2 or 3) APC Smart-UPS with AP9631 network management cards connected to the LAN at home and would like to have their status read by apcupsd or NUT. Nov 29, 2021 · One NUT Master and a number of NUT Slaves powered by a single UPS The OH Control system on this Master The Master monitors UPS, communication to UPS via USB and displays results in OH The Network UPS Monitor (NUT) Binding is used for UPS parameters The Master to UPS communications is also displayed in OH (NUT binding does not have this feature Oct 7, 2021 · There are several videos on installing Network UPS Tools (NUT) on the Raspberry Pi. conf to set USB device permissions. NUT clients, then, can monitor the UPS through the Pi, and safely shut down before the battery is depleted. Why? Sep 23, 2025 · In this case, you run multiple drivers (one per UPS), a single upsd, and a single upsmon (as a primary for both UPS 1 and UPS 2) This software understands that some of these servers can also run with some of the supplies gone. This means you can run the server on Linux, MacOS, or BSD and run the client on Windows, MacOS, Linux, and more. 4 LTS. Here are my notes so far Jan 7, 2025 · Step-by-step instructions on how to install Network UPS Tools (NUT) on a Raspberry Pi and access it via Home Assistant. using the DEBUG_MIN setting in ups. For UPS units with non-computer hardware only attached a Raspberry Pi, or other 5-volt SBC, can be powered off the UPS's USB port and connected to the network with WiFi. It should detect any UPS that uses the HID Power Device Class, but the Nov 6, 2022 · Hey everybody I have netgate 2100 and I believe there is a package called NUT to manage my UPS. Jul 8, 2025 · In this guide, you will be learning how to configure the NUT server on your Raspberry Pi. Video NAME ¶ usbhid-ups - Driver for USB/HID UPS equipment NOTE ¶ This man page only documents the hardware-specific features of the usbhid-ups driver. See Debian bug #482431 and GNOME bug #539843. A server (upsd) which uses the driver to report the status of the UPS. The idea behind this implementation is to have a generic container, which supports monitoring multiple UPS devices from the same container. I use a Synology NAS with a direct USB attached Eaton Eclipse Pro. With everything I’ve learned, here are Network UPS Tools in Docker. It allows a complete UPS monitoring system. org/. Second driver is not started and I see this error: upsdrvctl start Network UPS Tools - UPS driver cont I am trying to get NUT configured for two Minuteman PRO1500RT UPS' but am running into an issue figuring out how to tell NUT which UPS is which. The best detailed instruction I’ve seen is: Note: this includes a fix for a Tripp-Lite problemHowever, this… Network UPS Tools (NUT) is a client/server monitoring system that allows computers to share uninterruptible power supply (UPS) and power distribution unit (PDU) hardware. Only one of them works, that is, the problem with all the others. By implementing NUT (Network UPS Tools), you can achieve graceful shutdowns during power outages, preventing data loss and filesystem damage. Jul 30, 2008 · Currently, the nut-hal-drivers package only supports USB-based UPS’s. May 8, 2025 · This article details how to configure a single UPS to protect multiple devices, including Synology NAS and Linux servers. These devices work with the nutdrv_qx driver. 4 web:v2. I did all necessary steps on the Synology (enabling Firewall rule to allow nut connection on Port 3493 e. I wanted to have the UPS also shut off after the The Network UPS Tools (NUT) is a collection of programs that provide a common interface for monitoring and administering UPS hardware. There can be multiple computers running the client component and each can be configured to shut down cleanly in a power failure May 8, 2025 · 本文详细介绍如何配置一台 UPS 同时保护多台设备,包括群晖 NAS 和 Linux 服务器。通过 NUT (Network UPS Tools) 实现断电时的优雅关机,防止数据丢失和文件系统损坏。适合有多台设备需要断电保护的家庭服务器用户参考。 Mar 22, 2023 · nutdev1 is the name of the UPS, you can define it as you like; driver is used to define the driver to be used to connect to the UPS, normally it will be recognized if you use a USB connection like I wrote. Nov 27, 2024 · Introduction Network UPS Tools , or NUT, is a suite of software for management of power supply equipment. Designed for reliability and minimal footprint, it serves as a dedicated power management appliance for homelabs, small server rooms, or embedded applications. NUT supports a large number of UPS devices. I have setup the SNMP application following the guide below: 5 days ago · The primary goal of the Network UPS Tools (NUT) project is to provide support for Power Devices, such as Uninterruptible Power Supplies, Power Distribution Units, Automatic Transfer Switches, Power Supply Units and Solar Controllers. I was using their software with my Cyberpower UPS. - KingBachin/nut-setup-wizard The NUT package can be useful if you have an UPS connected to the router. It sends alerts on power outages, overload and battery problems. It should detect any UPS that uses the HID Power Device Class, but the amount of data will vary depending on the manufacturer and model. For example, you have multiple devices connected to the UPS (PC, NAS ), but your router is the only device that runs 24/7 (or at least it runs most of the time). NUT provides a common protocol and set of tools to monitor and manage such devices, and to consistently name equivalent features and data points, across a vast Anyone out there using CyberPower PowerPanel or NUT (Network UPS Tools)? I have two UPS connected via USB to a single host but it seems like PowerPanel is only capable of monitoring a single UPS at a time. I use it myself, both at home and on the job. 2. Network UPS Tools (NUT) The Network UPS Tools (NUT) integration allows you to monitor and manage an Uninterruptible Power Supply (UPS) for battery backup, a Power Distribution Unit (PDU), or other similar power device using a NUT server. There are various topics in the community about NUT, and this one was the most helpful for my purposes. NUT is being used on a RPi 3B+ running Ubuntu 20. It’ perfect for your Pi, server, or desktop. Of course, it is quite normal and supported to build your own — whether for an operating system which lacks it yet, or for an older distribution which lacks the current NUT version; whether to take Feb 27, 2025 · Learn how to use Network UPS Tools (NUT) on Raspberry Pi to automate server shutdowns, protect data, and manage power outages effectively. This computer is running NUT only to provide UPS status and statistics to other computers. In NUT you can tell it which USB bus to look for but not which device. Using a Raspberry PI as NUT server Mar 17, 2025 · Note: Changing any UPS setting in the Synology web interface will overwrite the file and remove your extra IPs, so try to avoid making further changes there. While it displays notifications of low battery and critically low battery, it doesn’t take any actions. Mar 21, 2021 · Adding multiple UPS to your Network UPS Tools setup is easier than you'd think. So, long post I know, but hopefully a few of you will find some value in this. When using NUT drivers with local communications media (USB or Serial ports), you must ensure that the unprivileged run-time account like nut:nut is allowed access to those device file system nodes. The primary goal of the Network UPS Tools (NUT) project is to provide support for Power Devices, such as Uninterruptible Power Supplies, Power Distribution Units, Automatic Transfer Switch, Power Supply Units and Solar Controllers. js proxy, and a web-based CGI dashboard. NUT provides many control and monitoring features, with a uniform LIBUSB_DEBUG =INTEGER Run-time troubleshooting of USB-capable NUT drivers can involve not only raising the common NUT debug verbosity (e. devd needs to be restarted for these rules to apply: I use this at home and import data from multiple USB UPS' into Grafana so I have a nice dashboard showing power usage and such. Sep 25, 2021 · Meet NUT Server, or Network UPS Tools. A raspberry Pi (I use a RPi 1 model B but any model should work) SD card (I used a 16GB Samsung EVO) USB cable UPS with a USB interface (This was done on an APC Smart-UPS X 750i but should work with any UPS supported by NUT) A working network and some clients to control from the NUT server Sep 30, 2025 · The "nut" module monitors uninterruptible power supplies under control of the NUT (Network UPS Tools) free software suite. The power goes out all the time here, so I decided to take a shot at setting up a UPS and having the server shutdown when the power goes out. Contribute to gpdm/nut development by creating an account on GitHub. At the end of the guide, the UPS should be monitored and the system should shut down when the battery is low. 3-96-ga5a18dae-master Last updated 2025-11-17 15:05:34 If your UPS requires explicitly setting the alternate interface, include this flag, and email the nut-upsdev list with details about your UPS and operating system. My two units below: root@J-Pi:/etc/nut# lsusb | grep "Fry" Bus 001 Device 017: ID 0001:0000 Fry's Nov 13, 2025 · 2. Ideal for home server users with multiple devices requiring power protection. 200 3493 port [tcp/nut] succeeded! So I believe I have no mistake there. NUT and the ecosystem NUT comes pre-packaged for many operating systems and embedded in storage, automation or virtualization appliances, and is also often shipped as the software companion by several UPS vendors. Nov 20, 2019 · The final solution involves more than just NUT and mosquitto. If enabled, the system will shutdown when the UPS emits a low battery warning. USB serial adapters should be /dev/ttyUSB0 and up. In part two I show you the second part of my setup and how I use mqtt, node-red and a telegram bot to keep me up to date. Everything about them is identical aside from the port and/or device ID. What is NUT NUT is a tool that enables the use of a UPS device via either USB or Network communication. 200 3493Connection to 192. Some of those sound exciting but at this time I only have Uninterruptible Power Supplies. Version nut:v2. In the process of understanding it, and then explaining that to others, I have developed some documentation, and can share that, along with my 5 days ago · On operating systems with service management frameworks (such as Linux systemd and Solaris/illumos SMF), the life-cycle of driver, data server and monitoring client daemons is managed respectively by nut-driver (multi-instance service), nut-server and nut-monitor services. Please note that this guide is based on unraid being a physical server. 1. 4. Auto-detect and configure Network UPS Tools (NUT) with multi-UPS support, Telegram alerts, and server/client modes, perfect for Raspberry Pi and Linux systems. May 23, 2024 · I have 3 UPS connected to a Raspberry Pi via USB and have successfully setup NUT to get data from these. It works with hundreds of UPS devices, PDUs, and many other power management systems. I don't think there is a Windows-based NUT server, so you may have to use a Raspi running Linux to act as the NUT server, then use the NUT client on any Windows Servers you want to shut down gracefully. Find out how you can expand your NUT's monitoring capabilities. For example, at its most basic, you can use NUT to safely power down all the systems Aug 15, 2021 · NUT is an uninterruptible power supply (UPS) monitoring system that allows the sharing of one (or more) UPS systems between several computers. The UPS model used in the examples is an APC SmartUPS 1000, but any NUT comes pre-packaged for many operating systems and embedded in storage, automation or virtualization appliances, and is also often shipped as the software companion by several UPS vendors. It’s an open UPS networking monitoring tool that runs on many different operating systems and processors. 8. I have 3 UPS devices which have ONLY USB interface and no eth 2 days ago · On operating systems with service management frameworks (such as Linux systemd and Solaris/illumos SMF), the life-cycle of driver, data server and monitoring client daemons is managed respectively by nut-driver (multi-instance service), nut-server and nut-monitor services. For information about the core driver, see nutupsdrv (8). These make it appear complicated but allow it to be highly customizable. For this reason, every UPS is assigned a "power value" — the quantity of power supplies that it feeds on this system. g. 4 from package repository on Suse. 04. Jul 8, 2018 · When I drove up to connect it to our equipment I plugged in the supplied USB Type-B to Type-A cable from the UPS to an empty port on our server—not yet knowing how to query the UPS, or if there was any linux tooling available for our particular device. This assumes that you have a UPS somewhere connected to a computer (probably via USB). Connect a USB hub to the USB cable coming out of the UPS, then connect the hub to each of the two devices. I have multiple APC UPS connected to USB, but usbdrvctl start only 1 of them. However all four of the USB ports on the Pi are on the same USB bus, the only thing that differs between the devices is the USB device ID. Feb 24, 2025 · So it's even more excuse to finally set up NUT on a Pi! NUT, short for Network UPS Tools, is an open source tool you run on an old Pi or whatever old computer, and it monitors UPSes like the Lowell Power UPS in my main rack. 835-835+g41daedfab ddl:v2. Apr 9, 2020 · I have two identical basic APC UPS connected to a Raspberry Pi 4B. Mar 9, 2020 · Hi, I'm using NUT 2. May 16, 2021 · Hello everyone, I have two UPSs and would like to monitor them both with the NUT server installed on Home Assistant. . Many older and higher-end UPS’s are serial-based. A monitoring daemon (upsmon) which monitors the upsd server and takes action based on information it receives. The idea is that if you have multiple systems connected to the UPS, one can communicate the status of the UPS over the network and Nov 13, 2009 · The premiere UPS monitoring tool on Linux is Network UPS Tools (NUT), a free software tool that supports hundreds of UPS models from a wide range of vendors. In this case you run NUT in netserver mode, where other devices connect to router to see UPS status and be able to shut down correctly if power fails. igmpd fjozvc wdpj onfdvtg uozzdg opt kqpmaq dnb xvw lrwsfh todf sqjinfuc uyrb sdbn dape