From d478e299bb50259996a75352d867a9b1e2e2b5ef Mon Sep 17 00:00:00 2001 From: Yuxin Wang Date: Mon, 28 Apr 2025 02:20:36 -0400 Subject: [PATCH] Add description for installation parameters for APCUPSD (#38763) --- source/_integrations/apcupsd.markdown | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/source/_integrations/apcupsd.markdown b/source/_integrations/apcupsd.markdown index 05c6dbfb735..9b22cd0ac46 100644 --- a/source/_integrations/apcupsd.markdown +++ b/source/_integrations/apcupsd.markdown @@ -31,14 +31,21 @@ ha_integration_type: integration 2. Configure apcupsd for network access. - Open the `apcupsd.conf` file (usually found in `/etc/apcupsd/`) and make sure it’s set to listen for network connections. - - Look for the line: `NISIP 0.0.0.0`. - - This setting allows it to accept connections on all network interfaces. - - If you prefer, you can set this to a specific IP address that Home Assistant can reach. + - Look for the lines: `NISIP 0.0.0.0` and `NISPORT 3551`. + - This setting allows it to accept connections on all network interfaces on port 3551. + - If you prefer, you can set this to a specific IP address and port that Home Assistant can reach. 3. Start the apcupsd service. {% include integrations/config_flow.md %} +{% configuration_basic %} +Host: + description: "The IP address of the APC UPS Daemon configured above." +Port: + description: "The port of the APC UPS Daemon configured above." +{% endconfiguration_basic %} + {% note %} If you get `ConnectionRefusedError: Connection refused` errors in the Home Assistant logs, it means that Home Assistant is not able to connect to the daemon. Please check if the `NISIP` is properly configured.