mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
Add description for installation parameters for APCUPSD (#38763)
This commit is contained in:
parent
6db880de33
commit
d478e299bb
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user