Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tripp Lite AVRX550U using wrong protocol. Issuing restart command to UPS after shutdown? #799

Open
objecttothis opened this issue Jun 17, 2020 · 2 comments

Comments

@objecttothis
Copy link

objecttothis commented Jun 17, 2020

  • OS name and version: FreeBSD 11.3-Release
  • exact NUT version, 2.7.4
  • NUT installation method: Prepackaged with FreeNAS
  • exact device name and related information (manufacturing date, web pointers, ...), Tripp Lite AVRX550U
  • complete problem description:
    When the UPS loses AC power and receives a shutdown command from the server after the server shuts down the UPS powers down but then after two seconds powers back on even though it is still under battery power. When I contacted Tripp Lite about the issue, they pointed out that the AVRX550U uses the 2012 protocol, but the NUT compatibility list has it using the 2010 protocol. If Tripp Lite is correct then the protocol in AVRX550U needs to be corrected to 2012, not 2010.

Second, it's unclear if NUT is issuing the command for the UPS to power back on after powering off, but it should not be issuing that command. I've attached the protocol documentation that Tripp Lite sent me. You probably already have it, but just in case it's helpful, here it is.

Communication Protocol 2012 for customer.pdf

Here is the upsmon.conf file:

MONITOR ups@localhost:3493 1 upsmon [REDACTED] MASTER
NOTIFYCMD "/usr/local/sbin/upssched"
NOTIFYFLAG ONBATT SYSLOG+EXEC
NOTIFYFLAG LOWBATT SYSLOG+EXEC
NOTIFYFLAG ONLINE SYSLOG+EXEC
NOTIFYFLAG COMMBAD SYSLOG+EXEC
NOTIFYFLAG COMMOK SYSLOG+EXEC
NOTIFYFLAG REPLBATT SYSLOG+EXEC
NOTIFYFLAG NOCOMM SYSLOG+EXEC
NOTIFYFLAG REPLBATT SYSLOG+EXEC
NOTIFYFLAG NOCOMM SYSLOG+EXEC
NOTIFYFLAG FSD SYSLOG+EXEC
NOTIFYFLAG SHUTDOWN SYSLOG+EXEC
SHUTDOWNCMD "/sbin/shutdown -p now"
POWERDOWNFLAG /etc/killpower
HOSTSYNC 15

ups.conf

[ups]
        driver = usbhid-ups
        port = /dev/uhid0
        desc =

upssched.conf

CMDSCRIPT   "/usr/local/bin/sudo /usr/local/bin/custom-upssched-cmd"
PIPEFN      /var/db/nut/upssched.pipe
LOCKFN      /var/db/nut/upssched.lock

AT NOCOMM   * EXECUTE NOTIFY-NOCOMM
AT COMMBAD  * START-TIMER NOTIFY-COMMBAD 10
AT COMMOK   * CANCEL-TIMER NOTIFY-COMMBAD COMMOK
AT FSD      * EXECUTE NOTIFY-FSD
AT LOWBATT  * EXECUTE NOTIFY-LOWBATT
AT ONBATT   * EXECUTE NOTIFY-ONBATT
AT ONLINE   * EXECUTE NOTIFY-ONLINE
AT REPLBATT   * EXECUTE NOTIFY-REPLBATT
AT SHUTDOWN   * EXECUTE NOTIFY-SHUTDOWN
AT ONBATT    * START-TIMER SHUTDOWN 5
AT ONLINE   * CANCEL-TIMER SHUTDOWN
@objecttothis
Copy link
Author

Does anyone read these Issues?

@objecttothis objecttothis changed the title Tripp Lite AVRX550U using wrong protocol and issuing restart command to UPS after shutdown Tripp Lite AVRX550U using wrong protocol. Issuing restart command to UPS after shutdown? Jul 12, 2020
@jimklimov jimklimov reopened this Feb 17, 2022
@jimklimov
Copy link
Member

Was wrongly linked from a PR, so got auto-closed - reopening

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants