Closed timnolte closed 2 years ago
nut documentation nut source (message by IssueLinks)
Hey there @bdraco, @ollo69, mind taking a look at this issue as it has been labeled with an integration (nut
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
I'm confused by this report @timnolte,
the integration integrates with NUT, but doesn't provide NUT itself. There is nothing to upgrade for that matter?
I think you are potentially mixing something up?
../Frenck
The NUT package has to be installed somehow. If the add-on doesn't install the package then this must be a HassOS distribution issue?
If the add-on
This is the issue tracker of Home Assistant Core, not an add-on... (That was the potential mixup I was referring to).
Please report issues with add-ons with the issue tracker/project of that add-on.
The add-on is also the integration. It all pointed to here for feedback and support.
The add-on is also the integration
Integrations and add-ons are NOT the same things.
Home Assistant Core itself provides integrations, not add-ons. We don't have NUT installed here, nor do we provide an installation of NUT. Home Assistant Core integrates (hence integration) with a NUT service provided by a NUT server (e.g., provided by an add-on).
Please report issues with add-ons with the add-on source.
This is not a problem with the add-on. This is a problem with the version of NUT that HassOS has installed. Unless HassOS is not installing that package but the additional add-on is.
Where does the NUT system package come from? The very fact that there is a Core Integration makes me believe that this is being managed by HA not the other add-on. Which also appears you are the one that maintains it. https://github.com/hassio-addons/addon-nut/releases/tag/v0.10.0
This is a problem with the version of NUT that HassOS has installed.
HassOS doesn't install NUT. And again, this is the issue tracker of Home Assistant Core; this repository provides Home Assistant Core itself and its built-in integrations. There is no NUT in this project/issue tracker.
Which also appears you are the one that maintains it. hassio-addons/addon-nut@v0.10.0 (release)
Sure, if that is what you are using, please report it in the issue tracker there. That project is not related to the Home Assistant Core project.
I don't understand what the breakdown here is. The Linux package for NUT needs to be updated. Whether it is the integration or add-on that is using it is besides the point.
@frenck I decided to take a closer look at the add-on repo. So the add-on is actually a Docker container that provides NUT. I can see in the Dockerfile
where NUT is being installed. I will open up an issue over there. However, what version of NUT is installed in HA Core for the integration? I would want to be sure they were running the same version for maximum compatibility.
@frenck OK, after going and searching through the HA Core code I see that HA isn't using the NUT Linux package to serve as a NUT client but using pynut2
in order to access a NUT server. I'll open up the request for the NUT upgrade on the add-on. Thanks!
The problem
In order to more fully support more devices and sensors please upgrade NUT to the latest 2.8 release. Specifically, I can't use the
usbhid-ups
driver with my Tripp Lite UPS even though it is supported with more sensors on the latest 2.8 version of NUT. I am forced to use the oldertripplite_usb
driver.What version of Home Assistant Core has the issue?
2022.5.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Network UPS Tools (NUT)
Link to integration documentation on our website
https://www.home-assistant.io/integrations/nut/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response