mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Merge pull request #1036 from mweinelt/pwrctrl
Document the pwrctrl platform
This commit is contained in:
commit
6a745ce7c9
43
source/_components/switch.anel_pwrctrl.markdown
Normal file
43
source/_components/switch.anel_pwrctrl.markdown
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "ANEL PwrCtrl Switch"
|
||||||
|
description: "Instructions 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 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.
|
||||||
|
|
||||||
|
<p class="note">If no **host** is given the platform will try to autodiscover all devices on the network, that are listening on the given **port_recv**.</p>
|
BIN
source/images/supported_brands/anel.png
Normal file
BIN
source/images/supported_brands/anel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
Loading…
x
Reference in New Issue
Block a user