Setup of APCUPSd component

Have hooked up my UPS to my Synology NAS via the supplied cable, and enabled UPS support and network UPS server on the Synology, seeing the UPS OK.

Running Hass 45.1 in Docker on the nas and added apcupsd: to my config, but getting the error:

2017-06-01 06:06:22 ERROR (Thread-8) [homeassistant.components.apcupsd] Failure while testing APCUPSd status retrieval.
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/components/apcupsd.py", line 54, in setup
    DATA.update(no_throttle=True)
  File "/usr/src/app/homeassistant/util/__init__.py", line 303, in wrapper
    result = method(*args, **kwargs)
  File "/usr/src/app/homeassistant/components/apcupsd.py", line 90, in update
    self._status = self._get_status()
  File "/usr/src/app/homeassistant/components/apcupsd.py", line 85, in _get_status
    return self._parse(self._get(host=self._host, port=self._port))
  File "/usr/local/lib/python3.5/site-packages/apcaccess/status.py", line 33, in get
    sock.connect((host, port))
ConnectionRefusedError: [Errno 111] Connection refused

Everything running on localhost.

I also get the same error on a RPi on the network.

Any ideas to troubleshoot?

I am not familiar with Synology’s GUI setup, but if you’re not intimidated by the CLI, log into the box and check your apcupsd.conf file. You need the following options set:

NISP 127.0.0.1
NISPORT 3551

Also run apcaccess -h localhost to check accessibility.

Thanks! I assumed apcupsd was installed on my NAS but appears not and that I will have to do something like https://forum.synology.com/enu/viewtopic.php?t=19378