But runs normally if started. On a rpi4 running an uptodate raspbian buster, how do I set it to auto start at boot time? Thanks. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
On Sat, 5 Sep 2020, Gene Heskett wrote:> But runs normally if started. On a rpi4 running an uptodate raspbian > buster, how do I set it to auto start at boot time?Hello Gene, By "auto start" I assume you mean the automatic power on of a box when wall power returns after a power failure. For this to work, two things are needed: 1. The UPS power outlets have been turned off. 2. The box's BIOS has been set to "power up on AC return". (The words may change, it depends on the BIOS.) The problem may be that the box is turned off without a command to the UPS to later turn off the power outlets. When the power outlets are turned off, you should hear the "clunk" of the relays. Roger
On Sep 5, 2020, at 5:23 AM, Roger Price wrote:> > On Sat, 5 Sep 2020, Gene Heskett wrote: > >> But runs normally if started. On a rpi4 running an uptodate raspbian buster, how do I set it to auto start at boot time? > > Hello Gene, By "auto start" I assume you mean the automatic power on of a box when wall power returns after a power failure. For this to work, two things are needed: >Roger, I don't have any experience with the Raspberry Pi 4, but previous RPi models would just boot as soon as power is applied, so I'm guessing this is more of a problem starting NUT at boot. Gene, assuming this is a "standalone" setup (upsd, driver, and upsmon on the same system). If so, I'd recommend using "LISTEN 127.0.0.1" if you don't need network access (e.g. upsc or other monitoring software on another box), or "LISTEN 0.0.0.0" to listen on all local network interfaces. If the LISTEN line is't the culprit, I'd recommend posting the output of "systemctl status nut-server.service" after boot to see why it didn't start (or more likely, stay running after starting). - Charles
On Saturday 05 September 2020 05:23:04 Roger Price wrote:> On Sat, 5 Sep 2020, Gene Heskett wrote: > > But runs normally if started. On a rpi4 running an uptodate > > raspbian buster, how do I set it to auto start at boot time? > > Hello Gene, By "auto start" I assume you mean the automatic power on > of a box when wall power returns after a power failure. For this to > work, two things are needed: > > 1. The UPS power outlets have been turned off. > > 2. The box's BIOS has been set to "power up on AC return". (The > words may change, it depends on the BIOS.) > > The problem may be that the box is turned off without a command to the > UPS to later turn off the power outlets. When the power outlets are > turned off, you should hear the "clunk" of the relays. > > RogerI have a standby that starts in about 5 seconds, so theoretically, any shut downs, which shouldn't happen unless the generac blows up, won't happen. Its a 650WA cyberpower, running an rpi4 and its mesa based interface. all of which is running on a 5 volt 5 amp supply, max 30 watts drain IOW. All I really want is the -wall broadcast from nut telling me its on standby power, and back on wall power 5 or 6 seconds later. But on a reboot, I have to start nut manually. So what I want to know is what to do, in which rc#.d to start nut automatically at reboot time. Its running on the raspbian clone of buster, all uptodate except the kernel and its libs, which have been replaced by a locally built preempt-rt kernel and protected from apt upgrades which would destroy its real time performance. The ups is working great, all I want is nut running and tracking the failures. Local power hasn't historically been as dependable as I'd like, and my installing a 20kw standby was in self defense since the missus has COPD and a long power failure killing her oxygen generator might have put a ~30~ on her story. She is now in a rest home till whenever? telinit says its obsolete, see systemd and systemctl. And I'm green yet at that stuff. Thanks. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
On 2020-09-05 05:23, Roger Price wrote:> On Sat, 5 Sep 2020, Gene Heskett wrote: > >> But runs normally if started. On a rpi4 running an uptodate raspbian >> buster, how do I set it to auto start at boot time? > > Hello Gene, By "auto start" I assume you mean the automatic power on of a box > when wall power returns after a power failure. For this to work, two things are > needed: > > 1. The UPS power outlets have been turned off. > > 2. The box's BIOS has been set to "power up on AC return". (The words may > change, it depends on the BIOS.)You might also be able to leverage wake-on-lan here, since much modern hardware is never really fully "off" as long as it is powered. -- Phil Stracchino Babylon Communications phils at caerllewys.net phil at co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958
Bartosz
2020-Sep-11 20:05 UTC
[Nut-upsuser] UPS recommendation for NUT and power-on-delay support
Dear All, Could you please recommend me a UPS with 100% support of the ondelay parameter and NUT compatibility? 850 or 1000 VA I have the EATON 5E850iUSBDIN UPS and it does not support this parameter so I would like to buy another UPS that for sure will support it. Thank you, Bart -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200911/6c2e3e7a/attachment.html>
Gabriel
2020-Sep-11 21:32 UTC
[Nut-upsuser] UPS recommendation for NUT and power-on-delay support
On Fri, Sep 11, 2020 at 11:06 PM Bartosz <bartoszmail at gmail.com> wrote:> > Dear All, > > Could you please recommend me a UPS with 100% support of the ondelay parameter and NUT compatibility? > > 850 or 1000 VA > > I have the EATON 5E850iUSBDIN UPS and it does not support this parameter so I would like to buy another UPS that for sure will support it. > > Thank you, > BartHi, I'd also be interested in hearing other people's experiences regarding this. It would be even better if there'd be the option to power on only when the battery has been charged to 50% for instance, but I'm guessing this option is reserved for professional UPSes in the 1k or higher price range, so I'm not holding my breath. Currently, I'm running a Legrand KEOR SP 600 which has the OnDelay option in its software and it seems to work as advertised (I remember testing witn OnDelay = 60 sec and it worked). The issue is that their software (UPS communicator v1.34 [1]) is quite old, so I was only able to get it to run on an old 32bit Debian7 VM. Yup, in 2020, the software controlling the UPS only runs on 32bit OSes. So the UPS is controlled by this VM (which I've configured with USB passthrough) and, when the power goes out, a script on the VM SSHes into the other devices in the network and shuts them down. Quite the convoluted setup... Unfortunately, I did not have time to test the UPS with NUT. Maybe sometime in the future. [1] https://ups.legrand.com/en/software/software-download Regards, Gabriel
Dan Langille
2020-Sep-11 21:56 UTC
[Nut-upsuser] UPS recommendation for NUT and power-on-delay support
On Fri, Sep 11, 2020, at 4:05 PM, Bartosz wrote:> Dear All, > > Could you please recommend me a UPS with 100% support of the ondelay parameter and NUT compatibility? > > 850 or 1000 VA > > I have the EATON 5E850iUSBDIN UPS and it does not support this parameter so I would like to buy another UPS that for sure will support it. > > Thank you, > BartCan you tell from this output? If not, what should I be looking for to answer your question? [dan at slocum:~] $ upsc ups02 battery.capacity: 9.00 battery.charge: 100 battery.charge.low: 20 battery.charge.restart: 0 battery.charger.status: resting battery.energysave: no battery.protection: yes battery.runtime: 1941 battery.type: PbAc device.mfr: EATON device.model: Eaton 5PX 2200 device.serial: G091C30079 device.type: ups driver.name: dummy-ups driver.parameter.mode: repeater driver.parameter.pollinterval: 2 driver.parameter.port: ups02 at bast.int.unixathome.org driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.internal: 0.14 input.current: 0.00 input.frequency: 59.9 input.frequency.extended: no input.frequency.nominal: 60 input.sensitivity: normal input.transfer.boost.low: 102 input.transfer.high: 151 input.transfer.low: 89 input.transfer.trim.high: 132 input.voltage: 116.7 input.voltage.extended: no input.voltage.nominal: 120 outlet.1.autoswitch.charge.low: 0 outlet.1.current: 3.70 outlet.1.delay.shutdown: 65535 outlet.1.delay.start: 3 outlet.1.desc: PowerShare Outlet 1 outlet.1.id: 1 outlet.1.power: 432 outlet.1.powerfactor: 94.00 outlet.1.realpower: 410 outlet.1.status: on outlet.1.switchable: yes outlet.2.autoswitch.charge.low: 0 outlet.2.current: 5.50 outlet.2.delay.shutdown: 65535 outlet.2.delay.start: 6 outlet.2.desc: PowerShare Outlet 2 outlet.2.id: 2 outlet.2.power: 630 outlet.2.powerfactor: 97.00 outlet.2.realpower: 616 outlet.2.status: on outlet.2.switchable: yes outlet.current: 0.00 outlet.desc: Main Outlet outlet.id: 0 outlet.power: 0 outlet.powerfactor: 0.00 outlet.realpower: 0 outlet.switchable: no output.current: 9.10 output.frequency: 59.9 output.frequency.nominal: 60 output.powerfactor: 0.96 output.voltage: 116.7 output.voltage.nominal: 120 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.efficiency: 97 ups.firmware: 06 ups.load: 52 ups.load.high: 105 ups.mfr: EATON ups.model: Eaton 5PX 2200 ups.power: 1062 ups.power.nominal: 2200 ups.productid: ffff ups.realpower: 1030 ups.realpower.nominal: 1980 ups.serial: G091C30079 ups.shutdown: enabled ups.start.auto: yes ups.start.battery: yes ups.start.reboot: yes ups.status: OL ups.test.interval: 604800 ups.test.result: Done and passed ups.timer.shutdown: 0 ups.timer.start: 0 ups.type: offline / line interactive ups.vendorid: 0463 -- Dan Langille dan at langille.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200911/1520dcad/attachment.html>
Roger Price
2020-Sep-12 15:00 UTC
[Nut-upsuser] UPS recommendation for NUT and power-on-delay support
On Fri, 11 Sep 2020, Bartosz wrote:> Could you please recommend me a UPS with 100% support of the ondelay parameter > and NUT compatibility? 850 or 1000 VA I have the EATON 5E850iUSBDIN UPS and it > does not support this parameter so I would like to buy another UPS that for > sure will support it.I have an Eaton Ellipse Eco 1600 bought in 2016 which has a delayed start feature. If wall power returns quickly, the UPS will wait this time to restart the outlets. But now that manufacturers seem to be silently removing this feature from their UPS's I don't know if the current versions support ups.delay.start On Fri, 11 Sep 2020, Dan Langille wrote:> Can you tell from this output? If not, what should I be looking for to answer > your question?If I understand the question correctly:> ups.delay.shutdown: 20 > ups.delay.start: 30Perhaps these commands also do something similar, but my Ellipse 1600 does not have them:> outlet.1.delay.shutdown: 65535 > outlet.1.delay.start: 3Roger
Roger Price
2020-Sep-12 15:42 UTC
[Nut-upsuser] UPS recommendation for NUT and power-on-delay support
On Fri, 11 Sep 2020, Bartosz wrote:> Could you please recommend me a UPS with 100% support of the ondelay parameter and NUT compatibility? > 850 or 1000 VA > I have the EATON 5E850iUSBDIN UPS and it does not support this parameter so I would like to buy another UPS that for sure will support it.The Eaton 5P 850G and the 5P 1000 have the option "Auto start delay": Load segments - Auto start delay [No Delay] [1 s] [2 s]…[65354 s] The connected load is powered after the specified delay. Defaults: Group 1: 3 s Group 2: 6 s Maybe it's the difference between the "E" equipment and the "P" stuff. See https://www.eaton.com/content/dam/eaton/products/backup-power-ups-surge-it-power-distribution/backup-power-ups/eaton-5p-ups/eaton-5p-ups-installation-user-manual.pdf The noise level is given as < 40 dBA so maybe it has a fan running permanently. Eaton's Automatic Voltage Regulation can be noisy. Roger