APCUPSd


APCUPSd status information can be integrated into Home Assistant when the Network Information Server (NIS) is configured is enabled on the APC device.

Configuration

To enable this sensor, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
apcupsd:

Configuration Variables

host

(string)(Optional)The hostname/IP address on which the APCUPSd NIS is being served.

Default value: localhost

port

(integer)(Optional)The port on which the APCUPSd NIS is listening.

Default value: 3551

If you get ConnectionRefusedError: Connection refused errors in the Home assistant logs, ensure the APCUPSd configuration directives used by its Network Information Server is set to permit connections from all addresses NISIP 0.0.0.0, else non-local addesses will not connect. This includes Hass.io running in Docker, even when hosted on the same machine or a virtual machine.