Jump to content

Rysz

Community Developer
  • Posts

    520
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Rysz

  1. Unfortunately this is out of NUT's control, as your UPS seems to cut off the information "flow" to that specific load variable when under 50 watts. This is commonly seen with more powerful UPS which consider such a miniscule load not worthy to report, but not having the load reported is merely an optical problem rather than a functional one - load is not a variable required for NUT to function.
  2. Hello! Thanks for asking about this - I've outlined it in detail in this post: Basically this was mostly an issue in the past few months, where the default NUT backend has changed more often due to ongoing development and bug-fixing efforts in preparation of a NUT 2.8.1 stable release. A small amount of people were still on very outdated backends (from 2016) and experienced some compatibility problems updating to the newer backends (from 2023). The NUT 2.8.1. stable release is now on the horizon and will become the new (pinned) default backend, so there'll be no more frequent backend changes after that (at which point I'll also remove that warning, because updating will affect only the GUI). It's just something I wanted people to be cautious of while I make the transition to the NUT 2.8.1 stable release as new default backend, which should happen in the next 1-2 weeks. This is basically all unrelated to the plugin, it's the updating of the NUT backend (with the UPS drivers) that's caused some issues beyond my control as the plugin maintainer. The changelog is limited to the changes made by me (to the plugin), but doesn't include those made to the NUT backend (being a program of its own developed by other people for multiple OSes).
  3. The first one is likely a warning about a USB write-timeout, these occur sometimes and shouldn't cause any trouble on their own. The others are newer diagnostic messages in the NUT backend and have no particular meaning on UNRAID. They just report that NUT itself isn't connected to a systemd or similar environment as on other linux distributions, if everything seems to work as it should - you can safely ignore those messages. ๐Ÿ™‚
  4. It tells you that because I am doing a lot of development work there at the moment. A lot of re-factoring and code-wise improvements are done in preparation of the imminent NUT 2.8.1 release. I'm expecting things to quiet down after the NUT 2.8.1 release, so bear with me here until then (no promises). It does say in the plugin description I'm putting a focus on frequent updates though, so there's that... ๐Ÿ˜ƒ What exactly "won't work" after updating that would make you restart your server? Sorry, but that's a bit vague of a statement to determine if there's an actual problem, one I'm sure that other users would have been very vocal about (having to restart their servers to update a plugin) if it were a more common occurrence. It's certainly your prerogative to ignore updates and I'm in fact even slightly discouraging users to update their plugin if everything just works for them (with most changes aimed towards people having problems and not introducing new features + UPS drivers being unpredictable as they are).
  5. Hmm, does it say anything in the logs with the tripplite_usb driver? What else you can try: Auto Config with different USB port Same settings on backend "release (2.8.0 stable)" Same settings on backend "legacy (2.7.4 stable)" Auto Config on backend "release (2.8.0 stable)" Auto Config on backend "legacy (2.7.4 stable)" If you don't want to reboot changing backends, you can also just uninstall and reinstall the plugin (after changing the backend). Just make sure that "Network UPS Tools Backend:" says something different than before, that it's actually changed (you at least need to reinstall the plugin, otherwise it won't change the backend).
  6. Should work with driver "tripplite_usb" and port "auto" - can you test this combination with this version of the plugin? You need to set Start Network UPS Tools setting to "No", change the settings and then back to "Yes" to start NUT again.
  7. Hello! You seem to be using an extremely old version of the plugin, a lot of changes have been made to the autoconfigure mechanism and drivers since. Please uninstall your outdated plugin and install "Network UPS Tools (NUT) for UNRAID" by Rysz from Community Applications ("Apps" Tab). When you first set it up, best choose "Reset Config" to clear the old configuration and then "Auto Config" for auto detection of your UPS. Also please make sure to never use the same usernames for Monitor and Slave, this can lead to unexpected behavior. Please let us know if it worked for you ๐Ÿ™‚
  8. There's a button "Reset Config" - that'll reset everything to the default state. ๐Ÿ™‚
  9. We have since found the issue with this, the problem was that the server was not connected to the "master" power outlet and that this Eaton UPS doesn't report load for the "slave" power outlets.
  10. The plugin currently offers three backend "channels" to choose from: default (recent master, updated every ~1-2 weeks) release (2.8.0 stable, from 04/2022) legacy (2.7.4 stable, from 03/2016) If you don't see them all, you're likely using an older version of UNRAID. The "problem" is the last official NUT release was way back in 04/2022, but a lot of useful and important changes have been made to the NUT project since (including new drivers, new supported UPS, ...). Those changes haven't been published as a new release yet, but in the form of continued development in the NUT master repository. So I decided to base my default version of the plugin on a "default (recent master)" backend which I continuously compile and keep up-to-date with that master repository myself, so that everyone can get the most out of NUT, but with the possibility of switching to an older backend in case they have problems. There is currently no easy way to roll back from "default (recent master)" - although I am looking at ways to "pin" that backend while continuing to get updates for the other parts of the plugin. For all the other selectable backends - this is already working. That means if you select "release (2.8.0 stable)" or "legacy (2.7.4 stable)", and one of those works well for you, you'll stay on that backend indefinitely and will still receive all updates to the other parts of the plugin when you update. Good news is that a 2.8.1 stable release is already on the horizon, packing all the development of the past 1.5 years, and will soon be offered in the plugin along with the older backends. So once that is released I'll either be "pinning" that new release as the new default backend or you'll at least be able to choose it in form of a "release (2.8.1 stable)" backend and remain on that for as long as you like, while still getting updates to the other parts of the plugin when you update. I've decided to include the update "warning" because a lot of the NUT development is based on theoretical logic and with 1171 hardware device models from 175 different manufacturers listed as supported it's impossible to always account for all of them. So there's always a slim chance that something that previously worked for your UPS might stop working with a newer built backend. The plugin itself is just a type of "frontend" to the NUT backend, you see, which is developed by other people and with far more operating systems than UNRAID in mind. All I can do is select which backends to offer to the users, and I think I already offer quite a broad variety compared to some of the other plugins, as well as striving to make the "frontend" as useful and stable as possible. "If it works, don't touch it." - there are some software packages to which I apply this principle. If NUT is among them, that'll be your personal decision, but I want people to make it a conscious one. Of course I am always excited if people update to the new backends for the latest changes, and I am always more than happy to help whenever problems should occur, but I have essentially no control over your individual device's compatibility. Bottom line, most of the plugin's changes won't bring exciting new features, but aim to improve compatibility for new installations as well as offering bugfixes for people who are experiencing problems. If you're not among them, be happy, but do continue to read the changelogs and decide for yourself if it's worth to update. ๐Ÿ™‚
  11. That's a dying USB port or USB cable (or worst case USB controller). Best would be to try a different USB port or USB cable first and see if that changes anything.
  12. Yeah that's unfortunately not possible to setup with NUT on UNRAID, not without changes to the code at least. I think one user got it working a few pages back in this topic, you'll probably find it by searching "qnapups". But it's more of a workaround than something "officially" supported.
  13. You can add a second user with different credentials like this: Set NUT Monitor Username to something else than "monuser", like "masteruser" Set NUT Slave Username and NUT Slave Password to the username/password your QNAP expects Apply Settings (to save configuration) In NUT Configuration Editor, modify the /etc/nut/upsd.users like this: Save the modified configuration file Start NUT Then on your Synology device you can use the monuser user, and on your QNAP the other user (here slaveuser). Make sure to put the additional user below the line 12 and leave the rest of the settings (as they are configured and overwritten by the GUI settings). I can't guarantee this'll work (don't have QNAP/Synology devices). But in theory it should work like this, unfortunately there's no SNMP server in NUT. ๐Ÿ™‚
  14. On UNRAID you'd need to set NUT to netserver mode. On QNAP you will then choose "Network UPS Slave" About Synology I'm not sure if it'll work, there's a few topics on Google about it.
  15. Great - glad it works for you!! โœŒ๏ธ
  16. No - the UNRAID's own UPS settings (the APC daemon) should be set to "No" / "Disabled" ๐Ÿ™‚
  17. What does it say in the log when you start NUT with the huawei_ups2000 driver?
  18. Are you sure the text in "Network UPS Tools Backend" didn't change? Because this is the (older) stable backend which you've selected - so the correct backend is installed (according to your selection). Maybe you were on the (older) stable backend already - which is why your load value wasn't shown and the backend hasn't changed? The new backend is "nut-2.8.0-x86_64-11master.ssl11" or "nut-2.8.0-x86_64-12master.ssl11". In any case the backend definitely switches when reinstalling, so worth trying changing again to: default (recent master) => reinstall plugin => test if it works legacy (2.7.4. stable) => reinstall plugin => test if it works
  19. This UPS won't work with the APC modbus driver (which is mostly for APC devices). Instead it even has it's own driver: https://networkupstools.org/docs/man/huawei-ups2000.html You can attempt to set it up as follows:
  20. Yes, select the backend you want to switch to and then uninstall and reinstall the plugin. ๐Ÿ™‚ You'll see that the backend was changed when the "Network UPS Tools Backend:" says something different than before. I'd try release (2.8.0 stable) first, if that doesn't work then legacy (2.7.4 stable).
  21. Can you try with the "legacy (2.7.4)" backend - some UPS don't play well with the newer backends. Please note that if you switch backends you need to either restart your system or re-install the plugin. Otherwise the backend change will not be in effect, so worth attempting to change to 2.8.0 or 2.7.4 with this in mind.
  22. What UPS model do you have? Can you please upload another debug package where you are on the current backend? Your debug package is from the (older) stable backend.
  23. You have the old backend selected which didn't have this driver yet, you'll need to make sure you are on the latest NUT plugin version and then select the backend "default (recent master)". After either restart the system or reinstall the plugin - then make sure "Network UPS Tools Backend:" now says: "nut-2.8.0-x86_64-12master.ssl11".
  24. MODBUS is an APC protocol that needs to be specifically activated on the UPS: Note that you will have to enable Modbus communication. In the front panel of the UPS, go to Advanced Menu mode, under Configuration and enable Modbus. If you don't have this/want this activated you should use the driver usbhid-ups instead. The old version of NUT didn't include the MODBUS driver, so you were using usbhid-ups there. You will need to click "Reset Config" first to remove the configuration by the auto-config tool. Then set the NUT settings up as follows: Please let me know if that works for you! ๐Ÿ™‚
ร—
ร—
  • Create New...