mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Update apcupsd.markdown (#9564)
* Update apcupsd.markdown Three Changes: 1. I added a link to the unofficial hass.io plugin which is required to use this component with hass.io. (maybe we can add it to the community repository?) 2. I copied the values as-is (in all caps) and it caused a configuration error. This is just a quick edit to clarify the instructions and state that the listed resources should be lower case. 3. I also added a full example configuration that users can just copy & paste. * Minor changes * Fix title
This commit is contained in:
parent
f1a4cb1f0d
commit
574542a549
@ -26,6 +26,12 @@ There is currently support for the following device types within Home Assistant:
|
|||||||
- [Binary Sensor](#binary-sensor)
|
- [Binary Sensor](#binary-sensor)
|
||||||
- [Sensor](#sensor)
|
- [Sensor](#sensor)
|
||||||
|
|
||||||
|
## {% linkable_title Hass.io Installation %}
|
||||||
|
|
||||||
|
Install this [unofficial add-on](https://github.com/korylprince/hassio-apcupsd/) to use this integration with Hass.io. Keep in mind that we can't give you support for this add-on.
|
||||||
|
|
||||||
|
After installation, follow the instructions on the Github page to configure the plugin. Then continue to follow the integration configurations below.
|
||||||
|
|
||||||
## {% linkable_title Configuration %}
|
## {% linkable_title Configuration %}
|
||||||
|
|
||||||
To enable this sensor, add the following lines to your `configuration.yaml`:
|
To enable this sensor, add the following lines to your `configuration.yaml`:
|
||||||
@ -127,13 +133,33 @@ OUTPUTV : 218.4 Volts
|
|||||||
[...]
|
[...]
|
||||||
```
|
```
|
||||||
|
|
||||||
Use the (case insensitive) values from the left hand column:
|
Use the values from the left hand column (lower case required).
|
||||||
|
|
||||||
|
Full Example Configuration:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
sensor:
|
sensor:
|
||||||
- platform: apcupsd
|
- platform: apcupsd
|
||||||
resources:
|
resources:
|
||||||
|
- apc
|
||||||
|
- date
|
||||||
|
- hostname
|
||||||
|
- version
|
||||||
|
- upsname
|
||||||
|
- cable
|
||||||
|
- driver
|
||||||
|
- upsmode
|
||||||
|
- starttime
|
||||||
|
- model
|
||||||
|
- status
|
||||||
- linev
|
- linev
|
||||||
- loadpct
|
- loadpct
|
||||||
|
- bcharge
|
||||||
- timeleft
|
- timeleft
|
||||||
|
- mbattchg
|
||||||
|
- mintimel
|
||||||
|
- maxtime
|
||||||
|
- maxlinev
|
||||||
|
- minlinev
|
||||||
|
- outputv
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user