nut icon indicating copy to clipboard operation
nut copied to clipboard

Improve metasys driver as per protocol specs

Open zykh opened this issue 7 years ago • 0 comments

(follow-up to #616)

We now have access to (almost) all the protocols specs for metasys-supported devices:

  • https://github.com/networkupstools/nut-website/commit/66d30c90401ff7929b25e5a87f9299b728f861ea
  • https://github.com/networkupstools/nut-website/commit/570c1e5e9f1fb4f82abef9359897b5159e88fc50

...and the metasys driver currently only uses a subset of the available commands (only the common ones, and not even fully).

While not all of them have a corresponding entry in NUT (and some may be considered superfluous for the average user), we should, at the very least, support (by implementing setvar() and enhancing instcmd()) the programmable delays for shutdowns (currently hardcoded in the driver) and, possibly, the various settable thresholds (voltages, frequencies, etc.) and working modes.

zykh avatar Sep 17 '18 00:09 zykh