hassio-addons / addon-nut

Network UPS Tools - Home Assistant Community Add-ons
https://addons.community
MIT License
188 stars 36 forks source link

Add support for apc_modbus #367

Closed TimBeekman closed 4 months ago

TimBeekman commented 4 months ago

Problem/Motivation

The apc_modbus driver is needed for communication with my UPS

Expected behavior

When i configure the add-on like this:

I expected the driver to be loaded.

Actual behavior

The follwoing message is shown in the logs: Can't start /lib/nut/apc_modbus: No such file or directory

Proposed changes

Embed the apc_modbus in the package, or make it possible for the end user to do so

sinclairpaul commented 4 months ago

This looks like it would require a custom NUT build, which isn't something we really want to do.

If you need the functionality I would suggest not using the addon.