mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-18 17:08:58 +00:00
59 lines
1.4 KiB
Markdown
59 lines
1.4 KiB
Markdown
---
|
|
layout: page
|
|
title: "ANEL PwrCtrl Switch"
|
|
description: "Instructions on how to integrate ANEL PwrCtrl switches within Home Assistant."
|
|
date: 2016-10-02 19:04
|
|
sidebar: true
|
|
comments: false
|
|
sharing: true
|
|
footer: true
|
|
logo: anel.png
|
|
ha_category: Switch
|
|
ha_iot_class: "Local Polling"
|
|
ha_release: "0.30"
|
|
---
|
|
|
|
The `anel_pwrctrl` switch platform allows you to control [ANEL PwrCtrl](http://anel-elektronik.de/SITE/produkte/produkte.htm) devices.
|
|
|
|
Supported devices (tested):
|
|
|
|
- PwrCtrl HUT
|
|
|
|
To add this platform to your installation, add the following to your `configuration.yaml` file:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
switch:
|
|
platform: anel_pwrctrl
|
|
host: IP_ADDRESS
|
|
port_recv: PORT
|
|
port_send: PORT
|
|
username: USERNAME
|
|
password: PASSWORD
|
|
```
|
|
|
|
{% configuration %}
|
|
host:
|
|
description: The IP address or hostname of your PwrCtrl device.
|
|
required: false
|
|
type: string
|
|
port_recv:
|
|
description: The port to receive data from the device.
|
|
required: true
|
|
type: integer
|
|
port_send:
|
|
description: The port to send data to the device.
|
|
required: true
|
|
type: integer
|
|
username:
|
|
description: The username for your device.
|
|
required: true
|
|
type: string
|
|
password:
|
|
description: The password for your device.
|
|
required: true
|
|
type: string
|
|
{% endconfiguration %}
|
|
|
|
<p class="note">If no **host** is given the platform will try to auto-discover all devices on the network, that are listening on the given **port_recv**.</p>
|