Solved a particular Vultech UPS (UPS2000VA-PRO) issue #2738
Labels
enhancement
Qx protocol driver
Driver based on Megatec Q<number> such as new nutdrv_qx, or obsoleted blazer and some others
Milestone
Hello,
I don't have much experience with software development or GitHub in general, but I found a solution for my particular UPS problem and I'd like to help others prevent my time consuming research if possible.
I have this Vultech UPS: Model UPS2000VA-PRO, EAN13 8057284627203, site link.
At the beginning I tried to manage all the NUT capabilities through Home Assistant VM under Proxmox, but it failed to work completely. So I created a dedicated NUT server debian VM under Proxmox.
For the most part, I found a specific configuration working quite well:
nutdrv_qx as driver, armac as subdriver, megatec as protocol, my /etc/nut/ups.conf looks like this (
MODE=netserver
):The problem was shutdown didn't work at all. Neither the shutdown.return function, nor the shutdown.stayoff one.
By trial and error, and by noticing that the only function to actually work to stop it was the load.off function (it stopped it instantly, not very useful), I found a working solution for this issue.
Here the details:
In the nutdrv_qx_megatec.c source within the
/* qx2nut lookup table */
has become
Moreover within nutdrv_qx_blazer-common.c in blazer_process_command function
*** has become ***
With these two changes NUT manages the shutdown process perfectly with this UPS, the ondelay and offdelay variables work as expected too. Perhaps I missed something but if someway this code can be helpful and become a further official integration for this UPS I'd be glad.
I want to thank all the devs for the software, it's great.
Matteo
The text was updated successfully, but these errors were encountered: