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

SMX1500RM2U & AP9620 #2763

Open
FugginOld opened this issue Jan 12, 2025 · 3 comments
Open

SMX1500RM2U & AP9620 #2763

FugginOld opened this issue Jan 12, 2025 · 3 comments
Labels
APC question unraid Integration of NUT into unraid OS

Comments

@FugginOld
Copy link

Hello...I am trying to figure out which cable and driver will provide the most feedback and control over the UPS operation within the NUT plugin. The documentation, to me, is not clear. Can someone please advise?

@jimklimov
Copy link
Member

jimklimov commented Jan 13, 2025

Hello, plugin for what? This here is the upstream NUT project, packaged and embedded into many operating systems and appliances...

Generally speaking, do you know which NUT version you are running there? Is building a custom one an option?

What sort of cables are offered? Which protocols/drivers seem to work at all (since you ask "which provides the most control")?

Looking at https://www.apc.com/us/en/product/AP9620/protocol-translation-to-upslink-management-options-legacy-communications-smartslot-card-ups-support-for-upslink-protocol-serial-communications/ and https://www.apc.com/us/en/product/SMX1500RM2U/apc-smartups-x-1500va-rack-tower-lcd-120v-not-for-sale-in-co-vt-or-wa/ more closely, both the UPS and the card seem to only offer Serial and USB ports.

I could not quickly find the offered protocols, and APC has quite a few to choose from. By URL and docs on the first linked page, the card and/or its latest firmware from 2017 seems to "add support for UPS-Link" protocol, which is not mentioned in current NUT sources :\

Generally, talking over USB you might have luck with usbhid-ups driver, but since 2010 or so, APC were winding down support for the standard protocol in favor of Modbus. Current NUT does deliver an apc_modbus driver, and over the Serial port it may be usable "as is", but for USB support you would likely need a custom build with a patched libmodbus - see https://github.com/networkupstools/nut/wiki/APC-UPS-with-Modbus-protocol

Some other options may include apcsmart or apcsmart-old; for some companies that APC bought up and digested into its common product lines, microsol-apc or solis might be the answer.

Also note that with Ethernet port/cable (if you have some other AP cards to try), you might be able to use snmp-ups (with the SNMP v1/v2c community as set up on the UPS side, by default public for R/O or private for R/W with commands and settings, or SNMP v3 user/pass credentials).

Note that some APC UPSes have a network port usable only for the UPS to "dial home" into their cloud, and not for site-local monitoring/management - e.g. the SmartConnect port on their recommended replacement UPS model (since yours was deprecated): https://www.apc.com/us/en/product/SMX1500RM2UC/apc-smartups-x-line-interactive-1500va-rack-tower-convertible-2u-120v-8x-515r-nema-smartconnect-port-extended-runtime/

@FugginOld
Copy link
Author

FugginOld commented Jan 13, 2025 via email

@jimklimov jimklimov added the unraid Integration of NUT into unraid OS label Jan 14, 2025
@jimklimov
Copy link
Member

Just in case, CCing @RYSz about the plugin (and current APC expertise).

For "which one yields most info" - it depends on many factors...

One is, which protocol(s) the device talks - so back to my follow-up question, which drivers worked for you and what info they gave (again, assuming from how you worded the OP that at least one did)? The drivers do potentially offer different maximum sets of data points for a given build (may be extended via pull requests for future NUT releases, as more mappings or protocol queries are discovered), some of which may remain unpopulated and hidden based on what the device tells them.

So, say, an APC USB HID subdriver has 48 unique mapped names (with commands, settings and all), as of current code. And some other driver has maybe 10 data points. But say APC wind-down of USB HID support reached your device's firmware version, so it only exposes some 5 most-critical data points over USB HID... If both drivers' protocols are what your device does talk, suddenly the one with 10 data points in code is "better" than the one with 48, for your device. Something not easy to say hands-off without experimenting with your device (and your version of NUT).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APC question unraid Integration of NUT into unraid OS
Projects
None yet
Development

No branches or pull requests

2 participants