home-assistant.io/source/_components/binary_sensor.apcupsd.markdown
2016-02-22 15:32:41 +01:00

836 B

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category
layout title description date sidebar comments sharing footer logo ha_category
page APCUPSd Binary Sensor Instructions on how to set up an APCUPSd binary sensor within Home Assistant. 2016-02-10 18:47 true false true true apcupsd.png Binary Sensor

In addition to the APCUPSd Sensor devices, you may also create a device which is simply "on" when the UPS status is online and "off" at all other times.

To enable this sensor, add the following lines to your configuration.yaml file for a GET request:

# Example configuration.yaml entry
binary_sensor:
  - platform: apcupsd
    name: UPS Online

Configuration variables:

  • resource (Required): The resource or endpoint that contains the value.
  • method (Optional): The method of the request. Default is GET.