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

RIELLO UPS IN MODE SMART = RED #2783

Open
wisepds opened this issue Jan 25, 2025 · 4 comments
Open

RIELLO UPS IN MODE SMART = RED #2783

wisepds opened this issue Jan 25, 2025 · 4 comments
Labels
ECO/ESS/HE/ABM modes Non-trivial power supply management modes (ECO, ESS, HE, ABM etc.) impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) Riello Riello UPS devices (serial, usb), usually with a variant of Qx protocol USB
Milestone

Comments

@wisepds
Copy link

wisepds commented Jan 25, 2025

Good morning, everyone.
I have several RIELLO SENTINELL PRO 3000 VA UPS and I have them configured in “SMART” mode which according to their manual analyzes the quality of the network and if it is good is automatically configured in BYPASS and if there are fluctuations activates the double conversion ONLINE mode.

Unfortunately NUT does not recognize this state in their drivers and their CGI statistics resulting in BYPASS being equivalent to ONBATTERY.

How can we solve this?
Thank you.

Image

Image

@jimklimov jimklimov added USB Riello Riello UPS devices (serial, usb), usually with a variant of Qx protocol impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) ECO/ESS/HE/ABM modes Non-trivial power supply management modes (ECO, ESS, HE, ABM etc.) labels Jan 25, 2025
@jimklimov jimklimov added this to the NUT 2.9 milestone Jan 25, 2025
@jimklimov
Copy link
Member

Generally speaking, you solve this by getting a new/updated NUT driver; in this case it should be additionally coded to recognize the situation - hopefully based on direct statement from the device "I am in SMART/ECO/..." mode rather than heuristics or config toggle like "ONLINE+BYPASS on this device means SMART/ECO/..." which has a chance to misfire when it is really BYPASS for UPS maintenance, with no intention of returning to battery in case of problems.

You might want to contact riello-ups.com (general support, maybe the addresses in driver sources/commits - but they were written a decade ago...) to get hold of the updated protocol for your device and ask if it exposes the state information as such. Or sniff with USB version of wireshark etc. to see if something pops up. Maybe sniff what the official software does (asks, sees) on the wire.

To that extent, running the NUT driver with higher debug verbosity may have it dump the USB packet contents too, not sure if that was done only in USB HID or all USB drivers - check https://github.com/networkupstools/nut/wiki/Changing-NUT-daemon-debug-verbosity in any case.

Finally, check the recent issues and PRs tagged with the "ECO/..." label linked just above this post, as this was addressed in approx autumn 2024 for Eaton devices with a similar feature. Note there is further work to be done about this area soon on the NUT project side, specifically to re-shuffle the naming and location of this status to be more vendor/marketing-agnostic before releasing NUT v2.8.3, but the subject matter of device driver changes will remain similar.

@wisepds
Copy link
Author

wisepds commented Jan 28, 2025

The curious thing is that the smart mode works well. If the power goes out, the batteries jump, if it comes back it goes back to standby (“Smart”) and the UPS does not shut down or stop working.

@jimklimov
Copy link
Member

Thanks for this bit of information too :)

As a quick fix, probably the configuration toggle(s?) similar to onlinedischarge* bunch in usbhid-ups would help, generally at a risk of misfire noted above (might not be a practical problem if e.g. this UPS can not be put into real bypass for maintenance like battery replacement). I'll keep it in mind when I get to finalizing the "ECO mode" situation before NUT v.2.8.3 release.

Having information or even sendable commands to switch the state would be preferable, but can take some time to get the knowledge from vendor or elsewhere.

@wisepds
Copy link
Author

wisepds commented Jan 29, 2025

Great! If you need anything, just ask.
I'm sorry I can't be of much help because I don't know about programming, compilation, etc...
Riello uses a driver called “Riello-usb”, not the standard usb-hid.
If you want i can upload a lusb result or any test do you want!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ECO/ESS/HE/ABM modes Non-trivial power supply management modes (ECO, ESS, HE, ABM etc.) impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) Riello Riello UPS devices (serial, usb), usually with a variant of Qx protocol USB
Projects
None yet
Development

No branches or pull requests

2 participants