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

Works with Forza FX-2200LCD using nutdrv_qx driver #2426

Open
bayasdev opened this issue Apr 29, 2024 · 1 comment
Open

Works with Forza FX-2200LCD using nutdrv_qx driver #2426

bayasdev opened this issue Apr 29, 2024 · 1 comment
Labels
DDL HCL impacts-release-2.7.4 Issues reported against NUT release 2.7.4 (maybe vanilla or with minor packaging tweaks) Incorrect or missing readings On some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.) Qx protocol driver Driver based on Megatec Q<number> such as new nutdrv_qx, or obsoleted blazer and some others

Comments

@bayasdev
Copy link

Hi, just wanted to document the config that works with this Forza FX-2200LCD UPS which I recently picked up due to the frequent power outages that Ecuador has been experiencing in the last weeks.

/etc/nut/ups.conf

pollinterval = 1
maxretry = 3

[forza]
        driver = "nutdrv_qx"
        port = "auto"
        vendorid = "0665"
        productid = "5161"
        product = "USB to Serial"
        vendor = "INNO TECH"
        bus = "001"
        desc = "Homelab UPS"

/etc/udev/rules.d/99-nut-ups.rules

SUBSYSTEM!="usb", GOTO="nut-usbups_rules_end"

# Forza
ACTION=="add|change", SUBSYSTEM=="usb|usb_device", SUBSYSTEMS=="usb|usb_device", ATTR{idVendor}=="0665", ATTR{idProduct}=="5161", MODE="664", GROUP="nut", RUN+="/sbin/upsdrvctl stop; /sbin/upsdrvctl start"

LABEL="nut-usbups_rules_end

upsc output

Init SSL without certificate database
battery.charge: 100
battery.voltage: 27.29
battery.voltage.high: 26.00
battery.voltage.low: 20.80
battery.voltage.nominal: 24.0
device.type: ups
driver.name: nutdrv_qx
driver.parameter.bus: 001
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 1
driver.parameter.port: auto
driver.parameter.product: USB to Serial
driver.parameter.productid: 5161
driver.parameter.synchronous: no
driver.parameter.vendor: INNO TECH
driver.parameter.vendorid: 0665
driver.version: 2.7.4
driver.version.data: Voltronic-QS-Hex 0.10
driver.version.internal: 0.28
input.voltage: 124.4
output.frequency: 60.0
output.frequency.nominal: 60.0
output.voltage: 124.4
output.voltage.nominal: 120.0
ups.beeper.status: enabled
ups.delay.shutdown: 30
ups.delay.start: 180
ups.firmware.aux: PM-T
ups.load: 1
ups.productid: 5161
ups.status: OL
ups.type: offline / line interactive
ups.vendorid: 0665

Host is Raspberry Pi 4 running Raspberry OS aarch64.

PD: disabling beeper is not supported on this UPS.

PD2: nut-scanner output showed blazer_usb as compatible but it does not work with this model.

Neon library not found. XML search disabled.
IPMI library not found. IPMI search disabled.
Scanning USB bus.
[nutdev1]
	driver = "blazer_usb"
	port = "auto"
	vendorid = "0665"
	productid = "5161"
	bus = "001"

And thanks again to all the ppl for making it possible to monitor UPSs from Linux instead of using propietary software which only works on Windows and is much less flexible (eg: no exporting to Prometheus, etc) 🙌🏼

@jimklimov jimklimov added HCL DDL Qx protocol driver Driver based on Megatec Q<number> such as new nutdrv_qx, or obsoleted blazer and some others impacts-release-2.7.4 Issues reported against NUT release 2.7.4 (maybe vanilla or with minor packaging tweaks) Incorrect or missing readings On some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.) labels Apr 29, 2024
@jimklimov
Copy link
Member

jimklimov commented Apr 29, 2024

Thank you for the report! Please do note that NUT v2.7.4 (while still popular in many of the not-latest distros) is rather old. Where possible, it is suggested to update to some v2.8.x (or build your own ;) ), hopefully for new features or at worst to catch new bugs early :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DDL HCL impacts-release-2.7.4 Issues reported against NUT release 2.7.4 (maybe vanilla or with minor packaging tweaks) Incorrect or missing readings On some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.) Qx protocol driver Driver based on Megatec Q<number> such as new nutdrv_qx, or obsoleted blazer and some others
Projects
Status: Todo
Development

No branches or pull requests

2 participants