Skip to content

Commit 40dae86

Browse files
authored
Add a troubleshooting section for APCUPSD
1 parent 7b0096d commit 40dae86

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

source/_integrations/apcupsd.markdown

+10-7
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ Port:
5050
description: "The port of the APC UPS Daemon configured above."
5151
{% endconfiguration_basic %}
5252

53-
{% note %}
54-
55-
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.
56-
57-
{% endnote %}
58-
59-
6053
## Binary sensor
6154

6255
This integration provides a binary sensor for the following information from apcupsd:
@@ -149,6 +142,16 @@ The integration {% term polling polls %} data from your APC UPS Daemon every 60
149142

150143
This integration does not allow you to control the UPS. For example, you cannot run a self-test. To run a self-test, use the `aptest` command provided by [apcupsd](http://www.apcupsd.org/).
151144

145+
## Troubleshooting
146+
147+
### Failed to connect
148+
149+
If you get "Failed to connect" error when setting up the integration (and/or `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`/`NISPORT` in the apcupsd configuration file is properly configured. Additionally, try running `apcaccess` on the host machine to see if the daemon is working properly.
150+
151+
### Some entities are no longer provided
152+
153+
If certain entities are missing after a Home Assistant restart, it's likely because they represent event-based data that only appears after specific UPS events (e.g. transfer to battery). These entities are cleared when the APCUPSD daemon restarts and won’t reappear until the corresponding event occurs again.
154+
152155
## Removing the integration
153156

154157
This integration follows standard integration removal. No extra steps are required.

0 commit comments

Comments
 (0)