home-assistant.io/source/_components/switch.anel_pwrctrl.markdown

1.2 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_iot_class, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_iot_class ha_release
page ANEL PwrCtrl Switch Instructions how to integrate ANEL PwrCtrl switches within Home Assistant. 2016-10-02 19:04 true false true true anel.png Switch Local Polling 0.30

The anel_pwrctrl switch platform allows you to control ANEL PwrCtrl devices.

Supported devices (tested):

  • PwrCtrl HUT

To add this platform to your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  platform: anel_pwrctrl
  host: IP_ADDRESS
  port_recv: PORT
  port_send: PORT
  username: USERNAME
  password: PASSWORD

Configuration variables:

  • host (Optional): The IP address or hostname of your PwrCtrl device.
  • port_recv (Required): The port to receive data from the device.
  • port_send (Required): The port to send data to the device.
  • username (Required): The username for your device.
  • password (Required): The password for your device.

If no **host** is given the platform will try to autodiscover all devices on the network, that are listening on the given **port_recv**.