Add description for installation parameters for APCUPSD (#38763)

This commit is contained in:
Yuxin Wang 2025-04-28 02:20:36 -04:00 committed by GitHub
parent 6db880de33
commit d478e299bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 its 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.