Re: [Nut-upsuser] NUT & UPS, how to shut down client after 2 min on battery?

2022-12-30 Thread Matt Kinni via Nut-upsuser
On 2022-12-22 05:47, Rafael Reinoso via Nut-upsuser wrote: I do not know much about NUT, but after some Googling, one idea I have is to in /etc/nut/upsmon.conf on client change to this |NOTIFYCMD "/etc/nut/shutdown_script.sh" NOTIFYFLAG ONBATT EXEC | And then in /etc/nut/shutdown_script.sh

Re: [Nut-upsuser] confusion about shutdown

2022-12-30 Thread Charles Lepple via Nut-upsuser
On Dec 30, 2022, at 7:42 PM, Greg Troxel wrote: > > maybe me, maybe docs. > > I have never had auto shutdown set up on netbsd. Mostly I monitor to > mqtt. But now I'm trying and have multiple confusions. > > 1) 'upsdrvctl shutdown' vs 'upscmd shutdown.return' > > upsdrvctl is about stopping

[Nut-upsuser] confusion about shutdown

2022-12-30 Thread Greg Troxel
maybe me, maybe docs. I have never had auto shutdown set up on netbsd. Mostly I monitor to mqtt. But now I'm trying and have multiple confusions. 1) 'upsdrvctl shutdown' vs 'upscmd shutdown.return' upsdrvctl is about stopping the driver, but lowbatt shutdown wants to send a command. I don't

Re: [Nut-upsuser] New user -- ruing a panic buy of Salicru SPS 1500 ADV T

2022-12-30 Thread Jim Klimov via Nut-upsuser
Hello, please try installing (perhaps custom building) a NUT 2.8.0 or newer (master) - Salicru contributed subdrivers for some of their devices. Jim On Fri, Dec 30, 2022, 16:26 Håkon Alstadheim via Nut-upsuser < nut-upsuser@alioth-lists.debian.net> wrote: > Hi all and merry christmas! I'm new

[Nut-upsuser] New user -- ruing a panic buy of Salicru SPS 1500 ADV T

2022-12-30 Thread Håkon Alstadheim via Nut-upsuser
Hi all and merry christmas! I'm new to this list, so my search for answers might be lacking. Bear with me if this is a repeat. After panic buying this https://www.salicru.com/no-en/sps-1500-adv-t.html, I find nut will not connect to the usb device with vendor:product  2e66:0302. Names are